.net - C# Windows Forms Application Update on Application Startup -
my application has been updating ages, , i've been making changes, releasing new builds etc every day past few months, now, when application starts (it checks updates on startup), begins downloading updated version server, , fails 3-quarters of way through following message:
platform version info windows : 6.1.7600.0 (win32nt) common language runtime : 4.0.30319.1 system.deployment.dll : 4.0.30319.1 (rtmrel.030319-0100) clr.dll : 4.0.30319.1 (rtmrel.030319-0100) dfdll.dll : 4.0.30319.1 (rtmrel.030319-0100) dfshim.dll : 4.0.31106.0 (main.031106-0000)
sources deployment url : file:///c:/users/jason/desktop/oom.appref-ms%7c server : microsoft-iis/7.0 x-powered-by : asp.net deployment provider url : http://www.website.net.au/software/updates/something/oom.application application url : http://www.website.net.au/software/updates/something/jusername/application%20files/oom_2_0_0_8/oom.exe.manifest server : microsoft-iis/7.0 x-powered-by : asp.net
identities application identity : oom.exe, version=2.0.0.8, culture=neutral, publickeytoken=38928ec70a12c5e6, processorarchitecture=x86, type=win32
error summary below summary of errors, details of these errors listed later in log. * activation of c:\users\jason\desktop\one stop management.appref-ms| resulted in exception. following failure messages detected: + downloading http://www.website.net.au/software/updates/something/jusername/application files/oom_2_0_0_8/one stop management.exe.config did not succeed. + remote server returned error: (404) not found.
component store transaction failure summary no transaction error detected.
warnings there no warnings during operation.
operation progress status * [18/02/2011 5:55:50 pm] : activation of c:\users\jason\desktop\one stop management.appref-ms| has started. * [18/02/2011 5:55:50 pm] : performing necessary update check specified deployment. * [18/02/2011 5:55:51 pm] : consuming new update. * [18/02/2011 5:55:52 pm] : installation of application has started. * [18/02/2011 5:55:53 pm] : processing of application manifest has completed. * [18/02/2011 5:55:53 pm] : found compatible runtime version 4.0.30319. * [18/02/2011 5:55:53 pm] : request of trust , detection of platform complete.
error details following errors detected during operation. * [18/02/2011 5:55:54 pm] system.deployment.application.deploymentdownloadexception (unknown subtype) - downloading http://www.website.net.au/software/updates/something/jusername/application files/oom_2_0_0_8/one stop management.exe.config did not succeed. - source: system.deployment - stack trace: @ system.deployment.application.systemnetdownloader.downloadsinglefile(downloadqueueitem next) @ system.deployment.application.systemnetdownloader.downloadallfiles() @ system.deployment.application.filedownloader.download(subscriptionstate substate) @ system.deployment.application.downloadmanager.downloaddependencies(subscriptionstate substate, assemblymanifest deploymanifest, assemblymanifest appmanifest, uri sourceuribase, string targetdirectory, string group, idownloadnotification notification, downloadoptions options) @ system.deployment.application.applicationactivator.downloadapplication(subscriptionstate substate, activationdescription actdesc, int64 transactionid, tempdirectory& downloadtemp) @ system.deployment.application.applicationactivator.installapplication(subscriptionstate& substate, activationdescription actdesc) @ system.deployment.application.applicationactivator.consumeupdateddeployment(subscriptionstate& substate, activationdescription actdesc) @ system.deployment.application.applicationactivator.performdeploymentupdate(subscriptionstate& substate, string& errorpageurl) @ system.deployment.application.applicationactivator.processorfollowshortcut(string shortcutfile, string& errorpageurl, tempfile& deployfile) @ system.deployment.application.applicationactivator.performdeploymentactivation(uri activationuri, boolean isshortcut, string textualsubid, string deploymentproviderurlfromextension, browsersettings browsersettings, string& errorpageurl) @ system.deployment.application.applicationactivator.activatedeploymentworker(object state) --- inner exception --- system.net.webexception - the remote server returned error: (404) not found. - source: system - stack trace: @ system.net.httpwebrequest.getresponse() @ system.deployment.application.systemnetdownloader.downloadsinglefile(downloadqueueitem next)
component store transaction details no transaction information available.
okay, tells me there file not found. have double-checked, several times, , file is there.
anybody know causes this?
any @ appreciated!
iis won't serve *.config files default protect web.config , various other asp configuration files contain connection strings , other sensitive information involved in running site. around click-once deployments files .deploy added end *.config automatically renamed *.config.deploy when published. did manually add 1 stop management.exe.config or something? might add .deploy on end temp workaround in reality should have been done @ publish time. don't want enable configs download iis present security hole site.
Comments
Post a Comment