Solved

Register AITOOL.dll in windows used by vb program error 80004005

Posted on 2008-10-16
9
592 Views
Last Modified: 2012-05-05
Hi,

I'm trying to create a setup package in vb.net. One file I need is AITOOL.dll but it comes up with the error messgae dllregisterserver in "c:\Setup\AITOOL.dll" failed. Return Code 0x80004005. I've tried putting the command regsvr32 "c:\Setup\AITOOL.dll" into a run command but it comes up with the same message. I know you can register this as it registers correctly on the development pc but not on the fresh install of xp pc. Is there a file that AITOOL.dll needs to be able to register itself?

Hope you can help.

Many Thanks
Lee
0
Comment
Question by:ljhodgett
  • 3
  • 3
9 Comments
 
LVL 6

Expert Comment

by:wwnosal
Comment Utility
Maybe some dll that exists on development machine is missing on computer you're trying to deploy to..
You can use Dependency Walker to check if all dependencies of yours dll are present..
0
 
LVL 13

Expert Comment

by:TechTiger007
Comment Utility
You will get this error if you run regsvr32 without admin rights. (Eventhough if you are logged in as administrator)

The following link provides more detail
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsVista/AdminTips/ApplicationCompatibility/TroubleshootingRegsvr32Error0x80004005.html

Let us know if it fixed your issue
0
 

Author Comment

by:ljhodgett
Comment Utility
Hi,

Thank you for your comments. How do I use the dependency walker as when I look at the dependency folder in the solution explorer it does not show any dependencies. I have admin rights to the pc as I have tried registering other dll's. According to google AITOOL.dll is part of visual basic 6 but I don't want to install this as it defeats the object of the installer.

Best Regards
Lee
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 6

Accepted Solution

by:
wwnosal earned 500 total points
Comment Utility
You can get dependency walker from here:
http://www.dependencywalker.com/

Then just do File->Open and then navigate to your program/dll or whatever you are building. If there are missing dependencies they will be displayed in red. BTW you can use dependency walker to see which functions are exposed from dll, which other dll's are needed, which system dll's are used..
If you don't know how to interpret output from dependency walker just paste a screenshot out of it...
0
 

Author Comment

by:ljhodgett
Comment Utility
Hi,

by the looks of it I'm not sure if it is related to this dll that the program is not working. I've attached the screen shot so hopefully it will give you some information.

Many thanks
Lee
ss.bmp
0
 

Author Comment

by:ljhodgett
Comment Utility
sorry just relised it was 2mb!!!!
0
 
LVL 6

Expert Comment

by:wwnosal
Comment Utility
According to this screenshot your program cannot locate msjava.dll (at least, maybe there is more...). This might be the problem...
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now