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