Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Problem with OneClick Installation, error msg on taget machine
 

Problem with OneClick Installation, error msg on taget machine

Hi all,
thanks in advance to solve my problem and to give a thought about this issue.

I have developed a application, which has a base WPF applcation , through which i invoke different exe's which are developed and integrated as part of main applications, these exe's are wpf and window applications.

i have used visual studio 2008, i have installed this application on windows 2008 server and IIS 7.0

issue : i sucessfully installed 1st version of application and it went throughnicely, but after installing second version, some of my clients who have older version on their system start getting this issue and the amazing thing isthat if somebody intalled it first time , application download and run nicely.

this is the error they got :

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (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: http://etrack.ebix.com/iemployee/iemployeegui/IEmployeeGUI.application
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Deployment Provider url: http://etrack.ebix.com/iEmployee/IEmployeeGUI/IEmployeeGUI.application
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Application url: http://etrack.ebix.com/iEmployee/IEmployeeGUI/Application%20Files/IEmployeeGUI_2_0_0_22/IEmployeeGUI.exe.manifest
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET

IDENTITIES
Deployment Identity: IEmployeeGUI.application, Version=2.0.0.22, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil
Application Identity: IEmployeeGUI.exe, Version=2.0.0.22, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32

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 http://etrack.ebix.com/iemployee/iemployeegui/IEmployeeGUI.application resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file Infragistics2.Win.UltraWinStatusBar.v8.1.dll: the manifest may not be valid or the file could not be opened.
+ File Infragistics2.Win.UltraWinStatusBar.v8.1.dll is not a valid Portable Executable (PE) file.
+ File {0} is not a valid Portable Executable (PE) file.

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.
* The manifest for this application does not have a signature. Signature validation will be ignored.
* The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
* [7/24/2009 6:00:03 PM] : Activation of http://etrack.ebix.com/iemployee/iemployeegui/IEmployeeGUI.application has started.
* [7/24/2009 6:00:03 PM] : Processing of deployment manifest has successfully completed.
* [7/24/2009 6:00:03 PM] : Installation of the application has started.
* [7/24/2009 6:00:04 PM] : Processing of application manifest has successfully completed.
* [7/24/2009 6:00:12 PM] : Request of trust and detection of platform is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [7/24/2009 6:00:15 PM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file Infragistics2.Win.UltraWinStatusBar.v8.1.dll: 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.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 Infragistics2.Win.UltraWinStatusBar.v8.1.dll 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.ComponentModel.Win32Exception
- File {0} is not a valid Portable Executable (PE) file.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.PEStream.DosHeader..ctor(FileStream file)
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.

i have removed all signing and i am using these infragestic componets in my application.

please help !!

thanks & regards
ashish

Ashish Kumar Chaudhary  Monday, July 27, 2009 7:08 AM

Hi Ashish,

There are so many causes of your issue. Please follow the steps below to diagnose your problem:

1. Try uninstalling the application and reinstalling it.

2. Try running: mage 鈥揷c. We can call this command in the CMD Shell in .Net SDK directory. This is the detail information:
http://msdn.microsoft.com/en-us/library/acz3y3te(VS.80).aspx.

3. Delete the ClickOnce application store:

a. Make sure the application process isn鈥檛 running 鈥?if it is, try killing the process.

b. Delete the application store folder %userprofile%\Local Settings\Apps.

c. Delete the folder %userprofile%\Local Settings\Apps.

d. Delete HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment.

These are some links discussing about the same issue:

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/dc47dac1-6eb2-4533-a119-c1d87a36c4a5

http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/4e4ee82b-308e-41ea-a8ad-0ea465aec3f5/

http://social.msdn.microsoft.com/forums/en-US/vbide/thread/9935eb19-61ff-45f4-87b0-47f42133362e/

Let me know if this helps.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, July 29, 2009 3:21 AM
Hi Guys,
after 2 days of r&d, i foundit wasissue of firwall implemented in my company, it stop any exe to download on client side.
So for future, we need to checkfirewall as well.

in deployment i havent use any signing and any key, may be becuz of that firewall stopped it, i am not sure, do you guys have any idea about it ?
Ashish Kumar Chaudhary  Tuesday, August 04, 2009 7:29 AM

Hi Ashish,

There are so many causes of your issue. Please follow the steps below to diagnose your problem:

1. Try uninstalling the application and reinstalling it.

2. Try running: mage 鈥揷c. We can call this command in the CMD Shell in .Net SDK directory. This is the detail information:
http://msdn.microsoft.com/en-us/library/acz3y3te(VS.80).aspx.

3. Delete the ClickOnce application store:

a. Make sure the application process isn鈥檛 running 鈥?if it is, try killing the process.

b. Delete the application store folder %userprofile%\Local Settings\Apps.

c. Delete the folder %userprofile%\Local Settings\Apps.

d. Delete HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment.

These are some links discussing about the same issue:

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/dc47dac1-6eb2-4533-a119-c1d87a36c4a5

http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/4e4ee82b-308e-41ea-a8ad-0ea465aec3f5/

http://social.msdn.microsoft.com/forums/en-US/vbide/thread/9935eb19-61ff-45f4-87b0-47f42133362e/

Let me know if this helps.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, July 29, 2009 3:21 AM
With your new version, are you deploying a new version of Infragistics?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 9:16 AM
Hi Guys,
after 2 days of r&d, i foundit wasissue of firwall implemented in my company, it stop any exe to download on client side.
So for future, we need to checkfirewall as well.

in deployment i havent use any signing and any key, may be becuz of that firewall stopped it, i am not sure, do you guys have any idea about it ?
Ashish Kumar Chaudhary  Tuesday, August 04, 2009 7:29 AM
Hi Ashish,

You can sign your program by following this link:
http://msdn.microsoft.com/en-us/library/ms247123.aspx.

From my experience, only signing the program cannot completely solve the issue. We need to modify some settings of the fire wall to allow the installing.

Let me know if this helps.
Aland Li

Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Tuesday, August 04, 2009 7:33 AM

You can use google to search for other answers

Custom Search

More Threads

• IEExec Loads, but no form appears...
• Is there a smart was to delete files after installation?
• Weird .NET Deployment Scenario
• Help! Deployment with ClickOnce
• Help hosting .net control in IE
• Clickonce from CD
• ClickOnce Updates - ObjectModel changes == invalid user Cache. solutions to a common problem?
• Getting installation error while installing a custom prerequisite in clickonce installer
• deploy updates to 100s of clients
• app.application Publish file