473,545 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASPX pages give Server not found or DNS Error

I have just encountered a problem that was driving me nuts. Every aspx page
in my web application gave the error "Cannot find server or DNS Error". I
was multi-tasking at the time and was developing and downloading from the
internet. I ran a virus scan and found a trojan on my system which I
deleted, but what damage had it already done?

I found the following reports of this problem without solutions
http://www.dotnet247.com/247referenc...22/114547.aspx
http://p2p.wrox.com/archive/aspx_beg.../2002-09/3.asp

I was in deep despair contemplating a complete system rebuild as no matter
how I referenced localhost (127.0.0.1 machine name etc) I still got the
message "Cannot find server". I had recently managed to screw up my local
networking and a rebuild was necessary then to recover my system. Had I done
the same again?

Thank goodness I paused, took a deep breath and tried to debug my
application. All my aspx pages inherit from my own base class and I had
introduced an infinite loop into the base class. The error message was
completely misleading and had nothing to do with the trojan - it was all my
own doing. If I had completely rebuilt my system I would have come back to
exactly the same problem hours later.

There's a familiar moral to this story - don't beleive all error messages
and always consider the possibility that it IS your fault!

Nov 18 '05 #1
1 1882
IE Error messages are notoriously hard to debug through, as they're targeted
for end-users, not developers. One thing to check is to ensure that you've
disabled the "Friendly Errors" function in IE's Tools | Internet Options |
Advanced tab. It wouldn't have helped you in this case, but there is a
class of errors that are hidden when "Friendly" errors are on.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Ken Cooper" <ken_@_xeladev. net> wrote in message
news:eQ******** ******@tk2msftn gp13.phx.gbl...
I have just encountered a problem that was driving me nuts. Every aspx page in my web application gave the error "Cannot find server or DNS Error". I
was multi-tasking at the time and was developing and downloading from the
internet. I ran a virus scan and found a trojan on my system which I
deleted, but what damage had it already done?

I found the following reports of this problem without solutions
http://www.dotnet247.com/247referenc...22/114547.aspx
http://p2p.wrox.com/archive/aspx_beg.../2002-09/3.asp

I was in deep despair contemplating a complete system rebuild as no matter
how I referenced localhost (127.0.0.1 machine name etc) I still got the
message "Cannot find server". I had recently managed to screw up my local
networking and a rebuild was necessary then to recover my system. Had I done the same again?

Thank goodness I paused, took a deep breath and tried to debug my
application. All my aspx pages inherit from my own base class and I had
introduced an infinite loop into the base class. The error message was
completely misleading and had nothing to do with the trojan - it was all my own doing. If I had completely rebuilt my system I would have come back to
exactly the same problem hours later.

There's a familiar moral to this story - don't beleive all error messages
and always consider the possibility that it IS your fault!

Nov 18 '05 #2

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

Similar topics

2
3779
by: johngilmer | last post by:
I have a login page and it appears just fine (login.aspx). There are a couple of links on the page which use javascript to bring up modal dialogs of other aspx pages, and they work fine. But if I cause login.aspx to postback (there is a dropdown and a button which both cause a postback), it doesn't work and returns a page with the error...
1
4831
by: Carl Gilbert | last post by:
Hi I am trying to get a site working with some 1&1 web space. I have the MS Business Pro account which has ASP.NET Support and SQL Server. I am trying to get an online gallery to work but I can not get the default.aspx page to load. I can not even get a really simple aspx page to load. Default page: http://www.gallerox.com/default.aspx...
4
2895
by: Frankie | last post by:
I'm writing a small C# utility application that creates new Web Sites via ADSI. It seems to work just fine for the most part -- meaning that IIS Metabase entries look either identical or "different where expected" - when comparing Web Sites created with my utility against Web Sites created "manually" with IIS Manager. I'm comparing the sites...
14
2461
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they transferred our site www.orbisoft.com to a new W2003 IIS6 server they set up. That was a week ago. Since that transfer, all of our ASPX pages...
2
1345
by: Vik | last post by:
Hi, I am in the process of getting our web site on Windows 2003 Web Server with IIS6. Our web site has combinations of asp pages and .net - aspx pages. I did all required settings, but not sure why can't I see see any aspx pages. It shows me that "Page can not be found". What can it be? I found an article that I need to add .aspx extension...
6
5102
by: Roberto Hernández | last post by:
Something was wrong with my IIS 'Service unavailable', I decided to uninstall IIS and then reinstall it, then the simple pages can be viewed but the aspx pages not. Then I uninstall SQL server 2005 and Visual Studio 2005 and reinstall it. Now I can view simple pages but not aspx pages, but when running from the debugger of Visual Studio, it...
24
2733
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX is Microsoft's attempt to "dumb down" web application development to help unskilled developers such as web design agencies achieve some results. ...
13
3525
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but...
11
2924
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the...
0
7502
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7434
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7946
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7457
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7791
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5360
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.