473,503 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing Web App Into Specific Directory

I'm creating a Web Setup App, and I've been having many
problems with it alongthe way. Some still aren't solved.

This latest problem is that I can't install the
application into the directory I want it to go to. There
is a virtual directory that already exists on the server,
and I want to just add this app to that directory.
However, the installer creates a new virtual directory
inside the existing virtual directory and then installs my
app into the new virtual directory.

I don't know how to force it into the correct directory.

help???
Jul 19 '05 #1
1 1510
Hi Angela,

I have tested to install a web application into an existing virtual
directory. It works fine on my testing machine.

Here are the steps I use:

1. Create a empty directory, e.g. d:\TestVD
2. In IIS, create a Virtual Directory (e.g. named "TestVD") and point it to
the physical directory created in 1, accept all the default settings.
3. Create a ASP.Net application, e.g. named "WebApplication1"
4. Add a Web Setup Project to the current solution, e.g. named "WebSetup1"
5. Add WebApplication1's "Primary output" and "Content Files" to
WebSetup1's Web Application folder
6. Build the solution
7. Double click the WebSetup1.msi package located in the "debug" folder.
8. Input "TestVD" for "Virtual Directory" in the "Select Installation
Address" dialog.
9. Finish the setup.

I can access the WebApplication1 by "http://localhost/TestVD/WebForm1.aspx".

I have also tried to install a WebApplication to a virtual directory that
already contains another one. But I still cannot reproduce your situation.
Could you briefly describe your situation, e.g. any existing files, any
non-default settings, any permission issues and so on? Are you using VS.Net
2002 or VS.Net 2003? If possible, please also give me some steps to
reproduce the situation.

Should you have any concerns or new findings regarding this issue, please
feel free to let me know. I look forward to hearing from you.

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.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4907
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
2
15206
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
10
4345
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
7
2901
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
2
314
by: Angela | last post by:
I'm creating a Web Setup App, and I've been having many problems with it alongthe way. Some still aren't solved. This latest problem is that I can't install the application into the directory I...
2
1205
by: | last post by:
Hi all, I have a few servers running some apps on .net 1.1. I need to install 2.0 on them to run some new websites. Will installing 2.0 break my 1.1 apps? TIA!
13
6613
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
2
5991
by: Benjamin Serrato | last post by:
Hey, I've run into another problem. I am trying to install the Mutagen package to use as my first useful program, but can't figure out how to install it on windows. The README says it is a simple...
0
1969
by: Chris Leonard | last post by:
James - you could be running into a known issue with installing Oracle8i software on a P4. Here is a plain-text section of our internal documentation of the issue: Subject/Title: Installing...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.