Solved

Program keeps crashing

Posted on 2011-03-08
8
298 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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
 
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on 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…

830 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