Problem with ClickOnce Deployment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm having a problem with a ClickOnce deployment. We have two identical (so
far as I know) Windows 2003 SP1 servers. I have successfully published to
one of the servers and installed from it. (There is still a slight problem
we have not resolved. We have to create a copy of app.config.deploy and
rename it <app name>.exe.config.deploy. Still haven't figured this one out
but once we do it, it works, no problem.)

On the problem server, however, the publishing still works, but when I try
to install from the server, I get the following error log. (You'll excuse me
if I hide the exact name of the server.)

---------------------------------

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package 'Microsoft Data Access Components 2.8', phase
BuildList
Reading value 'FullInstallVer' of registry key
'HKLM\Software\Microsoft\DataAccess'
Read string value '2.81.1117.0'
Setting value '2.81.1117.0 {string}' for property 'MDACVersion'
The following properties have been set for package 'Microsoft Data Access
Components 2.8':
Property: [MDACVersion] = 2.81.1117.0 {string}
Running checks for command 'MDAC28\mdac_typ.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'MDACVersion' and value '2.80': true
Result of checks for command 'MDAC28\mdac_typ.exe' is 'Bypass'
'Microsoft Data Access Components 2.8' RunCheck result: No Install Needed
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line
"C:\Temp\VSD12.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet
Explorer'
Read string value '6.0.2900.2180'
Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.2900.2180 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and
value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled'
and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697210'
Error: An error occurred trying to download 'http://<server name>/<app
name>/<app name>.application'.
 
Sorry everyone, false alarm. The root problem was that the 2nd server didn't
have Dot Net 2.0 installed.

(But feel free to comment on our exe.config.deploy problem.)

B. Chernick said:
I'm having a problem with a ClickOnce deployment. We have two identical (so
far as I know) Windows 2003 SP1 servers. I have successfully published to
one of the servers and installed from it. (There is still a slight problem
we have not resolved. We have to create a copy of app.config.deploy and
rename it <app name>.exe.config.deploy. Still haven't figured this one out
but once we do it, it works, no problem.)

On the problem server, however, the publishing still works, but when I try
to install from the server, I get the following error log. (You'll excuse me
if I hide the exact name of the server.)

---------------------------------

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package 'Microsoft Data Access Components 2.8', phase
BuildList
Reading value 'FullInstallVer' of registry key
'HKLM\Software\Microsoft\DataAccess'
Read string value '2.81.1117.0'
Setting value '2.81.1117.0 {string}' for property 'MDACVersion'
The following properties have been set for package 'Microsoft Data Access
Components 2.8':
Property: [MDACVersion] = 2.81.1117.0 {string}
Running checks for command 'MDAC28\mdac_typ.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'MDACVersion' and value '2.80': true
Result of checks for command 'MDAC28\mdac_typ.exe' is 'Bypass'
'Microsoft Data Access Components 2.8' RunCheck result: No Install Needed
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line
"C:\Temp\VSD12.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet
Explorer'
Read string value '6.0.2900.2180'
Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.2900.2180 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and
value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled'
and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697210'
Error: An error occurred trying to download 'http://<server name>/<app
name>/<app name>.application'.
 
Back
Top