.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

web deployment project (WS_deploy) on VS2008

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 

I am building a asp.net webservice in VS2008 and the web service compiles and debug fine. The project should be using : Net 3,5

 I have

  1. VS2005 and VS208 installed
  2. .Net 1.1 - 3.5
  3. WebDeploymentSetup for VS2008 (and most likely a version for VS2005 as well)

But when I add a web deployment project the fun stops. The .WS_deploy project will not compile and I cannot find any precompiled output.

--------------debug output-------------------

------ Build started: Project: **************.DAL, Configuration: Debug Any CPU ------
Build started 13-08-2010 08:17:14.
Target EntityDeploy:
    Processing 0 EDMX files.
    Finished processing 0 EDMX files.
Target CoreResGen:
    No resources are out of date with respect to their source files. Skipping resource generation.
Target CopyFilesToOutputDirectory:
    **************.DAL -> C:\Development\VS2008\**************\**************.DAL\bin\Debug\**************.DAL.dll

Build succeeded.

Time Elapsed 00:00:00.14
------ Build started: Project: **************.BLL, Configuration: Debug Any CPU ------
Build started 13-08-2010 08:17:14.
Target EntityDeploy:
    Processing 0 EDMX files.
    Finished processing 0 EDMX files.
Target ResolveProjectReferences:
Target CoreResGen:
    No resources are out of


View Complete Post


More Related Resource Links

Multiple MSIs from one deployment project

  


We have several .NET based products for which we need to generate multiple MSI files to allow for multiple instances of the same app to be installed on the same machine.  For instance, we might have a single server running version of the app that are pointed at either test or QA databases, or may use the same server box to deploy the product for multuple clients.  (So, for instance, our web server might have separate installs of the same code in different locations for product names "Client A test", "Client A QA", "Client B Test", etc., where the only real differences are in the web.cionfig files that are not overwritten by the install of a new version.)

Right now we simply have a deployment project for each named variation of the app.  This works, but is likely to become a maintenance mess as the number of instances grows.  We'd like to be able to maintain only a single deployment project and script the creation of multiple MSIs, one for each product variation, after the build of a baseline MSI.

As I understand it, this should be acheivable by building the MSI, then for each possible instance, making a copy of the MSI and giving it a unique ProductCode and PackageCode; this way Windows should recognize each instance as a unique application.  I've done this (as well as changing the produc

vs2010 web deployment project restarts w3svc even when restartwwwservice = false

  

We've updated some of our projects from VS2008 to VS2010.  When these projects are deployed the w3svc is restarted on the target machine, even when restartwwwservice = false in the vdproj file.

 

