[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

No website is configured at this address

Posted on 2005-03-18
7
Medium Priority
?
1,070 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
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

590 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