Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all 663 articles
Browse latest View live

Avoid deleting App_Data folder when publishing?

$
0
0

Hi

 

I am using Visual Studio 2012 and WebDeploy 3.0 to deploy my MVC 4 web app to my Windows Server 2008 R2. I have set the option to "Remove additional files at destination", but want to keep the App_Data folder and all its content intact, since this is where the database and all other user content is stored. At the same time, I want the application files to be "cleaned up" when I make changes to the application, so the option to "Remove additional files at destination" should apply to everything except the App_Data folder

 

How do I achieve this?

 

Thanks in advance!


MSDeploy replace attributes

$
0
0
I am trying to msdeploy to restore the site on destination computer from the package i created on source IIS 7 site. The destination server IIS is also IIS7. The destination server however does not have the drive D: as the physical drive. the D: is associated to a CD Row drive. I use the replace attribute while using msdeploy but the rule does not work. Below is my command msdeploy -verb:sync -source:package=d:\site.zip -dest:apphostconfig="Default Web Site" -replace:objectName="metaProperty",scopeAttributeName="name",scopeAttributeValue="Path",targetAttributeName="value",match="d:",replace="c:" -verbose -whatif > msdeploysync.log However, the -whatif does not show the path changed to C: and also if i run the command, i get message saying "Device not ready" which means that the D: replace is not working. i am stuck.. any help ?

The process cannot access 'file.dll' because it is being used by another process

$
0
0

We have been using MSDeploy for deploying to one of our webn sites for quite some time with no isues. All dlls were managed. Recently we had to add a native dll to the deployment package. Now every time we deploy we get the following error:

An error occurred when the request was processed on the remote computer. An error was encountered when processing 'file.dll'. The error code was 0x80070020. The process cannot access 'file.dll' because it is being used by another process. 

What are our options for fixing this?

MSDeploy with parameter file containing password

$
0
0
I am using msdeploy V3 quite successfully in various advanced scenarios. One problem however I was not able to solve is, to have encrypted passwords in parameter files. These passwords are used together with a username to set the identity of our application pools. I am using a parameter file per environment like DEV, TRAIN and PROD. The current solution I have is msbuild based where msbuild calls msdeploy. Because of the above problem, I have taken the password parameter out of the parameter file and pass it via -setPara:password=mypassword. The password I am reading from an encrypted credentials file with an inline msbuild task which also decrypts the password. This works perfectly, except in some cases where the password contains (or starts in my case) with a characters like T%. In such a case, msdeploy creates the application pool with an invalid password. If I use msdeploy with the same commandline directly on from the windows prompt (and not called by msbuild), it works perfectly, even with passwords containing this characters. So I am bit screwed here. Some expert advice is highly appreciated. Juerg

Deply IIS 8 Site to IIS 7

$
0
0

In IIS 8 I packaged a Web Site using the appHostConfig  provider.

When I try to import this site into IIS 7 I get the error message:

Child object 'customAuthorization' cannot be added to object 'security'. The 'security' provider may not support this deployment.

 Is there a workaround for this?

 

Thanks

MSDeploy 'Extensiblity' does not extend to Powershell snap-in or VS.Net task library.

$
0
0

Unless I'm doing something wrong (my searches didn't turn anything up) msdeploy extensibility does not apply to the Powershell snap-in, or to the Visual Studio task library.

I understand that in VS.Net, the workaround is to set the property:

  <PropertyGroup>
    ...
   
<UseMsdeployExe>true</UseMsdeployExe>
 
</PropertyGroup>

which instead invokes the command line.  In powershell, it means you are also stuck using the command line which, while usable, means you cannot leverage powershell goodness.  For instance, I can't call 'Restore-WDPackage' with a package that uses my custom providers.

My question is if this something the msdeploy dev team plan to address?  (Or is there something I am not doing?)

Could I also suggest that for something to be 'extensible' it requires documentation? :o)  The samples were a good start, but trivial (given sparse API docs)  It is quite difficult to provide a custom provider, I ended up needing to use ILSpy to inspect the msdeploy .dll  in order to figure out what the various methods were for and how they are used (and I would say my understanding is still vague)  Once you get up and running, leveraging msdeploy is great!  I love that I can simply write some code to slurp in config details, and some more code to perform configuration on destination and msdeploy handles all the serialization, packing, recursion and so on, and it appears in IIS manager! :)

-troy

 

 

Web Deploy 3.0 and SQL scripts

$
0
0

