Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Blank Page Displays


Message #1 by jerrylan@q... on Thu, 21 Nov 2002 06:33:52
Ken,

Thanks for the reply and the invitation.  
I have been going crazy for the last 3 days trying to get an .aspx file 
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows 
applications on the same machine and have run ASP.NET on it before when I 
had Beta 2 running.  I have since reformatted my hard disk for the 
release installation. Now I can't get an ASP.NET program to run at all, 
even a bare bones one with only a label and a button on it. The local 
host will run HTML files and also plain ASP files.  With ASP.NET it 
alternates inexplicably between displaying a blank screen, showing a page 
can not be displayed error screen with "Server not found or DNS error" at 
the bottom and sometimes it displays four lines of information, not XML 
which shows server information. (see below)  I am running XP Pro with IE 
6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute 
scripts.

My next step barring a wonderful person stepping forward with the 
solution is to do another complete reformat and reinstall of XP Pro, IIS 
then .NET framework.  I would like to avoid this one.

Regards,

Jerry

 
Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection: 
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; 
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1 
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1
Message #2 by "Peter Zahos" <Peter@i...> on Thu, 21 Nov 2002 14:41:51 +0800
Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation. 
I have been going crazy for the last 3 days trying to get an .aspx file
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
applications on the same machine and have run ASP.NET on it before when
I
had Beta 2 running.  I have since reformatted my hard disk for the
release installation. Now I can't get an ASP.NET program to run at all,
even a bare bones one with only a label and a button on it. The local
host will run HTML files and also plain ASP files.  With ASP.NET it
alternates inexplicably between displaying a blank screen, showing a
page
can not be displayed error screen with "Server not found or DNS error"
at
the bottom and sometimes it displays four lines of information, not XML
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute
scripts.

My next step barring a wonderful person stepping forward with the
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry


Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection:
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0;
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1

Message #3 by "Jerry Lanphear" <jerrylan@q...> on Thu, 21 Nov 2002 08:40:12 -0700
Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...] 
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...] 
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation.  
I have been going crazy for the last 3 days trying to get an .aspx file 
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows 
applications on the same machine and have run ASP.NET on it before when
I 
had Beta 2 running.  I have since reformatted my hard disk for the 
release installation. Now I can't get an ASP.NET program to run at all, 
even a bare bones one with only a label and a button on it. The local 
host will run HTML files and also plain ASP files.  With ASP.NET it 
alternates inexplicably between displaying a blank screen, showing a
page 
can not be displayed error screen with "Server not found or DNS error"
at 
the bottom and sometimes it displays four lines of information, not XML 
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute 
scripts.

My next step barring a wonderful person stepping forward with the 
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry

 
Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection: 
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0; 
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1 
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1





Message #4 by "Bob Riley at cars4U.com" <BRiley@c...> on Thu, 21 Nov 2002 10:49:47 -0500
I will get to the bottom of this - I promise.  Stay tuned......

-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 10:40 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...]
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation. 
I have been going crazy for the last 3 days trying to get an .aspx file
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
applications on the same machine and have run ASP.NET on it before when
I
had Beta 2 running.  I have since reformatted my hard disk for the
release installation. Now I can't get an ASP.NET program to run at all,
even a bare bones one with only a label and a button on it. The local
host will run HTML files and also plain ASP files.  With ASP.NET it
alternates inexplicably between displaying a blank screen, showing a
page
can not be displayed error screen with "Server not found or DNS error"
at
the bottom and sometimes it displays four lines of information, not XML
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute
scripts.

My next step barring a wonderful person stepping forward with the
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry


Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection:
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0;
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1






Message #5 by "Bob Riley at cars4U.com" <BRiley@c...> on Thu, 21 Nov 2002 11:21:38 -0500
Run this from the command window.  I did - and everything was fixed.  I 
thank Andrew Duthie for his post.  Try it and let me know if it solves 
your problem.

C:\>aspnet_regiis -i

