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
Post a Comment