Having error when vb.net application is used in different OS

A .net application is used at XP OS and everything is working fine until the OS is changed to Windows 7. At first have an error "Retrieving the COM class factory for component with CLSID {4E084A82-8FE7-11D0-9125-0004AC3617E1} failed due to the following error: 80040154". I checked the registry and the reg file is missing so i input the file.

But now had a new error again which is "System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))".

The application is to connect to an IBM peak system and run some Macros from there.

Please advise me on this as I have been digging in this for quite long already and giving me headache.

Answers


You sure there was not some kind of pre-requisite install for this to run on the XP machine? It looks like maybe the application has a reference for a COM iterop that does not exist on the Windows 7 machine. I would recommend firing up Visual Studio and examining what references are included in the project. Possibly you installed something to support the IBM peak system that deploys the necessary COM component.


Is your application compiling as 'Any CPU'? It's a possibility that your Windows 7 64bit and your XP is running 32bit, which can cause havoc with COM objects.


Need Your Help

d3js forced directed cannot read from json

json d3.js

I have a simple json file which is :

Runtime filtering on IEnumerable objects with muiltiple conditions

c# .net linq ienumerable

I have collection of PersonCollection of type IEnumerable<Person>

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.