473,757 Members | 7,200 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deploying to an alternative Web Folder

Hi,

I have used the setup wizard to build an installer that installs my
asp.net application. Problem is, at my current job, they have an
alternative web folder at the root level (to clarify, at the Default
Web Site level, there is also another Web Folder).

When I run the installer, it only wants to install the site under the
Default Web Site, and doesn't appear to have any way of selecting the
alternative location.

Any advice on how to get around this problem would be much appreciated.
Thanks,
Tony

Jul 21 '05 #1
4 2148
to***********@c onsultant.com wrote:
Hi,

I have used the setup wizard to build an installer that installs my
asp.net application. Problem is, at my current job, they have an
alternative web folder at the root level (to clarify, at the Default
Web Site level, there is also another Web Folder).

When I run the installer, it only wants to install the site under the
Default Web Site, and doesn't appear to have any way of selecting the
alternative location.

Any advice on how to get around this problem would be much appreciated.
Thanks,
Tony

Maybe you can try to input the full URL in the Virtual Directury field
which prompted by the installer,

e.g.
http://AnotherWebSiteName/webfolder

In normal case, just the folder name will be inputed. Then, the webapp
will be installed in the default site.

--
Jacky Kwok
jacky@alumni_DO T_cuhk_DOT_edu_ DOT_hk
jacky@compose_D OT_com_DOT_hk
Jul 21 '05 #2
Ok, I tried that, and it came up with the folowing error:

"The specified path
'http://intranetdev/http://ComWebDev/webservices/CoM.BisApplicat ion' 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."

So I can only assume that it needs a relative path. It is the
http://intranetdev part that I need to change...

Jul 21 '05 #3
to***********@c onsultant.com wrote:
Ok, I tried that, and it came up with the folowing error:

"The specified path
'http://intranetdev/http://ComWebDev/webservices/CoM.BisApplicat ion' 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."

So I can only assume that it needs a relative path. It is the
http://intranetdev part that I need to change...


It is a strange case.

In fact, I had experienced a similar problem in a Windows2003 Server for
Small Business Server version (2003 SBS).
The Small Business Server will install many WebSites by default.
One is "Default Web Site", one is "companyweb " in my case, the other two
about something other.
My problem was that , my ASPNET application installer always installs
application in "companyweb ". Hence, my app did not work in normal by
"http://<prefer machinename>/folder/..".
In fact, it was my first time to use 2003 SBS and multiple sites IIS (in
fact, this problem was in customer site).

Finally, I found that I could use the full URL to select which site the
webapp to install in.
e.g.
"http://localhost/folder" => install in "Default Web Site",
"http://companyweb/folder" => install in "companyweb ",

Hence, I preferred it also work for your case.
Because of your case, I actually tested in a normal 2003 standard
server. I created an additional WebSite to test the problem.

Actually, you were right. I also got the smae problem. I do not know
what is the diference between 2003 SBS and standard server.

One of the method I think you can try -
I found that using the default VirtualFolder in ASPNET app installer,
the app always install in ONE website (not "always Default Web Site").

If you bind different IP addresses to the WebSites, I found that
application will be installed always in the "samll' IP site.

e.g. if one IP is "192.168.168.14 4" , another is "192.168.168.14 5".
The webapp always will be installed in "192.168.168.14 4".

Hence, you may try to change the IP which are bound to the websites
before install apps. Then, change the IP back to original after
installation.

Of cause, you can also use XCOPY method to install webapp and create
virtual directory manually. It always works for Dotnet app.

--
Jacky Kwok
jacky@alumni_DO T_cuhk_DOT_edu_ DOT_hk
jacky@compose_D OT_com_DOT_hk
Jul 21 '05 #4
I am currently installing the application to the Default Web Site, then
copying the folders (one for a Web Site, one for a Web Service) to the
same locations on the alternative web site. Then I go into IIS and
recreate the application on the correct web server.

I just wish I could figure out how to get it to install on the correct
web site...

Jul 21 '05 #5

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

Similar topics

2
2202
by: Greg W. | last post by:
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder (i.e. not subdirectories). The setup works fine as long as the user leaves the default setting of port 80. If they choose something different, the install program loads the web application folder correctly at the non-standard port, but it installs...
1
2191
by: Jason Shohet | last post by:
I am getting an error when I compile a web setup project: Could not find fild 'C:\...\obj\Release\myApp.dll' In the Config Manager, I have the application set to 'Debug' -- not release. Thats why there's no dll there in the Release folder. How do I tell my Web Setup project to look in the debug folder, not the relase folder? TY Jason Shohet
10
2081
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
3
1901
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
4
242
by: tonyz.wrightz | last post by:
Hi, I have used the setup wizard to build an installer that installs my asp.net application. Problem is, at my current job, they have an alternative web folder at the root level (to clarify, at the Default Web Site level, there is also another Web Folder). When I run the installer, it only wants to install the site under the Default Web Site, and doesn't appear to have any way of selecting the alternative location.
1
1166
by: Adam Knight | last post by:
Hi all, I have started using VS as opposed to Web Matrix, thus benefiting from the ability to precompile my app. With VS I know all my app code is compiled in the bin directory, so all functionality is available from the resulting library. I am just wondering how i go about deploying my app without the associated source files (.vb, .cs).
2
3526
by: queanbeyan | last post by:
Hi I have found that many of my potential users of my application are not able to write to their program files directory on C:\program files, however they have access to 'My documents'. i have mapped some code to 'c:\documents and settings\%username%\documents' but I dont know how to map the default deployment application folder to that directory. The current default is \ which maps to 'c:\program files\hilda
5
1505
by: daokfella | last post by:
I'm still stuck on the .dll and bin folder mentality in 1.1. When deploying a 2.0 web application, there is no web .dll to deploy? So is this how we deploy in 2.0? 1. Copy the app_code folder 2. Copy the bin directory containing any pre-compiled dlls 3. Move BOTH aspx AND aspx.vb files into the applicable directories (is this correct?) If so, we're just duplicating the file system from the development
1
2509
by: akoymakoy | last post by:
Good Day, i am having difficulty in deploying my .war file on my web server... when i deploy my warfile in my pc or any other workstation it deploys fine. but when i deploy it on my server. it only deploys the .war file on the /webapps folder.. there are no folder structure being created.. therefore my site cannot work properly. ex: when i deploy my .war file (test.war) on my workstation there will be a folder named: /webapps/test ...
0
9489
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9298
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10072
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9885
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9737
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8737
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.