This will install the current version of ASP.NET to all IIS sites, and 
should clear up the problem. This problem can occur for a variety of 
reasons, including if Visual Studio or the Framework are installed 
before IIS. If you have trouble running aspnet_regiis.exe from the root, 
you can navigate to the %windir%\Microsoft .NET\Framework\v1.0.3705 
directory, where this utility resides, and run it there.

-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 10:40 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...]
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation. 
I have been going crazy for the last 3 days trying to get an .aspx file
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
applications on the same machine and have run ASP.NET on it before when
I
had Beta 2 running.  I have since reformatted my hard disk for the
release installation. Now I can't get an ASP.NET program to run at all,
even a bare bones one with only a label and a button on it. The local
host will run HTML files and also plain ASP files.  With ASP.NET it
alternates inexplicably between displaying a blank screen, showing a
page
can not be displayed error screen with "Server not found or DNS error"
at
the bottom and sometimes it displays four lines of information, not XML
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute
scripts.

My next step barring a wonderful person stepping forward with the
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry


Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection:
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0;
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1






Message #6 by "Bob Riley at cars4U.com" <BRiley@c...> on Thu, 21 Nov 2002 11:29:54 -0500
http://www.asp.net/Forums/ShowPost.aspx?tabindex=3D1&PostID=3D2709

Here is the link to the applicable posts.

-----Original Message-----
From: Bob Riley at cars4U.com
Sent: Thursday, November 21, 2002 11:22 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Run this from the command window.  I did - and everything was fixed.  I 
thank Andrew Duthie for his post.  Try it and let me know if it solves 
your problem.

C:\>aspnet_regiis -i

This will install the current version of ASP.NET to all IIS sites, and 
should clear up the problem. This problem can occur for a variety of 
reasons, including if Visual Studio or the Framework are installed 
before IIS. If you have trouble running aspnet_regiis.exe from the root, 
you can navigate to the %windir%\Microsoft .NET\Framework\v1.0.3705 
directory, where this utility resides, and run it there.

-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 10:40 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...]
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation. 
I have been going crazy for the last 3 days trying to get an .aspx file
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
applications on the same machine and have run ASP.NET on it before when
I
had Beta 2 running.  I have since reformatted my hard disk for the
release installation. Now I can't get an ASP.NET program to run at all,
even a bare bones one with only a label and a button on it. The local
host will run HTML files and also plain ASP files.  With ASP.NET it
alternates inexplicably between displaying a blank screen, showing a
page
can not be displayed error screen with "Server not found or DNS error"
at
the bottom and sometimes it displays four lines of information, not XML
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute
scripts.

My next step barring a wonderful person stepping forward with the
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry


Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection:
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0;
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1







Message #7 by "Jerry Lanphear" <jerrylan@q...> on Thu, 21 Nov 2002 11:20:20 -0700
Bob, Thanks so much for you continued help, but after all that I am
still not displaying the pages.

The running of aspnet_regiis -i had no effect.  The reinstall of the
framework should have taken care of that anyway.

Regards,
Jerry


-----Original Message-----
From: Bob Riley at cars4U.com [mailto:BRiley@c...] 
Sent: Thursday, November 21, 2002 9:30 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=2709

Here is the link to the applicable posts.

-----Original Message-----
From: Bob Riley at cars4U.com 
Sent: Thursday, November 21, 2002 11:22 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Run this from the command window.  I did - and everything was fixed.  I
thank Andrew Duthie for his post.  Try it and let me know if it solves
your problem.

C:\>aspnet_regiis -i 

This will install the current version of ASP.NET to all IIS sites, and
should clear up the problem. This problem can occur for a variety of
reasons, including if Visual Studio or the Framework are installed
before IIS. If you have trouble running aspnet_regiis.exe from the root,
you can navigate to the %windir%\Microsoft .NET\Framework\v1.0.3705
directory, where this utility resides, and run it there. 

-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 10:40 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...] 
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...] 
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation.  
I have been going crazy for the last 3 days trying to get an .aspx file 
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows 
applications on the same machine and have run ASP.NET on it before when
I 
had Beta 2 running.  I have since reformatted my hard disk for the 
release installation. Now I can't get an ASP.NET program to run at all, 
even a bare bones one with only a label and a button on it. The local 
host will run HTML files and also plain ASP files.  With ASP.NET it 
alternates inexplicably between displaying a blank screen, showing a
page 
can not be displayed error screen with "Server not found or DNS error"
at 
the bottom and sometimes it displays four lines of information, not XML 
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute 
scripts.

