all groups > visual studio .net setup > march 2004 >
You're in the

visual studio .net setup

group:

Setup Web Project error


Setup Web Project error Matt Porter
3/29/2004 4:36:27 PM
visual studio .net setup: I have created an ASP app and I've used the VS.NET Setup project wizard to
create an install. The install works great on XP and 2000 machines. The
ASP app runs great. (NOTE:: This is NOT a .NET app but a plain .ASP app.)

The installation is supposed to create a virtual directory and put all my
ASP files in the new folder.

When I install on NT 4.0 SP6 it fails. During the install process I get an
error saying "The specified path http://computername//myvirtualdir is
unavailable...." there some more generic info that follows.

Is an installation like this not backwards compatible with NT 4.0?

Is there any way around this?

Any help would be very appreciated.

Re: Setup Web Project error Matt Porter
3/30/2004 12:13:39 AM
Thank you very much Felix. I'll try using a Custom Action to create the
virtual directory and see if that will work. All the API's I've seen so far
however are only for IIS 5 and 6. None of them work with 4.

Ideally I'd like to list the web sites that particular machine is running
and let the user pick which site to install this virtual directory and
application on.

Thank you again. I really appreciate your help.



[quoted text, click to view]

RE: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
3/30/2004 4:48:04 AM
Hi Matt,

Thanks for posting. I have not yet done any tests on this issue. However,
the Web Setup projects are supposed to work with ASP.Net projects and
ASP.Net projects are not supposed to work with IIS 4. As a result, Web
Setup projects are not supposed to work with IIS 4.0.

Web Setup projects make use of "custom actions" to create virtual
directories. You can also author your own custom actions to create virtual
directories against IIS 4.0.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
3/30/2004 7:45:20 AM
Hi Matt,

Thanks for your quick response. I don't have much hand on experience with
IIS 4.0 and I may not help you much on the APIs.

If you need any further assistance, you may also try posting in IIS
newsgrops, for example "microsoft.public.inetserver.iis".

Should you have any concerns regarding Windows Installer custom actions,
please feel free to post here.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error Phil Wilson
3/30/2004 10:18:41 AM
Felix - that means that the launch condition that the VS setup project
generates is incorrect. It generates a check that the IIS version on the
system is >=4, but maybe it should be >=5.
--
Phil Wilson
[MVP Windows Installer]
[quoted text, click to view]

Re: Setup Web Project error Matt Porter
3/30/2004 2:42:35 PM
Phil,

So you are saying the the Installer should pop up a message stating that
Version 5 or better is required?


[quoted text, click to view]

Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
3/31/2004 2:17:58 AM
Hi Phil,

This is really a good point and challenging. I will find a Windows NT 4
Server and do some tests on it.

I always appreciate your comments.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
3/31/2004 6:47:35 AM
Hi all,

I have done some tests. It seems to me that the Web Setup project works
with IIS 4.0, although it may not be a supported scenario.

Matt, have you applied all the critical updates for the Windows NT 4
Server? In addition, I install IIS 4 from the Option Pack.

To track the installation issue, we can turn on the verbose log for the
installation:

MsiExec /i WebSetup1.msi /l*v C:\msi.log

From the log, we can see where the error occurs.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error Matt Porter
3/31/2004 9:13:23 AM

[quoted text, click to view]

Wow! I'll do that now and get right back to you.

Matt

Re: Setup Web Project error Phil Wilson
3/31/2004 11:40:31 AM
This seems to be the error:

Action start 9:16:19: WEBCA_CreateAppRoots.
MSI (s) (5E:5E): Creating MSIHANDLE (16) of type 790542 for thread 94
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This
may indicate a problem with this package. The error code is 2835. The arguments
are: ErrorIcon, ErrorDialog,
Error 1314. The specified path 'http://ezusa01/spamcrusher' is unavailable. The
Internet Information Server might not be running or the path exists and is
redirected to another machine. Please check the status of this virtual directory
in the Internet Services Manager.

Does that help?
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Re: Setup Web Project error Matt Porter
3/31/2004 11:51:17 AM
[quoted text, click to view]

Here is a link to my log and to my .msi file. Thank you for taking time to
do this.

Log:

ftp://ftp.ezusa.net/msi.log

Installation:

ftp://ftp.ezusa.net/Spam%20Crusher%20Enterprise.msi




[quoted text, click to view]

Re: Setup Web Project error Matt Porter
3/31/2004 3:14:21 PM
Yes that's the error that appears on the screen. The Installation is
supposed to create the folder/application called "spamcrusher" and copy all
the ASP files there.

I've tried it on 3 fairly clean NT machines and I get the same error.
This Install works great on Win 2000 and XP. I've tried it on several
machines of each type. But it always barks on NT 4.0 SP6 machines. I did
run Windows Update to make sure all updates are applied and they are. No
critical updates available.

The NT machines do host web sites so I know IIS is running just fine on
them.

If you have any direction I would be most grateful.

Sincerely,
Matt Porter



[quoted text, click to view]

Re: Setup Web Project error Matt Porter
4/1/2004 8:45:11 AM
[quoted text, click to view]

Well that's good news!!! That tells me it's not an IIS 4 or NT 4 issue.

[quoted text, click to view]

Yes we do have multiple sites running on our IIS 4 servers. And they are
all running. I can certainly reduce it down to one and try it again.

Thank you so much for your help. If you have any other thoughts I'd love to
hear them.

Sincerely,
Matt Porter
American Systems




[quoted text, click to view]

Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
4/1/2004 9:37:48 AM
Hi Matt,

I have tried your MSI on my test machine. It installs without any problem
on IIS 4. The virtual directroy is created correctly and I can view the
application with http://localhost/spamcrusher.

My IIS 4 comes with the NT 4.0 Option Pack. I am not sure whether this
matters or not.

In addition, do you have multiple web site instances running on the server?
Is any of the instances not running?

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error Matt Porter
4/2/2004 9:20:52 AM
No but I can find one. I'll get that together and let you know what
happens. I'm VERY interested too.

Thanks for your help on this.

Matt

[quoted text, click to view]

Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
4/2/2004 10:18:24 AM
Hi Matt,

Do you have a clean NT 4 system for test purpose? Mine only have 2 sites -
Default and Admin. The web application is installed to
/LM/W3SVC/1/ROOT/spamcrusher (the default site).

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Re: Setup Web Project error v-felwa NO[at]SPAM online.microsoft.com
4/7/2004 1:05:19 AM
Hi Matt,

Is there any update on this issue?

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button