I encounter this with any program I write. But when I want to run my program on another computer which only has CR26 runtime installed, it gives an error on calling SetDataSource method for report as below: (0x800002CD): Error in File temp_04020c6d-5b84-40d9-8558-bf87b6d5e554 4840_5464_.rpt: Failed to load database information.Īt .ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)Īt .SetDataSource(Object val, Type type)Īt .SetDataSourceInternal(Object val, Type type) With the Crystal Report Web Camera, you have to store the Report Document in a Session and use that as the DataSource anytime the page is in Post Back. When I run program through VS all is good and reports show without error. the other issue is the user that the site is running as in IIS - make sure it does have access to where the files are located. The issue is usually installing the correct crystal reports runtime on the server, by correct I mean 32 or 64 bit - depending on how the iis website is set up. TaAccArticleFields_TBL.Fill(ds1.AccArticleFields_TBL) I have had similar issues with deploying crystal reports. something like this in Visual Basic.Net: Dim ds1 As New DataSet1() My code read data into ADO.NET dataset and I set those datases as datasourse of my reports. I'm working on Visual Studio 2019 and Crystal Report Service Pack 26.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |