Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

0x00000000 error when installing a package

Status
Not open for further replies.

SLamb88

Programmer
Apr 4, 2002
9
US
I just wrote a rather simple VB 6.0 program, and created a package using Visual Studio's Package and Deployment Wizard. Everything appears to have gone fine. However, when I run setup.exe, I get the message that:
The instructions at "0x00000000" referenced memory at "0x00000000". The memory could not be "Read".
Clicking on cancel launches the debugger, which opens with the message:
Unhandled exception in Setup1.exe:0xC0000005: Access Violation
Does anybody have any insight into what could be causing this?
Thanks,
Steve
 
I don't know, but if you can trust the message from the debugger - "Access Violation", then I would insure that you have write permissions to all of the directories in which you're trying to install some files. That may include the Windows\System (or equivalent) and/or other directories, especially if you're trying to install on a network drive. It may be that you have to logged in as an "admin" user to install the program. Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Thanks for the info. I checked all the security rights and everything looks good, but jsut to be sure I logged onto the machine locally as "Administrator" and it still blew up. However, I now think it's something with my machine, because it ran fine on another. This may be something that just has to be chalked up to the Perils of Microsoft.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top