Results 1 to 11 of 11

Thread: Deployment Error

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    8

    Deployment Error

    Hiya,

    All of a sudden I now get an error when I build and publish my programme. The manifest has the problem not the actually problem and im not sure where to go with it.

    Code:
    PLATFORM VERSION INFO
    	Windows 			: 6.1.7600.0 (Win32NT)
    	Common Language Runtime 	: 4.0.30319.1
    	System.Deployment.dll 		: 4.0.30319.1 (RTMRel.030319-0100)
    	clr.dll 			: 4.0.30319.1 (RTMRel.030319-0100)
    	dfdll.dll 			: 4.0.30319.1 (RTMRel.030319-0100)
    	dfshim.dll 			: 4.0.31106.0 (Main.031106-0000)
    
    SOURCES
    	Deployment url			: file:///C:/Users/Harry/Documents/Visual%20Studio%202010/Projects/FinalClinicalProgram/FinalClinicalProgram/publish/Application%20Files/Blake%20House%20Therapy%20Centres%20Program_1_0_0_11/Blake%20House%20Therapy%20Centres%20Program.application
    
    IDENTITIES
    	Deployment Identity		: Blake House Therapy Centres Program.application, Version=1.0.0.11, Culture=neutral, PublicKeyToken=1d0f654d222ddf43, processorArchitecture=x86
    
    APPLICATION SUMMARY
    	* Installable application.
    
    ERROR SUMMARY
    	Below is a summary of the errors, details of these errors are listed later in the log.
    	* Activation of C:\Users\Harry\Documents\Visual Studio 2010\Projects\FinalClinicalProgram\FinalClinicalProgram\publish\Application Files\Blake House Therapy Centres Program_1_0_0_11\Blake House Therapy Centres Program.application resulted in exception. Following failure messages were detected:
    		+ Deployment and application do not have matching security zones.
    
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    	No transaction error was detected.
    
    WARNINGS
    	There were no warnings during this operation.
    
    OPERATION PROGRESS STATUS
    	* [26/09/2010 12:57:22] : Activation of C:\Users\Harry\Documents\Visual Studio 2010\Projects\FinalClinicalProgram\FinalClinicalProgram\publish\Application Files\Blake House Therapy Centres Program_1_0_0_11\Blake House Therapy Centres Program.application has started.
    	* [26/09/2010 12:57:22] : Processing of deployment manifest has successfully completed.
    	* [26/09/2010 12:57:22] : Installation of the application has started.
    
    ERROR DETAILS
    	Following errors were detected during this operation.
    	* [26/09/2010 12:57:22] System.Deployment.Application.InvalidDeploymentException (Zone)
    		- Deployment and application do not have matching security zones.
    		- Source: System.Deployment
    		- Stack trace:
    			at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
    			at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
    			at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
    			at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
    			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    
    COMPONENT STORE TRANSACTION DETAILS
    	No transaction information is available.
    Any ideas?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Deployment Error

    Presuming this is a ClickOnce deployment scenerio, do you have the select the checkbox Enable clickonce security settings checked? If not, that can produce this error.

    Is this a Windows deployment or a Web deployment?

  3. #3

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    8

    Re: Deployment Error

    Apologies for incorrect forum.

  5. #5

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    8

    Re: Deployment Error

    Any ideas on how to sort it out?

  6. #6

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Deployment Error

    Looks like a ClickOnce packaging error rather than a "Vista" problem.

    How to: Set a Security Zone for a ClickOnce Application

  8. #8

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    8

    Re: Deployment Error

    Tried that and it still comes up with the same error- "Deployment and application do not have matching security zones."

  9. #9
    New Member
    Join Date
    Apr 2013
    Posts
    2

    Re: Deployment Error

    Hello,


    I found a solution that I'll be glad to share with you. You can do it with MageUI or with Ms VIsual Studio. I am really delighted to use ClickOnce as my deployment now works both with IE and CHrome and FIrefox

    If you MageUI, you have to check "Include the provider URL in the Manifest" and type the associate URL of the Webserver. If you use Microsoft Visual Studio, then on the Publish Tab property of the project, click on the "Update" button, then in the update location, type the URL of the publishing Web Server.

    Hope this helps,
    Philippe Backouche

  10. #10

  11. #11
    New Member
    Join Date
    Apr 2013
    Posts
    2

    Re: Deployment Error

    Yes, because I ran into the very same issue...I thought it could be useful to someone...

    TAke care,
    Philippe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width