How to setup IIS 5 with ASP.NET?

N

n.bonniot

Hi everybody,
I develop a Web site with Microsoft Visual Studio 2005
(ASP.NT technology, the langage for code-behind is VB.NET) and I would
like to deploy it on IIS5 (Win200 Pro).
On Visual Studio install, .NET framework 1.1 and 2.0 has
been installed too.
When I try to set up IIS with ASP.NET, I encounter some
problems : most of the time, when I try to open an .aspx page, I have
either "Application Server Unavailable", or HTTP Error404.


Is someone can help me, how to set up IIS 5 with ASP.NET?

If someone wants more details on my configuration, I will answer with
pleasure.

Thank you for help.

Nicolas
 
J

Juan T. Llibre

re:
I develop a Web site with Microsoft Visual Studio 2005
On Visual Studio install, .NET framework 1.1 and 2.0 has been installed too.

Installing Visual Studio 2005 does *not* install .Net 1.1.
You need to install it separately, if you're installing it on W2K Pro.

If you install Visual Studio 2003, .net 1.1 *will* be installed.

Otherwise, get it from here and install it:
http://www.microsoft.com/downloads/...E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

Instead of installing the redistributable, you may want to install the SD :
http://www.microsoft.com/downloads/...a6-3647-4070-9f41-a333c6b9181d&displaylang=en

You also should install the .Net Framework Service Pack 1 :
http://www.microsoft.com/downloads/...4F-088E-40B2-BBDB-A83353618B38&displaylang=en
no matter whether you install the SDK or only the redistributable.

OTOH, if you don't want to install the .Net Framework 1.1,
and prefer to run ASP.NET 2.0 applications, run :

aspnet_regiis -1

from a command window in the directory :
drive:\%WINDIR%\Microsoft.NET\Framework\v2.0.50727

You should be good to go after that.
 
N

n.bonniot

Hello Juan,

Sorry to disturb you again, your solution was good, but now I seem to
have another problem...
When I try to access to an .aspx page, the server answers me "Failed to
access IIS metabase." with an URL to support.microsoft.com website,
which explain metaacl modifications
(http://support.microsoft.com/?kbid=267904). The command line
configuration given seems not working properly, aspnet_regiis is not
recognizing it.

Could you help me? Any idea?

Thanks a lot.

Nicolas
 
J

Juan T. Llibre

You may have a bad install.

What I would do is uninstall and then reinstall IIS,
( Control Panel, Add/Remove Programs, Add/Remove Windows Components )
and then reinstall the .Net Framework ( in that order ).

You should be good to go in about a half-hour.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top