Robert Silver
asked on
Problem finding entry in the web.config file e.g
Note below from the web.config file which clearly does not work any better than it did when I include all the version strong name stuff. I am trying to get their sample code working . Anyone have a clue how to get this sample working presumably without installing cr10_net_server_install.zi p???
Also what must be showing below???
<compilation debug="true">
<assemblies>
<add assembly="CrystalDecisions .WebCrysta lDecisions .Web"/>
<add assembly="CrystalDecisions .ReportSou rce"/>
<add assembly="CrystalDecisions .Enterpris e.Framewor k"/>
<add assembly="CrystalDecisions .Enterpris e.Desktop. Report"/>
<add assembly="CrystalDecisions .ReportApp Server.Con trollers"/ >
<add assembly="CrystalDecisions .CrystalRe ports.Engi ne"/>
<add assembly="CrystalDecisions .Enterpris e.InfoStor e"/>
<add assembly="CrystalDecisions .Enterpris e.Viewing. ReportSour ce"/>
<add assembly="CrystalDecisions .ReportApp Server.Com monObjectM odel"/>
<add assembly="CrystalDecisions .ReportApp Server.Dat aDefModel" />
<add assembly="CrystalDecisions .ReportApp Server.Obj ectFactory "/>
<add assembly="CrystalDecisions .ReportApp Server.Rep ortDefMode l"/>
<add assembly="CrystalDecisions .CrystalRe ports.Temp lateEngine "/></assem blies></co mpilation>
Also what must be showing below???
<compilation debug="true">
<assemblies>
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
<add assembly="CrystalDecisions
To start with, it appears that you still have references to the tutorial on your machine...
>>> The system cannot find the file specified. C:\x\CrystalReportViewer_O bject_Mode l_Tutorial s\CRVObj
What are you trying to do here? I'm guessing that you're trying to deploy a .net app that uses Crystal to a web server, is that correct?
We can't answer what should be showing in the assemblies area of your config file - it entirely depends on what components are being used in your application, what version you have, etc.
>>> The system cannot find the file specified. C:\x\CrystalReportViewer_O
What are you trying to do here? I'm guessing that you're trying to deploy a .net app that uses Crystal to a web server, is that correct?
We can't answer what should be showing in the assemblies area of your config file - it entirely depends on what components are being used in your application, what version you have, etc.
ASKER
Basically I am just trying to simply launch an .RPT report file using a web based viewer such that
the serve rname, database name, user name and password can be applied dynamically before launching the RPT report file regardless of what the RPT file was developed with to begin with.
You are correct the objective is to deploy a net app that uses Crystal to a web server - YES!
Again I have Crystal Reports version: 10.0.0.533
Executable: "C:\Program Files\Crystal Decisions\Crystal Reports 10\crw32.exe"
the serve rname, database name, user name and password can be applied dynamically before launching the RPT report file regardless of what the RPT file was developed with to begin with.
You are correct the objective is to deploy a net app that uses Crystal to a web server - YES!
Again I have Crystal Reports version: 10.0.0.533
Executable: "C:\Program Files\Crystal Decisions\Crystal Reports 10\crw32.exe"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This question has become irrelevant and unfortunately the sample code out there is really bad. I provide much more usable samples in my other question
Since Frotoman appears to be the most helpful I will award him the points.
The question is no longer relevant. I will If anyone knows how to make the currently semi-working code in the question is it possible... to set database connections for a report.RPT file please help
The code is basically working. Its just crystal's ReportDocument which fails to properly set its database connection and I am really at a loss to understand why. For others struggling with this my sample will provide a great working start. Use an ASP Web application in Dev Studio 2005 and it should be straight forward except for the fact that the real reason for this question and effort is to get Crystal reports to connect to any given Server, User, Password and Database - Why is this so darn hard????
Since Frotoman appears to be the most helpful I will award him the points.
The question is no longer relevant. I will If anyone knows how to make the currently semi-working code in the question is it possible... to set database connections for a report.RPT file please help
The code is basically working. Its just crystal's ReportDocument which fails to properly set its database connection and I am really at a loss to understand why. For others struggling with this my sample will provide a great working start. Use an ASP Web application in Dev Studio 2005 and it should be straight forward except for the fact that the real reason for this question and effort is to get Crystal reports to connect to any given Server, User, Password and Database - Why is this so darn hard????
Is Crystal installed on this machine?
mlmcc