AKF
asked on
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
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
ASKER
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.CrystalR eports.Eng ine" %>
<%@ Import Namespace = "CrystalDecisions.Shared" %>
<%@ Import Namespace="CrystalDecision s.Web" %>
<%@ Register TagPrefix="CR" Namespace="CrystalDecision s.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(Dealers Set)
' Set the SetDataSource property of the Report to the Dataset
CrystalReportViewer1.Repor tSource = 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.r pt" %>'>
</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.
what i have so far is this
<%@ page language=VB Debug = True %>
<%@ Import Namespace= "CrystalDecisions.CrystalR
<%@ Import Namespace = "CrystalDecisions.Shared" %>
<%@ Import Namespace="CrystalDecision
<%@ Register TagPrefix="CR" Namespace="CrystalDecision
<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(Dealers
' Set the SetDataSource property of the Report to the Dataset
CrystalReportViewer1.Repor
' 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.r
</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.
ASKER
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
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
Have you looked at the samples on
http://www.crystaldecisions.com/products/dev_zone/
This may also be useful.
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/depends20.zip.asp
mlmcc
http://www.crystaldecisions.com/products/dev_zone/
This may also be useful.
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/depends20.zip.asp
mlmcc
ASKER
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
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
You are missing a reference. Not sure how you do that in asp. YOu need to add a reference to CRAXDRT9.dll
mlmcc
mlmcc
ASKER
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.
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 asp.net. Sorry I can't be any more helpful.
mlmcc
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/aspxmps9.exe.asp
mlmcc