Skip to Content
Former Member
Jul 10, 2009 at 01:54 PM

CR Viewer - report shows but with Javascript error "theForm is undefined"



I'm using the crystalreportviewer to display a report in our web application. On most environments we've been using (for development and testing) it's all working fine.

However, on my development machine and now on one of our testing environments, we get the javascript error once the report had loaded in the viewer. It renders the buttons (print, export, paging. etc) useless.

Has anyone seen this before and know how to fix it?

We're using Crystal Reports Server Embedded 2008, .net 3.5 and the crystalreportviewers12 virtual directory is a sub-directory of the website virtual directory.

The testing machine is a clean build of Windows 2003. I'm running Windows XP on my machine. Other machines with these configurations appear to be OK.

Any ideas?

Many thanks,