Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASPX not working - ASP ok

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  A share on a remote machine  
Author Message
anonymous787

External


Since: Dec 29, 2003
Posts: 6



(Msg. 1) Posted: Mon Feb 23, 2004 2:50 pm
Post subject: ASPX not working - ASP ok
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: ASPX not working - ASP ok 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 2) Posted: Tue Feb 24, 2004 1:28 am
Post subject: Re: ASPX not working - ASP ok [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003


"Alan" <anonymous.DeleteThis@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
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASPX not working - ASP ok 
Back to top
Login to vote
anonymous77

External


Since: Oct 14, 2003
Posts: 468



(Msg. 3) Posted: Tue Feb 24, 2004 9:59 am
Post subject: Re: ASPX not working - ASP ok [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@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
  >>
  >>
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASPX not working - ASP ok 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS not serving ASP or ASPX - 2000 server, IIS 5.0 Will run html but not any asp or aspx. When I go to open the asp or aspx in a browser it does'nt recognize file type. Try using localhost will not run. Try path to root - will not run Error log: Event Type: Error Event Source: ASP.NE...

How do you run aspx web pages in IIS 5 - How do you run aspx web pages in IIS 5. it runs asp pages but not aspx. What am i doing wrong? what do i need to set up? i have dot net framework installed. does order of installation need to be looked at? what other possiblities do i need? all advice i...

How do you run aspx web pages in IIS 5 - How do you run aspx web pages in IIS 5. it runs asp but unable to run aspx. the webpages are based in a website. What am i doing wrong. i have installed dot net framework. what other posiblities am i over looking? all is help is appreiciated.

.ASPX works .ASP don't - Any ideas anyone, using IIS 5.1 .ASP web pages do not work I get error 500, but .ASPX web pages work fine? I made a website using MS FrontPage 2000, then I added some .ASPX pages to the site that were made with visual studio .NET 2003, which all was....

aspx files - I installed new ms updates and now i cant run aspx files i get Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
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



[ Contact us | Terms of Service/Privacy Policy ]