Re: ASPX not working - ASP ok

anonymous_at_discussions.microsoft.com
Date: 02/24/04


Date: Tue, 24 Feb 2004 06:59:40 -0800

Thank you Kristofer,

running aspnet_regiis.exe solved the problem

>-----Original Message-----
>Hello,
>
>Only the HTML?
>
>If you look at the source code of the page (after you
have browsed it), what
>do you see? HTML code only? If so, i belive that it did
what you told it to
>do. The webserver will only send HTML to the client, not
the server side
>code.
>
>Do you also see server side code? If so, it is probably
either because IIS
>is not configured for ASP.NET, or that your code is
wrong. A common mistake
>is to forget runat="server" in your code.
>
>You can also try to run
>
>"C:\WINDOWS\Microsof.NET\Framework\v1.1.4322
\aspnet_regiis.exe -i"
>(without the quotes)
>
>Of course, change the path if aspnet_regiis.exe is not
located in that
>directory.
>
>in a cmd prompt. That should register asp.net, in case it
wasn't already.
>
>--
>Regards,
>Kristofer Gafvert - IIS MVP
>Reply to newsgroup only. Remove NEWS if you must reply by
email, but please
>do not.
>www.ilopia.com - FAQ and Tutorials for Windows Server 2003
>
>
>"Alan" <anonymous@discussions.microsoft.com> wrote in
message
>news:1530901c3fa46$4ef17e90$a401280a@phx.gbl...
>> I have setup windows NT and iis version 5 on my
computer.
>>
>> I had trouble getting simple ASP file to run but solved
>> that by running a crystal report 8 fix. ASP files now
run
>> fine. I now want to run APSX files on my computer. I
>> have run dotnetfx.exe to install the .net environment.
>> Now when I run ASPX files on my computer only the HTML
>> code appears. I get no errors either on the screen or
in
>> the event viewer.
>>
>> Any ideas ? Is this related to my crystal report 8
>> problem.
>>
>> thanks
>>
>>
>
>
>.
>



Relevant Pages

  • Re: Hot Linking
    ... Sorry - you're correct, I misunderstood your post. ... --Jonathan Maltz [Microsoft MVP - Windows Server, ... > the image in HTML it says it can't view the image. ... >>You can't make IIS a proxy, it can not get the images ...
    (microsoft.public.inetserver.iis)
  • Re: Internal Server Error (500) - The data is invalid (IIS/6)
    ... the most simple HTML probably generated by the web server ... HTTP/1.1 500 Internal Server Error ... This includes IIS restart or server restart. ...
    (microsoft.public.inetserver.iis)
  • Re: asp problem in IIS5.1
    ... > I have windows XP with IIS 5.1. ... > with HTML Pages.but it is not working with ASP pages. ... > Server Application Error ...
    (microsoft.public.inetserver.asp.components)
  • Re: Is "Whidbey" going to de-skill developers ?
    ... Server is so much more mature, and IIS is so ultra lame in comparison. ... from SQL Server 7 to Sql Server 2005. ... And rightfully deserved so, HTML ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How can I display the calendar - limited user?
    ... I do use IIS. ... I have never created a server side script page like ASP, ... it's my lobby to create HTML pages with client side script - they work just ...
    (microsoft.public.windowsxp.customize)

Loading