Basic Crystal Report Problem

T

Tina

I'm trying to do the example that Brian Bischof has in his Crystal Reports
sampler for his book.

I create a basic Employee List report, add a Reportdocument, hook up the
bindings, put the databind() in my page_load event. The report looks fine
at design time. But when I run it I get the following exception that I
don't understand.



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

<CR:CrystalReportViewer id=CrystalReportViewer1 style="Z-INDEX: 101; LEFT:
32px; POSITION: absolute; TOP: 16px" accessKey="<%# cachedEmployee_List1 %>"
runat="server" Width="1065px" Height="1057px" ReportSource="<%#
cachedEmployee_List1 %>">
</CR:CrystalReportViewer>

Anyone know what might be causing this?
Thanks,
T
 
R

robreab

I have the same problem. I figured out that you can go into the html view and delete the reference to accessKey=... It's apparently a parameter to set a shortcut key for setting focus. At least this will get you going.

http://msdn.microsoft.com/library/d...es/webcontrols/classes/shared/AccessKey_1.asp

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top