473,408 Members | 2,441 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,408 software developers and data experts.

ClassFactory failed due to the following error: 80070422

I am using Windows 2003 and i am getting this error when i am initilize the class object of DeviceManger that

"Creating an instance of the COM component with CLSID {E1C5D730-7E97-4D8A-9E42-BBAE87C2059F} from the IClassFactory failed due to the following error: 80070422."

Please if any help from your side!
Jan 31 '08 #1
9 25881
I am using Windows 2003 and i am getting this error when i am initilize the class object of DeviceManger that

"Creating an instance of the COM component with CLSID {E1C5D730-7E97-4D8A-9E42-BBAE87C2059F} from the IClassFactory failed due to the following error: 80070422."

Please if any help from your side!
I am getting the same thing in VS2005. The tooltip says something to the effect that it's trying to cast a variable with a number that is greater than infinity. To me, it sounds like the component itself is trying to do that and not the act of declaring the component, but I need to prove it before I can send a defect report back to development. This sucks!
Jan 31 '08 #2
Frinavale
9,735 Expert Mod 8TB
Are you guys running on Vista?
This error seems to be common with Vista updates...I also found a few mentions of it occurring in Visual Studio 2008...

I've read that if you have the "Windows Modules Installer" disabled that you will encounter this error.

To fix this:
  • Go to service management console (Start -> Run -> Services.msc)
  • Make sure that the 'Windows Modules Installer' is enabled
  • Then check for updates.
After updating hopefully your issues will be resolved.

-Frinny
Jan 31 '08 #3
I have resolved this error by enable the service WIA in windows 2003 ..
but now i am getting the following exception.

Exception Details: System.UnauthorizedAccessException: Creating an instance of the COM component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} from the IClassFactory failed due to the following error: 80070005.

What to do now????
Feb 1 '08 #4
Frinavale
9,735 Expert Mod 8TB
I have resolved this error by enable the service WIA in windows 2003 ..
but now i am getting the following exception.

Exception Details: System.UnauthorizedAccessException: Creating an instance of the COM component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} from the IClassFactory failed due to the following error: 80070005.

What to do now????
This is happening because your application does not have sufficient security rites to use the COM component.

You should look up Security in .NET...check out this article to get you started.
Feb 1 '08 #5
This is happening because your application does not have sufficient security rites to use the COM component.

You should look up Security in .NET...check out this article to get you started.

I am not getting much for security exception..
is any configuration i have to set for asp.net project for solving this error...
Feb 5 '08 #6
I am getting the same error . I have activated WIA servicethru service.msc and have done the Launch and Access settings in Dcomcnfg tool on Windows 2003 for WIA devie manager component

Still Error is there while instantiating WIA manager class. It works fine on development machine but gives error on web server
Nov 17 '08 #7
If you are using the wiaaut.dll you need to do a regsvr32 in the server.
Sep 7 '09 #8
Frinavale
9,735 Expert Mod 8TB
You also need to make sure that the ASP.NET account and worker process have permissions to use the DLL and likely the directory that it's in.

Give ASPNET permissions to read, write, and execute for now and see if it works
Sep 7 '09 #9
for the main post => I face the same issue and this is the solution :check the windows service => WIA => and shart it
Mar 15 '12 #10

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

Similar topics

1
by: Santiago | last post by:
When ever I run my visual studio.net and try to open an application I get an error message that says "ClassFactory cannot supply requested class". What can I do to get my visual studio to work?
4
by: acemann7 | last post by:
Windows 2000 udb v 7.2 Got the latest fixpak 13 Applied it. Still can't get a single java sp to run. I used to get reason "2"... now reason "0" - reason 0 is not even documented. I point...
0
by: Jeff Reed | last post by:
I am experiencing the the problem outlined the below. Unfortunately, I am using WinXP and I not sure if I can apply the solution due to lack of security control Any feed back would be apreciated ...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
0
by: Don Sheppard | last post by:
When I try to create a new project, I get the following error: "ClassFactory cannot supply requested class". I have looked every place I can think to look to try to fix this error, and to date I...
1
by: VTbassman | last post by:
I have an asp page that calls a dll that has been registered on the web server. It worked fine on our development server but now on our Model Office server I get a server.createObject error that...
2
by: ashish1985s | last post by:
I am using Windows 2003 and i am getting this error when i am initilize the class object of DeviceManger that "Creating an instance of the COM component with CLSID...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.