This was a problem in 2008 until SP1 (http://forums.asp.net/p/1300097/2534736.aspx).  Does this same problem exist in VS2010?

 

This is a major problem for us -  we need to be able to deploy projects without restarting IIS.

 

I've tried creating a new web deployment package and setting the restartWWWService field to false, but this still does a restart when it's installed.

 

Has anyone come across this problem in VS2010?


Web deployment project - web.config section replacement does not add remove tag

  

I have a web application that is actually installed as a component of a third party site.  In some configurations, I need to remove certain connection strings and re-add them.  I'm replacing this web.config section with a xml file that includes the following:

<connectionStrings>
      <remove name="MyOverridenConnection"/>
      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"
           providerName="System.Data.SqlClient"/>
    </connectionStrings>

For some reason the remove tag is left out during the substitution and I end up with the following in the installed config:

<connectionStrings>
      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"
           providerName="System.Data.SqlClient"/>
    </connectionStrings>

Is there any way to issue removes in replaced sec

Could not load file or assembly - Web Deployment Project

  

Hi,

I have the following projects in a solution :

- A Web Application

- A Class Library

- A Web Deployment project

The Web Application compiles and run fine when I don't go through the Web Deployment Project. However when I try to use that, I get the following error:

Error 1 An error occurred creating the configuration section handler for hibernate-configuration: Could not load file or assembly 'NHibernate' or one of its dependencies. The system cannot find the file specified. (F:\Folke\Folke.csproj_deploy\Release\web.config line 4) 1 1 Folke.csproj_deploy

"An error occurred creating the configuration section handler for hibernate-configuration: Could not load file or assembly 'NHibernate' or one of its dependencies. The system cannot find the file specified. (F:\Folke\Folke.csproj_deploy\Release\web.config line 4)"

This is the beginning of my Web.config:

<?

Visual Studio Web Deployment Project for VS 2008

  

What is the latest version of Visual Studio web deployment project which I can use with  VS 2008 ?

Can I use VS 2010 Web Deployment Project with  VS 2008 ?

 


Web Deployment Project - "has not been pre-compiled"

  

I have created a Team Build that builds a solution containing a Web site, multiple class libraries (project references to the Web site) along with other compiled references, and a Web Deployment Project (WDP).  Everything is working well except when I deploy (either via Team Build or the WDP).  The deployed directory structure looks correct, but when I navigate to the first page I receive "The file '/WhatSite/FirstPage.aspx' has not been pre-compiled, and cannot be requested."

Here's the kicker:  When I set the WDP's Output Assemblies property to "Merge all outputs to a single assembly" and deploy, the default page returns the error above.  When I set the Output Assemblies to "Merge each individual folder output to its own assembly" and deploy, the default page loads correctly but all subsequent pages return the error. 

If I go back to the plain Publish Web Site under the Build menu, the site works as expected.

What am I missing or does anyone have any ideas?

Thanks!


Project Deployment / WSPBuilder

  
Hello, We're following the tutorial at http://www.thesharepointblog.net/Lists/Posts/Post.aspx?List=815f255a-d0ef-4258-be2a-28487dc9975c&ID=11 in order to create a feature to implement a custom master page and associated files.  It works great, up until we deploy it.  The feature is configured for a site level, but we get numerous errors when deploying. Our deployment process is: Use WSPBuilder to create the WSP Go to the site's solution gallery Upload and activate We've also tried putting it to a farm level and activating through management shell/Central Admin, and that doesn't work, either. Could anyone help us out with deploying a site project? Thanks!    

Using Freeware SharePoint Foundation 2010 with BLOB extender for large scale deployment project.

  
Hi Everyone, If I'd like to deploy SharePoint 2010 Foundation with Express DB (no SQL Server) what's the limitation ? and suppose i have implemented BLOB extender from freeware 3rd partyhttp://www.avepoint.com/sharepoint-storage-extender-docave/ does that means i can deploy more than 4 GB of data and it should perform faster since the SQL Express is not loaded with BLOB (document binaries). Can anyone clarify this matter please ? Thanks. /* Infrastructure Support Engineer */

How to open project in VS2008 which was created in VS2010?

  
How to open project in VS2008 which was created in VS2010?

Report Server project in VS2008 and VS2010

  

Hi All,

I cannot open my VS2008 Report Server project after installing VS2010 and Framework 4.0 on my machine. How to run those reports now? I still have VS 2008 installed.. Please suggest..


Refer External assemblies in project on deployment

  

We have many .net solutions in our application and all these refer two common libraries.

Solution1 -> Project1(Project reference LibCore 1,LibUtil1)
   -> LibCore1
          -> LibUtil1(Project reference LibCore 1)

Solution2 -> Project2(Project reference LibCore 1,LibUtil1)
   -> LibCore1
          -> LibUtil1(Project reference LibCore 1)

Solution3 -> Project3(Project reference LibCore 1,LibUtil1)
   -> LibCore1
          -> LibUtil1(Project reference LibCore 1)


We refer LibCore1 and LibUtil1 in all three solutions. When there are any changes in LibCore1 or LibUtil1 we have to publish all the three solutions to reflect the changes and refer to latest dlls. This has become a painful task. Is there any way where we can place the common dlls and just update them when changed and on deployment these projects refer the latest dlls automatically?


Analysis Services Project under VS2008 not honoring Configuration Settings ?

  
I have a solution with SSRS and SSAS projects in it. Since we have 3 different environments I use VS Configurations for the individual settings. In each of these environments different groups have access to these cubes. However if I deploy the project the roles on the instances are always overwritten by the settings defined in the project. And it seems it is not possible to have different role settings that for each VS configuration. Am I missing something, it should somehow be possible to use the VS configurations to have different permissions per deployment environment?!

Error 1 Cannot publish because a project failed to build ? Click Once Deployment issue while publis

  

H! friends

Error  1 Cannot publish because a project failed to build ? Click Once Deployment issue while publishing the application ?

Can anyone tell me how to fix this problem? gone trhough many posts on net but didnt get the right solution for this ? If yu know how to fix this problem tell me plz? or any resource which can guide me to sucessful publishing

 

Pleas reply

 

Thanks

Regards

Vijay Gaur

 


Installing a certificate in the Commit() of a setup/deployment project not working

  

I'm trying to create a deployment project for a client application that uses certificates for WCF. I've followed this

http://msdn.microsoft.com/en-us/library/d9k65z2d.aspx

and I can get that to work, but when I add in my own code to install the certificates it does not work.

Here is the code I've have:

public override void Commit(IDictionary savedState)
{
	base.Commit(savedState);
	System.Diagnostics.Process.Start("http://www.google.com");
	Console.WriteLine("Test");
	try
	{
		Console.WriteLine("Installing certificates...");

What reporting server my VS2008 project is connected to?

  

Hi,

I use VS2008 to develop reports. When I click preview and then View Report, then obviously VS is connected to reporting services to render the report.

Where in VS2008 would I set SSRS to connect to?

Thank you.

 

 


Thanks. Igor -Remember to mark as an answer if this post has helped you.

Any issues or concerns in converting VS2008 project to VS2010

  

I have been working on this project for a few months in VS2008.. now that we are getting closer to the end, one of the other programmers has been working and doing his in VS2010, so when i try to open his projects in VS2008 it just shows up as XML.. so i have to open in VS2010.. thats fine..

But if i try to open my project in 2010, it prompts to use the conversion wizard..

Should i be concerned or are there any issues with doing the conversion? Being the end of the project, i dont want to cause issues at this point.. So would like to know if converting the project file at this stage in our project a good idea? Will there be any issues using his code with mine since they were developed in 2 different versions..


How to validate user interface values in vs 2010 setup and deployment project

  
Hi,
I created a setup and deployment project in vs 2010 and I added some dialogs in user interface. Now I want to validate values in dialogs when I click next button during installing. Are there any functions to do that?
I can't understand what they are trying to say in the above link?
Can anybody put a walkthrough on it.

knowledge glows
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend