Problems with ClickOnce delpoyment on RTM version

  • Thread starter Thread starter Martin Dolphin
  • Start date Start date
M

Martin Dolphin

Hi

Just upgraded to the RTM version of VS2005 downloaded from MSDN.

I have an application deployed (as a test) to a couple of my colleagues that
I wrote in Beta 2.

When I try and republish this in the RTM version, I get the following error:

Error 2 SignTool reported an error 'Failed to sign
bin\Release\SAPUserAdmin.publish\\setup.exe. SignTool Error: Signtool
requires CAPICOM version 2.1.0.1 or higher. Please
copy the latest version of CAPICOM.dll into the directory that contains
SignTool.exe. If CAPICOM.dll exists, you may not have proper
permissions to install CAPICOM.
'. SAP User Admin (New)

I have tried replacing the version of CAPICOM.DLL with the latest version
(2.1.0.1) and this has no effect. I am an Administrator on my machine.

I can build and run the application on my machine with no problems.

I've tried removing the "Sign the ClickOnce manifests" tick but as soon as I
click "Publish" the tick is replaced (on the Signing tab of the Project
Properties)

Any suggestions would be gratefully received!

Thanks

Martin Dolphin
 
Hi Martin,

Thanks for your post.

For this issue, I have found several report records in our internal
database. However, it seems that these issues are all fixed in RTM version.
Because beta2 is not a supported version, I suggest you migrate your code
into RTM version of Whidbey, and recompile it. At last, we should can
deploy it without any problem.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi

I was actually running on the RTM release already.

I eventually worked out what the problem was - the CAPICOM.DLL file used to
sign things (I think) had got confused and wasn't registered properly.

I copied the latest version into my C:\WINDOWS\SYSTEM32 directory and
re-registered with REGSVR32.EXE

This fixed my issue - I can deploy once again with ClickOnce!

Thanks for your help

Martin Dolphin
 
Hi Martin,

Cool, thanks for sharing this knowledge with us. Yes, SignTool.exe requires
the new version of CAPICOM.DLL to work, and because it is a COM dll, we
should register before using it.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top