Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem publishing with ClickOnce

511 views
Skip to first unread message

BobRoyAce

unread,
Apr 21, 2010, 1:20:02 PM4/21/10
to
I have an application that I wrote for a client, and I deploy it using
ClickOnce. It has been working this way for months and months, but,
all of a sudden, today it stopped working. I can't identify anything
that has changed recently, but clearly something has. I am including
the full log below, but the main issues appear to be:

Exception occurred loading manifest from file MyApp.exe: the manifest
may not be valid or the file could not be opened.
File MyApp.exe is not a valid Portable Executable (PE) file.
PE file does not have enough data.

Any ideas why this error would be occurring all of a sudden? It occurs
on at least four different PC's tested so far.

--- LOG BEGINS ---

PLATFORM VERSION INFO
Windows : 5.2.3790.131072 (Win32NT)
Common Language Runtime : 2.0.50727.3607
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3607 (GDR.050727-3600)
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/broy/Start%20Menu/Programs/OMEGA%20Software/The%20FUNDinator.appref-ms%7C
Server : Apache
Deployment Provider url : http://www.omegasoftwareinc.com/clients/grp/fundinator/publish/GRPFunding.application
Application url :
http://www.omegasoftwareinc.com/clients/grp/fundinator/publish/Application%20Files/GRPFunding_2_0_3_24/GRPFunding.exe.manifest
Server : Apache

IDENTITIES
Application Identity : GRPFunding.exe, Version=2.0.3.24, Culture=en,
PublicKeyToken=0517874411601259, processorArchitecture=x86, type=win32

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\broy\Start Menu\Programs
\OMEGA Software\The FUNDinator.appref-ms| resulted in exception.
Following failure messages were detected:
+ Exception occurred loading manifest from file GRPFunding.exe: the
manifest may not be valid or the file could not be opened.
+ File GRPFunding.exe is not a valid Portable Executable (PE) file.
+ PE file does not have enough data.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
* The file named Telrex.CallRex.dll does not have a hash specified in
the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraPivotGrid.v9.3.Core.dll does not have
a hash specified in the manifest. Hash validation will be ignored.
* The file named Rebex.Security.dll does not have a hash specified in
the manifest. Hash validation will be ignored.
* The file named DevExpress.Data.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named SpreadsheetGear.dll does not have a hash specified
in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraSpellChecker.v9.3.Core.dll does not
have a hash specified in the manifest. Hash validation will be
ignored.
* The file named DevExpress.XtraGauges.v9.3.Win.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraLayout.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraScheduler.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraTreeList.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraBars.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraCharts.v9.3.UI.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraVerticalGrid.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraRichEdit.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraPivotGrid.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named GRPFunding.exe does not have a hash specified in the
manifest. Hash validation will be ignored.
* The file named DevExpress.Charts.v9.3.Core.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.Utils.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraPrinting.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraScheduler.v9.3.Extensions.dll does
not have a hash specified in the manifest. Hash validation will be
ignored.
* The file named DevExpress.XtraEditors.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named Rebex.Net.ProxySocket.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named Rebex.Net.Ftp.dll does not have a hash specified in
the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraReports.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraGauges.v9.3.Core.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named Rebex.Net.SecureSocket.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraCharts.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraScheduler.v9.3.Core.dll does not have
a hash specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraNavBar.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraGrid.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraWizard.v9.3.dll does not have a hash
specified in the manifest. Hash validation will be ignored.
* The file named DevExpress.XtraSpellChecker.v9.3.dll does not have a
hash specified in the manifest. Hash validation will be ignored.
* The file named ChilkatDotNet2.dll does not have a hash specified in
the manifest. Hash validation will be ignored.
* The file named GRPFunding.exe does not have a hash specified in the
manifest. Hash validation will be ignored.

OPERATION PROGRESS STATUS
* [4/21/2010 12:01:36 PM] : Activation of C:\Documents and Settings
\broy\Start Menu\Programs\OMEGA Software\The FUNDinator.appref-ms| has
started.
* [4/21/2010 12:01:36 PM] : Performing necessary update check as
specified by the deployment.
* [4/21/2010 12:01:37 PM] : Consuming new update.
* [4/21/2010 12:01:37 PM] : Installation of the application has
started.
* [4/21/2010 12:01:39 PM] : Processing of application manifest has
successfully completed.
* [4/21/2010 12:01:39 PM] : Request of trust and detection of
platform is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [4/21/2010 12:07:41 PM]
System.Deployment.Application.InvalidDeploymentException
(ManifestLoad)
- Exception occurred loading manifest from file GRPFunding.exe: the
manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception
exception, String filePath)
at
System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String
filePath)
at
System.Deployment.Application.Manifest.AssemblyManifest..ctor(String
filePath)
at
System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object
sender, DownloadEventArgs e)
at
System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object
sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
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.DownloadDependencies(SubscriptionState
subState, AssemblyManifest deployManifest, AssemblyManifest
appManifest, Uri sourceUriBase, String targetDirectory, String group,
IDownloadNotification notification, DownloadOptions options)
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.ConsumeUpdatedDeployment(SubscriptionState&
subState, ActivationDescription actDesc)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState&
subState, String& errorPageUrl)
at
System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String
shortcutFile, String& errorPageUrl, TempFile& deployFile)
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.IO.IOException
- File GRPFunding.exe is not a valid Portable Executable (PE) file.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.PEStream.ConstructFromFile(String
filePath, Boolean partialConstruct)
at System.Deployment.Application.PEStream..ctor(String filePath,
Boolean partialConstruct)
at
System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String
filePath)
--- Inner Exception ---
System.IO.IOException
- PE file does not have enough data.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.PEStream.PEComponent.ReadData(FileStream
file, Int64 position, Type dataType)
at
System.Deployment.Application.PEStream.ResourceDirectory..ctor(ResourceSection
resourceSection, FileStream file, Int64 rootResourceAddress, Int64
resourceAddress, Int64 addressDelta, Boolean partialConstruct)
at
System.Deployment.Application.PEStream.ResourceSection..ctor(FileStream
file, SectionHeader sectionHeader, Boolean partialConstruct)
at
System.Deployment.Application.PEStream.ConstructPEImage(FileStream
file, Boolean partialConstruct)
at System.Deployment.Application.PEStream.ConstructFromFile(String
filePath, Boolean partialConstruct)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

--- LOG ENDS ---

BobRoyAce

unread,
Apr 21, 2010, 4:32:24 PM4/21/10
to
It should be noted that I changed GRPFunding.exe to MyApp.exe in the
listing of the three main issues at the beginning of the post...thus
doesn't match the log.

MikeD

unread,
Apr 21, 2010, 5:31:28 PM4/21/10
to

"BobRoyAce" <br...@omegasoftwareinc.com> wrote in message
news:851f7773-9ba2-4f5a...@f20g2000vbp.googlegroups.com...


> I have an application that I wrote for a client, and I deploy it using
> ClickOnce.

This newsgroup's for VB6 and under. You want to post to a dotnet newsgroup.
Those all have "dotnet" or "vsnet" in their names.

--
Mike

0 new messages