Hi I have a windows form and a Crystal Report (.rpt) in my project. I am using crystal report viewer to view the report. But when I load the form it asks for the Database logon, i.e, username and password! My DB does not have any username and password, it has integrated security. I have tried checking the integrated security box, leaving the fields empty, but it is not logging me in! Please help, I cannot view the report because of this.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Use <startup useLegacyV2RuntimeActivationPolicy="True">
in the app.config file.