VC连数据库就失误

VC连数据库就出错
为什么我的VC编程一运行到连接SQL是就弹窗出错,错误提示是“this application has requested the Runtime to terminate it in an unsual way.please contact the application`s support team for more information.”


编译都没问题的
这是为何呀?亲们
------解决方案--------------------
严格检查数据库链接语句!必要时,可以建立udl文件进行链接测试。
------解决方案--------------------
看看是不是sql语句有问题?
没问题看看不是数据库没开启吧