When I run my program, I get the following error message: "The page cannot be displayed". Could someone help. Here are some specifics: I'm running IIS 6.0 and it appears to be running I do have Framework 1.1 install. I'm running on XP Pro I'm using MS Visual
Studio.NET And, I'm new to this so I don't know what the hell to do. Thanks.
We need some more information to help you. Can you access the page on the server? (localhost). How is the security for the site configured in the site properties? What type of page are you trying to display? Can you see the page properly in vs.net?
- I can access the localhost. - The security is set to the default. (full control for everyone) - I'm trying to display an .aspx page - It does not display on in vs.net's browser. (Same error message)
in trying to narrow down this problem, can you serve a simple static .htm file? and navigati it directly, Example http://localhost/myweb/test.htm? (validate IIS functionality) It was not clear, are you running IIS on your XP workstation, or on a Windows 2003
server? If on xp are you running SP2? In the IIS admin console for web service extensions, do you have ASP.net allowed?
- The test.htm was not working. I got the same error message. - I am running IIS on my XP workstation. - I do not have service pack 2. Shall I go ahead and install it? - I cannot determine if ASP is allowed under the IIS Admin. Could you walk me through this?
I would recomend removing IIS from XP and re-installing. Do this by going to Add / Remove programs - Windows Components and unchecking IIS, reboot, then do the reverse and recheck the IIS box. After this, verify the web server on your xp workstation by viewing
the on-line documentation. (http://localhost) Is your machine a member of a corporate domain where a security policy could be in affect? Do you have other AV or firewall applications that could be disabling browsing on localhost? Just other thoughts...
As a matter of fact, I recently had IIS installed. Before then, I was able to view the directory in localhost. Only problem I had was viewing ASP code in my browser (the server was not reading the asp code - only the HTML). I am on a corporate domain but everything
is running locally so nothing is going through a firewall or other AV.
Just to clear things out a bit - XP Pro - IIS 5.1 not IIS 6.0 Now- a) is IIS installed? do you see world wide web services installed and running ? if you go to command prompt, enter 'net start w3svc' - what's the reply ? b) at the comman prompt enter 'telnet
localhost 80' - hits enter key many times, do you see 400 bad request or connection can't be established ? if later case, then VERIFY there's no firewall blocking and IIS is installed, running and bind to port 80. c) also check event log to see any related
error entries.
When I typed 'net start w3svc' I got "More help is available by typing HelpMsg 2182 When I typed 'telnet localhost 80', I did get the "400 Bad request" error.
Ok. I thinks it's working now. Only problem is, the asp.net code is only showing labels. It doesn't display Text Boxes, Buttons, calendars, etc in asp.net code.
I went to the site and followed the instructions. I'm not receiving anything now. I'm getting the "The page cannot be displayed error message again." Is there anyway to fix this? Thanks - Jayson
Now, how do you access it ? at previous post you metion you see asp.net code is displayed, but now page cannot be display ? can you create a simple html file and place it at the web root ? then access via http://localhost/simple.html ? do the same for aspx...
any problem ?
2 things to validate 1. Make sure you do not have URL Scan enabled Look in %systemroot%\system32\inetsrv if you have a URLScan Folder there then open the URLScan.INI File and make sure the aspx extension is allowed. 2. You probably have to reregister ASP.NET
with IIS to do this goto %systemroot%\Microsoft.NET\Framework\v1.1.4322 and run the aspnet_regiis /i commandline there, this will update the scriptmap for all sites. HTH
Mike Kostersitz
Microsoft Customer Support Services
This posting is provided "AS IS" with no warranties, and confers no rights. Script samples are subject to the terms at http://www.microsoft.com/info/cpyright.htm"
Make sure the IIS service provider is started. To do this, launch "Services" from the admin tools menu. Look for the "World Wide Web Publishing" service. Double click on it and click start if service "Status" is not "Started". I keep the start type set to "Manual"
for this service so I can start it only when needed. You can have URLScan loaded (with the default .ini file), but to be able to debug with Visual Studio .NET, you need to add the Verb "DEBUG" under the [AllowVerbs] section of the urlscan.ini file. I used
the IIS Lockdown Wizard with the ASP server option and locked down everything else with IIS. So far, the only glitch was the debug problem that I figured out by examining the log file under %windir%\SYSTEM32\inetsrv\urlscan.
Well I´ve got a similar problem. But I can access .htm and .asp files. But not .aspx files.. Even if i made an simple .aspx file as follow: ---------------------------- Test ---------------------------- The only response I get is: "The page cannot be displayed"
Using MS Server 2003 .Net 1.1 Any Solutions?
None
0 Points
14 Posts
The page cannot be displayed
Oct 11, 2004 01:48 PM|jbone88|LINK
None
0 Points
33 Posts
Re: The page cannot be displayed
Oct 11, 2004 02:45 PM|mikemil|LINK
Program Manager
Microsoft Solutions for Windows-based Hosting
WBH 3.0 - Http://www.microsoft.com/hosting
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 11, 2004 03:11 PM|jbone88|LINK
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 11, 2004 03:16 PM|jbone88|LINK
None
0 Points
33 Posts
Re: The page cannot be displayed
Oct 11, 2004 03:23 PM|mikemil|LINK
Program Manager
Microsoft Solutions for Windows-based Hosting
WBH 3.0 - Http://www.microsoft.com/hosting
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 11, 2004 04:01 PM|jbone88|LINK
None
0 Points
33 Posts
Re: The page cannot be displayed
Oct 11, 2004 04:14 PM|mikemil|LINK
Program Manager
Microsoft Solutions for Windows-based Hosting
WBH 3.0 - Http://www.microsoft.com/hosting
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 11, 2004 04:22 PM|jbone88|LINK
None
0 Points
33 Posts
Re: The page cannot be displayed
Oct 11, 2004 04:32 PM|mikemil|LINK
Program Manager
Microsoft Solutions for Windows-based Hosting
WBH 3.0 - Http://www.microsoft.com/hosting
Member
30 Points
355 Posts
Re: The page cannot be displayed
Oct 11, 2004 10:05 PM|qbernard|LINK
Bernard Cheah
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 12, 2004 12:32 PM|jbone88|LINK
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 12, 2004 12:34 PM|jbone88|LINK
None
0 Points
86 Posts
Re: The page cannot be displayed
Oct 12, 2004 01:19 PM|mbaldwin|LINK
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 13, 2004 08:26 AM|jbone88|LINK
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 13, 2004 09:15 AM|jbone88|LINK
Member
30 Points
355 Posts
Re: The page cannot be displayed
Oct 13, 2004 10:23 PM|qbernard|LINK
Bernard Cheah
None
0 Points
14 Posts
Re: The page cannot be displayed
Oct 14, 2004 11:36 AM|jbone88|LINK
Member
30 Points
355 Posts
Re: The page cannot be displayed
Oct 17, 2004 11:01 PM|qbernard|LINK
Bernard Cheah
Member
20 Points
247 Posts
Re: The page cannot be displayed
Oct 27, 2004 02:40 AM|mkostersitz|LINK
Microsoft Customer Support Services
This posting is provided "AS IS" with no warranties, and confers no rights. Script samples are subject to the terms at http://www.microsoft.com/info/cpyright.htm"
Member
20 Points
29 Posts
Re: The page cannot be displayed
Nov 06, 2004 10:43 PM|dran001|LINK
None
0 Points
37 Posts
Re: The page cannot be displayed
Jan 07, 2005 02:04 PM|Tombola|LINK
Member
30 Points
355 Posts
Re: The page cannot be displayed
Jan 08, 2005 12:02 AM|qbernard|LINK
Bernard Cheah