CR and asp dot net

Posted on 2003-03-05
Medium Priority
Last Modified: 2012-06-21
starting an application in asp.net and want to use crystal reports  to view and export data.
all articles are based on using design interface through the Visual studio dot net which i don't have. is there a way to build this without using visual studio.
isn't it possible to just call the crystal report viewr namespaces ?
and should I install both Crystal Reports version 9 and Report application server on the IIS.
please guide to how to start this without using Visual studio.

Question by:AKF
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 101

Expert Comment

ID: 8077664
Here are some ASP examples.  According to the notes you need the developer edition of CR



Author Comment

ID: 8080888
thanks mlmcc, i've checked those samples deal only with asp, not asp.net i found some asp.net samples all through VS.net some articles pasted code generated from VS.net.
what i have so far is this

<%@ page language=VB Debug = True %>
<%@ Import Namespace= "CrystalDecisions.CrystalReports.Engine" %>
<%@ Import Namespace = "CrystalDecisions.Shared" %>
<%@ Import Namespace="CrystalDecisions.Web" %>
<%@ Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web" %>

<script runat="server">

sub page_load(sender as object, e as eventargs)
end sub
' ***********************************************************************************

sub Bind()
   ' here code to run sql query and bind results to a dataset
  Dim oRpt As New CrystalReport1()
 ' This is the Crystal Report file created at Design Time

  ' Set the SetDataSource property of the Report to the Dataset

   CrystalReportViewer1.ReportSource = oRpt
  ' Set the Crystal Report Viewer's property to the oRpt Report object that we created
    End Sub


 Width="350px" Height="50px"
 ReportSource='<%whatever.rpt" %>'>

now testing this section so far gives me the following error:
File or assembly name CrystalDecisions.Web, or one of its dependencies, was not found.

even on crystal reports website, all docuemtns i managed to find so far is through VS.net.
so my main question to start is it a must to have visual studio dot net along with the crystal reports dot net that comes with it or is crystal reports 9 along with the CR application server is enough and can pass the dataset to the crystal report using push model.
if not then the only alternative left is use ASP so what is the best way to pass all variables from aspx page to asp page to produce the reports ?
thanks in advance for you help.

Author Comment

ID: 8083853
i got some samples off the web for what should be functioning applications still any application i try to run using asp.net and crystal reports gives the same problem
File or assembly name CrystalDecisions.Web, or one of its dependencies, was not found.
or the namespace of the engine one.

are there any more dll or something that should be runing on the server apart from the regular installation of crystal reports 9 and Report application server ?

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

LVL 101

Expert Comment

ID: 8084705

Author Comment

ID: 8106145
well i found the dotnet runtime files for the crystal reports installed, got no dependancy problem now only it doesnot recongize the crystalreportviewer control always gives unknown server tag.
and i am trying to use dyamic reporting linking to a dataset, i've used one of the examples on dev zone, worked linking it directly to a report but i want use a Dataset

i also get an error at this line
Dim oRpt As New CrystalReport()

LVL 101

Expert Comment

ID: 8107409
You are missing a reference.  Not sure how you do that in asp.  YOu need to add a reference to CRAXDRT9.dll


Author Comment

ID: 8456940
how can you referrence that dll file in asp.net, i got some sample code tried it out on our server didn't work always keep giving same message unknown server tag <cr:CrystalReportViewer
assuming those samples should work the way they are then i am starting to wonder if there are any more files i should install for the reports to work on web server.
i've installed CR9 and dotnet runtime files and even the Report Application server still no luck.
LVL 101

Expert Comment

ID: 8457407
I am unfamiliar with asp or asp.net.  Sorry I can't be any more helpful.


Accepted Solution

modulo earned 0 total points
ID: 8503232
PAQ'd and 50 points refunded

Please add link to new question in the old question.

Thanks !


Community Support Moderator
Experts Exchange

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question