.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

64 bit OS and Microsoft.mshtml issue

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :.NET Framework




I have an application developed on a 32 bit machine using .net framework 2.0. One of the module of the application uses Microsoft.mshtml namespace. The application runs fine on a 32 bit OS, but when I try to run the same application on a 64 bit OS, the module using this namespace(Microsoft.mshtml) fails to run. Rest Of the application is running absolutely fine. It is not even generating any error message which I can provide here. I have installed the Primary interoperatiblity assemblies Assemblies 2005 since this helped me fix this issue on 32 bit Windows 2000 server. Is it so that 64 bit OS need interop assemblies specifically designed for 64 bit OS ? or this is something else.



Please Help Me On This Issue.





View Complete Post

More Related Resource Links

Microsoft.mshtml / mshtml.dll versioning and reference issues

Hi, Couldn't find a more relevant section to put this in, so I'll throw it here as I'm coding in C#, although that doesn't really matter. I'm using .NET 4, trying to add a reference to mshtml, and I want to have all the capabilities depending on the version the client has installed. If I add a reference to the COM component called 'Microsoft HTML Object Library', the reference is labelled "MSHTML" and the path points to an assembly in the GAC called 'Microsoft.html' for some reason. Even though I have IE8 installed, it is still missing the IE8 interfaces, which makes me think it is just pointing to the Microsoft.html.dll wrapper instead of generating the reference from the actual COM compoment. The Microsoft.html.dll wrapper is missing the IE8 interfaces, and from what I can tell, this wrapper is somewhat unnecessary with the .NET 4 "Embed Interop Types" feature. The other thing that scares me is the "Specific Version" field on the reference, which is set to true, and I can't change it. What if someone has a lower version of "Microsoft HTML Object Library" than my dev machine? EDIT: Sorry, got a little confused between adding a reference to Microsoft.mshtml .NET assembly and directly to the COM component.  If I add the reference to the COM component, "Specific Version" isn't available in the properties, bu

My Site Issue: "The evaluation version of Microsoft Office SharePoint Server 2007 for this server ha


Hi Guys,

when i opened my site am getting following error, but moss 2007 server is Licensed Verison.


Thanks  Advanced.



Issue using FastLoad option in Microsoft OLEDB Provider for DB2 v3.0


Hi All

We are migrating a few DataStage jobs to SSIS 2008 and below is an issue that is bothering me.

I am trying to use the FastLoad option of the Microsft OLE DB Provider for DB2 v3.0 but have been unsuccessful. I am trying to run a simple package that loads the data from one DB2 table to another without any transformation.

The reason I am exploring the fast load is because the normal option of OpenRowset does not perform as well the DataStage job to load the same amount of data, its almost 10 times slower.

DB2 version 9.5 Fixpack 5

SSIS 2008

Error msg

