Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.IO.File.Exists
Message
From
26/05/2005 14:21:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01017546
Message ID:
01017913
Views:
15
Victor,

I changed my production web.config to include identity impersonate. This took care of the problem. Apparently, I didn't have enough rights for my webform to see the shared drive.

Thanks,

Jerry


>Correct, which is why I did the following:
>
>
>////////////////////////////////
>string s = "\\\\myserver\\data\\images\\myimage.jpg"; //will not find this
>
>string lc_file1 = Server.MapPath(s) //Now it should find it
>
>string lc_file2 = "c:\\media\\images\\myimage.jpg"; //this will be found
>
>
>Give us some more information on the systems you're attempting this for...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform