cannot continue the application is improperly formatted - vb.net

i'm having a big issue installing a published vb.net software on another machine , it works properly on my pc (where i developed the software )
but when i try to install it on other machines it throws this error message
"cannot continue .the application is improperly formatted.contact the application vendor ...etc "
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18408
System.Deployment.dll : 4.0.30319.18408 built by: FX451RTMGREL
clr.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfdll.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///C:/Users/wbc/Videos/Walido%20GYM.application
IDENTITIES
Deployment Identity : Walido GYM.application, Version=1.0.0.7, Culture=neutral, PublicKeyToken=09750bed798d4b36, 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\wbc\Videos\Walido GYM.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/Users/wbc/Videos/Application%20Files/Walido%20GYM_1_0_0_7/Walido%20GYM.exe.manifest: the manifest may not be valid or the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
-HRESULT: 0x80070c81
Start line: 0
Start column: 0
Host file:
+ Exception from HRESULT: 0x80070C81
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [23/12/2016 18:24:16] : Activation of C:\Users\wbc\Videos\Walido GYM.application has started.
* [23/12/2016 18:24:17] : Processing of deployment manifest has successfully completed.
* [23/12/2016 18:24:17] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [23/12/2016 18:24:17] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/Users/wbc/Videos/Application%20Files/Walido%20GYM_1_0_0_7/Walido%20GYM.exe.manifest: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
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)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
-HRESULT: 0x80070c81
Start line: 0
Start column: 0
Host file:
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Runtime.InteropServices.COMException
- Exception from HRESULT: 0x80070C81
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
edited:
after using MyApplication_UnhandledException to throw out infos about problem
i got this message :
Prerequisite check for system component SQL Server 2005 Express Edition SP2 (x86) failed with the following error message:
"This version of SQL Server 2005 Express Edition (x86) is not supported for the current processor architecture."
See the setup log file located at 'C:\Users\rose\AppData\Local\Temp\VSDE833.tmp\install.log' for more information.
i downloaded another version of sql server 2005 express and installed it then tried again another error message popped out says :
Prerequisite check for system component SQL Server 2008 Express failed with the following error message:
"The instance of SQL Server 2005 Express named 'SQLEXPRESS' contains components that are not included in SQL Server 2008 Express Service Pack 1. SQL Server 2008 Express SP1 cannot upgrade this instance. Please use SQL Server 2008 Express with Advanced Services instead."
See the setup log file located at 'C:\Users\rose\AppData\Local\Temp\VSDDE9B.tmp\install.log' for more information.
i went to project proprieties and unchecked sql server Prerequisites
published my project (this time no setup )
when i clicked on (exe) file nothing comes out
also when i click on clickonce depl application manifest file another error comes out
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18408
System.Deployment.dll : 4.0.30319.18408 built by: FX451RTMGREL
clr.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfdll.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///E:/555/Application%20Files/Walido%20GYM_1_0_0_15/Walido%20GYM.application
IDENTITIES
Deployment Identity : Walido GYM.application, Version=1.0.0.15, Culture=neutral, PublicKeyToken=0000000000000000, 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 E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application resulted in exception. Following failure messages were detected:
+ Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
+ Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
+ Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
+ Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
* The manifest for this application does not have a signature. Signature validation will be ignored.
OPERATION PROGRESS STATUS
* [24/12/2016 15:11:02] : Activation of E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application has started.
* [24/12/2016 15:11:02] : Processing of deployment manifest has successfully completed.
* [24/12/2016 15:11:02] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [24/12/2016 15:11:02] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
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)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
thanks in advance .

Related

VB.Net Application Download did not succeed

