|
-
Sep 26th, 2010, 07:02 AM
#1
Thread Starter
New Member
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?
-
Sep 26th, 2010, 07:31 AM
#2
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?
-
Sep 26th, 2010, 11:02 AM
#3
-
Sep 26th, 2010, 11:03 AM
#4
Thread Starter
New Member
Re: Deployment Error
Apologies for incorrect forum.
-
Sep 27th, 2010, 03:04 PM
#5
Thread Starter
New Member
Re: Deployment Error
Any ideas on how to sort it out?
-
Sep 27th, 2010, 03:22 PM
#6
Re: Deployment Error
Personally, no, but are you installing this on a Vista machine? If so you may find help by doing this Google search: site:vbforums.com vista+install
-
Sep 28th, 2010, 12:14 PM
#7
Re: Deployment Error
Looks like a ClickOnce packaging error rather than a "Vista" problem.
How to: Set a Security Zone for a ClickOnce Application
-
Oct 2nd, 2010, 03:43 AM
#8
Thread Starter
New Member
Re: Deployment Error
Tried that and it still comes up with the same error- "Deployment and application do not have matching security zones."
-
Apr 27th, 2013, 10:48 AM
#9
New Member
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
-
Apr 27th, 2013, 10:57 AM
#10
Re: Deployment Error
You replied to a 2 1/2 year old thread.
-
Apr 27th, 2013, 11:43 AM
#11
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|