0

I'm creating a new ASP.net website via Visual Studio. I then try to run the default.aspx page it generates, and it throws this error:

alt text

I've tried deleting the affected lines as suggested by MSDN but to no avail! I am on Windows 7, with ASP.net installed

If I delete all the lines I get:

alt text

Any ideas?

7
  • What is the message when you have deleted the lines? Commented Sep 24, 2010 at 10:29
  • 1
    Have you checked out britishdeveloper.co.uk/2010/04/… already? I see your application isnt setup this way but maybe you could try out the setting proposed and see if it helps? Commented Sep 24, 2010 at 10:40
  • @Tim, updated question with another screenshot Commented Sep 24, 2010 at 10:41
  • @Sane, I've added those lines in as suggested, but it throws same errors Commented Sep 24, 2010 at 10:43
  • Is the web.config in the website1 folder or in the wwwroot? Is there a web.config in the wwwroot? Commented Sep 24, 2010 at 10:58

1 Answer 1

1

You need to configure the virtual folder for you application in IIS.

Just dropping it as a folder under the default web site isn't enough.

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.