 |
|
 |
|
Next: Interpreting IISState log files from w3svc and ii..
|
| Author |
Message |
External

Since: Jan 16, 2004 Posts: 5
|
(Msg. 1) Posted: Fri Jan 16, 2004 4:41 pm
Post subject: ASPX pages display as code, not html? Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
|
| This is weird and I don't know what is wrong. I just installed IIS, and any ASP pages work just fine (get processed by IIS and display in IE as HTML), but any ASPX pages display as the ASP.net code in IE and do not get processed by IIS at all. What is wrong here?
Mindy
|
>> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2004 Posts: 5
|
(Msg. 2) Posted: Fri Jan 16, 2004 4:56 pm
Post subject: RE: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
| Actually, when you lcik on a page, like welcome.aspx, you get a download prompt that wants you to open or save.
The download prompt says: filename: welcome.aspx, filetype: Asp.net server page, from: localhost. Pretty straightforward. If I select "open" I get the asp.net code displayed in IE.
ASP pages work just fine. It's just the ASPX ones that choke.
I am using WindowsXP and installed IIS via the control panel, add/remove components and put in my XP disk....
|
>> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
External

Since: Aug 26, 2003 Posts: 1525
|
(Msg. 3) Posted: Sat Jan 17, 2004 1:10 am
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Fri, 16 Jan 2004 13:41:23 -0800, "Mindy"
<anonymous.TakeThisOut@discussions.microsoft.com> wrote:
>This is weird and I don't know what is wrong. I just installed IIS, and any ASP pages work just fine (get processed by IIS and display in IE as HTML), but any ASPX pages display as the ASP.net code in IE and do not get processed by IIS at all. What is wrong here?
Did you install the .NET framework?
Jeff<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2004 Posts: 5
|
(Msg. 4) Posted: Sat Jan 17, 2004 1:10 am
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2004 Posts: 5
|
(Msg. 5) Posted: Sat Jan 17, 2004 1:10 am
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 3146
|
(Msg. 6) Posted: Sat Jan 17, 2004 2:02 pm
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi,
try to run this in a cmd prompt:
"C:\WINDOWS\Microsof.NET\Framework\v1.1.4322\aspnet_regiis.exe -i"
(without the quotes)
--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003
"Mindy" <anonymous DeleteThis @discussions.microsoft.com> wrote in message
news:9B359596-3091-4D94-B74B-40649BE86AB8@microsoft.com...
> This is weird and I don't know what is wrong. I just installed IIS, and
any ASP pages work just fine (get processed by IIS and display in IE as
HTML), but any ASPX pages display as the ASP.net code in IE and do not get
processed by IIS at all. What is wrong here?
>
> Mindy<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
External

Since: Aug 25, 2003 Posts: 2419
|
(Msg. 7) Posted: Sat Jan 17, 2004 7:19 pm
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
You probably first installed Visual Studio and .Net Framework, then
installed IIS.
Do as Kristofer suggests and register ASP.Net with IIS, and .ASPX pages
should start working.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Mindy" <anonymous.RemoveThis@discussions.microsoft.com> wrote in message
news:29971D4B-6CDB-4B30-9839-B0B89C6ABE13@microsoft.com...
I have the following programs installed on my Windows XP Professional box:
..Net Framework SDK v 1.1
Visual Studio. net 2003
Visual Basic .net >> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2004 Posts: 5
|
(Msg. 8) Posted: Mon Jan 19, 2004 10:51 am
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 3146
|
(Msg. 9) Posted: Mon Jan 19, 2004 7:55 pm
Post subject: Re: ASPX pages display as code, not html? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
If you install IIS first, and then .NET, it automatically sets it up for
you. If you do the reverse, you have to do this manually.
--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003
"Mindy" <anonymous DeleteThis @discussions.microsoft.com> wrote in message
news:675139F6-C2AD-4831-87EB-978B2BBF5B54@microsoft.com...
> You Rock! Thank you so much, that did the trick!
>
> Not quite sure what I did wrong though, are you supposed to install in a
specific order and I got it backward?
>
> Mindy<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: ASPX pages display as code, not html? |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|