PC Review


Reply
Thread Tools Rate Thread

Problems with mshtml.dll after installing VS2008

 
 
Jean Paul Mertens
Guest
Posts: n/a
 
      15th Feb 2008
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


 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      15th Feb 2008
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 Removed)

"Jean Paul Mertens" <(E-Mail Removed)> wrote in message
news:(E-Mail 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
>


 
Reply With Quote
 
Jean Paul Mertens
Guest
Posts: n/a
 
      15th Feb 2008
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]" <(E-Mail Removed)> schreef
in bericht news:4116B76B-48A8-40B7-A8E1-(E-Mail Removed)...
> 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 Removed)
>
> "Jean Paul Mertens" <(E-Mail Removed)> wrote in message
> news:(E-Mail 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
>>

>



 
Reply With Quote
 
cyril.ferrand@gmail.com
Guest
Posts: n/a
 
      18th Feb 2008
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.

On 15 fév, 15:09, "Jean Paul Mertens" <ON7...@newsgroups.nospam>
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]" <m...@spam.guard.caspershouse.com> schreef
> in berichtnews:4116B76B-48A8-40B7-A8E1-(E-Mail Removed)...
>
>
>
> > 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]
> > * * * * *- m...@spam.guard.caspershouse.com

>
> > "Jean Paul Mertens" <ON7...@newsgroups.nospam> wrote in message
> >news:(E-Mail 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 -


 
Reply With Quote
 
cyril.ferrand@gmail.com
Guest
Posts: n/a
 
      18th Feb 2008
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.

On 18 fév, 10:14, cyril.ferr...@gmail.com wrote:
> 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.
>
> On 15 fév, 15:09, "Jean Paul Mertens" <ON7...@newsgroups.nospam>
> 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]" <m...@spam.guard.caspershouse.com> schreef
> > in berichtnews:4116B76B-48A8-40B7-A8E1-(E-Mail Removed)...

>
> > > 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]
> > > * * * * *- m...@spam.guard.caspershouse.com

>
> > > "Jean Paul Mertens" <ON7...@newsgroups.nospam> wrote in message
> > >news:(E-Mail 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 -


 
Reply With Quote
 
wrocca
Guest
Posts: n/a
 
      19th Feb 2008
Could you give the file path of the dll you are doing a "Copy Local"
with?

Thanks,
Will

On Feb 18, 3:52*am, cyril.ferr...@gmail.com wrote:
> 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.
>
> On 18 fév, 10:14, cyril.ferr...@gmail.com wrote:
>
>
>
> > 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.

>
> > Cyril.

>
> > On 15 fév, 15:09, "Jean Paul Mertens" <ON7...@newsgroups.nospam>
> > 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]" <m...@spam.guard.caspershouse.com> schreef
> > > in berichtnews:4116B76B-48A8-40B7-A8E1-(E-Mail Removed)...

>
> > > > 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]
> > > > * * * * *- m...@spam.guard.caspershouse.com

>
> > > > "Jean Paul Mertens" <ON7...@newsgroups.nospam> wrote in message
> > > >news:(E-Mail 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 -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vista 30 seconds slow after installing vs2008 hm Windows Vista General Discussion 7 8th Apr 2008 02:52 AM
Problems with mshtml.dll after installing VS2008 Jean Paul Mertens Microsoft Dot NET 5 19th Feb 2008 10:21 PM
Problems with mshtml.dll after installing VS2008 Jean Paul Mertens Microsoft C# .NET 5 19th Feb 2008 10:21 PM
Installing ADO.NET Entity Framework on VS2008 RTM Ralf Rottmann \(www.24100.net\) Microsoft C# .NET 0 21st Nov 2007 02:52 AM
New mshtml problems! :( J.M.Piulachs Microsoft C# .NET 0 20th Nov 2003 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:57 AM.