Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net
Problem installing ASP.Net Problem installing ASP.Net
Problem installing ASP.Net
Go Back  Xtreme Visual Basic Talk > > > Problem installing ASP.Net


Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2007, 10:51 PM
A-Dam A-Dam is offline
Junior Contributor
 
Join Date: Nov 2002
Posts: 361
Default Problem installing ASP.Net


I have a Windows 2000 machine with Visual Studio .NET (framework 1.0). When I installed VS, I didn't have IIS on it. I have a little prior knowledge of ASP, and wanted to learn more, so I installed IIS through Control Panel (Add/Remove Programs > Add/Remove Windows Components > IIS).

Afterwards, asp pages would work properly (confirmed with server script like Response.Write or calls to ServerVariables), but ASP.Net pages, with server controls and the .aspx extension, would NOT work.

So I go to Control Panel > Add/Remove Programs > Microsoft Visual Studio.NET Professional, and click the Change/Remove button. On the Visual Studio Setup dialog, I click the link to add additional features. The Visual Studio Maintenance dialog gives me a node for Server Components, which has a sub-node for Web Development unchecked. I check the Web Development checkbox, and click Update Now. The install proceeds with no errors.
But .aspx still won't work. Then I ran the aspnet_regiis.exe file (in my framework folder) with the -i switch to manually install ASP.NET.

That got asp and aspx files to work (even when accessing my local Sql Server database), but is that necessary or proper (using aspnet_regiis.exe) ?
Is that the right way to get ASP.NET to work with a new IIS installation on a machine with VS.Net?

I previously tried the Visual Studio Repair/Restore option after installing IIS, but it ran for HOURS and HOURS, longer than it took for the initial install of the whole VS.NET, so I cancelled it and restored my system (I have backups with Norton Ghost).

I did searches for answers, but couldn't really find one.

BTW, this is all on one computer with Windows 2000.
__________________
It looks like ketchup; it tastes like ketchup; but brother, it ain't ketchup!

Last edited by A-Dam; 06-28-2007 at 10:57 PM.
Reply With Quote
  #2  
Old 06-30-2007, 05:47 PM
A-Dam A-Dam is offline
Junior Contributor
 
Join Date: Nov 2002
Posts: 361
Default

Maybe I should have made the question more concise.

I had Win 2K Pro with VS.NET installed, but no IIS (hence, no ASP.NET).

Then I installed IIS. What then would be the recommended way of getting ASP.Net installed?

Thanks
__________________
It looks like ketchup; it tastes like ketchup; but brother, it ain't ketchup!
Reply With Quote
  #3  
Old 07-02-2007, 03:10 PM
HardCode's Avatar
HardCodeProblem installing ASP.Net HardCode is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Feb 2004
Location: New Jersey
Posts: 3,339
Default

This problem is a pain in the neck! When you don't yet have IIS installed when you install Visua Studio, do this: (from http://www.thescripts.com/forum/thread155408.html)

Quote:
1. Open a command prompt
2. Type: cd %systemroot%\Microsoft.net\Framework
3. Type dir *.
4. "CD" into the directory of the version you are trying to install
5. There should be a program called "asp_regiis.exe
6. Type "asp_regiis -i" (I for Install, don't type the quotes)
7. Problem solved.
__________________
DON'T CLICK HERE

Useful forum tags: [VB][/VB], [CODE][/CODE], [HTML][/HTML]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net Problem installing ASP.Net
Problem installing ASP.Net
Problem installing ASP.Net
 
Problem installing ASP.Net
Problem installing ASP.Net
 
-->