Link to home
Start Free TrialLog in
Avatar of MIKEV
MIKEV

asked on

No website is configured at this address

I have a W2003 web server in production.  I created a new asp.net application:

www.mydomain.com/MySite

I created an index.aspx.  When I go to that URL from a remote machine I get "Server Error in '/' Application." and it tells me how to enable error messages; set customErrors mode="Off"/ in web.config.  So I do that, save and build the project.  Reload the page and I get the same error telling me how to enable remote errors.  I don't get that, I've tried everything with web.config.

On the server itself, when I load the page in a browser it says "No website is configured at this address" yet when viewed remotely I get the above error.

Any ideas?  I'm running out.
Thanks!
Avatar of raterus
raterus
Flag of United States of America image

I find that if you have an error in web.config itself (misspelling, wrong syntax, etc) you will run into problems like this.  asp.net can't know to give you a custom error if it can't even parse web.config!
Avatar of MIKEV
MIKEV

ASKER

If I bring up web.config for editing in VS, it looks fine...  It was just created by VS and all I've modified is the customErrors tag:

    <customErrors mode="Off" />
In that case, and I know you don't want to hear this right now, but instead of knocking your head all day about this, have you ever thought about emailing yourself errors that occur in the application?  

http://www.eggheadcafe.com/articles/20030816.asp 

I do this myself, and it works great, especially when the app is in production.  Your problem is most likely something very simple, but without seeing that error, you could be spending all day troubleshooting it!  This would allow you to see the error right away.
ASKER CERTIFIED SOLUTION
Avatar of raterus
raterus
Flag of United States of America 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
Avatar of MIKEV

ASKER

No, it's not.  That did it. :)

THANKS!
lol, what a guess...I'd still look into the email errors, just for the future
Avatar of MIKEV

ASKER

That's a cool idea, I'll have to translate it into vb one day.  Thanks!