I've encountered an error upon deploying a project for a few times. on my 18th revision of the project I noticed that it is not installing automatically after I opened my application. I tried to manually install it by running my system.application file but unfortunately I'm receiving a "Application Download did not succeed".
I've searched the web and did try some of the solution for this problem but none of them worked. I'm using VS2015 in coding this.
PLATFORM VERSION INFO
Windows : 10.0.17134.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3056.0 built by: NET472REL1
clr.dll : 4.7.3416.0 built by: NET472REL1LAST_B
dfdll.dll : 4.7.3056.0 built by: NET472REL1
dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)
SOURCES
Deployment url : file:///C:/KidsMonitoringSystem/Application%20Files/Kids%20Monitoring%20System_1_0_0_20/Kids%20Monitoring%20System.application
Deployment Provider url : file://users/Team%20Guilas/Desktop/Kids/Kids%20Monitoring%20System.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\KidsMonitoringSystem\Application Files\Kids Monitoring System_1_0_0_20\Kids Monitoring System.application resulted in exception. Following failure messages were detected:
+ Downloading file://users/Team Guilas/Desktop/Kids/Kids Monitoring System.application did not succeed.
+ The network path was not found.
+ The network path was not found.
+ The network path was not found.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/23/2019 12:50:20 AM] : Activation of C:\KidsMonitoringSystem\Application Files\Kids Monitoring System_1_0_0_20\Kids Monitoring System.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [6/23/2019 12:50:23 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file://users/Team Guilas/Desktop/Kids/Kids Monitoring System.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- The network path was not found.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- The network path was not found.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.IOException
- The network path was not found.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
The answer appears to be in the logged info you posted: your application is hosted on/published to a network location (smb file share?) and it has gone away:
Downloading file://users/Team Guilas/Desktop/Kids/Kids Monitoring System.application did not succeed.
The network path was not found.
Check your network connection, server availability, drive mappings etc and try again?

ClickOnce deployment in VB.NET - launch online only error

I have been trying to fix this problem for a long time. When I fix one issue another one pops up. I am pretty sure I am on the last hurdle though.
I have an application I want to make available to users online. A click launches it, and it downloads and runs from the download cache. This is an option in Visual Studio 2010 ClickOnce deployment.
When I first uploaded the files through FTP to the webserver I had issues with the file extensions, the webserver was not recognizing them. I was able to add the correct MIME types to the htaccess file and, success, the application almost launches..
I am getting the same application cannot be started error with the details below,
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.296
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.296 (RTMGDR.030319-2900)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCE
Deployment url : http://apps4you.comyr.com/appTest8 /Application%20Files/snake_1_0_0_6/snake.application
Server : Apache
IDENTITIES
Deployment Identity : snake.application, Version=1.0.0.6, Culture=neutral, PublicKeyToken=5bd57d3abffa2377, processorArchitecture=x86
APPLICATION SUMMARY
* Online only application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://apps4you.comyr.com/appTest8/Application%20Files/snake_1_0_0_6/snake.application resulted in exception. Following failure messages were detected:
+ The remote server returned an error: (500) Internal Server Error.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [27/04/2013 2:29:49 p.m.] : Activation of http://apps4you.comyr.com/appTest8/Application%20Files/snake_1_0_0_6/snake.application has started.
* [27/04/2013 2:29:50 p.m.] : Processing of deployment manifest has successfully completed.
* [27/04/2013 2:29:50 p.m.] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [27/04/2013 2:30:07 p.m.] System.Net.WebException
- The remote server returned an error: (500) Internal Server Error.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenAndPush(Uri uri)
at System.Xml.XmlTextReaderImpl.PushExternalEntityOrSubset(String publicId, String systemId, String baseUriStr, Uri& baseUri, String entityName)
at System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId)
at System.Xml.DtdParser.ParseExternalSubset()
at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
at System.Xml.DtdParser.System.Xml.IDtdParser.ParseInternalDtd(IDtdParserAdapter adapter, Boolean saveInternalSubset)
at System.Xml.XmlTextReaderImpl.ParseDtd()
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
at System.Xml.XmlCharCheckingReader.Read()
at System.Xml.XsdValidatingReader.Read()
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
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.
So the launch of the application is looking promising, but it's still not there. What could this internal server error (500) be? I have done some research, and it seems pretty generic. What do the details in the stack trace mean?

ClickOnce deployment to web server - available online only

PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.296
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.296 (RTMGDR.030319-2900)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : http://apps4you.comyr.com/appTest8 /snake.application
Server : Apache
IDENTITIES
Deployment Identity : snake.application, Version=1.0.0.6, Culture=neutral, PublicKeyToken=5bd57d3abffa2377, processorArchitecture=x86
APPLICATION SUMMARY
* Online only application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://apps4you.comyr.com/appTest8/snake.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from http://apps4you.comyr.com/appTest8 /Application%20Files/snake_1_0_0_6/snake.exe.manifest: the manifest may not be valid or the file could not be opened.
+ Unexpected end of file has occurred. The following elements are not closed: br, br. Line 3, position 254.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [15/04/2013 5:23:29 p.m.] : Activation of http://apps4you.comyr.com/appTest8/snake.application has started.
* [15/04/2013 5:23:31 p.m.] : Processing of deployment manifest has successfully completed.
* [15/04/2013 5:23:31 p.m.] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [15/04/2013 5:23:31 p.m.] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from http://apps4you.comyr.com/appTest8/Application%20Files/snake_1_0_0_6/snake.exe.manifest: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
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)
--- Inner Exception ---
System.Xml.XmlException
- Unexpected end of file has occurred. The following elements are not closed: br, br. Line 3, position 254.
- Source: System.Xml
- Stack trace:
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
at System.Xml.XmlTextReaderImpl.Skip()
at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
at System.Xml.XmlTextReaderImpl.Skip()
at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
at System.Xml.XmlCharCheckingReader.Read()
at System.Xml.XsdValidatingReader.Read()
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Your deployment URL is wrong.
According to:
Activation of C:\Users\user\Downloads\snake.application resulted in
exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
the URL
file:///C:/Users/user/Downloads/snake.application
should be
http://apps4you.comyr.com/appTest7/
so the browser knows via the manifest that the application is deployed on the same location as the publisher intended and is not tampered. It is a security issue.
In the publish tab:
In the Installation URL field, enter the installation
location using a fully qualified URL using the format http://www.microsoft.com/ApplicationName, or a
UNC path using the format \\Server\ApplicationName.
Check Bring back the basic setup and deployment project type Visual Studio Installer.

installing application published in vb.net?

i built a very simple application in vb.net, installed it, it worked. then i did some very slight updates, build it, tried to install it but got the following errors. i restarted computer, uninstalled app for the uninstall menu, and tried to run setup.exe and still have been getting this error. can someone help!
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)
SOURCES
Deployment url : file:///C:/Documents%20and%20Settings/PGarcia.BMRA/Desktop/Intol%20Prog/WindowsApplication1.application
IDENTITIES
Deployment Identity : WindowsApplication1.application, Version=1.0.0.4, Culture=neutral, PublicKeyToken=a9ac82ee8eb508b4, processorArchitecture=msil
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:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_4/WindowsApplication1.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/9/2009 12:07:19 PM] : Activation of C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application has started.
* [6/9/2009 12:07:19 PM] : Processing of deployment manifest has successfully completed.
* [6/9/2009 12:07:19 PM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [6/9/2009 12:07:19 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_4/WindowsApplication1.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, 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)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_4\WindowsApplication1.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
looks to be missing a file .manifest? or possibly a file/folder that got moved since last build.
if you are using source control try rolling back and looking for a missing file/files.
Assuming this is a ClickOnce application, which you did not specify but I'm deducing from the error report, you may have one of several issues. When you publish a ClickOnce application you must be certain that your version number is incremented from the last released/installed version or ClickOnce will get confused.
Also, be sure you deploy all of your published files to the deployment server, including your new manifest file. ClickOnce does a hash on the files to ensure they have not been tampered with.
My apologies if this is not a ClickOnce-deployed application.
Go to Command promt and run this...
For 32 Bit Machine
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -i
For 64 Bit Machine
C:\WINNT\Microsoft.NET\Framework64\v2.0.50727\ aspnet_regiis.exe -i

clickonce nightmare System.Deployment.Application.DeploymentDownloadException

anyone know how to fix this? this is what i get when i try to run setup.exe
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)
SOURCES
Deployment url : file:///C:/Documents%20and%20Settings/PGarcia.BMRA/Desktop/Intol%20Prog/WindowsApplication1.application
IDENTITIES
Deployment Identity : WindowsApplication1.application, Version=1.0.0.3, Culture=neutral, PublicKeyToken=a9ac82ee8eb508b4, processorArchitecture=msil
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:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_3/WindowsApplication1.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [6/9/2009 11:26:55 AM] : Activation of C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\WindowsApplication1.application has started.
* [6/9/2009 11:26:56 AM] : Processing of deployment manifest has successfully completed.
* [6/9/2009 11:26:56 AM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [6/9/2009 11:26:56 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Documents and Settings/PGarcia.BMRA/Desktop/Intol Prog/Application Files/WindowsApplication1_1_0_0_3/WindowsApplication1.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, 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)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Documents and Settings\PGarcia.BMRA\Desktop\Intol Prog\Application Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
We had this same problem embedded in our ClickOnce deployment of [Qiqqa.com][1]. I suspect it has to do with the "MIME Type sniffing" that IE does when it gets an application/octet-stream - I guess to protect the user from malicious stuff.
Anyway, to solve the problem, we changed the mime type of our .deploy files to be text/plain - obviously not ideal, but at the same time, I don't know a scenario where we might have a .deploy file on our server that a user would browse to outside ClickOnce.
Problem solved.
Cheers,
Jimme
I don't know the exact cause of the problem, but the exception had this:
Could not find a part of the path
'C:\Documents and
Settings\PGarcia.BMRA\Desktop\Intol
Prog\Application
Files\WindowsApplication1_1_0_0_3\WindowsApplication1.exe.manifest
So that may be the best place to start troubleshooting.
Good Luck
i was running two sessions of the installer at the same time for some reason