Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / May 2007

Tip: Looking for answers? Try searching our database.

mshtml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zion - 29 May 2007 20:22 GMT
My C# webservice uses the mshtml reference.
On my local computer it works fine but on my host server I get the error:
Parser Error Message: Could not load file or assembly 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The system cannot find the file specified.
How can I solve the problem?

Thanks
Nicholas Paldino [.NET/C# MVP] - 30 May 2007 20:21 GMT
The error stems from your code trying to find the interop assembly for
MSHTML.

   I would recommmend against using MSHTML in a webservice if you can avoid
it.  What exactly are you doing with the MSHTML library?  If you are doing
just downloading and simple parsing of the code, then you can use the
HttpWebRequest/HttpWebResponse classes to do that.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> My C# webservice uses the mshtml reference.
> On my local computer it works fine but on my host server I get the error:
[quoted text clipped - 4 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.