LoveUnix » DB2 & Informix » 救命啊,INFORMIX的NET里ODBC连接打开不能问题
让LU留住您的每

一天 让LU博客留住您的每一天
2007-9-1 10:22 星云幻想
救命啊,INFORMIX的NET里ODBC连接打开不能问题

:mad 我用的是ODBC连接方式,连接字符串是用DSN来连,在WINFORM上可以实现
但是在WEBFORM却报错
连接驱动是INFORMIX3.34 32 BIT
当要打开连接的时候出现



[i]ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified[/i] [font=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif][b]Description: [/b]An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

[b]Exception Details: [/b]System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

[b]Source Error:[/b]

[table=98%,#ffffcc][tr][td]Line 132:            if (this._con.State == ConnectionState.Closed)Line 133:            {[color=red]Line 134:                this._con.Open();[/color]Line 135:            }Line 136:        }[/td][/tr][/table][/font]


555555555,希望大家能帮忙:sad

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.