Strong naming Shdocvw, (cannot locate CSP)

  • Thread starter Thread starter Vinit
  • Start date Start date
V

Vinit

Hi

I have added a MS WebBrowser control to my winform. This adds
references to Shdocvw.dll and Axshdocvw.dll . However I am using strong
named assemblies in my application and hence these also need to signed
with my public key.

I used tlbimp and aximp tools to do this but in both cases I get this
error:
AxImp Error: Unable to locate input ActiveX library: 'U:\SHDocVw.dll'
and
TlbImp error: System.Runtime.InteropServices.COMException - StrongName
APIs coul
d not locate a matching CSP.

How do i tackle this problem?

Appreciate your responses.
Vinit
 
Hi Vinit

Could you please post the command lines that you are attempting to run?
Then we'll be able to point you in the right direction.

Cheers,
Lev.
 
here they are

tlbimp
C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\ATMP4Sync\bin\Debug\SHDocVw.dll
/out:c:\AxInterop.SHDocVw.Strong.dll
/publickey:C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\key.snk

Aximp
C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\ATMP4Sync\bin\Debug\SHDocVw.dll
/out:c:\AxInterop.SHDocVw.Strong.dll
/publickey:C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\key.snk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top