Results 1 to 3 of 3

Thread: [RESOLVED] web config error?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    589

    Resolved [RESOLVED] web config error?

    I just went back to a site I haven't worked on for a while. Made a few changes. Published it to a test server.

    I receive this for my trouble.

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    So ....... after an inordinate amount of time wasting checking the web config file - pasting it into notepad, saving it as an XML file, running it in a browser looking for errors ... I gave up and thought 'I'll create a new web site from scratch - get it running on the test server ... then add stuff in in chunks and find out what is wrong.

    So - in VS 2005 I created a new web site. On the default.aspx page I added the words 'hello world' and published the site. Same error. Took almost everything out of the web config file and published - same error.

    Any ideas? Have to say this .net lark drives me nuts sometimes. I have 8 sites on that server - all the rest of them work. But now I can't even get a site with one page to run.

    Thanks for any help.

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    589

    Re: web config error?

    Please ignore - found the problem - I am stupid.

    I was publishing to the right directory but shortcuts on my desktop were pointing to an older directory with a very similar name that had not been configured as an application.

    The trouble with having 8 applications in development at the same time I guess - sometimes the head just spins.

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: web config error?

    Quote Originally Posted by Webskater View Post
    ...sometimes the head just spins.
    Amen! We have all been there

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width