Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / April 2004

Tip: Looking for answers? Try searching our database.

Setup Web Project error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt Porter - 29 Mar 2004 23:36 GMT
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.
Felix Wang - 30 Mar 2004 05:48 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Matt Porter - 30 Mar 2004 07:13 GMT
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.

> Hi Matt,
>
[quoted text clipped - 13 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Felix Wang - 30 Mar 2004 08:45 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Phil Wilson - 30 Mar 2004 19:18 GMT
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.
Signature

Phil Wilson
[MVP Windows Installer]

> Hi Matt,
>
[quoted text clipped - 13 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Matt Porter - 30 Mar 2004 21:42 GMT
Phil,

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

> 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.
Felix Wang - 31 Mar 2004 03:17 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Felix Wang - 31 Mar 2004 07:47 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Matt Porter - 31 Mar 2004 16:13 GMT
> 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:

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

Matt
Matt Porter - 31 Mar 2004 18:51 GMT
> From the log, we can see where the error occurs.

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

> Hi all,
>
[quoted text clipped - 17 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Phil Wilson - 31 Mar 2004 20:40 GMT
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?
Signature

Phil Wilson [MVP Windows Installer]
----

> > From the log, we can see where the error occurs.
>
[quoted text clipped - 30 lines]
> > Get Secure! - www.microsoft.com/security
> > This posting is provided "as is" with no warranties and confers no rights.
Matt Porter - 31 Mar 2004 22:14 GMT
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

> This seems to be the error:
>
[quoted text clipped - 44 lines]
> > > Get Secure! - www.microsoft.com/security
> > > This posting is provided "as is" with no warranties and confers no rights.
Felix Wang - 01 Apr 2004 10:37 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Matt Porter - 01 Apr 2004 15:45 GMT
> I have tried your MSI on my test machine. It installs without any problem
> on IIS 4.

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

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

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

> Hi Matt,
>
[quoted text clipped - 14 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Felix Wang - 02 Apr 2004 11:18 GMT
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
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Matt Porter - 02 Apr 2004 16:20 GMT
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

> Hi Matt,
>
[quoted text clipped - 8 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Felix Wang - 07 Apr 2004 02:05 GMT
Hi Matt,

Is there any update on this issue?

Regards,

Felix Wang
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.