Problem with RDLC Reports

Posted by Kulprachi84 under C# on 3/16/2012 | Points: 10 | Views : 2687 | Status : [Member] | Replies : 4
I have created Report files (.rdlc) in C# application but I have to place it in Debug->Bin folder for execution.
If I do not put those rdlc files in Debug->bin folder then reports are not getting displayed.
Is this because rdlc fails to publish report during run time? Or any other reason?
Please guide me for the same.

- Prachi.




Responses

Posted by: Sksamantaray on: 3/16/2012 [Member] Silver | Points: 25

Up
0
Down
Is it a WebApplication or Windows Form?
Let me know the steps you followed to create Rdlc report.

Thanks,
Sanjay

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/16/2012 [Member] Silver | Points: 25

Up
0
Down
I have created a WindowsApplication keeping the RDLC in Application Root and its working fine

Thanks,
Sanjay

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kulprachi84 on: 3/16/2012 [Member] Starter | Points: 25

Up
0
Down
Its windows application. I have dragged table control in the report and then dragged each column name from dataset (XSD) file.
.Net version is VS 2003.


Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/16/2012 [Member] Silver | Points: 25

Up
0
Down
I did the same in Studio 2008 and the reports working fine.
Try using the same in higher version once or let me know the step by step methods you followed to develop the report.
My steps:
1.I created a c# Windows Form Application
2.Then i Added a DataSet file and in Dataset file i added an tableadapter followed by i select my procedure.
3.Next I added a RDLC -The report file
4.As you said i have also added a table and then draged some fields from datasource
5.Then i added a Reportviewer control in form followed by selecting the Rdlc file.
6.Finally Run the form.
Thats it.
Try to follow the same and let me know

Thanks,
Sanjay

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response