I've been driving myself crazy trying to find decent documentation on using the Web Deploy tool from within the IIS7/Deploy/Export Application link in the Information Services Manager. I finally have found accurate resources for everything I need other than running a SQL script from within the import that allows the user to define some values that get replaces when the generated .zip file is imported. I've generated a pretty simple script and set it up in the export using the dbfullsql provider. Here's my script:

:setvar clientID CLIENT
:setvar auditDB AUDIT
:setvar caseDB CASE

USE YCN_DB_Client
GO

UPDATE ClientMaster SET [clientCode] = $(clientID), dbServerConnectionString = $(auditDB), dbServerCaseConnectionString = $(caseDB) WHERE [clientCode] = 'paws'
GO

When I do the export I set dbfullsql as the provider and enter the fully qualified path the my script in the path variable.  When I click the OK button and then click on the resulting SQL script parameter it does show the correct script contents.  When I click the next button the form shows me the provider path and 3 sql command variables that correspond to my script.  I then create the .zip and all seems OK.

When I attempt to do my import my site is correctly generated and my database is created.  If I go to the details panel of the installation progress and summary form that is displayed after the import completes it tells my the import was successful but it has the following block of 'problems' related to the script:

[9/29/2012 6:34:15 PM] Parameter entry 'Parameter 1/1' is applicable to 'dbFullSql/c:\inetpub\wwwroot\auditOL\UpdateClientData.sql' because of its scope.
[9/29/2012 6:34:15 PM] Adding child sqlScript (MSDeploy.dbFullSql/dbFullSql[@path='c:\inetpub\wwwroot\auditOL\UpdateClientData.sql']/sqlScript).
[9/29/2012 6:34:15 PM] Getting stream data for 'sqlScript' ('MSDeploy.dbFullSql/dbFullSql[@path='c:\inetpub\wwwroot\auditOL\UpdateClientData.sql']/sqlScript').
[9/29/2012 6:34:15 PM] Parameter entry 'SQLCmdVariable 1/1' could not be applied anywhere.
[9/29/2012 6:34:15 PM] Parameter entry 'SQLCmdVariable 2/1' could not be applied anywhere.
[9/29/2012 6:34:15 PM] Parameter entry 'SQLCmdVariable 3/1' could not be applied anywhere.
[9/29/2012 6:34:15 PM] The dependency check 'DependencyCheckInUse' found no issues.
[9/29/2012 6:34:15 PM] The synchronization completed in 1 pass(es).

At that point I'm at a loss to figure out what I've done wrong in generating that portion of the export.  I've looked at a few examples and my code seems to follow their techniques.  What am I missing?

MSDeploy V3 MsDepSvc.exe Exception MSDeploy V3

$
0
0

Hi

This has been reported earlier, but so far no much feedback was posted. So I am trying again. I have 15 Windows 2008 R2 / IIS 7.5 servers and it happens sporadically on all of them. So far I have not discovered a specific pattern. The exception is reported in the application event logs as follows. Any fix would be much appreciated. The MSDeploy version is V3 / 3.1236.1631.

Faulting application name: MsDepSvc.exe, version: 7.1.1631.0, time stamp: 0x5006ec48
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e21213c
Exception code: 0xe0434352
Fault offset: 0x000000000000cacd
Faulting process id: 0x1484
Faulting application start time: 0x01cd97fa99f7dfec
Faulting application path: C:\Program Files\IIS\Microsoft Web Deploy\MsDepSvc.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: ec5ceda5-0408-11e2-b8b0-005056907ca0 

Application: MsDepSvc.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr)
   at System.Security.Principal.WindowsIdentity..ctor(IntPtr, System.String, Int32)
   at System.Security.SecurityContext.CreateCopy()
   at System.Threading.ExecutionContext.CreateCopy()
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)


Is the entire package uploaded to MsDeploy.axd?

$
0
0

We're considering moving to MSDeploy for a project with a large file system footprint (> 1gb) and I'd like to get some clarification on how MsDeploy.axd is used.

Is the entire package uploaded to the deployment service before a sync occurs, or is it limited to the files that change. I know that the the sync _itself_ will only update modified files, but I'm worried about the upload to the remote server.

Any online documentation that confirms this would also be appreciated.

MsDepSvc unhandled exception during sync runcommand action

$
0
0

Hi,

 Similar crash issues have been raised previously (http://forums.iis.net/p/1190341/2025969.aspx#2025969) but there was no response. Some others have also recently raised issues: http://forums.iis.net/t/1192047.aspx

I am using web deploy 3.0 (version 3.1236.1631) to sync from Win 7 64 bit IIS 7.5 to Win 2008 R2 64 bit IIS 7.5. Most things work well but almost every time I run certain sync commands MsDepSvc crashes with an unhandled exception. It happens about 90% of the time, and performing an iisreset on the server sometimes stops the crashes from happening for a couple of deployments, however this is only successful 50% of the time. It is hard to detect a pattern here.

Here's the command (I am using powershell to orchestrate the deployment):

https://gist.github.com/3815479

 

The retry options do not seem to have any effect as the command appears to succeed, but then MsDepSvc will crash, and subsequent commands will fail. I have configured MsDepSvc to restart on a crash, but it is not fast enough to resume before the next deploy command is requested to run.

The above command will generate errors in the event log such as:

https://gist.github.com/3815494

 

This is very frustrating and detracts from an otherwise great product. We cannot fully rely on our deployment automation until the service is reliable. Does anyone have any experience with how to resolve this?

Thanks,
Joe

absolutePath regular expression matching in skip parameter for msdeploy

$
0
0

Hello,

 I am having a hard time understanding how does the absolutePath matching works.

I have a .bat calling

msdeploy ^
-skip:skipAction='Delete',objectName='filePath',absolutePath='.*\\MobileForms\\.*' ^
-skip:skipAction='Delete',objectName='dirPath',absolutePath='.*\\MobileForms\\.*'

It does not prevent deleting the files, here's the output when running the .bat:

Info: Deleting filePath (MySite\MobileForms\Data\bd13954b-0cb3-41d8-ab8a-eb988ddb8ad1.xml).
Info: Deleting filePath (MySite\MobileForms\Data\c2966d9b-0212-46d5-b2cf-a855dfd076fd.xml).
Info: Deleting filePath (MySite\MobileForms\Data\ccb7c771-efce-4066-a329-b98804823d67.xml).
Info: Deleting filePath (MySite\MobileForms\Data\cf84d98a-51a7-4be3-a134-cdba00174b4d.xml).
Info: Deleting filePath (MySite\MobileForms\Data\d3954b7d-8401-4f9e-a2bf-625bec29bac4.xml).
Info: Deleting filePath (MySite\MobileForms\Data\d5039b7e-4e33-479f-a369-39784548babb.xml).
Info: Deleting filePath (MySite\MobileForms\Data\da1860c9-51bd-4f75-89db-75f2f60b8d34.xml).
Info: Deleting filePath (MySite\MobileForms\Data\dca942e1-9a4d-44ce-85fe-10f7f86d1a3c.xml).
Info: Deleting filePath (MySite\MobileForms\Data\e403ecc7-311a-421d-9fa3-e5fe1aef1e74.xml).
Info: Deleting filePath (MySite\MobileForms\Data\e8c4141a-430c-4b55-8232-6abd0fafb6b6.xml).
Info: Deleting filePath (MySite\MobileForms\Data\ea82749f-af9f-4d4c-acee-287ca1dd51d4.xml).
Info: Deleting filePath (MySite\MobileForms\Data\f8dfb3b5-08a3-4bfb-9a88-b02b1e39f63e.xml).
Info: Deleting filePath (MySite\MobileForms\Data\ffcff4f4-fc81-4e85-a100-a96d2ea85eca.xml).


I am pulling my hair trying to understand what's wrong.


I could spend time trying to understand what the hell is going on in msdeploy.exe using Reflector but that's just stupid. This was supposed to be something easy to do with msdeploy, why is it so complicated?


Can someone please say why is the regular expression not matching?


Thanks!

EDIT: See solution below!

msdeploy command line site=, sitename gets removed!!!

$
0
0

I'm trying to use ProjectName.deploy.cmd to publish my website and here's my command:

MyProject.deploy.cmd /T /M:https://mydomain.com:8172/MsDeploy.axd?site=my_website_name /A:Basic /U:username /P:password "-skip:objectname='filePath',absolutepath='app_offline.htm' -allowUntrusted=true"

This should work I suppose but here's what I get when deploy.cmd runs:

"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package='C:\...\myproject.zip' -dest:auto,computerName="https://mydomain.com:8172/MsDeploy.axd?site",userName=....."

Notice ?site" -> it must be ?site=my_website_name !!!!!!!!!! Obviously, I get ERROR_USER_ANAUTHORIZED !!!

Am I missing something here?

MSDeploy/MSDepSvc crashes on target server when site has multiple ipSecurity restrictions

$
0
0

The target server is Windows 2008 R2.  Fresh VM install, fully patched, .Net 4.0 installed.  The IIS Rewrite Module 2 is installed. 

 

If any site in IIS has more than one IP address restriction (i.e. location/system.webServer/security/ipSecurity with 2 or more add nodes), the MSDepSvc will crash immediately, even when "-whatif" is supplied.

 

With one test website, and this location node, which was created by adding IP address restrictions via the IIS Manager GUI:

    <location path="test">
        <system.webServer>
            <security>
                <ipSecurity allowUnlisted="false">
                    <add ipAddress="1.2.3.4" allowed="true" />
                    <add ipAddress="1.2.3.5" allowed="true" />
                </ipSecurity>
            </security>
        </system.webServer>
    </location>

This MSDeploy invocation will crash MSDepSvc:

"C:\program files\IIS\Microsoft Web Deploy V3\msdeploy" -verb:sync ^
-source:metakey=example.com,includeAcls=true ^
-enableLink:AppPoolExtension -disableLink:content ^
-dest:metakey=/LM/W3SVC/5,computername=TARGET2008R2,includeAcls=true ^
-whatif

 

In this case, the source server is Windows 2003 R2.

 

The output:

 

Verbose: Pre-authenticating to remote agent URL 'http://TARGET2008R2/MSDEPLOYAGENTSERVICE' as 'DOM\user_with_admin_privs'
Verbose: Performing synchronization pass #1.
Verbose: Pre-authenticating to remote agent URL 'http://TARGET2008R2/MSDEPLOYAGENTSERVICE' as 'DOM\user_with_admin_privs'
Warning: Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object MSDeploy.metaKey (sourcePath). Attempt 1 of 25.

 

The target service crashes.

 

Removing either of the IP restrictions lets the process succeed.

 

A similar error occurs when creating a package on the Windows 2003 machine, copying it to the Windows 2008 R2 machine, and attempting to deploy it with msdeploy.exe.

 

Creating the package (on the Windows 2003 computer):

 

"C:\program files\IIS\Microsoft Web Deploy V3\msdeploy" -verb:sync ^
-source:metakey=example.com,includeAcls=true ^
-enableLink:AppPoolExtension -disableLink:content ^
-dest:package=testsite.zip,encryptPassword=abc

 

Attempting to deploy the package on the Windows 2008 R2 target machine:

 

"C:\program files\iis\Microsoft Web Deploy V3\msdeploy" -verb:sync ^
-source:package=testsite.zip,encryptPassword=abc -dest:auto -whatif

 

Generates this output:

 

Verbose: Performing synchronization pass #1.
Verbose: No backup was executed.

 

Then Windows tells me msdeploy crashed.  The following are the entries in the application log:

 

Faulting application name: msdeploy.exe, version: 7.1.1631.0, time stamp: 0x5006ec62
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e21213c
Exception code: 0x80000003
Fault offset: 0x0000000000033172
Faulting process id: 0xe44
Faulting application start time: 0x01cd8ca824e6ffe1
Faulting application path: C:\program files\iis\Microsoft Web Deploy V3\msdeploy.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 630cf115-f89b-11e1-bde8-000c29662c21

 

And

 

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: msdeploy.exe
P2: 7.1.1631.0
P3: 5006ec62
P4: KERNELBASE.dll
P5: 6.1.7601.17651
P6: 4e21213c
P7: 80000003
P8: 0000000000033172
P9:
P10:

Attached files:

These files may be available here:
C:\Users\myaccount\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_msdeploy.exe_4a97c7f2547a6a5988c1e66f043a7e937fbaea6_0f4c79e5

Analysis symbol:
Rechecking for solution: 0
Report Id: 630cf115-f89b-11e1-bde8-000c29662c21
Report Status: 0

 

And here are the contents of the .WER file:

 

Version=1
EventType=APPCRASH
EventTime=129914618078385430
ReportType=2
Consent=1
ReportIdentifier=630cf116-f89b-11e1-bde8-000c29662c21
IntegratorReportIdentifier=630cf115-f89b-11e1-bde8-000c29662c21
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=msdeploy.exe
Sig[1].Name=Application Version
Sig[1].Value=7.1.1631.0
Sig[2].Name=Application Timestamp
Sig[2].Value=5006ec62
Sig[3].Name=Fault Module Name
Sig[3].Value=KERNELBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=6.1.7601.17651
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4e21213c
Sig[6].Name=Exception Code
Sig[6].Value=80000003
Sig[7].Name=Exception Offset
Sig[7].Value=0000000000033172
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.1296.17
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=621e
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=621e7b8fa85af2f50d8e465369aed89a
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=6d9b
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=6d9ba479bc8621967ddf6df431c81776
UI[2]=C:\program files\iis\Microsoft Web Deploy V3\msdeploy.exe
UI[3]=Web Deploy has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\program files\iis\Microsoft Web Deploy V3\msdeploy.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
LoadedModule[10]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[11]=C:\Windows\system32\GDI32.dll
LoadedModule[12]=C:\Windows\system32\USER32.dll
LoadedModule[13]=C:\Windows\system32\LPK.dll
LoadedModule[14]=C:\Windows\system32\USP10.dll
LoadedModule[15]=C:\Windows\system32\IMM32.DLL
LoadedModule[16]=C:\Windows\system32\MSCTF.dll
LoadedModule[17]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
LoadedModule[18]=C:\Windows\system32\MSVCR100_CLR0400.dll
LoadedModule[19]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\6087fce8f76d9af69af496cb10b7d1ee\mscorlib.ni.dll
LoadedModule[20]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll
LoadedModule[21]=C:\Windows\system32\ole32.dll
LoadedModule[22]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[23]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[24]=C:\Windows\system32\rsaenh.dll
LoadedModule[25]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
LoadedModule[26]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[27]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\935aea6e7eae16674abdd96a68ec97af\System.ni.dll
LoadedModule[28]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\28ca4f076264ab07f1d00a6c9623dc49\System.Xml.ni.dll
LoadedModule[29]=C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Delegation\7.1.0.0__31bf3856ad364e35\Microsoft.Web.Delegation.dll
LoadedModule[30]=C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Deployment\9.0.0.0__31bf3856ad364e35\Microsoft.Web.Deployment.dll
LoadedModule[31]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\6aea67f24827961ce1d48356715389d8\System.Configuration.ni.dll
LoadedModule[32]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuratio#\52792a7ce63196551c29f5201562c1ae\System.Configuration.Install.ni.dll
LoadedModule[33]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\b64f213e823a591607c45fac4997801e\System.Core.ni.dll
LoadedModule[34]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Web\be472c4f636fc5b8fc38476dbfe01358\System.Web.ni.dll
LoadedModule[35]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Data\0ec8effb7b9d03ae69d37922813bc880\System.Data.ni.dll
LoadedModule[36]=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
LoadedModule[37]=C:\Windows\system32\WS2_32.dll
LoadedModule[38]=C:\Windows\system32\NSI.dll
LoadedModule[39]=C:\Windows\system32\CRYPT32.dll
LoadedModule[40]=C:\Windows\system32\MSASN1.dll
LoadedModule[41]=C:\Windows\system32\shell32.dll
LoadedModule[42]=C:\Windows\system32\profapi.dll
LoadedModule[43]=C:\Windows\system32\bcrypt.dll
LoadedModule[44]=C:\Windows\system32\version.dll
LoadedModule[45]=C:\Windows\system32\CLBCatQ.DLL
LoadedModule[46]=C:\Windows\system32\inetsrv\nativerd.dll
LoadedModule[47]=C:\Windows\system32\inetsrv\IISUTIL.dll
LoadedModule[48]=C:\Windows\system32\XmlLite.dll
LoadedModule[49]=C:\Windows\system32\ktmw32.dll
LoadedModule[50]=C:\Windows\system32\inetsrv\IISRES.DLL
LoadedModule[51]=C:\Windows\system32\mlang.dll
LoadedModule[52]=C:\Windows\system32\RpcRtRemote.dll
LoadedModule[53]=C:\Program Files\IIS\Microsoft Web Deploy V3\x64\axnative.dll
LoadedModule[54]=C:\Windows\system32\MPR.dll
LoadedModule[55]=C:\Windows\system32\HTTPAPI.dll
LoadedModule[56]=C:\Windows\system32\WSOCK32.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Web Deploy
AppPath=C:\program files\iis\Microsoft Web Deploy V3\msdeploy.exe

 

I have spent many hours narrowing this down the minimum reproducible set.

 

You are welcome to contact me at the email address associated with this post.

MS Deploy V3 sporadic ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

$
0
0

Hi all 

I am getting sporadic ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER errors while deploying a WCF application via msdeploy V3. When I issue the command a second time (immediately after the first one) the error does not occur anymore and all is fine.

Any ideas?

Thx

Juerg

runCommand with parameters

$
0
0

Hello,

I have a cmd file run.cmd which takes in 1 parameter: "c:\program files\list".  Thus, if executed from a command window, it would look like this:  > run.cmd "c:\program files\list"

How do I do the same execution through msdeploy in the runCommand command?  For example, I've tried this, but it did not work:

"%ProgramFiles%\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:package=mypackage.zip -dest:contentpath=blah -postSync:runCommand="C:\Program Files\test\run.cmd 'c:\program files\list' "

I don't know how to wrap the runCommand if the cmd command has parameters.

Thanks in advance,

Adriana.


Is MSDeploy abandoned? What is the alternative?

$
0
0
I am new to MSDeploy and very new to this forum, However I can't notice the lack of support from Microsoft. There are many questions about different issues and bugs not answered. Has Microsoft abondoned MSDeploy? What is the alternative? Thanks,

How to migrate particular website.

$
0
0

HI,

I need some clarification from web deployment tool.

In our iis server their are 10 websites hosted in 2003 server.i plan to  migrate only  5 website to one 2008 server and another 5 websites to another server.

 For example now 10 (production + devolopment websites) hosted in same 2003 server.

Now we are planning for migration our plan is migrate 5 production websites to seperate webserver and another to seprate webserver.in this senario how to migrate a particular website from one server(2003) from another server(2008) using webdeployment tool.

Kindly guide.

 

Thanks

Arun kumar.I

MS Deploy V3 Error

$
0
0

We have sucessfuly used MS Deploy V2 in the past to transfer websites from IIS 6 32 bit to IIS 7.5 64 bit so I thought that I'd test out MS Deploy V3.

I created an MS Deploy V3 package on my IIS 6 system ok but when I try to import it on my IIS 7.5 system I get the following error.  Any ideas?

Log Name:      Application
Source:        Application Error
Date:          8/3/2012 9:18:46 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      EDM-GOAT-WEB-9.goat.dst.gov.ab.ca
Description:
Faulting application name: msdeploy.exe, version: 7.1.1631.0, time stamp: 0x5006ec62
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16850, time stamp: 0x4e211da1
Exception code: 0x80000003
Fault offset: 0x0000000000032be2
Faulting process id: 0x34c0
Faulting application start time: 0x01cd718b45291986
Faulting application path: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe
Faulting module path: C:\windows\system32\KERNELBASE.dll

publishing to multiple sites on the same server. concerns over the size being sync'ed

$
0
0

Hello,

Currently I have multiple sites on the same server. to which I want to deploy same update(sites have the same website content).

Per my understanding of MS web deploy, I see the following problem:

  suppose there is let's say 10 MB of files which need to be updated for each site.

- if I am syncing remotely all sites, that still means 10 MB x 10 sites = 100 MB transferred in total for all sites

- if I am sending the deployment package on the server and run it to deploy it for each site, it would be stupid if the package is big. since the update is small (only 10MB)


I can see some reasons why it's necessary for the whole package to be available(on source or destination).

For example, setting parameters which would require different web.config files depending on the site.


Any ideas? I would love to hear your thoughts..

Including non-referenced assemblies with MSDeploy package

$
0
0

I have recently installed the TFS 2010 RC at my office and am looking to use it for our CI on a new MVC 2 project I have going right now.

 Unfortunately, while everything started out great, I ran into a problem because I am using an architectural design known as “onion architecture” – it has other names I’m sure. But the idea is that the .Web project has no references to anything except for the .Core project. 

During development, I simply configured the Properties dialog of the .DependencyResolution project such that the Output Path is “..\Web\bin\” – this way visual studio copies all the other necessary assemblies for my application into Web during compilation. Since the DependencyResolution has a physical reference to all other projects and assemblies, all of the dlls automatically get copied to the output folder – so I use the Visual Studio Output Path to copy those assemblies in the Web/bin folder

 

The caveat to this however, occurs when I right click on my Web project and Build Deployment Package. Unfortunately the output of the Deployment Package only includes the DLLs that were physically referenced by .Web. This means the real business logic (meat) of my application is not included with the deployment package.

 I am wondering if the following link may point me in the right direction. Perhaps I should create a MyApp.wpp.targets file in the root, but I am unsure what to put in the file to tell MSDeploy to include the files I desire. http://blogs.msdn.com/webdevtools/archive/2010/02/19/how-to-package-com-component.aspx 
Viewing all 663 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>