Why do I get “Database logon failed” in Crystal Reports when using .NET object as datasource?

后端 未结 12 2275
故里飘歌
故里飘歌 2020-12-29 14:45

I am creating a simple report using a .NET object from my project as datasource, using SetDatasource() method. However, when I run the report I get \"Database l

12条回答
  •  [愿得一人]
    2020-12-29 15:11

    I started getting this dialog popping up after I changed the name of the .NET object my reports were referring to. To get rid the dialog, I had to ensure that none of my report sections or fields referred to the old name of the .Net object which was easy to spot. The fix for me was using the rename function in the Database Expert for the report.

提交回复
热议问题