Yosh
Mon May 09 08:43:00 CDT 2005
Question 3: I installed ASP.NET and IIS on my machine but ASP.NET does not
seem to work (question for IIS versions lower than 6). What am I doing
wrong?
The answer is in the question: you installed ASP.NET first and then you
installed IIS. On IIS versions lower than version 6.0 (thus in Windows XP,
2000) IIS does not know anything about ASP.NET so it can't have support for
it natively (also called: "backward compatibility"). The point is that the
framework needs to register the ASP.NET ISAPI during the installation to
tell IIS that some thing called ASP.NET is on there and that requests with
extension .aspx, .asmx, etc should be sent to that "new strange thing"
(strange from the IIS perspective). Fortunately, there is a tool (again!)
called aspnet_regiis.exe that will help you to do this job. It's installed
in the .NET Framework folder on the system
(%windir%\Microsoft.NET\Framework\v1.1.4322 typically).
The most interesting command-line flags include:
a.. -i to register the ASP.NET ISAPI on IIS, including scriptmaps
(aspnet_client)
b.. -ir to register the ISAPI only
c.. -enable (for IIS 6) to enable the extension in IIS (see question 2),
when combined with -i or -ir
Other flags are used to install scriptmaps on applications (needed for
postbacks etc using JavaScript) and to uninstall ASP.NET again (the
mapping).
posted on Sunday, August 01, 2004 12:29 AM
"Marco" <Marco@discussions.microsoft.com> wrote in message
news:EA535051-7A4B-47D2-BB2B-A1CB15C08D2B@microsoft.com...
> Yes, I have ASP.NET
>
> "Yosh" wrote:
>
>> Do you have ASP.NET installed?
>>
>> "Marco" <Marco@discussions.microsoft.com> wrote in message
>> news:15194CD5-A4F2-4F09-A2BE-68DD83ABB54A@microsoft.com...
>> > Hi, i developed an application based on web services.
>> > With IIS 5 all works well.
>> > I try to deploy it on an IIS 6 and web services calls give a timeout.
>> > If I try to call ws via explorer
>> > (
http://localhost/WSArticoli_WUS/WSArticoli_WUS.asmx) it work.
>> > When I try to call via VB.net application it doesn't work and stop to
>> > work
>> > also via explorer.
>> >
>> > Can you help me please??
>> >
>>
>>
>>