web-deployment-project

Deploy asp.net application without compiling DLL

房东的猫 提交于 2019-12-10 17:56:35
问题 When I publish any type of asp.net application, my code is precompiled into various assemblies. I would like to avoid this so that I can upload an aspx page and its corresponding codebehind file. I understand the benefits of doing it either way, but what is desired here is the least risky way to publish changes. How does one properly deploy an asp.net project without compiling assemblies? Is the process different for each model (web app, MVC..) 回答1: Sounds like you have a Web Application

Activator.CreateInstance throws ArgumentNullException for parameter 'Type'

大兔子大兔子 提交于 2019-12-10 10:55:47
问题 I recently encountered a problem with my Profile provider: it wouldn't retrieve profiles correctly (see error below). It worked locally, but when I put the code compiled by a Web Deployment project on a server it would crash. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Strack Trace:

Web.config transformation with SlowCheetah and ASP.NET Web site project

元气小坏坏 提交于 2019-12-08 19:28:46
问题 I'm trying to use SlowCheetah XML Transforms with an ASP.NET Web site project (not an ASP.NET Web Application Project) in Visual Studio 2010. When I right click on the Web.config file in my ASP.NET Web site project, I don't see " Add Transform " item in the contextual menu. (Note: it works well when a try with an ASP.NET Web Application Project). Is it possible to use SlowCheetah with an ASP.NET Web site project ? Or it's impossible "by design" because this kind of project has limitations ?

Deploying asp.net application(.Net4.0) package on to IIS 6.0

喜欢而已 提交于 2019-12-08 06:45:02
问题 I have created a asp.net application project in Visual Studio 2010 (.net 4.0). I had published it using Project-> Build Deployment Package. It generated .zip file along with files having extension " .deply.cmd", ".SetParameters.xml", ".SourceManifest.xml" and readme.txt, in Application (obj\Release\Package) folder My intension is to host the package on test server which has IIS6.0, Windows Server 2003 R2 x64 Edition service pack 2. It has .net 4.0. I tried by running the cmd file but its

Deployment Project dlls cause 'type x exists in both' errors

我只是一个虾纸丫 提交于 2019-12-07 09:57:10
问题 I have a WebApplication project, a business logic project, and a WebDeployment project for the web app. When I build solution, the deployment "Release" bin contains 1 dll for each of the projects - so I get one for MyWeb.dll, MyWebBusiness.dll, and MyWebDeploy.dll. When I try to run the site, it sees the same type in both MyWeb.dll and MyWebDeploy.dll and chokes. Error message: CS0433: The type 'AV' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root

Visual Studio 2010 - web deploy times out - what to do?

匆匆过客 提交于 2019-12-06 14:32:08
My MVC2 web project is deployed using the VS 2010 "web deploy" feature. It used to run fine but now it is timing out more often than not with this error message: Web deployment task failed.((10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote computer.) (10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote computer. The remote host closed the connection. The error code is 0x800704CD. Searching for the error code 0x800704CD does not return anything helpful. Is there a way to increase the timeout period, or should I be

Activator.CreateInstance throws ArgumentNullException for parameter 'Type'

岁酱吖の 提交于 2019-12-06 12:48:46
I recently encountered a problem with my Profile provider: it wouldn't retrieve profiles correctly (see error below). It worked locally, but when I put the code compiled by a Web Deployment project on a server it would crash. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Strack Trace: [ArgumentNullException: Value cannot be null. Parameter name: type] System.Activator.CreateInstance(Type type, Boolean

Compiling/Embedding ASCX templated UserControls for reuse in multiple web applications

倾然丶 夕夏残阳落幕 提交于 2019-12-06 05:11:36
问题 I'm onto a real head scratcher here ... and it appears to be one of the more frustrating topics of ASP.NET. I've got an assembly that implements a-lot of custom Linq stuff, which at it's core has zero web functionality. I have an additional assembly that extends this assembly with web specific behaviour. The web specific behaviour comes with a couple of user controls marked up inside ASCX templated UserControls. I'm having trouble putting a nice finish on this assembly so that it is simple to

Deployment Project dlls cause 'type x exists in both' errors

半世苍凉 提交于 2019-12-05 17:07:26
I have a WebApplication project, a business logic project, and a WebDeployment project for the web app. When I build solution, the deployment "Release" bin contains 1 dll for each of the projects - so I get one for MyWeb.dll, MyWebBusiness.dll, and MyWebDeploy.dll. When I try to run the site, it sees the same type in both MyWeb.dll and MyWebDeploy.dll and chokes. Error message: CS0433: The type 'AV' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\53d45622\6c032bd2\assembly\dl3\33f3c6b2\abc9430a_285ac901\MyWeb.DLL' and 'c:\WINDOWS\Microsoft.NET

Visual Studio 2010 and Web Deployment Projects (wdproj 2008)

岁酱吖の 提交于 2019-12-05 09:53:07
问题 I have several wdprojects (web deployment 2008) in vs2008 solutions. When I installed vs2010 RC none of my wdprojects will open. What can I do to make it work? 回答1: Visual Studio 2010 Web Deployment Projects RTW is available here: Visual Studio 2010 Web Deployment Projects RTW Update: As per this SO question, Visual Studio 2012 does not have Web Deployment Projects. But it's ok: Visual Studio 2012 Web Deployment Projects are Dead – Long Live Publishing Profiles 回答2: According to this post on