My next step barring a wonderful person stepping forward with the 
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry

 
Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection: 
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0; 
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1 
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1











Message #8 by "Jerry Lanphear" <jerrylan@q...> on Thu, 21 Nov 2002 12:09:33 -0700
Bob, 
I am investigating this MSDN Knowledge Base Article 315158
It talks about placing the ASPNET user in the Machine.config file.
I have to check it out because it doesn't seem to me that hard-coding
the username and password into an XML document is a very elegant
solution.
If you have any insite let me know. It seems like these are the symptoms
I am experiencing (Listed in the article)

Regards

Jerry
-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...] 
Sent: Thursday, November 21, 2002 11:20 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Bob, Thanks so much for you continued help, but after all that I am
still not displaying the pages.

The running of aspnet_regiis -i had no effect.  The reinstall of the
framework should have taken care of that anyway.

Regards,
Jerry


-----Original Message-----
From: Bob Riley at cars4U.com [mailto:BRiley@c...] 
Sent: Thursday, November 21, 2002 9:30 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=2709

Here is the link to the applicable posts.

-----Original Message-----
From: Bob Riley at cars4U.com 
Sent: Thursday, November 21, 2002 11:22 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Run this from the command window.  I did - and everything was fixed.  I
thank Andrew Duthie for his post.  Try it and let me know if it solves
your problem.

C:\>aspnet_regiis -i 

This will install the current version of ASP.NET to all IIS sites, and
should clear up the problem. This problem can occur for a variety of
reasons, including if Visual Studio or the Framework are installed
before IIS. If you have trouble running aspnet_regiis.exe from the root,
you can navigate to the %windir%\Microsoft .NET\Framework\v1.0.3705
directory, where this utility resides, and run it there. 

-----Original Message-----
From: Jerry Lanphear [mailto:jerrylan@q...]
Sent: Thursday, November 21, 2002 10:40 AM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays


Pete,
I uninstalled both IIS and the .NET Framework.  Still the same effect.
I didn't uninstall Visual Studio, though. I guess I'll try uninstalling
all three next.

Jerry

-----Original Message-----
From: Peter Zahos [mailto:Peter@i...] 
Sent: Wednesday, November 20, 2002 11:42 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: Blank Page Displays

Jerry,
I know there is an issue with istalling ASP.NET before IIS.  Did you
install IIS before the .NET Framework SDK?  If not, uninstall both, then
install IIS first followed by the .NET Framework SDK.
You'll get there.
Good luck
Pete

-----Original Message-----
From: jerrylan@q... [mailto:jerrylan@q...] 
Sent: Thursday, November 21, 2002 2:34 PM
To: aspx_beginners
Subject: [aspx_beginners] Blank Page Displays


Ken,

Thanks for the reply and the invitation.  
I have been going crazy for the last 3 days trying to get an .aspx file 
to run on my localhost.  I have run lots of VB.NET and C#.NET Windows 
applications on the same machine and have run ASP.NET on it before when
I 
had Beta 2 running.  I have since reformatted my hard disk for the 
release installation. Now I can't get an ASP.NET program to run at all, 
even a bare bones one with only a label and a button on it. The local 
host will run HTML files and also plain ASP files.  With ASP.NET it 
alternates inexplicably between displaying a blank screen, showing a
page 
can not be displayed error screen with "Server not found or DNS error"
at 
the bottom and sometimes it displays four lines of information, not XML 
which shows server information. (see below)  I am running XP Pro with IE

6.0 SP1.

I have tried the following to resolve the error.

Checked that aspnet_wp.exe is running
Checked that aspnet_isapi.dll is registered
Created a virtual directory and set permissions to read and execute 
scripts.

My next step barring a wonderful person stepping forward with the 
solution is to do another complete reformat and reinstall of XP Pro, IIS

then .NET framework.  I would like to avoid this one.

Regards,

Jerry

 
Here is a look at the screen of information:

gASPNET\/LM/W3SVC/1/Root/BegASPNET Accept: image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, */* Accept-Language: en-us Connection: 
Keep-Alive Host: localhost User-Agent: Mozilla/4.0 (compatible; MSIE
6.0; 
Windows NT 5.1; .NET CLR 1.0.3705) CGI/1.1 Mozilla/4.0 (compatible; MSIE

6.0; Windows NT 5.1; .NET CLR 1.0.3705) off 1 /LM/W3SVC/1 127.0.0.1 
127.0.0.1 127.0.0.1 localhost 80 HTTP/1.1 Microsoft-IIS/5.1















Message #9 by "Ken Schaefer" <ken@a...> on Fri, 22 Nov 2002 17:13:44 +1100
Hi,

I've actually heard of other people having this problem before...I'm still
trying to track down where I saw their email posts though...

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <jerrylan@q...>
Subject: [aspx_beginners] Blank Page Displays


: Ken,
:
: Thanks for the reply and the invitation.
: I have been going crazy for the last 3 days trying to get an .aspx file
: to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
: applications on the same machine and have run ASP.NET on it before when I
: had Beta 2 running.  I have since reformatted my hard disk for the
: release installation. Now I can't get an ASP.NET program to run at all,
: even a bare bones one with only a label and a button on it. The local
: host will run HTML files and also plain ASP files.  With ASP.NET it
: alternates inexplicably between displaying a blank screen, showing a page
: can not be displayed error screen with "Server not found or DNS error" at
: the bottom and sometimes it displays four lines of information, not XML
: which shows server information. (see below)  I am running XP Pro with IE
: 6.0 SP1.
:
: I have tried the following to resolve the error.
:
: Checked that aspnet_wp.exe is running
: Checked that aspnet_isapi.dll is registered
: Created a virtual directory and set permissions to read and execute
: scripts.
:
: My next step barring a wonderful person stepping forward with the
: solution is to do another complete reformat and reinstall of XP Pro, IIS
: then .NET framework.  I would like to avoid this one.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message #10 by "Jerry Lanphear" <jerrylan@q...> on Thu, 21 Nov 2002 23:53:03 -0700
Ken,

I think I have tracked it down to information contained in MSDN
Knowledge Base article 315158.  It has something to do with the username
and password contained in the <processModel> section of the
machine.config file in the framework directory. I have tried
combinations of solutions from the suggested fixes and have succeeded in
getting more than just a blank screen.  If I can get the combination of
permissions right, I think I will have it licked.

Regards

Jerry

-----Original Message-----
From: Ken Schaefer [mailto:ken@a...] 
Sent: Thursday, November 21, 2002 11:14 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: Blank Page Displays

Hi,

I've actually heard of other people having this problem before...I'm
still
trying to track down where I saw their email posts though...

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <jerrylan@q...>
Subject: [aspx_beginners] Blank Page Displays


: Ken,
:
: Thanks for the reply and the invitation.
: I have been going crazy for the last 3 days trying to get an .aspx
file
: to run on my localhost.  I have run lots of VB.NET and C#.NET Windows
: applications on the same machine and have run ASP.NET on it before
when I
: had Beta 2 running.  I have since reformatted my hard disk for the
: release installation. Now I can't get an ASP.NET program to run at
all,
: even a bare bones one with only a label and a button on it. The local
: host will run HTML files and also plain ASP files.  With ASP.NET it
: alternates inexplicably between displaying a blank screen, showing a
page
: can not be displayed error screen with "Server not found or DNS error"
at
: the bottom and sometimes it displays four lines of information, not
XML
: which shows server information. (see below)  I am running XP Pro with
IE
: 6.0 SP1.
:
: I have tried the following to resolve the error.
:
: Checked that aspnet_wp.exe is running
: Checked that aspnet_isapi.dll is registered
: Created a virtual directory and set permissions to read and execute
: scripts.
:
: My next step barring a wonderful person stepping forward with the
: solution is to do another complete reformat and reinstall of XP Pro,
IIS
: then .NET framework.  I would like to avoid this one.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





Message #11 by "Ken Schaefer" <ken@a...> on Mon, 25 Nov 2002 11:49:01 +1100
That KB article pertains to running ASP.Net on a Primary Domain
Controller...which I don't think is your problem. You say that you are now
getting more than a blank screen. What are you seeing now?

If you *are* experiencing this problem, you will see events such as the
following in your Windows Event Log (Start -> Settings -> Control Panel ->
Administrative Tools -> Event Viewer):

> 2) Event Type: Error
> Event Source: ASP.NET 1.0.3705.0
> Event Category: None
> Event ID: 1007
> Date:  9/29/2002
> Time:  1:00:43 PM
> User:  N/A
> Computer: DC01
> Description:
> aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid.

If you are not seeing these types of errors, then I suspect that you have
something else wrong. I'm asking around to see what could be the problem...

BTW, you are attempting to view ASP.Net pages on your local machine aren't
you? And you have no proxy server etc configured?

One other thing - have you tried hitting your page from another computer (or
installing another browser)? Just to make sure it's not an IE problem? (the
garbage that is being displayed looks like the headers that the browser
would send to the server!)

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Lanphear" <jerrylan@q...>
Subject: [aspx_beginners] Re: Blank Page Displays


: Ken,
:
: I think I have tracked it down to information contained in MSDN
: Knowledge Base article 315158.  It has something to do with the username
: and password contained in the <processModel> section of the
: machine.config file in the framework directory. I have tried
: combinations of solutions from the suggested fixes and have succeeded in
: getting more than just a blank screen.  If I can get the combination of
: permissions right, I think I will have it licked.
:
: Regards
:
: Jerry
:
: -----Original Message-----
: From: Ken Schaefer [mailto:ken@a...]
: Sent: Thursday, November 21, 2002 11:14 PM
: To: aspx_beginners
: Subject: [aspx_beginners] Re: Blank Page Displays
:
: Hi,
:
: I've actually heard of other people having this problem before...I'm
: still
: trying to track down where I saw their email posts though...
:
: Cheers
: Ken

Message #12 by "Jerry Lanphear" <jerrylan@q...> on Mon, 25 Nov 2002 12:01:01 -0700
Ken,

I found out in the course of this week-and-a-half Odyssey of mine that XP
Pro with Simple File Security disabled (a requirement for setting
permissions) that ASP.NET considers the localhost to be a Primary Domain
Controller.
I was getting a message (in the application log) that said that
aspnet_wp.exe could not be started because of password and username.  I
proceeded to play with username and passord in the machine.config and folder
permissions for a week with no results

Today (SUCCESS!) I wiped out everything and started over.  After install I
had the same results. However after installing SP2 it began working!!!
This is not to say that installing SP2 was without additional headaches.
The installation for SP2 itself has a bug which demands that the file
"netfx.mis" should be at a certain expected path.  After searching for 2
hours for the way to fix that I happened upon explicit directions on the
microsoft site for extracting and placing the desired file in order to fool
the ill-advised installer program.  This bug apparently exists on every
update program for .NET ever made, so it seems to be some kind of tradition
or inside joke.

Anyway I am running ASP.NET pages now, my career can continue with only this
the week and a half delay.

Regards
Jerry
----- Original Message -----
From: "Ken Schaefer" <ken@a...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Sunday, November 24, 2002 5:49 PM
Subject: [aspx_beginners] Re: Blank Page Displays


> That KB article pertains to running ASP.Net on a Primary Domain
> Controller...which I don't think is your problem. You say that you are now
> getting more than a blank screen. What are you seeing now?
>
> If you *are* experiencing this problem, you will see events such as the
> following in your Windows Event Log (Start -> Settings -> Control Panel ->
> Administrative Tools -> Event Viewer):
>
> > 2) Event Type: Error
> > Event Source: ASP.NET 1.0.3705.0
> > Event Category: None
> > Event ID: 1007
> > Date:  9/29/2002
> > Time:  1:00:43 PM
> > User:  N/A
> > Computer: DC01
> > Description:
> > aspnet_wp.exe could not be launched because the username and/or
> > password supplied in the processModel section of the config file are
> > invalid.
>
> If you are not seeing these types of errors, then I suspect that you have
> something else wrong. I'm asking around to see what could be the
problem...
>
> BTW, you are attempting to view ASP.Net pages on your local machine aren't
> you? And you have no proxy server etc configured?
>
> One other thing - have you tried hitting your page from another computer
(or
> installing another browser)? Just to make sure it's not an IE problem?
(the
> garbage that is being displayed looks like the headers that the browser
> would send to the server!)
>
> Cheers
> Ken
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "Jerry Lanphear" <jerrylan@q...>
> Subject: [aspx_beginners] Re: Blank Page Displays
>
>
> : Ken,
> :
> : I think I have tracked it down to information contained in MSDN
> : Knowledge Base article 315158.  It has something to do with the username
> : and password contained in the <processModel> section of the
> : machine.config file in the framework directory. I have tried
> : combinations of solutions from the suggested fixes and have succeeded in
> : getting more than just a blank screen.  If I can get the combination of
> : permissions right, I think I will have it licked.
> :
> : Regards
> :
> : Jerry
> :
> : -----Original Message-----
> : From: Ken Schaefer [mailto:ken@a...]
> : Sent: Thursday, November 21, 2002 11:14 PM
> : To: aspx_beginners
> : Subject: [aspx_beginners] Re: Blank Page Displays
> :
> : Hi,
> :
> : I've actually heard of other people having this problem before...I'm
> : still
> : trying to track down where I saw their email posts though...
> :
> : Cheers
> : Ken
>
>
>
>

Message #13 by "Ken Schaefer" <ken@a...> on Tue, 26 Nov 2002 10:58:08 +1100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Lanphear" <jerrylan@q...>
Subject: [aspx_beginners] Re: Blank Page Displays


: I found out in the course of this week-and-a-half Odyssey of mine that XP
: Pro with Simple File Security disabled (a requirement for setting
: permissions) that ASP.NET considers the localhost to be a Primary Domain
: Controller.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The bit about WinXP Pro being a PDC is incorrect.

As you say, you got it working after starting over, but Windows XP Pro can
*never* be a Primary Domain Controller. Only a Windows NT 4 Server can be a
PDC (in Windows2000 all domain controllers are equal, and are referred to as
DCs - but again, only a Windows 2000 *Server* can be a domain controller).
To turn a Win2k machine into a DC you need to run dcpromo, which runs the
Active Directory Setup wizard. No Acive Directory, no domain, no Domain
Controller.

Glad you got it working though!

Cheers
Ken

Message #14 by "Jerry Lanphear" <jerrylan@q...> on Mon, 25 Nov 2002 18:26:24 -0700
Ken,

I didn't say that XP Pro was a domain controller, I said that under
certain conditions ASP.NET thinks its running on a domain controller
when it is actually running on XP Pro with simple file sharing disabled.
This causes some of the folder security problems that many have
experienced, but not all. This is caused mainly because on a domain
controller or backup controller all user accounts are domain accounts
and are not local machine accounts (See msdn knowledge base article
Q315158) If ASP thinks its on a domain controller when it is not it will
mishandle the username of "localmachinename\ASPNET" which is the normal
internal username in ASP.NET.
This is the main reason why many I have read suggest that the domain
controller is NOT used to run ASP.NET applications. I can't readily find
the article I read which asserts that this problem of ASP.NET getting
confused exists and I have spent too much time on this issue to find it.
I am after all needing to focus on passing 70-306 (Desktop)
certification, and I dont even think that this stuff is tested on 70-305
(Web-Apps).

Regards,

Jerry

-----Original Message-----
From: Ken Schaefer [mailto:ken@a...] 
Sent: Monday, November 25, 2002 4:58 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: Blank Page Displays

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Lanphear" <jerrylan@q...>
Subject: [aspx_beginners] Re: Blank Page Displays


: I found out in the course of this week-and-a-half Odyssey of mine that
XP
: Pro with Simple File Security disabled (a requirement for setting
: permissions) that ASP.NET considers the localhost to be a Primary
Domain
: Controller.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The bit about WinXP Pro being a PDC is incorrect.

As you say, you got it working after starting over, but Windows XP Pro
can
*never* be a Primary Domain Controller. Only a Windows NT 4 Server can
be a
PDC (in Windows2000 all domain controllers are equal, and are referred
to as
DCs - but again, only a Windows 2000 *Server* can be a domain
controller).
To turn a Win2k machine into a DC you need to run dcpromo, which runs
the
Active Directory Setup wizard. No Acive Directory, no domain, no Domain
Controller.

Glad you got it working though!

Cheers
Ken





Message #15 by "Ken Schaefer" <ken@a...> on Tue, 26 Nov 2002 12:54:07 +1100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Lanphear" <jerrylan@q...>
Subject: [aspx_beginners] Re: Blank Page Displays


: I didn't say that XP Pro was a domain controller, I said that under
: certain conditions ASP.NET thinks its running on a domain controller
: when it is actually running on XP Pro with simple file sharing disabled.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ah, OK, I see what you're saying. Do you know what these circumstances are?

Windows XP Pro default to "Simple File Sharing" On when it's in a Workgroup,
and "Simple File Sharing" Off when it's attached to a Domain. We've got 10
or so development machines here which are all part of a Win2k Domain (so,
Simple File Sharing Off), and we don't see this problem. It would be good to
find out what the root cause is so we can avoid it in future!

Cheers
Ken

Message #16 by "Andrew Haslett" <ahaslett@b...> on Tue, 26 Nov 2002 22:43:02 +1030
Doubt this has anythng to do with it but I'll raise it anyway as it's a
noteable change..

XP-SP1 changes the default share permissions to Everyone/Read Only, whereas
it used to be Everyone/Full Control..

Cheers,
A

-----Original Message-----
From: Ken Schaefer [mailto:ken@a...]
Sent: Monday, 25 November 2002 11:19 AM
To: aspx_beginners
Subject: [aspx_beginners] Re: Blank Page Displays


That KB article pertains to running ASP.Net on a Primary Domain
Controller...which I don't think is your problem. You say that you are now
getting more than a blank screen. What are you seeing now?

If you *are* experiencing this problem, you will see events such as the
following in your Windows Event Log (Start -> Settings -> Control Panel ->
Administrative Tools -> Event Viewer):

> 2) Event Type: Error
> Event Source: ASP.NET 1.0.3705.0
> Event Category: None
> Event ID: 1007
> Date:  9/29/2002
> Time:  1:00:43 PM
> User:  N/A
> Computer: DC01
> Description:
> aspnet_wp.exe could not be launched because the username and/or
> password supplied in the processModel section of the config file are
> invalid.

If you are not seeing these types of errors, then I suspect that you have
something else wrong. I'm asking around to see what could be the problem...

BTW, you are attempting to view ASP.Net pages on your local machine aren't
you? And you have no proxy server etc configured?

One other thing - have you tried hitting your page from another computer (or
installing another browser)? Just to make sure it's not an IE problem? (the
garbage that is being displayed looks like the headers that the browser
would send to the server!)

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Lanphear" <jerrylan@q...>
Subject: [aspx_beginners] Re: Blank Page Displays


: Ken,
:
: I think I have tracked it down to information contained in MSDN
: Knowledge Base article 315158.  It has something to do with the username
: and password contained in the <processModel> section of the
: machine.config file in the framework directory. I have tried
: combinations of solutions from the suggested fixes and have succeeded in
: getting more than just a blank screen.  If I can get the combination of
: permissions right, I think I will have it licked.
:
: Regards
:
: Jerry
:
: -----Original Message-----
: From: Ken Schaefer [mailto:ken@a...]
: Sent: Thursday, November 21, 2002 11:14 PM
: To: aspx_beginners
: Subject: [aspx_beginners] Re: Blank Page Displays
:
: Hi,
:
: I've actually heard of other people having this problem before...I'm
: still
: trying to track down where I saw their email posts though...
:
: Cheers
: Ken





  Return to Index