Home > Forums > IIS >


Failed to map the path '/

Posted by Suneel161 under IIS on 1/3/2013 2:01:33 AM | Points: 10 | Views : 3402 | Status : [Member] | Replies : 1
hi,

i am getting bellow error when we are hosting the application in iis7.5

Exception Details: System.InvalidOperationException: Failed to map the path '/




Responses

Posted by: Guna27 on: 1/3/2013 [Member] Starter | Points: 25
You have to use the code like this.
Server.MapPath("~\Folder")

this will return the application path in the IIS.

Guna..............

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response