Hi,
I have developed a ASP.NET app and made a web deployment project. I wish to
add a custom action to change some of the files. In order to do this I need
to know the location of my installed files. The only thing the user may
change is the virtual directory and the port of the site my app is installed
to. I know there's this [TARGETDIR] property which relates to these values,
but I'm not clear whether it's the virtual directory name, or the actual path
to my files. Either way, how do I pass the path of my files to the custom
action?
Thanks in advance
John Roper 2 1857
I can partially answer this question...
[TARGETDIR] is the folder in which the web app is placed e.g.
c:\inetpub\wwwr oot\myapp and I can pass it into an installerclass using the
CustomActionDat a property thus:
/targetdir="[TARGETDIR]\"
However, I am at a loss as to how to find out which port the user has
selected (which is in the same dialog as they set the virtual root). Does
anyone have any ideas??
"John Roper" wrote: Hi,
I have developed a ASP.NET app and made a web deployment project. I wish to add a custom action to change some of the files. In order to do this I need to know the location of my installed files. The only thing the user may change is the virtual directory and the port of the site my app is installed to. I know there's this [TARGETDIR] property which relates to these values, but I'm not clear whether it's the virtual directory name, or the actual path to my files. Either way, how do I pass the path of my files to the custom action?
Thanks in advance John Roper
Have you any ideas what i've done wrong??
"John Roper" wrote: Hi,
I have developed a ASP.NET app and made a web deployment project. I wish to add a custom action to change some of the files. In order to do this I need to know the location of my installed files. The only thing the user may change is the virtual directory and the port of the site my app is installed to. I know there's this [TARGETDIR] property which relates to these values, but I'm not clear whether it's the virtual directory name, or the actual path to my files. Either way, how do I pass the path of my files to the custom action?
Thanks in advance John Roper This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Roper |
last post by:
Hi,
I have an issues with my web app deployment project. The project actually
has an ASP.NET site and a web service site, which are both destined to be
virtual directories under a root website (by default the one on port 80).
When installed on a machine that has a default document for the root site of
xxxindex.html, this gets REPLACED by default.aspx and the application name
gets set to my application. I do not want the root site to be...
|
by: EmmanuelE |
last post by:
Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.
In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll.
The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404
|
by: Dan Smith |
last post by:
When I try to create a new C# Web Reference in Visual Studio 2003, I get an
error message "The proxy settings on this computer are not configured
correctly for web discovery. ..." This web reference is to a service on my
machine - http://localhost/... - so I don't know why any proxy configuration
should be necessary.
Doing the same thing in Visual Studio 2002 works fine (i.e., no error about
"proxy settings"). However, when I update...
|
by: tonelab |
last post by:
I currently have VS2003 .net 1.1 installed with a number of 1.1 projects
built in it. All of these projects create the /bin dll for deployment and
have been running on remote servers that have the 1.1 framework installed. If
I install Visual Web Developer Express Edition 2005 on my machine, it will
install the .net 2.0 framework. When I go back and open up the 1.1 projects
in VS2003 and deploy them again creating the /bin dll, will they...
|
by: EmmanuelE |
last post by:
Just installed VS2003 and tried a hello world app. Getting 404 error even
when I explictly specify the start page in the url.
In IIS Mgr (v 5.1), App has .aspx mapped to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll.
The file in question IS in the virtual directory and this is the inetmgr log
file entry that occurs when my browser requests the page: 19:42:27 127.0.0.1
GET /UP1/WebForm1.aspx 404
| |
by: John Roper |
last post by:
Hi,
I have developed a ASP.NET app and made a web deployment project. I wish to
add a custom action to change some of the files. In order to do this I need
to know the location of my installed files. The only thing the user may
change is the virtual directory and the port of the site my app is installed
to. I know there's this property which relates to these values,
but I'm not clear whether it's the virtual directory name, or the...
|
by: Tony |
last post by:
Hi all,
Here's the link to the issue we were seeing on our ASP.NET system when
modifying, adding and deleting directories in framework 2.0.
http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx
I then tried a few of solution I found while perusing Google,
- FCNMode registry mod
- Relocating to App_Data folder to create/modify/delete directories.
|
by: Peter Bradley |
last post by:
We have upgraded an ASP.NET solution from VS2003 (.NET 1.1) to VS2005 (.NET
2.0). On rebuilding the solution, no dll appears in the bin folder of the
Web site. Is this the usual case for VS2005 solutions? If so, how can a
solution be deployed? If not, can anyone suggest what might have happened?
Peter
|
by: nicknack |
last post by:
Hello.
I have a pc with visual studio 2005 working well.
I tried to install VS2003 along with the VS2003 so I can work on an
old project built with VS2003 and FW1.1.
The problem is that when I'm tring to create a new asp.net project I'm
getting the error:
"The webserver reported the following error when attempting to create
or open the web project located at the following
|
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,...
|
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...
| |
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |