mapped-drive

Process.Start and “The system cannot find the path specified”

不想你离开。 提交于 2021-02-11 15:14:26
问题 I am trying to run a console application from a mapped drive (T:\ is a mapped drive for a shared network folder) and get the error: The system cannot find the path specified. Why do I get this error? The administrator credentials are correct. var password = new SecureString(); password.AppendChar(Convert.ToChar("P")); password.AppendChar(Convert.ToChar("a")); password.AppendChar(Convert.ToChar("a")); password.AppendChar(Convert.ToChar("s")); Process.Start(@"t:\ca\test.exe"), "",

Use mapped drive or shared folder with IIS Express

℡╲_俬逩灬. 提交于 2021-01-29 10:09:51
问题 I'm trying to setup a dev environment for an asp.net (umbraco) project using IIS Express on a mac. I have a VM with windows installed with the dev tools. My goal is to only use the VM as a compiler but actually write the code on the mac. To do that my trying to setup a network drive or a shared folder between the host and the guest OSes. But IIS Express gives me an error when running the application. HTTP Error 500.19 - Internal Server Error The Requested page cannot be accessed because the

Full path of the file from the remote server

倾然丶 夕夏残阳落幕 提交于 2020-03-05 08:03:34
问题 I am working with files and I don't really understand how to make it work. I have a web application (c#) that is located on the server and users use this application to upload some information from the files. The problem that I am having that users upload the file (using HttpPostedFileBase class) from their local machines but code is trying to match the same path on the server and of course the file doesn't exist on the server, that's why it throws an error saying that Cannot find a part of

Full path of the file from the remote server

核能气质少年 提交于 2020-03-05 08:01:23
问题 I am working with files and I don't really understand how to make it work. I have a web application (c#) that is located on the server and users use this application to upload some information from the files. The problem that I am having that users upload the file (using HttpPostedFileBase class) from their local machines but code is trying to match the same path on the server and of course the file doesn't exist on the server, that's why it throws an error saying that Cannot find a part of

In PowerShell, how can I determine the root of a drive (supposing it's a networked drive)

本秂侑毒 提交于 2020-01-05 06:16:08
问题 In PowerShell, even if it's possible to know if a drive is a network drive: see In PowerShell, how can I determine if the current drive is a networked drive or not? When I try to get the "root" of the drive, I get back the drive letter. The setup: MS-Dos "net use" shows that H: is really a mapped network drive: New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- OK H: \\spma1fp1\JARAVJ$ Microsoft

In PowerShell, how can I determine the root of a drive (supposing it's a networked drive)

橙三吉。 提交于 2020-01-05 06:15:43
问题 In PowerShell, even if it's possible to know if a drive is a network drive: see In PowerShell, how can I determine if the current drive is a networked drive or not? When I try to get the "root" of the drive, I get back the drive letter. The setup: MS-Dos "net use" shows that H: is really a mapped network drive: New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- OK H: \\spma1fp1\JARAVJ$ Microsoft

CAS not working for VS2010 mapped drive

妖精的绣舞 提交于 2019-12-30 11:06:44
问题 I have a project using subsonic that I developed in Visual Studio 2008 on C: drive. No problem there. I've just upgraded to Visual Studio 2010 (and as my computer coincidentally died, I'm now running Windows XP virtualised with VirtualBox). The project runs without complaint on C: drive, but if I run it from G: (a mapped drive which points to a partition on the base PC), I can't run the custom tools subsonic uses (error listed below), OR run the web application ('start without debugging'

IIS Express loads and unloads modules for each request

喜你入骨 提交于 2019-12-23 10:59:32
问题 We have an ASP.NET project using IIS Express while debugging. After starting VS2013, then loading the solution, building the solution and starting the web application in debug mode, the output window lists a bunch of DLLs that get loaded and unloaded. After a bit of searching, I discovered that IIS Express rebuilds the site for each request. Here is a small part of the output window: 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-14-130719418943209850): Loaded 'C:\WINDOWS\Microsoft.Net

Mapping a network drive and checking for its existence in VBScript

只谈情不闲聊 提交于 2019-12-19 04:24:55
问题 I need to map a network drive into a network path using VBScript. The network path is read directly from input. How should I map the network drive and how to check whether the entered network path already exists? 回答1: I created a subroutine to map drives... MapDrive "H:","\\server\share" Sub MapDrive(letter, uncpath) on error Resume Next dim drivetype, currentmapping dim objWMIService dim colDisks, objDisk 'Set wshnetwork = CreateObject("Wscript.Network") Set objWMIService = GetObject(

Mapping a network drive and checking for its existence in VBScript

筅森魡賤 提交于 2019-12-19 04:24:19
问题 I need to map a network drive into a network path using VBScript. The network path is read directly from input. How should I map the network drive and how to check whether the entered network path already exists? 回答1: I created a subroutine to map drives... MapDrive "H:","\\server\share" Sub MapDrive(letter, uncpath) on error Resume Next dim drivetype, currentmapping dim objWMIService dim colDisks, objDisk 'Set wshnetwork = CreateObject("Wscript.Network") Set objWMIService = GetObject(