View Single Post
  #1 (permalink)  
Old April 26th, 2007, 05:47 PM
gvi gvi is offline
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote