Solved

Program keeps crashing

Posted on 2011-03-08
8
297 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
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.

 
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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

930 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

10 Experts available now in Live!

Get 1:1 Help Now