Thursday, August 31, 2006

Weird VS2005 Error

I'm posting this in case others hit the same issue.

When trying to doa ClickOnce deployment, we hit the following error:

"Cannot publish because a project failed to build."
"SignTool reported an error. "The parameter is incorrect."

We switched from VB to C# and it worked fine. I'll leave this blog posting out on the net so it can help someone else out doing ClickOnce deployments.

1 comment:

Anonymous said...

To fix this problem, open the project's properties from the Project menu and select the 'Signing' tab. Check the 'Sign the ClickOnce manifest' checkbox and either create a test certificate (with password), or select an already created certificate (*.pfx) file.

This problem could occur if you're moving projects from one computer to another, in which case VS2005 cannot locate your (*.pfx) file because of the other computer's different drive name(s) (pathname(s)).

SAS throwing RPC error

If you are doing code in C#  and get this error when creating a LanguageService: The RPC server is unavailable. (Exception from HRESULT:...