473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dot Net application running on Vista but not on XP

4
Hi,

I have created an application in csharp that captures image from digital camera using WIA. The application runs fine on Vista but when I deply it and run it on XP, it generates following exception

System.Runtime.InteropServices.COMException (0x8007007F): Retrieving the COM class factory for component with CLSID {E1C5D730-7E97-4D8A-9E42-BBAE87C2059F} failed due to the following error: 8007007f.
Why is this happening??
Dec 10 '09 #1

✓ answered by dev9

I have found the reason.

This Error is basically due to WIA compatibility with XP. XP support WIA 1 [WIALib] ( wiascr.sll ) while Vista supports WIA 2 [WIA] ( wiaaut.dll ). so we need to use different dll for different OS.

6 3423
Frinavale
9,735 Expert Mod 8TB
You forgot to install something on the XP machine that the application uses.

This is a COM component which requires you to register it in the Windows Registry.

-Frinny
Dec 10 '09 #2
dev9
4
@Frinavale
Frinny, I have created a setup for deployment. The setup automatically finds all the dependencies or COMs and includes it in setup.

Important point is this that the same setup works fine on other Vista Machines but not working on XP machines. Any Idea ???
Dec 11 '09 #3
Frinavale
9,735 Expert Mod 8TB
I don't really have any other ideas.
Whenever I see this error I know that a COM component has not been registered into the Windows Registry.

The registry is very different on Vista than it is on XP so the reason could be complicated. I, at least, don't know.

I would try using the regsvr32 tool to uninstall and reinstall your COM components to see if it fixes the problem.

Beyond that, check that the Windows user account that using the application has permissions to execute/access the COM components too. If your COM component is in a folder that the Windows user is not permitted to access...or the COM component itself has been installed with low trust permissions set for that Windows user then you may also see this kind of error.

-Frinny
Dec 11 '09 #4
dev9
4
Thanks for your reply Frinny.

The component which is causing problem is Microsoft Windows Image Acquisition ( WIA ) which is available by default in VS 2008. If other components are working fine on Vista & XP .. then why this may behave differently ??
Dec 11 '09 #5
dev9
4
I have found the reason.

This Error is basically due to WIA compatibility with XP. XP support WIA 1 [WIALib] ( wiascr.sll ) while Vista supports WIA 2 [WIA] ( wiaaut.dll ). so we need to use different dll for different OS.
Dec 16 '09 #6
Frinavale
9,735 Expert Mod 8TB
:) I'm glad you solved your problem :)
Dec 16 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
3
by: Vlad Hrybok | last post by:
Hi all, I recently installed 64 bit version of Vista hoping to make it my primary development setup. I was able to do work with IIS7 and ASP.NET 2.0/Visua Studio 2005 combo, but hit a roadblock...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
6
by: > Adrian | last post by:
An application I wrote installs ok on W98 and XP. When installed it asks for Framework 1.1. When the application is installed on Vista and Framework 1.1 is made available, the application installs...
8
by: chu2ch | last post by:
Good Day Folks, We have an .net 2.0 application that has been working reasonably well in windows xp, we have installed our application on windows vista business and have noticed a significant...
60
by: jim | last post by:
I am looking for an application that will wrap my .Net application (and any needed .Net parts) into a single exe. I know of Thinstall ($4,000 for application and per copy fees for your exes) and...
5
by: HvLa | last post by:
I've just installed Visual Web developer 2008 and tried to run my first ASP.net web site. When I run it on my Vista Business PC I got an error "Page can not be displayed". What should I check to...
9
by: Joergen Bech | last post by:
I have an app that needs to run with elevated privileges on Windows Vista (Registry operations - don't ask). I have added a manifest file that looks like this: ---snip--- <?xml version="1.0"...
2
by: Stephan | last post by:
Dear All, I have recently implemented a program in my workplace which is meant to be a client-server desktop application. Among 5 of my users, 4 of them are running on Windows XP and 1 of them...
1
by: Cupric | last post by:
I have a python script that runs fine from the command line or from within IDLE, but doesn't work through the Vista Task Scheduler. The script downloads some csv files and then uses pywin32 to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.