c# - "The network name cannot be found" error when accessing server path -


i error when try access server path remote client. address in web.config file

<appsettings>     <add key="rootdirectory" value="\\ipaddress/root\"/>   </appsettings> 

its retrieved

        if (configurationmanager.appsettings["rootdirectory"] != null)         {             root = configurationmanager.appsettings["rootdirectory"];         }          public static string requiredscvfileslocation         {             { return root + @"blabla\"; }         } 

and called this

string[] requiredfiles = directory.getfiles(globals.common.requiredscvfileslocation,"*.svc.zip").toarray(); 

error comes @ last code piece

the problem solved when share filepath in server iis. didn't think needed long sufficient permissions given iis_iusrs.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -