473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

DNS error with every page in my app

Just deployed a new application, and am receiving an "Cannot find server or
DNS Error" error for every aspx page. All other ASP.NET apps are working
fine, as are both asp and html, as does a small little one-page test .NET app
I wrote to test things out. It's just this one particular app that's not
working.

Everything's running under framwork v 1.1, with IIS 6 on a 2003 server. Oh,
and (of course) everything goes live on Thurdsay! :-)

Any clues are appreciated.
Nov 19 '05 #1
3 1333
Hi,
My first suggestion is to turn off "display friendly http errors" in
Internet explorer. This may give you some more detail about the errors you
are getting. You may be getting HTTP500's or other errors.

I would also access the site from the local machine the site is running on
and or turn on debugging output for remote users (in web.config). This will
give you errors from ASP.NET. If the site works when accessed by the server
itself, then you probably just need to add DNS records for your server.

Have you attempted access the site using ip address? http://a.b.c.d instead
of by name?


"@discussions.microsoft.com>" <itinerantCoder /<intinerantCoder /> wrote in
message news:79**********************************@microsof t.com...
Just deployed a new application, and am receiving an "Cannot find server or DNS Error" error for every aspx page. All other ASP.NET apps are working
fine, as are both asp and html, as does a small little one-page test .NET app I wrote to test things out. It's just this one particular app that's not
working.

Everything's running under framwork v 1.1, with IIS 6 on a 2003 server. Oh, and (of course) everything goes live on Thurdsay! :-)

Any clues are appreciated.

Nov 19 '05 #2
Thanks for the suggestions Steve. However: been there, done that. Turning off
friendly messages doesn't give me anything more. Outputting tracing doesn't
work because the page never seems to get to the isapi filter. DNS resolution
is working because this is an app running in a virtual directory under a
particular site, and the other apps running under that site all work fine.
And besides that, browsing by IP address (both remotely and locally) doesn't
give me any better results.

Of course, the site runs fine on my development machine!

<itinerantCoder />

"Steve Lutz" wrote:
Hi,
My first suggestion is to turn off "display friendly http errors" in
Internet explorer. This may give you some more detail about the errors you
are getting. You may be getting HTTP500's or other errors.

I would also access the site from the local machine the site is running on
and or turn on debugging output for remote users (in web.config). This will
give you errors from ASP.NET. If the site works when accessed by the server
itself, then you probably just need to add DNS records for your server.

Have you attempted access the site using ip address? http://a.b.c.d instead
of by name?


"@discussions.microsoft.com>" <itinerantCoder /<intinerantCoder /> wrote in
message news:79**********************************@microsof t.com...
Just deployed a new application, and am receiving an "Cannot find server

or
DNS Error" error for every aspx page. All other ASP.NET apps are working
fine, as are both asp and html, as does a small little one-page test .NET

app
I wrote to test things out. It's just this one particular app that's not
working.

Everything's running under framwork v 1.1, with IIS 6 on a 2003 server.

Oh,
and (of course) everything goes live on Thurdsay! :-)

Any clues are appreciated.


Nov 19 '05 #3
OK, discovered my own solution here. When we created this project, we named
it with the original project name, but added " v2" at the end, mainly because
it was version 2. So the name was something like "Project v2". Note the space
in the project name. It is very, very bad.

So, by default, the assembly name and DLL it generated included that space
as well. Well, ASP.NET does not appreciate spaces (and perhaps other special
characters) in the DLLs it loads. Once we changed the assembly name to remove
the space, and recompiled, and redeployed, everything ran fine.

Moral of the story: do not use spaces in your assembly names. Spaces are
very, very bad.

<itinerantCoder />

"<itinerantCoder />" wrote:
Just deployed a new application, and am receiving an "Cannot find server or
DNS Error" error for every aspx page. All other ASP.NET apps are working
fine, as are both asp and html, as does a small little one-page test .NET app
I wrote to test things out. It's just this one particular app that's not
working.

Everything's running under framwork v 1.1, with IIS 6 on a 2003 server. Oh,
and (of course) everything goes live on Thurdsay! :-)

Any clues are appreciated.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
8
by: Mr. x | last post by:
Hello, I wrote a javascript, and when I open the html by the browser, I get the message : Error in page. It is about tousand lines, and I cannot figure out in a simple way, where is the...
10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
3
by: Niranjan Roy | last post by:
When trying to create Web application project from inside my Visual Studio.Net, I am getting the following error: --------------------------- Microsoft Development Environment ...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
3
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
2
by: Rasika WIJAYARATNE | last post by:
Hi guys, We get the below error on our temple website every 2 hours or so; I think someone is trying to hijack the 'contact.aspx' page somehow to send spam emails, I am not sure though. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.