Re: aspnet_isapi.dll & aspnet_wp.exe

From: Cowboy \(Gregory A. Beamer\) (NoSpamMgbworld@comcast.netRemuvThis)
Date: 04/04/03


From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@comcast.netRemuvThis>
Date: Fri, 4 Apr 2003 09:35:06 -0600


See inline

"Karl A Mikesell" <multisy@ieee.org> wrote in message
news:efl5Tze6CHA.2424@TK2MSFTNGP09.phx.gbl...
> I would love instructions (detailed procedure) on adding ASP.NET web app
to
> an IIS 5.0 server with the .NET Framework loaded. The XCOPY puts the web
> app on the server, but of course the aspnet_isapi.dll and aspnet_wp.exe
need
> to be installed and configured.

For most of our ASP.NET web apps, I can simply drag and drop files (or use
the VS.NET Project>>Copy Project feature). As long as the .NET Framework is
on the machines, the worker process and .NET ISAPI dll are loaded. You may
need to register the environment:

aspnet_regiis /i

or even register some scripts

aspnet_regiis /c

But, once the environment is set up, it is a simple matter of XCOPY
deployment.

> Also adding the aspnet service on a Domain Controller requires even more
> work and consideration.

I don't even like to get near .NET on a DC. There are too many contentions.

> At least IIS 6.0 has application pools with makes this much easier, but
.NET
> deployment sould not be restricted by the version of IIS.

Overall, the .NET deployment headaches with Windows 2000 come from the
lockdown and the lack of an easy way to turn on/off groups of functionality.
IIS 6.0 corrects this by exposing a single switch for ASP.NET applications.
The same settings can be duped in Windows 2000, but it is less intuitive.
You will also notice some differences between COM+ on Windows 2K and with XP
or Windows Server 2003. Windows 2000 can be a pain when COM+ enters the
picture, while it is a breeze on the newer kernel.

> Currently running IIS 5.0 on DC and created a weak account for the worker
> process, so I no long get IIS application will not run errors, but ASP.NET
> exception Access denied Failed to start monitoring directory changes. At
> least ASP.NET is running, but the web app will not execute.

There are two KBs:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317955
http://support.microsoft.com/default.aspx?scid=kb;en-us;316721
And a short summary:
http://www.able-consulting.com/dotnet/aspnet/aspnet_faq.htm#Q5

> This app is tested and currently running in IIS 6.0 without any problems.
>
> "Running ASP.NET on a Domain Controller" on MSDN is a great document for
> setting up the weak account, but still does go far enough to get the web
app
> to run.

In addition to the KBs, a place to look at tweaking is the <processModel>
tag in the config file. This can be done on an app level, or even at the
machine level.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
****************************************************************************
****
Think Outside the Box!
****************************************************************************
****


Relevant Pages

  • Re: Newbie Windows Authentication, IIs and Intranet vs Internet users.
    ... > access a given intranet application hosted on IIS ... > I am to write this Web app. ... IIS 5 Documentation ... Configure IIS 5.0 Web Site Authentication in Windows 2000 ...
    (microsoft.public.inetserver.iis.security)
  • Re: Connecting VS.NET 2003 to IIS6/WSS
    ... successful at creating a web app with the source tree on the web server. ... >> I'm posting this question here, rather than in the programming group, ... >> web apps, web parts, etc. wants to find an IIS installation (with Windows ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Are there good reasons to upgrade to IIS 6.0?
    ... We already have Windows 2000 and IIS 5.0, which is why I put "upgrade" in my ... installed locally to a web app, though, so while it would technically be an ... >>also care about the benefits of using Windows Server ...
    (microsoft.public.inetserver.iis)
  • Re: Need to write web service
    ... I think for my web app I chose ASP.NET Web Site next ... type (ASP, Windows, Mobile Device, etc.). ... select Add Web Reference to add a webservice. ... ASP.Net Web Service - this will create your web service ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Moving from WinForm to WebForm
    ... We want it to be accessible through the web browser specifically ... Internet Explorer on Windows 2003 Server. ... build it using WinForm i.e. no browser just a windows application. ... If you believe you want a web app in the end, why would you get them to ...
    (microsoft.public.dotnet.languages.csharp)