Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > clickonce issue on vista
 

clickonce issue on vista

Hi all,
when im running the clickone setup made on a windows xp machine on a vista machine. it doesnt start at all. it just crashes.
can any one let me know do we need to make the setup for vista in a different way?

any reply will be helpful.

regards,
jay

the error file it generates is

PLATFORM VERSION INFO
Windows : 6.0.6001.65536 (Win32NT)
Common Language Runtime : 2.0.50727.1434
System.Deployment.dll : 2.0.50727.1434 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1434 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1434 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1434 (REDBITS.050727-1400)

SOURCES
Deployment url : file:///C:/inetpub/wwwroot/AttendanceGrid/UNIT-e%20Attendance%20Grid%20Register.application

IDENTITIES
Deployment Identity : UNIT-e Attendance Grid Register.app, Version=4.8.300.3, Culture=neutral, PublicKeyToken=0362e074e76a26ea, processorArchitecture=msil

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 C:\inetpub\wwwroot\AttendanceGrid\UNIT-e Attendance Grid Register.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/inetpub/wwwroot/AttendanceGrid/UNIT-e%20Attendance%20Grid%20Register_4_08_300_03/UNIT-e%20Attendance%20Grid%20Register.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.exe.manifest'.
+ Could not find a part of the path 'C:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.exe.manifest'.
+ Could not find a part of the path 'C:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [17/07/2008 18:47:56] : Activation of C:\inetpub\wwwroot\AttendanceGrid\UNIT-e Attendance Grid Register.application has started.
* [17/07/2008 18:47:57] : Processing of deployment manifest has successfully completed.
* [17/07/2008 18:47:57] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [17/07/2008 18:47:57] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/inetpub/wwwroot/AttendanceGrid/UNIT-e%20Attendance%20Grid%20Register_4_08_300_03/UNIT-e%20Attendance%20Grid%20Register.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.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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.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:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.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:\inetpub\wwwroot\AttendanceGrid\UNIT-e%20Attendance%20Grid%20Register_4_08_300_03\UNIT-e%20Attendance%20Grid%20Register.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, 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.


Jay_Chauhan  Thursday, July 17, 2008 5:48 PM

No difference required. The problem isn't Vista per se.

Are you signing your deployment, even with a test certificate? Are you publishing it with Visual Studio, and if so, which version? Are you including the .Net framework as a prerequisite or you're 100% certain the right version of the .Net framework is installed?

RobinS.

GoldMail.com

RobinDotNet  Friday, July 18, 2008 6:43 AM
Hi Robin,
Thanks for you reply.
Yes we are signing it with a key. We are using VS 2005 for building the setup. I am not sure of that but the machine on which i am running the setup is a development machine and has .NET framework.

Can you reckon anything else which can be the cause of the problem?

P.S: i even ran the iexplorer with admin rights so as to avoid the rights issue.

regards,
jay
Jay_Chauhan  Monday, July 21, 2008 9:18 AM

Just FYI, you shouldn't have to run IE with admin rights. ClickOnce should not require any privileges to install it, except for the prerequisites, which aren't part of the ClickOnce portion of the deployment.

Are you pushing the right version of the .Net framework as a prerequisite?

Are you running Windows Updates on that machine?

If you change the app to be online & offline, does the installation work?

RobinS.

GoldMail.com

RobinDotNet  Monday, July 21, 2008 6:01 PM

Hi Jay_Chauhan

I am quite agree with RobinS’s opinion. ClickOnce application built on Windows XP should work properly on Vista. Actually, .Net Framework 3.0 has been included in the Vista operating system.

I’d like to know some detail about your application:

1. How did you deploy your application? (e.g. via a CD or IIS or a shared folder)

2. Where did your ClickOnce applicationstored? (On Windows XP PC's IIS orshared folder or another PC)

3. Can the Vista PC get full access to the PC that stored the ClickOnce application? (Ensure that all files of the application can be download by Vista PC).

4. Take a test on another PC (OS is Vista or XP), let it access to the ClickOnce application deployed PC and run the setup to see if it can succeed or not. This test mainly for decide whether the failing is caused by thespecial PC you used.

Wish these information can solve your problem.

Best Regards,

Kira Qian

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Kira Qian  Tuesday, July 22, 2008 6:31 AM

We are changing the issue type to “Comment�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!

Best Regards,

Kira Qian

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Kira Qian  Thursday, July 24, 2008 7:52 AM

You can use google to search for other answers

Custom Search

More Threads

• VS2005 Setup Project Redestribuiting .Net Framework 2.0 x64 (64 Bit)
• vb self installers
• COM Object Error
• + Cannot make this application an online application because the previous version is installed.
• Comboboxes not behaving correctly
• Check for prerequisites then run clickonce with query string?
• Using Winforms in IE with Apache running
• Renaming shortcuts using VS2005 Installer Class
• Windows Forms MDI inside Internet Explorer
• Setup and Deployment project visuals in 2005.