المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ClickOnce



C# Programming
06-03-2009, 12:31 PM
Hi,

I publish my windows application using clickonce. When some clients try to download it error occur. It is downloading in many other client machines with out any problem.
The deploy files are not getting downloaded in some client machine. I also delete the Apps folder in those machine and try again, same error occur.

Is ther any problem with the client machine or any problem in publishing?

Details of error :-


PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common ******** Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)

SOURCES
Deployment url : http://192.168.1.41/ -- My URL ---
Server : Microsoft-IIS/5.1
X-Powered-By : ASP.NET

Deployment Provider url : http://192.168.1.41/-- My URL ---

Server : Microsoft-IIS/5.1
X-Powered-By : ASP.NET

Application url : http://192.168.1.41/-- My URL --- .exe.manifest

Server : Microsoft-IIS/5.1
X-Powered-By : ASP.NET

IDENTITIES
Deployment Identity : board.application, Version=1.0.0.5, Culture=neutral, PublicKeyToken=735d61f06c2141e7, processorArchitecture=msil
Application Identity : board.exe, Version=1.0.0.5, Culture=neutral, PublicKeyToken=735d61f06c2141e7, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
* Installable 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://192.168.1.41/-- My URL --- resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file Client.dll: the manifest may not be valid or the file could not be opened.
+ File Client.dll is not a valid Portable Executable (PE) file.
+ The process cannot access the file 'C:\Documents and Settings\administrator\Local Settings\Temp\Deployment\L774NNJ6.6QD\EPT7095T.X26\Client.dll' because it is being used by another process.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [3/13/2009 10:41:24 AM] : Activation of http://192.168.1.41/--- My Link -- has started.
* [3/13/2009 10:41:25 AM] : Processing of deployment manifest has successfully completed.
* [3/13/2009 10:41:25 AM] : Installation of the application has started.
* [3/13/2009 10:41:25 AM] : Processing of application manifest has successfully completed.
* [3/13/2009 10:41:27 AM] : Request of trust and detection of platform is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [3/13/2009 10:41:27 AM] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file Client.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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.IO.IOException
- File Client.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.IO.IOException
- The process cannot access the file 'C:\Documents and Settings\administrator\Local Settings\Temp\Deployment\L774NNJ6.6QD\EPT7095T.X26\Client.dll' because it is being used by another process.
- 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)
at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.




Thank you
YPKI