Solved

Program keeps crashing

Posted on 2011-03-08
8
296 Views
Last Modified: 2012-05-11
I have a program that keeps crashing on the Windows 7 computer.  It works fine on XP.  The error message is a runtime 40006, which is network issue, but when I run ping test to the server the program communicates with, there are no dropped packets.  I have changed compatiblity to xp sp3 and to run as an admin.  I have turned off the firewall and uac.  the only thing fix that works is turning off the read-only on the System32 folder, but as soon as the user shutdowns the computer the settings get reset and the 40006 come back.  I have tried loading the dlls and ocxs from another folder but that does not help.  Any suggestions would be greatful.
0
Comment
Question by:rdare23
8 Comments
 
LVL 15

Expert Comment

by:wantabe2
ID: 35075460
try making the user a local admin in the user account settings
0
 
LVL 6

Expert Comment

by:Kody-Burg
ID: 35077376
If this is a network based program, have you opened the appropriate ports in the Windows Firewall? If not, try that. You might also want to try running the program with the firewall turned off. I researched your error on google, and found that some users resolved that issue by turning Windows Firewall off.

Please post back if this doesn't work. The name of the program would also be helpful.

Regards,

Kody
0
 
LVL 3

Expert Comment

by:sam0x01
ID: 35078949
Eith the application is either
creating a flie in the System32 folder  (will need local admin access) or
creating a file in a subfolder of the System32 folder (will need the subfolders permissions changed)
it is writing to an existing file in the System32 folder or subfolder (will need to change the permissions of the file)

See if you can run it in a compatibility mode prior to Windows Xp (Windows 98 would work).

Another approach would be to write a script to launch the program as an administrator user using runas.
0
 
LVL 1

Author Comment

by:rdare23
ID: 35083971
The users are set to local admins, but the issue continues.
The firewall has been disabled, and the issue continues.

Will try a lower compatibility mode than xp, and have already told the program to run as an admin.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:rdare23
ID: 35088843
Why would the runtime 40006 error only show up in Windows 7, we have windows xp computer run the program without the error?  Is there a service that windows 7 uses that xp does that would cause network issues.
0
 
LVL 3

Expert Comment

by:sam0x01
ID: 35090674
Found Fixing Runtime error: '40006'

If the VB6 runtime files are not installed and it is a VB6 application, it could be causing the error.

They can be downloaded from http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/vbrun60sp5.exe

Regards,

Shane
0
 
LVL 1

Accepted Solution

by:
rdare23 earned 0 total points
ID: 35245193
had to reinstall win7
0
 
LVL 1

Author Closing Comment

by:rdare23
ID: 35308479
this fixed the issue but not the solution i wanted.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 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

22 Experts available now in Live!

Get 1:1 Help Now