1

I have created a virtual directory on the IIS (IIS 5.1 that's what i'm using). when i try t o run the applciation from my browser using the URL

http://localhost/sitename .

i'm able to see the initial landing page . But when i force a controller action call like this .

http://localhost/controllername/actionMethodName

i receive the 404(file not found error). But when i'm running the application from the asp.net development server (intergrated with VS ) everyhting works fine.

what may be the reason. i have set impersonate in web.config and enabled anonymous access in the IIS .

any thoughts/ suggestions

thanks,

vijay

1 Answer 1

2

Have you tried http://localhost/sitename/controllername/action?

Edit: You could try these solutions:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.