简体   繁体   English

水晶报表登录失败

[英]Crystal Report Logon Failure

I am getting error while opening Crystal Report from my asp.net application at production server. 在生产服务器上从asp.net应用程序打开Crystal Report时出现错误。 Credentials are define in web.config . 凭据在web.config中定义。 In web.config we have userid , password , server and database name . web.config我们具有useridpasswordserverdatabase name here is the error: 这是错误:

Logon failed. 登录失败。 Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. 详细信息:ADO错误代码:0x源:ADODB.Connection描述:找不到提供程序。 It may not be properly installed. 它可能没有正确安装。 Error in File C:\\Windows\\TEMP\\OrderAudit {5A4491A4-BFD5-4EA4-8806-94A7CED3467A}.rpt: Unable to connect: incorrect log on parameters. 文件C中出错:\\ Windows \\ TEMP \\ OrderAudit {5A4491A4-BFD5-4EA4-8806-94A7CED3467A} .rpt:无法连接:登录参数不正确。

When I connected to my production database server from my localhost reports are opening okay. 当我从本地主机连接到生产数据库服务器时,报告打开正常。 any solution? 任何解决方案

Crystal is trying to tell you that the ADO database provider is not installed on the machine. Crystal试图告诉您计算机上未安装ADO数据库提供程序。

For example, if you are connecting to an Oracle database, then the Oracle driver needs to be installed on the ASP.Net server. 例如,如果要连接到Oracle数据库,则需要在ASP.Net服务器上安装Oracle驱动程序。

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=15748下载并安装sqlncli.msi(SQL Native Client驱动程序)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM