Solved

Error in vb6 application exe in windows 7 environment

Posted on 2014-03-29
6
1,415 Views
Last Modified: 2014-04-01
My application working in windows xp fine. After we changed the exe in windows 7 almost 95% working fine. Some place we are getting the error like . How to resolve it

run time error 20534 error detected by database dll
0
Comment
Question by:imran786
  • 3
  • 2
6 Comments
 
LVL 22

Accepted Solution

by:
rickhobbs earned 500 total points
ID: 39964573
Run the vb6 code in debug mode and post the line it is failing on here.
0
 
LVL 1

Author Comment

by:imran786
ID: 39964591
No. We can't  run with dedug mode in vb6 application in windows7 .
0
 
LVL 22

Expert Comment

by:rickhobbs
ID: 39964595
Why?  Have you not resolved the IUSR or IWAM_machine issues to allow debug to run?  If not, the resolution to the debug issues is here.  I implemented the debug fix about a year and a half ago and it works.
http://stackoverflow.com/questions/8728958/how-can-i-debug-a-vb6-iis-application-on-windows-7-64-bit
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:imran786
ID: 39964615
visual basic we can not install in window7 environment. Now my exe application I kept in windows 2003 server and all other clinet PC (windows xp) accessing the short cut from windows 2003 server. It is working fine. Now we changed client pc as windows 7. after tht most of the things are working . Some place I am getting error as Microsoft ODBC driver Manager .Data source  name not found and no default  driver specified.  when I am clcik on simple find form I am getting this error msg. All other screen are working with data populated. Plz let me know how to resolve it. My dsn connection is correct
0
 
LVL 18

Expert Comment

by:Peter Hutchison
ID: 39964761
Where DLL references do you have in your VB6 app.?

When I upgraded clients, I had to update my app with references to latest DLLs. For example, ADODB references had to be updated form the v2.8 to v7 to work on newer clients.
0
 
LVL 22

Expert Comment

by:rickhobbs
ID: 39965174
Make sure the following dlls are referenced in your app:

If you installed ur package some where and getting this error then just make a check for the list of DLLs mentioned below, if any of them is not present in ur package then manually add it.

' FOR VB 6.0
MSVBVM50.DLL
MSVBVM60.DLL
msvcp50.dll
msvcp60.dll

'For SQL connection
P2ssql.dll
P2lsql.dll

'For Crystal reports
craxddt.dll
craxdrt.dll
Crpaig80.dll
crviewer.dll
Crxlat32.dll
Implode.dll
itircl.dll
itss.dll
MSADODC.OCX
MSBIND.DLL
MSSTDFMT.DLL
MSVCRT.DLL
MSVCRT40.DLL
msvfw32.dll
OLEAUT32.DLL
OLEPRO32.DLL
P2smon.dll
p2sodbc.dll
p2soledb.dll
SHLWAPI.DLL
sscdlg.dll
sscrc.dll
sscsdk80.dll
STDOLE2.TLB
u252000.dll
u25dts.dll
u2dapp.dll
u2ddisk.dll
u2dmapi.dll
u2dnotes.dll
u2fhtml.dll
u2frtf.dll
u2ftext.dll
u2fwks.dll
u2fwordw.dll
u2fxls.dll
u2l2000.dll
URLMON.DLL

per  
http://forums.codeguru.com/showthread.php?373772-Error-20534-quot-Error-detected-by-database-DLL-quot
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

747 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

12 Experts available now in Live!

Get 1:1 Help Now