Problems with mshtml.dll after installing VS2008

J

Jean Paul Mertens

Best all,

After installing VS2008 I have following error:

Windows form application, using .NET 2.0 and using the HTML viewer in some
windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clients upgrade there site they get
this error

Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of C:\Documents and Settings\jpm.BE0109\Application
Data\Microsoft\Internet Explorer\Quick Launch\Windows Portaal.appref-ms
resulted in exception. Following failure messages were detected:
+ Strong name signature not valid for this assembly Microsoft.mshtml.dll.

ERROR DETAILS
Following errors were detected during this operation.
* [14/02/2008 15:27:57]
System.Deployment.Application.InvalidDeploymentException
(SignatureValidation)
- Strong name signature not valid for this assembly Microsoft.mshtml.dll.
- Source: System.Deployment
- Stack trace:...

Is there some one who can tell me how to correct this.

tnx
Jean Paul - ON7AMI
 
N

Nicholas Paldino [.NET/C# MVP]

Jeal Paul,

Are you interoping with MSHTML yourself? Or are you using the one that
already comes when VS.NET is installed? If you are creating the MSHTML
reference yourself, you will have to use the TLBIMP utility from the command
line and use the /keycontainer or /keyfile switches to specify a key to
strong name the interop assembly with.

If you are using the one that comes with VS.NET, then it would seem that
is a bug, and I would file it at the Microsoft Connect site, and then
generate your own interop wrapper to use (and sign yourself) as mentioned
above.
 
J

Jean Paul Mertens

Nicholas,

I use the one that comed with VS.NET on VS2005 all worked fine it is just
once I installed VS2008 that the error occured. I'll try to remove al
references and map them at new to see. The 'conversone' from my project from
2005 to 2008 dit not give any warning or error.
Ill see and if it comes not good, I will send MS a mail about it

Greetings and thanks for reply.

Jean Paul

Nicholas Paldino said:
Jeal Paul,

Are you interoping with MSHTML yourself? Or are you using the one that
already comes when VS.NET is installed? If you are creating the MSHTML
reference yourself, you will have to use the TLBIMP utility from the
command line and use the /keycontainer or /keyfile switches to specify a
key to strong name the interop assembly with.

If you are using the one that comes with VS.NET, then it would seem
that is a bug, and I would file it at the Microsoft Connect site, and then
generate your own interop wrapper to use (and sign yourself) as mentioned
above.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Jean Paul Mertens said:
Best all,

After installing VS2008 I have following error:

Windows form application, using .NET 2.0 and using the HTML viewer in
some windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clients upgrade there site they
get this error

Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of C:\Documents and Settings\jpm.BE0109\Application
Data\Microsoft\Internet Explorer\Quick Launch\Windows Portaal.appref-ms
resulted in exception. Following failure messages were detected:
+ Strong name signature not valid for this assembly
Microsoft.mshtml.dll.

ERROR DETAILS
Following errors were detected during this operation.
* [14/02/2008 15:27:57]
System.Deployment.Application.InvalidDeploymentException
(SignatureValidation)
- Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
- Source: System.Deployment
- Stack trace:...

Is there some one who can tell me how to correct this.

tnx
Jean Paul - ON7AMI
 
C

cyril.ferrand

Jean paul,

I have the same problem when I convert my project from VS2005 to
VS2008.
Do you find any issue ?

I only find there is three version of mshtml reference...I took this
one "C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies
\Microsoft.mshtml.dll".

Thanks for your answer.

Cyril.

Nicholas,

I use the one that comed with VS.NET on VS2005 all worked fine it is just
once I installed VS2008 that the error occured. I'll try to remove al
references and map them at new to see. The 'conversone' from my project from
2005 to 2008 dit not give any warning or error.
Ill see and if it comes not good, I will send MS a mail about it

Greetings and thanks for reply.

Jean Paul

"Nicholas Paldino [.NET/C# MVP]" <[email protected]> schreef
in bericht

Jeal Paul,
   Are you interoping with MSHTML yourself?  Or are you using the one that
already comes when VS.NET is installed?  If you are creating the MSHTML
reference yourself, you will have to use the TLBIMP utility from the
command line and use the /keycontainer or /keyfile switches to specify a
key to strong name the interop assembly with.
   If you are using the one that comes with VS.NET, then it would seem
that is a bug, and I would file it at the Microsoft Connect site, and then
generate your own interop wrapper to use (and sign yourself) as mentioned
above.
Jean Paul Mertens said:
Best all,
After installing VS2008 I have following error:
Windows form application, using .NET 2.0 and using the HTML viewer in
some windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clients upgrade there site they
get this error
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of C:\Documents and Settings\jpm.BE0109\Application
Data\Microsoft\Internet Explorer\Quick Launch\Windows Portaal.appref-ms
resulted in exception. Following failure messages were detected:
 + Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
ERROR DETAILS
Following errors were detected during this operation.
* [14/02/2008 15:27:57]
System.Deployment.Application.InvalidDeploymentException
(SignatureValidation)
 - Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
 - Source: System.Deployment
 - Stack trace:...
Is there some one who can tell me how to correct this.
tnx
Jean Paul - ON7AMI- Masquer le texte des messages précédents -

- Afficher le texte des messages précédents -
 
C

cyril.ferrand

I solve it !

VS 2008 Microsoft.mshtml.dll dont reference the C:\Program Files
(x86)\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll".
but a office DLL that was delay signed...
I change it and put "Copy local" parameter to True and it work.

Cyril.

Jean paul,

I have the same problem when I convert my project from VS2005 to
VS2008.
Do you find any issue ?

I only find there is three version of mshtml reference...I took this
one "C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies
\Microsoft.mshtml.dll".

Thanks for your answer.

Cyril.

Nicholas,
I use the one that comed with VS.NET on VS2005 all worked fine it is just
once I installed VS2008 that the error occured. I'll try to remove al
references and map them at new to see. The 'conversone' from my project from
2005 to 2008 dit not give any warning or error.
Ill see and if it comes not good, I will send MS a mail about it
Greetings and thanks for reply.
Jean Paul
"Nicholas Paldino [.NET/C# MVP]" <[email protected]> schreef
in berichtnews:[email protected]...
Jeal Paul,
   Are you interoping with MSHTML yourself?  Or are you using the one that
already comes when VS.NET is installed?  If you are creating the MSHTML
reference yourself, you will have to use the TLBIMP utility from the
command line and use the /keycontainer or /keyfile switches to specifya
key to strong name the interop assembly with.
   If you are using the one that comes with VS.NET, then it would seem
that is a bug, and I would file it at the Microsoft Connect site, and then
generate your own interop wrapper to use (and sign yourself) as mentioned
above.
--
         - Nicholas Paldino [.NET/C# MVP]
         - (e-mail address removed)
Best all,
After installing VS2008 I have following error:
Windows form application, using .NET 2.0 and using the HTML viewer in
some windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clients upgrade there site they
get this error
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of C:\Documents and Settings\jpm.BE0109\Application
Data\Microsoft\Internet Explorer\Quick Launch\Windows Portaal.appref-ms
resulted in exception. Following failure messages were detected:
 + Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
ERROR DETAILS
Following errors were detected during this operation.
* [14/02/2008 15:27:57]
System.Deployment.Application.InvalidDeploymentException
(SignatureValidation)
 - Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
 - Source: System.Deployment
 - Stack trace:...
Is there some one who can tell me how to correct this.
tnx
Jean Paul - ON7AMI- Masquer le texte des messages précédents -
- Afficher le texte des messages précédents -- Masquer le texte des messages précédents -

- Afficher le texte des messages précédents -
 
W

wrocca

Could you give the file path of the dll you are doing a "Copy Local"
with?

Thanks,
Will

I solve it !

VS 2008 Microsoft.mshtml.dll dont reference the C:\Program Files
(x86)\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll".
but a office DLL that was delay signed...
I change it and put "Copy local" parameter to True and it work.

Cyril.

Jean paul,
I have the same problem when I convert my project from VS2005 to
VS2008.
Do you find any issue ?
I only find there is three version ofmshtmlreference...I took this
one "C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies
\Microsoft.mshtml.dll".
Thanks for your answer.

On 15 fév, 15:09, "Jean Paul Mertens" <[email protected]>
wrote:
Nicholas,
I use the one that comed with VS.NET on VS2005 all worked fine it is just
once I installed VS2008 that the error occured. I'll try to remove al
references and map them at new to see. The 'conversone' from my project from
2005 to 2008 dit not give any warning or error.
Ill see and if it comes not good, I will send MS a mail about it
Greetings and thanks for reply.
Jean Paul
"Nicholas Paldino [.NET/C# MVP]" <[email protected]> schreef
in bericht
Jeal Paul,
   Are you interoping withMSHTMLyourself?  Or are you using the one that
already comes when VS.NET is installed?  If you are creating theMSHTML
reference yourself, you will have to use the TLBIMP utility from the
command line and use the /keycontainer or /keyfile switches to specify a
key to strong name the interop assembly with.
   If you are using the one that comes with VS.NET, then it would seem
that is a bug, and I would file it at the Microsoft Connect site, and then
generate your own interop wrapper to use (and sign yourself) as mentioned
above.
--
         - Nicholas Paldino [.NET/C# MVP]
         - (e-mail address removed)
Best all,
After installing VS2008 I have following error:
Windows form application, using .NET 2.0 and using the HTML viewer in
some windows:
a) In debug mode there is no problem, application runs well on my local
machine.
b) when I deploy using One-Click and my clientsupgradethere site they
get this error
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of C:\Documents and Settings\jpm.BE0109\Application
Data\Microsoft\Internet Explorer\Quick Launch\Windows Portaal.appref-ms
resulted in exception. Following failure messages were detected:
 + Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
ERROR DETAILS
Following errors were detected during this operation.
* [14/02/2008 15:27:57]
System.Deployment.Application.InvalidDeploymentException
(SignatureValidation)
 - Strong name signature not valid for this assembly
Microsoft.mshtml.dll.
 - Source: System.Deployment
 - Stack trace:...
Is there some one who can tell me how to correct this.
tnx
Jean Paul - ON7AMI- Masquer le texte des messages précédents -
- Afficher le texte des messages précédents -- Masquer le texte des messages précédents -
- Afficher le texte des messages précédents -- Hide quoted text -

- Show quoted text -
 

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

Top