Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Forums Author
Wed, 23-Apr-2014 Authors
Kirun2
20
Saranpselvam
20
Sheonarayan
10
All Time Authors
Jayakumars
3930
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)

Failed to map the path '/

Suneel161
Posted by Suneel161 under IIS on 1/3/2013 2:01:33 AM | Points: 10 | Views : 1647 | 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 '/



Reply | Reply with Attachment

=> Scroll below for responses


Comments or 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.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.

Found interesting? Add this to: