473,785 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Deployment Project and Localhost

I have an asp.net project with an WebDeployment Project.

At the end of the msbuild file I put:

<Target Name="AfterBuil d">
<Exec WorkingDirector y="$(OutputPath )"
Command="$(MSBu ildBinPath)\asp net_regiis.exe -pef connectionStrin gs
$(OutputPath) -prov HrCustomProvide r" />
<RemoveDir Directories="$( OutputPath)/ConfigFiles" />
</Target>

This works fine if the webserver is the built in server.
However if I am using the localhost IIS server I get an error.
From the Output window:
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \aspnet_regiis. exe -pef
connectionStrin gs .\Debug\ -prov HrCustomProvide r
Encrypting configuration section...
The configuration for physical path
'D:\DotNet2005\ WebAuthenticati on_Solution\Hr-Auth_deploy\Deb ug\.\Debug\'
cannot be opened.

So I looked in my WebDeployment Project Property Pages
Configuration Properties: Compilation
Output Folder

It was set to .\Debug\

I am a little scared about changing the output directory to . because I
certainly don't want the source files to get deleted.

What should I do to get this to work.


Sep 4 '07 #1
3 1977
Hi Chuck,

As for the Webdeployment project issue, how did you move the original VS
2005 TEST server based project to IIS hosted? Are you still using the same
solution(with the WEB deployment project) after you move the web project to
IIS?

If possible, you can tell me the detailed steps to create a web
project(with web deployment project) that can report the issue, I'd like to
perform some local test also.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?Q2h1Y2sgUA= =?= <Ch***@newsgrou p.nospam>
Subject: Web Deployment Project and Localhost
Date: Tue, 4 Sep 2007 15:00:01 -0700
>
I have an asp.net project with an WebDeployment Project.

At the end of the msbuild file I put:

<Target Name="AfterBuil d">
<Exec WorkingDirector y="$(OutputPath )"
Command="$(MSB uildBinPath)\as pnet_regiis.exe -pef connectionStrin gs
$(OutputPath ) -prov HrCustomProvide r" />
<RemoveDir Directories="$( OutputPath)/ConfigFiles" />
</Target>

This works fine if the webserver is the built in server.
However if I am using the localhost IIS server I get an error.
From the Output window:
C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\aspnet_regiis .exe -pef
connectionStri ngs .\Debug\ -prov HrCustomProvide r
Encrypting configuration section...
The configuration for physical path
'D:\DotNet2005 \WebAuthenticat ion_Solution\Hr-Auth_deploy\Deb ug\.\Debug\'
cannot be opened.

So I looked in my WebDeployment Project Property Pages
Configuratio n Properties: Compilation
Output Folder

It was set to .\Debug\

I am a little scared about changing the output directory to . because I
certainly don't want the source files to get deleted.

What should I do to get this to work.


Sep 5 '07 #2
Steven,

Here is the solution somehow in the solution properties under Configuration
Properties the Build check box for the deployment project was checked.
Sep 6 '07 #3
Thanks for the followup Chuck,

Sorry for the delayed response as I was on sick previously. Anyway, glad
that you've found a way to workaround the problem. If you need any further
help later, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: =?Utf-8?B?Q2h1Y2sgUA= =?= <Ch***@newsgrou p.nospam>
References: <76************ *************** *******@microso ft.com>
<qo************ *@TK2MSFTNGHUB0 2.phx.gbl>
>Subject: RE: Web Deployment Project and Localhost
Date: Thu, 6 Sep 2007 10:18:03 -0700
>>
Steven,

Here is the solution somehow in the solution properties under
Configuration
>Properties the Build check box for the deployment project was checked.
Sep 11 '07 #4

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

Similar topics

1
1786
by: Sean Kessinger | last post by:
Thanks, John. Here is the article: http://support.microsoft.com/default.aspx?scid=kb;;821546 I tried the suggestions from this article but still the same problem. No-touch deployment works on Win2K SP3 but keep getting page not found if the web server has Win2K Pro SP4. Sean K.
3
2040
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
3
1457
by: QDL | last post by:
Hello everyone, is there a way to programmatically set the default document from a deployment project for ASP.NET. My default page is named default.htm and I'd like to set it as the topmost default document in IIS site properties using the deployment project, is this possible? Tried to google but found no answer. TIA Paolo
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
0
1320
by: MJDQCD | last post by:
I am trying to deploy an asp app to a localhost on another box. I have never done this and have installed miscrosofts Web deployment tool to aid me in this endevour Here is the relevent piece of the build output indicating the nature of the error . /////////////////////////// WEB DEPLOYMENT BUILD OUTPUT //////////////////////// Documents\Visual Studio 2005\Projects\ISC\ISC_deploy\Debug" -o ISC_deploy -debug -copyattrs C:\Program...
10
6101
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I remember I did something once long back .. like including .mdf files into my project in the solution explorer of VS 2005 and then used Click Once deployment tool ... to make sure that the database and tables were created when the client installed my...
7
5991
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
0
1659
by: BHollister | last post by:
Hi All, I have written a web service that works fine in development and fails when deployed to my localhost. The development solution is configured as: Business Object Project Service Project (interface & implementation) Service Host Project (a console app) Service Client Project (a winforms app)
1
2528
by: dorandoran | last post by:
I created an MSI package and it works great. However, the source code aren't compiled. They show up row in the test web server. This is No No in our environment. Are there any steps that I am missing during the creation of MSI package. Both Web Site Project (meaning the web service i created is in the http:\\localhost\BannerWS) and setup project under one solution. (Right click on solution won't show Add a new WDP. I added the web setup project...
0
9645
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
10329
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
10092
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
9950
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...
1
7500
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 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...
0
5381
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2880
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 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...

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.