• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

System.Runtime.InteropServices.COMException error with non Administrators

I developed a VB.Net application logged in with administrative rights.  I compiled it and ran the .exe and everything worked great, but when users without administrative rights log in, the .exe gave an access denied error.  So I logged in as a Power User and tried to run the solution through Visual Studio 2003, it said
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred

Additional information: COM object with CLSID {61F0022F-C7A0-4860-8DFC-FBF8CBCA2FB1} is either not valid or not registered.

Anybody know how I can fix this?

Thank you.
0
ucidcs
Asked:
ucidcs
  • 3
  • 3
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
Hi ucidcs,

There is an option in the installation saying "Just me" or "Everyone on this PC". Have you selected the second.

Cheers!
0
 
ucidcsAuthor Commented:
I'm running it through Visual Studio 2003, so since I haven't installed it, it hasn't asked me that question.
0
 
Éric MoreauSenior .Net ConsultantCommented:
And what is this COM component? It may have been installed only for the Admin account!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ucidcsAuthor Commented:
There are two COM, Interop.DocumentProcessor71 and Interop.LFSO71Lib.  If it was installed only for the Admin account, how can I correct this?
0
 
Éric MoreauSenior .Net ConsultantCommented:
is there any installer for these components. These installers may have the "everyone on this PC" option. You can also try to register (regsvr32) these 2 components under the power user account.
0
 
ucidcsAuthor Commented:
I registered (regsvr32) the 2 components logged in as a poweruser and that seemed to work.  Thank you for your help.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now