Home All Groups Group Topic Archive Search About

Strong naming Shdocvw, (cannot locate CSP)

Author
5 Sep 2006 10:28 PM
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

Author
6 Sep 2006 8:37 AM
Lev Gimelfarb
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.


Vinit wrote:
Show quote
> 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.
Author
6 Sep 2006 4:51 PM
Vinit
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

Lev Gimelfarb wrote:
Show quote
> 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.
>
>
> Vinit wrote:
> > 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.

AddThis Social Bookmark Button