new to DotNet and IIS

  • Thread starter Thread starter Richard Fagen
  • Start date Start date
R

Richard Fagen

Hi Everyone,

I'm new to DotNet and I'm trying to get ASPX pages to work but I'm
having problems. I suspect I haven't configured IIS or DotNet properly.

I can open static pages (html) but dynamic pages are causing me problems.

Here's my configuration:
1) local PC running XP Pro & Dreamweaver MX 6.1 (fully patched)
2) remote PC running XP Pro, IIS 5.1, DotNet Frameworks 1.1
they are connected over a local peer LAN.

To configure a web site, here's what I did:
1) create a 'test1' folder under c:\inetpub\wwwroot for my application
(via Windows Explorer)
2) opened IIS, and right click on default web site and selected 'New
Virtual Directory...' to launch wizard
3) I gave it the same name (test1) and pointed to the
c:\inetpub\wwwroot\test1 folder
4) I left the defaults of 'read' & 'run scripts (such as ASP)' checked
This changed the icon in IIS

If I copy and HTML files to the folder, I can request the page over the
LAN and it works. Problem occurs when I try to reference an ASPX page.

- Is there some step I missed?
- Do I have to do anything in the DotNet 1.1 configuration applet? (I
left if alone for now)
- If I can open HTML files, can I assume my IIS is functioning properly?
- How can I test is with a small ASPX file?

Thanks for helping this newbie (to DotNet and ASP)

Richard
 
Hi!

You can use ASP.NET Web Matrix (www.asp.net) to create a sample ASP.NET page
and try it out. If it doesnt execute properly (say, its downloaded), then
the ASP.NET extensions arent registered properly with IIS. In this case, run
the following command from the VS.NET command prompt:

aspnet_regiis -I

This shall re-register ASP.NET with IIS. Have a look at this URL too:

http://outlook.microsoft.com/techne...tandard/aacontroubleshootingaspnetinstall.asp

Regards,
Kumar Gaurav Khanna

--
----------------------------------------------------------------------------
----------
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
 
Hi,

I took your advice (I saw the MVP designation and know what it means)
and checked out the ASP.NET Web Matrix - WOW!!! It is amazing. While I
was researching my problem, I stumbled across it but ignored it.

I've started going through it and it is one of the best on line
tutorials I've seen.

Thank you for taking the time and pointing me in the right direction.

Richard
 
Back
Top