Here is my problem. I have an app that has over 9 web services. For years I
had not issues with clickonce but now it looks like the build is missing
XmlSerializers. dll.deploy. I did have this issue once in vs 2005 and one the
problem just went away. Well now its back. If I build the app 20 times it
may work once. I did find that if I remove this as a required dll that I can
get my program to run. I can't seem to find any info about this problem. I
did try to rebuild my program on two different computers. I am using vs 2008
sp1. My program is using 2.0 framework but the error happen even on 3.5.
One thing I found makes the build run is doing big changes like adding a new
from or Changing the frame work. But this will only work for one build.
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployme nt.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/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/NPCC.applicatio n
Application url :
file:///C:/Documents%20and %20Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application%20F iles/NPCC_5_0_2_8/NPCC.exe.manife st
IDENTITIES
Deployment Identity : NPCC.applicatio n, Version=5.0.2.8 , Culture=neutral ,
PublicKeyToken= 413cbacad869ec2 9, processorArchit ecture=msil
Application Identity : NPCC.exe, Version=5.0.2.8 , Culture=neutral ,
PublicKeyToken= 413cbacad869ec2 9, processorArchit ecture=msil, type=win32
APPLICATION SUMMARY
* Online only 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\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\NPCC. application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and
Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application Files/NPCC_5_0_2_8/NPCC.XmlSeriali zers.dll.deploy did not succeed.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/15/2008 9:31:45 PM] : Activation of C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\NPCC. application has started.
* [8/15/2008 9:31:50 PM] : Processing of deployment manifest has
successfully completed.
* [8/15/2008 9:31:50 PM] : Installation of the application has started.
* [8/15/2008 9:31:50 PM] : Processing of application manifest has
successfully completed.
* [8/15/2008 9:31:51 PM] : Request of trust and detection of platform is
complete.
ERROR DETAILS
Following errors were detected during this operation.
* [8/15/2008 9:31:53 PM]
System.Deployme nt.Application. DeploymentDownl oadException (Unknown subtype)
- Downloading file:///C:/Documents and
Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application Files/NPCC_5_0_2_8/NPCC.XmlSeriali zers.dll.deploy did not succeed.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)
at System.Deployme nt.Application. SystemNetDownlo ader.DownloadAl lFiles()
at
System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState
subState)
at
System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState
subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest, Uri
sourceUriBase, String targetDirectory , String group, IDownloadNotifi cation
notification, DownloadOptions options)
at
System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState
subState, ActivationDescr iption actDesc, Int64 transactionId, TempDirectory&
downloadTemp)
at
System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState& subState, ActivationDescr iption actDesc)
at
System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProvi derUrlFromExten sion, BrowserSettings browserSettings , String&
errorPageUrl)
at
System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object state)
--- Inner Exception ---
System.Net.WebE xception
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: System
- Stack trace:
at System.Net.File WebRequest.EndG etResponse(IAsy ncResult asyncResult)
at System.Net.File WebRequest.GetR esponse()
at
System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)
--- Inner Exception ---
System.Net.WebE xception
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: System
- Stack trace:
at System.Net.File WebResponse..ct or(FileWebReque st request, Uri uri,
FileAccess access, Boolean asyncHint)
at System.Net.File WebRequest.GetR esponseCallback (Object state)
--- Inner Exception ---
System.IO.FileN otFoundExceptio n
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: mscorlib
- Stack trace:
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options, String
msgPath, Boolean bFromProxy)
at System.Net.File WebStream..ctor (FileWebRequest request, String path,
FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean
async)
at System.Net.File WebResponse..ct or(FileWebReque st request, Uri uri,
FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
had not issues with clickonce but now it looks like the build is missing
XmlSerializers. dll.deploy. I did have this issue once in vs 2005 and one the
problem just went away. Well now its back. If I build the app 20 times it
may work once. I did find that if I remove this as a required dll that I can
get my program to run. I can't seem to find any info about this problem. I
did try to rebuild my program on two different computers. I am using vs 2008
sp1. My program is using 2.0 framework but the error happen even on 3.5.
One thing I found makes the build run is doing big changes like adding a new
from or Changing the frame work. But this will only work for one build.
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployme nt.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/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/NPCC.applicatio n
Application url :
file:///C:/Documents%20and %20Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application%20F iles/NPCC_5_0_2_8/NPCC.exe.manife st
IDENTITIES
Deployment Identity : NPCC.applicatio n, Version=5.0.2.8 , Culture=neutral ,
PublicKeyToken= 413cbacad869ec2 9, processorArchit ecture=msil
Application Identity : NPCC.exe, Version=5.0.2.8 , Culture=neutral ,
PublicKeyToken= 413cbacad869ec2 9, processorArchit ecture=msil, type=win32
APPLICATION SUMMARY
* Online only 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\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\NPCC. application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and
Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application Files/NPCC_5_0_2_8/NPCC.XmlSeriali zers.dll.deploy did not succeed.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
+ Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/15/2008 9:31:45 PM] : Activation of C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\NPCC. application has started.
* [8/15/2008 9:31:50 PM] : Processing of deployment manifest has
successfully completed.
* [8/15/2008 9:31:50 PM] : Installation of the application has started.
* [8/15/2008 9:31:50 PM] : Processing of application manifest has
successfully completed.
* [8/15/2008 9:31:51 PM] : Request of trust and detection of platform is
complete.
ERROR DETAILS
Following errors were detected during this operation.
* [8/15/2008 9:31:53 PM]
System.Deployme nt.Application. DeploymentDownl oadException (Unknown subtype)
- Downloading file:///C:/Documents and
Settings/Andrew/Desktop/vdiworkflow/NPCC/NPCC/bin/Release/app.publish/Application Files/NPCC_5_0_2_8/NPCC.XmlSeriali zers.dll.deploy did not succeed.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)
at System.Deployme nt.Application. SystemNetDownlo ader.DownloadAl lFiles()
at
System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState
subState)
at
System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState
subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest, Uri
sourceUriBase, String targetDirectory , String group, IDownloadNotifi cation
notification, DownloadOptions options)
at
System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState
subState, ActivationDescr iption actDesc, Int64 transactionId, TempDirectory&
downloadTemp)
at
System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState& subState, ActivationDescr iption actDesc)
at
System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProvi derUrlFromExten sion, BrowserSettings browserSettings , String&
errorPageUrl)
at
System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object state)
--- Inner Exception ---
System.Net.WebE xception
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: System
- Stack trace:
at System.Net.File WebRequest.EndG etResponse(IAsy ncResult asyncResult)
at System.Net.File WebRequest.GetR esponse()
at
System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)
--- Inner Exception ---
System.Net.WebE xception
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: System
- Stack trace:
at System.Net.File WebResponse..ct or(FileWebReque st request, Uri uri,
FileAccess access, Boolean asyncHint)
at System.Net.File WebRequest.GetR esponseCallback (Object state)
--- Inner Exception ---
System.IO.FileN otFoundExceptio n
- Could not find file 'C:\Documents and
Settings\Andrew \Desktop\vdiwor kflow\NPCC\NPCC \bin\Release\ap p.publish\Appli cation Files\NPCC_5_0_ 2_8\NPCC.XmlSer ializers.dll.de ploy'.
- Source: mscorlib
- Stack trace:
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options, String
msgPath, Boolean bFromProxy)
at System.Net.File WebStream..ctor (FileWebRequest request, String path,
FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean
async)
at System.Net.File WebResponse..ct or(FileWebReque st request, Uri uri,
FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Comment