CR and asp dot net

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.

thanks
AKFAsked:
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 !

modulo

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

http://support.crystaldecisions.com/communityCS/FilesAndUpdates/aspxmps9.exe.asp

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

   oRpt.SetDataSource(DealersSet)
  ' 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

</script>

<CR:CrystalReportViewer
 id="CrystalReportViewer1"
 runat="server"
 Width="350px" Height="50px"
 ReportSource='<%whatever.rpt" %>'>
</CR:CrystalReportViewer>


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.
0
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 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 ?

thanks
0
 
mlmccCommented:
0
 
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()

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

mlmcc
0
 
AKFAuthor Commented:
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.
0
 
mlmccCommented:
I am unfamiliar with asp or asp.net.  Sorry I can't be any more helpful.

mlmcc
0
All Courses

From novice to tech pro — start learning today.