p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Crystal Reports (http://p2p.wrox.com/forumdisplay.php?f=113)
-   -   ASP.NET 1.1,VB.NET,crystal reports, SQl server (http://p2p.wrox.com/showthread.php?t=57171)

gvi April 26th, 2007 05:47 PM

ASP.NET 1.1,VB.NET,crystal reports, SQl server
 
I Seem to be going nuts ! I know it has to be simple but I am missing the link. I haven't used crystal reports with asp.net before. So pardom me if my problem sounds silly.

My requirement is very simple actually. I am using asp.net 1.1 with vb.net in vs.net 2003 with the inbuilt crystal reports control.

I have to connect to a sql server 2000 database to extract rows from a stored procedure which accepts a parameter and the report has to be in Mail label format.

I referred various books and web sites and according to that , added a crystal reports file to the project and selected the stored procedure and also the output fields that needs to be displayed.

In my webform added a report viewer control and also added report document and selected the report created in the report document control and also in the 'databinding' property of the 'reportviewer control' and added the reportviewer1.databind in the .vb page.

Acc.to the tutorial and books ishould have been prompted for parameter so I can enter the parameter value. But instead I got this big fat error :(


Specified argument was out of the range of valid values. Parameter name: value


And in the source error , this is what I am getting



         <form id="Form1" method="post" runat="server">
             <CR:CrystalReportViewer id=CrystalReportViewer1 accessKey="<%#cachedCrystalReport11%>" runat="server" >
             </CR:CrystalReportViewer>
         </form>


I am not sure what I am missing seriously. Also if somecan point to me a tutorial which simply explains how to connect a sql server stored procedure with parameters to get the output in asp.net using vb.net

Thanks in advance for reading patiently

GV

hu_yang September 11th, 2008 02:55 AM

Here you can find a step by step tutorial about crystal reports in vb.net . Hope it will help you.

http://vb.net-informations.com/cryst..._tutorials.htm

bruce.




All times are GMT -4. The time now is 03:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.