Skip to Content
0
Former Member
Jan 19, 2009 at 10:16 AM

Subreports prompting for linked parameters

31 Views

Hi,

I am usng C#.Net with SQL Server 2005 as backend.Crystal reports that come along with VS2005 are used for reporting purposes.

In one of my reports there are about 4 subreports,each of which are linked to the main report by the same two parameters.The problem i am facing is that when exe is run on my machine the reports work fine,while the same reports prompt for the linked parameters and then for login information when exe is run on a different machine (only when attached to a different server(with exactly the same tables and procedures)).If the exe is attached to the same server thereis no problem at all.

I tried out many things including applying a hotfix patch(crnet20win32x86_en_chf).This didnt work execept that the rport now asked only for login information an not linked parameters.

The next thing i tried was to place the problematic report outside the exe(i designed the report using crystal report 9.0) and linking it to the exe using config file.This worked fine.I want to avoid this as the report will have to be placed in a separate folder in the client's machine and this would be risky.

Hope someone helps me to solve thi problem.

Thanks in advance...

Sunitha