|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
ASP.NET App gives "Cannot find server or DNS Error" on IIS5.1
I have had an ASP .Net application running on my laptop for a while and recently I had to change the domain of my computer. Which also included changing my static IP adressed to be Automatically obtained from DHCP.
I'm running IIS5.1 on Win XP Pro. Since then my application did not work at all. Was not able to get to the default page of the application. Hence, I uninstalled and re-installed IIS5 and now I'm able to get to the first page of my application (which is Default.aspx). This page is used as a log in page and there is a "login" button. When I click on this I get the error "Cannot find server or page, Cannot find server or DNS Error". Would greatly appriciate if some one can help. |
|
#2
|
|||
|
|||
|
This sounds like a code problem, not an IIS problem. You will have to troubleshoot, what is the url that causes the error? Does the page actually exist?
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
This is not a code problem, all of the content which is required by the application exists. Basically all of the applications which I have show the same behaviour.
As I mentioned when I click on the "log in" button it will take me to the same aspx page, but with different content on it. i.e. I'm using ascx files to change the content on the Default.aspx when the user logs in. |
|
#4
|
|||
|
|||
|
You are going to have to do some basic troubleshooting. How are you testing your page, from the xp box or another? Do you use localhost, the computer name, IP, or what in your url. Does a basic html page get served up by IIS. How about basic asp? Can you ping the server using the same domain name you use in your testing URL? etc. etc.
|
|
#5
|
|||
|
|||
|
Tx for taking the time to reply Doug.
I have tried accessing my box (the application) from another machine and it is giving me the same error, it is not even getting to the default page which I see when I access the site from the same box). I tried ping and it shows me the IP but the request times out. Does this look like a TCP/IP issue on my box? I have tried using localhost, the machine name as well as the IP, all with the same result. Basic asp pages get served (tried this using the http://localhost/IISHelp url). The url of my application is http://localhost/IMS.Web |
|
#6
|
|||
|
|||
|
Quote:
Yes, although not 100%. Servers and routers can be configured to block ping requests. If you know you should be able to ping the server and the request times out, then you do have a network problem that's preventing requests from reaching the web server. |
|
#7
|
|||
|
|||
|
This is the latest on my problem. Since I mentioned earlier that I changed domains and IPs on the machine which caused this issue, what I did was to setup a static IP & DNS and WINS and restarted the machine. Guess what, the application worked.
But then I ran in to the issue of trying to debug the application through VS .NET and it keeps saying "unable to start debuging on the web server". I'm pretty sure that I have done all the steps which are required to be able to debug a .NET app. Is there a problem with IIS and the TCP settings on my machine, since I have changed it. I have attached a netstat command, can you analyze it for me and let me know if you see a problem. Proto Local Address Foreign Address State TCP CM-SANATH:http CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:epmap CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:1025 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:1039 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:1059 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:ms-sql-s CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3070 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3128 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3230 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3354 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3518 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3566 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3796 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3821 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:5000 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:5101 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:8081 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3002 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3003 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3004 CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3004 cm-sanath.a.com:3013 ESTABLISHED TCP CM-SANATH:3004 cm-sanath.a.com:3052 ESTABLISHED TCP CM-SANATH:netbios-ssn CM-SANATH.a.com:0 LISTENING TCP CM-SANATH:3070 cs54.msg.dcn.yahoo.com:http ESTABLISHED TCP CM-SANATH:3230 exchange.a.com:4560 ESTABLISHED TCP CM-SANATH:3354 kronos.a.com:1026 ESTABLISHED TCP CM-SANATH:3566 66.54.249.39:http CLOSE_WAIT TCP CM-SANATH:3796 baym-cs250.msgr.hotmail.com:1863 ESTABLISHED TCP CM-SANATH:3821 exchange.a.com:1193 ESTABLISHED TCP CM-SANATH:3898 banners.ebay.com:http TIME_WAIT TCP CM-SANATH:14515 CM-SANATH.a.com:0 LISTENING UDP CM-SANATH:epmap *:* UDP CM-SANATH:932 *:* UDP CM-SANATH:1029 *:* UDP CM-SANATH:1030 *:* UDP CM-SANATH:1042 *:* UDP CM-SANATH:ms-sql-m *:* UDP CM-SANATH:3022 *:* UDP CM-SANATH:3049 *:* UDP CM-SANATH:3123 *:* UDP CM-SANATH:3323 *:* UDP CM-SANATH:3411 *:* UDP CM-SANATH:3434 *:* UDP CM-SANATH:3456 *:* UDP CM-SANATH:8081 *:* UDP CM-SANATH:8082 *:* UDP CM-SANATH:ntp *:* UDP CM-SANATH:1900 *:* UDP CM-SANATH:3032 *:* UDP CM-SANATH:3041 *:* UDP CM-SANATH:3131 *:* UDP CM-SANATH:3701 *:* UDP CM-SANATH:3812 *:* UDP CM-SANATH:ntp *:* UDP CM-SANATH:netbios-ns *:* UDP CM-SANATH:netbios-dgm *:* UDP CM-SANATH:1900 *:* UDP CM-SANATH:6508 *:* UDP CM-SANATH:16146 *:* |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > ASP.NET App gives "Cannot find server or DNS Error" on IIS5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|