CR and asp dot net

starting an application in 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.

Who is Participating?
moduloConnect With a Mentor Commented:
PAQ'd and 50 points refunded

Please add link to new question in the old question.

Thanks !


Community Support Moderator
Experts Exchange
Here are some ASP examples.  According to the notes you need the developer edition of CR

AKFAuthor Commented:
thanks mlmcc, i've checked those samples deal only with asp, not i found some samples all through some articles pasted code generated from
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
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.
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

AKFAuthor Commented:
i got some samples off the web for what should be functioning applications still any application i try to run using 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 ?

AKFAuthor Commented:
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()

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

AKFAuthor Commented:
how can you referrence that dll file in, 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.
I am unfamiliar with asp or  Sorry I can't be any more helpful.

All Courses

From novice to tech pro — start learning today.