简体   繁体   中英

Error in RemoteConnect.Connect() err=WNetAddConnection2 returned: 1203

This is an ASP.NET, C# application. I am trying to save a file on a server, but I am getting below error:

Error in RemoteConnect.Connect() err=WNetAddConnection2 returned: 1203 msg=No.network provider accepted the given.network path.

Here now I am trying to save on my local machine, path I am using is C:\Docs but I am getting the above error.

Please any help would be appreciated?

I got the answer finally, the path I gave was local machine path but I need to give a Network path which will be like this "@\ComputerName\FolderName"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM