published reports don't work - Database logon failed Error

前端 未结 2 1541
盖世英雄少女心
盖世英雄少女心 2020-12-22 10:51

I am developing a simple web app that has 3 reports created on VS 2013, for some reason those reports run fine from developer mode, but when I publish the website they give

相关标签:
2条回答
  • 2020-12-22 11:31

    Besides "Database logon failed", does it say "Unable to connect: incorrect log on parameters"?

    If so, try this: https://stackoverflow.com/a/24578304/2248943

    And try these:

    1. kill the asp.net proccess (w3wp.exe or aspnet.exe) (it will restart) .
    2. if you are using a XSD file, check it's location path in the RPT, try to "set location" again; if it does not work, try to remove the tables and include them ok (this will be hard-working).

    I faced this problem many times and each case was solved by one of these actions.

    0 讨论(0)
  • 2020-12-22 11:40

    In my case the problem was that on IIS Application Pools/ my web app/ Advanced Settings the 32 bit Applications was disable and I wasn't including on my project the folder aspnet_client where crystal run-times files are storage, so the time I was publishing the app, those files wren't transferred. Once I enabled the connection and included that folder the issue got resolved.

    0 讨论(0)
提交回复
热议问题