asp.net newbie question

  • Thread starter Thread starter romy
  • Start date Start date
R

romy

Hi

Starting to study asp.net....

I'm trying to run some .aspx file (For testing)
http://localhost/page.aspx

For some reason the browser doesn't compile and run the script, but just
display as text file.
if page.aspx is blank then filedownload window pops.
(ofcourse the .netframework is installed)

In other words, How do I test a simple aspx file ?

thanks
 
try running:

c:\windows\Microsoft.Net\Framework\V1.1.4322\aspnet_regiis - i

(might be WinNt on 2000, and might be a different version number)

this should map the aspx extension to asp.net in IIS

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
 
Hi

Starting to study asp.net....

I'm trying to run some .aspx file (For testing)
http://localhost/page.aspx

For some reason the browser doesn't compile and run the script, but just
display as text file.
if page.aspx is blank then filedownload window pops.
(ofcourse the .netframework is installed)

In other words, How do I test a simple aspx file ?

thanks

Try opening a command line, and cd to where the framework was installed
(usually somewhere like \Windows\Microsoft.NET\Framework\v1.1.4322). Once
there, run the following command

aspnet_regiis -i

this will reinstall/setup ASP.NET on your machine. Then try your file
again in the browser.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top