Click here to Skip to main content
15,998,231 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Unable to connect the sql server database through vb6 and vc++ Application. While developing the application its work in our side. But unable to connect the database in production team Systems. Any supporting files or .dll files are need for connecting database..?. Plase help me to solve this issue.
Posted
Updated 15-Aug-12 18:05pm
v2
Comments
barneyman 16-Aug-12 1:12am    
what errors are you getting? can you talk to the DB using other tools?
kavin1989 16-Aug-12 5:18am    
Hi,

I cant able to debug the code in production Systems. During connection statement execution the error has been occurred. our application is maintained as dll file.

Thanks
barneyman 16-Aug-12 5:21am    
that's why you should always catch and log errors in your code ...

Again, can you connect to the Database with SQL Management console?
kavin1989 16-Aug-12 5:25am    
MDAC.exe is need to install on that systems???. i have read in some sites. In that mentioned about MDAC.
barneyman 16-Aug-12 5:28am    
for the third ... and last time .....

can you connect to the Database with SQL Management console?

Do not start throwing things at a production system - establish what the problem is, replicate it in your development environment, and solve it there

1 solution

Hi,

I cant able to debug the code in production Systems. During connection statement execution the error has been occurred. our application is maintained as dll file.

Thanks.
 
Share this answer
 
Comments
Simon_Whale 16-Aug-12 5:09am    
do the required users have access to the database in question?
kavin1989 16-Aug-12 5:25am    
we connect the database through coding using common username and password for all applications.
kavin1989 16-Aug-12 5:17am    
we connect the database through coding using common username and password for all applications.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900