Link to home
Start Free TrialLog in
Avatar of JeReLo
JeReLo

asked on

IIS configuration for application in default website

I had an IIS application (asp.net v 4) that was running fine. Then I wanted to run it under the default website (so I could use a UCC ssl). I created a virtual directory under the default website, and then converted it to an application. But when I run it, I get the error "Failed to map the path '/sitename'.

Some initial research suggests it was because of the '/ that precedes the name, however, I can't remove it.

Can someone direct to solve this problem?
Avatar of Gk
Gk

Make sure the IUSR and Network service has permissions to the location where your virtual dir is located.
The path also takes back slash?  \Abc instead of /Abc.
Avatar of JeReLo

ASKER

Ok, that's done, but problem remains. I noticed that the locations also give access to the defaultapppool, but this application uses a custom application pool (let's call it myapppool). I thought that myapppool should also have access to the directory, but didn't see how to add that as an entity when I was setting directory permissions. Do you think this is needed too?
ASKER CERTIFIED SOLUTION
Avatar of John Claes
John Claes
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JeReLo

ASKER

poor beggar, you were right!
It was hard somehow, to integrate your answer.
I worked on another question and got to the answer you gave here.
I'm glad that it worked for you ;-)
I've looked at the other question and they indeed clarified my comment.

regards
ppor beggar
Avatar of JeReLo

ASKER

my comment leads to a clarification of steps