?
Solved

CR and asp dot net

Posted on 2003-03-05
9
Medium Priority
?
405 Views
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.

thanks
0
Comment
Question by:AKF
[X]
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
9 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 8077664
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
 

Author Comment

by:AKF
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)
 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
 

Author Comment

by:AKF
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 ?

thanks
0
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

by:mlmcc
ID: 8084705
0
 

Author Comment

by:AKF
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()

thanks
0
 
LVL 101

Expert Comment

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

mlmcc
0
 

Author Comment

by:AKF
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.
0
 
LVL 101

Expert Comment

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

mlmcc
0
 

Accepted Solution

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

Please add link to new question in the old question.

Thanks !

modulo

Community Support Moderator
Experts Exchange
0

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