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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiled in win 7 not working in xp pro.

Status
Not open for further replies.

baran121

Programmer
Sep 8, 2005
337
TR
hi everyone,
i compiled my program in windows 7 ultimate, but .exe is not working in windows xp pro. so i made setup in package and dep. so it is not working either.
please help me?
 
Can you provide more detail than "not working?"

Windows 7 SP1 broke binary compatibility on ADO classes, which will prevent a program using them from working on anything else but Windows 7 SP1 if you compile there. This is the only issue I can think of right now without more information.
 
not working" means when i try to connect to sql server it can not connect.
for setup , when i tried to setup it can not continue after all steps finished (1..7).
please help me.
thanks.
 
Can you provide the actual error descriptions you see? With any error numbers if possible?
 
i think i must use windows xp mode? is there any other solution?
 
I don't think we even know what the problem is yet. We need more specific information.
 
baran,
Have you validated the following:
The web.config has the correct values
you can ping the sql server from the XP machine
You are not compiling in 64bit mode, and trying to run on a 32 bit machine.
What error is you application actually throwing?

Lodlaiden

If [blue]you have problems[/blue], I want [green]source code[/green] AND [green]error messages[/green], none of this [red]"there was an error crap"[/red]
 
Have you run Windows update?
In addition, are you using the same version of SQL on both machines?
Are you using ODBC connections?
Do you write to the registry or any other location where permissions may be required?
Are you referencing a file whose version is higher in Windows 7 than Windows XP and thus it cannot be used?
Have you clicked OK to update the files?

If at first you don't succeed, then sky diving wasn't meant for you!
 
thank you.
yes i run windows update. it means xp sp3 and other update included.
i have sql server 2000 and sql server 2008 express on windows 7 and sql server 2000 on xp mode.

i use ODODB.

no i dont use a file that higher.

 
The setup error in your screenshot can be caused by several things. The most common ones are (1.) the system's TEMP folder is not on the system partition and (2.) you are trying to install system files that you should not even have in your package.

Most likely the second one.

Do not try to install bits and pieces of MDAC (msado15.dll, etc.). You have to install the whole MDAC_TYP.EXE package.

However Windows XP already has MDAC anyway, and it is serviced as part of the OS so you should not package it at all. In most cases you should not even package the VB6 runtime.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top