ASP虾米求救(ASP代码奇怪报错)!!!
我在gloab.asa文件中写道:
Sub Application_OnStart
application("connectstring")="DSN=sfa;uid=sfa;pwd=sfa123"
application("connectstring2")="DSN=ES002;uid=sapuser;pwd=sapuser"
End Sub
因为我这个程序需要访问两个数据库,所以建立了两个连接,程序能够正常执行
后来由于服务器需要移到另外一个机器上,因此上面的连接变成了:
Sub Application_OnStart
application("connectstring")="DSN=sfa;uid=sfa;pwd=sfa123"
application("connectstring2")="DSN=ES001;uid=sapuser;pwd=sapuser"
End Sub
在数据源中ESOO2对应的Server 是 Prcy-intra002
ESOO1对应的Server 是 Prcy-intra001
结果程序在ES001上面能够成功执行,但是切换到ES001上面,系统执行就会出现提示:
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot resolve collation conflict for equal to operation,
/sfa/content/sku/PP_AllocationStatus.asp,行224
行224调用的是一个存储过程,存储过程中使用的Table在两个数据库都存在,
各位大侠能不能给我提示,是什么情况导致出现这个错误.