?
Solved

No website is configured at this address

Posted on 2005-03-18
7
Medium Priority
?
1,063 Views
Last Modified: 2008-04-10
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!
0
Comment
Question by:MIKEV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 33

Expert Comment

by:raterus
ID: 13575842
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!
0
 

Author Comment

by:MIKEV
ID: 13575863
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" />
0
 
LVL 33

Expert Comment

by:raterus
ID: 13575918
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.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Accepted Solution

by:
raterus earned 2000 total points
ID: 13575939
Is the virtual directory /mysite configured as an application in IIS?
0
 

Author Comment

by:MIKEV
ID: 13575966
No, it's not.  That did it. :)

THANKS!
0
 
LVL 33

Expert Comment

by:raterus
ID: 13575987
lol, what a guess...I'd still look into the email errors, just for the future
0
 

Author Comment

by:MIKEV
ID: 13576015
That's a cool idea, I'll have to translate it into vb one day.  Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month8 days, 2 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question