[OLE DB Destination [79]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available.  Source: "Microsoft DB2 OLE DB Provider"  Hresult: 0x80040E14  Description: "An internal network library error has occurred. A network level syntax error has occurred. SQLSTATE: HY000, SQLCODE: -379".

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (79) failed with error code 0xC0202009 while processing input "OLE DB Destination Input" (92). The identified component returned an error from the ProcessInput method. The error is specific

Microsoft SQL server 2005 database LDF MDF files attaching issue


Dear all,

Last month our Windows 2003 server hardware raid was failed, all live databases available on this raid partition, now we have recover all databases which MDF and LDF files.

 Below is the error snap link. http://cid-51b01a6564f704c6.photos.live.com/self.aspx/Kamran/Error%20Snap.png

We are in the process of attaching the Recovered Database “nice_interactions ” using .MDF and .LDF files; it prompts the Following error [Please view the snapshot below for reference]. Kindly advise further how to restore or attach database using .MDF and .LDF files which is not cleanly shutdown.

Microsoft SQL forwarding to following URL in the Detail of below  listed Error while we are trying to attach the recovered .mdf file.



Need help in this regards.

Kamran Khan


Microsoft.Office.Interop.Excel, Version= issue


Hello Friends,

I just got a new computer. Running VS2008 professional with MS Office 2010 on a Win 7 64-bit machine... 

I am using the Excel in my Web Site (NOTE: It is not a Web App so I do not have a csproj file in there) 

I am getting this error on my Windows 2003 Web servers (I have 2 of them): 

Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I am assuming this has something to do with MS Office 2010 (office 2003 is installed on the servers) 

Microsoft.Office.Interop.Excel dll files from my directory and picked the version 11. This error message still comes up. 

Please HELP!!!! Thanks

microsoft management console issue in SQL Server 2000


Hi Team,

I have an issue starting the management console (enterprise manager), Installed SQL Server 2000 and when i try to open the enterprise manager got a pop-up Microsoft management console the selected file cannot be found.

more info installed using my username but am not the admin of the machine is this causing the issue, though i didn't face any issue in the installation and i haven't restarted the server after installation.

Any help would be greatly appreciated!!



Connection pooling issue with microsoft enterprise library in mysql


I am using microsoft enterprise libarary to connect to mysql using mysql .net connector (latest version 6.2.3)

But i am facing a problem of too many connections and connection pool reached maximum limit issue.

As connection is disposed by enterprise library iteself so i dont close the connection anywhere.

So after two or three hours i found i have 100 mysql connections in sleep mode which are doing nothing and are not being reused from the code .

So i want to ask is there any issue with my code or is there any issue with mysql connector

please suggest me a solution so that i can rectify this issue as it is causing a lot of trouble to me.


Ajay Singh Beniwal

Download issue - microsoft digital river


I bought a download on line from "microsoft" office home and students. 1 all mdetails were taken for mycredit card and i clicked downlod 2 as nothing happened i then re-entered the details - boom i get told no they will send you an e-mail and in 4 to 6 hours time - on speaking to microsoft in the uk i am told digit river is a partner of microsoft. BUT who do I speak to in this regard - my credit  payments on my credit card) card details have been taken - but no wnloads (and it sems i have now like a..hole i am will find two-i am in south africa inthe bush.

regards to all>>>>will never buy on line from microsoft again


Download issue - Microsoft .NET Framework 3.5 Service Pack 1.


To whomever can assist.

I would greatly appreciate if someone could help me troubleshoot the download issues I am having with Microsoft .NET Framework 3.5 Service Pack 1.



Here is the log entry:

[11/26/10,10:34:14] Microsoft .NET Framework 3.5 (x64) 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) 'package'. MSI returned error code 1603
[11/26/10,10:34:31] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.5 (x64) 'package' is not installed.
[11/26/10,10:45:59] WapUI: [2] Setup requires 398 MB of free space on System Drive, but only 279 MB is available.
[11/26/10,10:46:05] WapUI: [2] User has decided to continue
[11/26/10,10:46:10] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Failed to fetch setup file in CBaseComponent::PreInstall()
[11/26/10,10:46:10] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467260.
[11/26/10,10:46:11] setup.exe: [2] CSetupManager::RunInstallPhase() - Call to Pre/Install/Post for InstallComponents failed
[11/26/10,10:46:11] setup.exe: [2] CSetupManager::RunInstall

Microsoft.Interop.Security.AzRoles registration issue


Hi All,

I am facing an issue with the Azroles dll when using with a Smart client application. 

Below is the complete exception:

Handling instance: fb5809ad-828d-45b6-873a-5dd0d4e65cf5

Date and time: 30/11/2010 11:47:00

Machine name: LDSCXA3

IP Address:

Current User: ITVPLC\AdarSree

Application Domain: ConMaint.exe

Assembly codebase: file:///M:/Program Files/Genersys/ConMaint.exe

Microsoft AJAX CDN

Content delivery networks (CDNs) are composed of "edge cache" servers that are strategically placed around the world at key Internet network points. These "edge cache" servers can be used to cache and deliver all types of content - including images, videos, CSS and JavaScript files.

Using a CDN can significantly improve a website's end-user performance, since it enables browsers to more quickly retrieve and download content. For example, instead of having a browser request for an image traverse all the way across the Internet to your web server to download, a CDN can instead serve the request directly from a nearby "edge cache" server that might only be a single network hop away from your customer (making it return much faster - which makes your pages load quicker).

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

CLR Integration With Microsoft SQL Server

Transact-SQL provides as much flexibility as possible but, because it is not a real programming language, it has some shortcomings about many issues (memory management, exception handling, debugging, file processing (or streaming), object-orientation (classes), or thread management). Transact-SQL also lacks features of normal libraries (arrays, collections, serialization, expressions, or string manipulations, etc).

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

Building Layered Web Applications with Microsoft ASP.NET 2.0 - Part 1

"Building Layered Web Applications" that shows you how to build N-Layer applications with Microsoft ASP.NET 2.0. These articles teach you how to design, build and use custom business objects in your web application. The target audience for this series are developers that are ready to make the switch from using SqlDataSource controls to ObjectDataSource controls with custom business objects. Experience with ASP.NET 2 and C# is necessary while some knowledge about object oriented design certainly helps. The design I am going to show you in these articles is a simplified version of a design you would use in a real world application. It doesn't feature all the necessary functionality your application needs, but instead focuses on the underlying concepts.

Microsoft StyleCop: Source Code Analyzer for C#

StyleCop is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

Microsoft SharePoint Online Standard Developer Guide

Developers Guide for SharePoint Online (Standard Offer). Microsoft® Office SharePoint® Online is a collection of Web-based tools and technologies built on Microsoft Office SharePoint Server 2007 that help you store, share, and manage digital information within your company. This white paper describes the customization (or extensibility) capabilities that are supported with the Standard offering of SharePoint Online
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend