Skip to Content
Author's profile photo Ludek Uher

My day (3) training on CR 2010 Beta

Feeling more adventuresome, I decided to upgrade a somewhat complicated (certainly a non trivial) application that uses the InProc Report Application Server (RAS) APIs for .NET. The project was already using CR 2008 assemblies and .NET 2008. The upgrade was absolutely flawless – as long as you remember the steps described in my “[My day (1) training on CR 2010 Beta | My day (1) training on CR 2010 Beta]” blog.

The application essentially decompiles a report or queries the report for all database connections and writes out VB as well as C# code to use at runtime when connecting to the datasource – or a new datasource.

I have uploaded the application (in it’s CR 2008, .NET 2008 incarnation) to the ftp server at

this

location. The ftp server is set up to maintain the app for the next 100 days, in case anyone is interested. I have used this app many times on the

/community [original link is broken]

 forum and the 

.NET SDK Application Development

forum to resolve seemingly un-resolvable database connectivity issues.

Creating a report in the .NET IDE

I’ll make an assumption here that who ever is reading this blog knows how to create a report inside the .NET IDE. One thing to note is that the database drivers do not include Native Oracle (crdb_oracle.dll). this is consistent with all previous versions of Crystal Reports for .NET. E.g.; CR 10.2 (.NET 2005) and CR 10.5 (.NET 2008). The Native Oracle driver was always only available with an upgrade to a “stand-alone” version of Crystal Reports, e.g.; CR 2008 (12.x). The following database drivers are available:

image

Deployment

There are no runtime files available. You can use CR 2008 redirect as described in the article “

Deploying Crystal Reports for Visual Studio 2010 Beta

” . For my money, I would not go near this hack if my life depended on it. So far, from what I have seen on the

SAP Crystal Reports, version for Visual Studio

forums, all it causes is grief. I will not touch it as it has no ROI for me in tech support. E.g.; this is a temporary “solution” and will not be needed once CR 2010 RTMs. I’m actually not quite sure what ROI anyone achieves deploying a beat product, but those appear to be just my misgivings.

Creating my first web application</p><p>Creating my 1st web app has not been very successful. Ensuring that the framework is set correctly and the compile is set to x86 and all necessary assemblies are referenced I get the following error messages:</p><p>!https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror1cr2010.JPG|height=236|alt=image|width=451|src=https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror1cr2010.JPG|border=0!</p><p>Clicking the  <continue> button results in the error;</p><p>!https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror2cr2010.JPG|height=272|alt=image|width=574|src=https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror2cr2010.JPG|border=0!</p><p>And if you click <Continue> here, you get:</p><p>!https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror3cr2010.JPG|height=277|alt=image|width=398|src=https://weblogs.sdn.sap.com/weblogs/images/251941734/webapperror3cr2010.JPG|border=0!</p><p>An answer from Program Management on this is that there are two different project types; an “ASP.NET Web Application” and an “ASP.Net Web Site Application. Use the “Web Site” project type.</p><p>Duplication of issue reported on the .NET forum, thread;

CRVS2010 Beta – CrystalReportViewer Component Issue

In design mode, the Crystal Reports Viewer component continually highlights and appears to reload its self. E.g.; from this:

image

To this:

!https://weblogs.sdn.sap.com/weblogs/images/251941734/forumrefreshissuesh2cr2010.JPG|height=351|alt=image|width=547|src=https://weblogs.sdn.sap.com/weblogs/images/251941734/forumrefreshissuesh2cr2010.JPG|border=0!</body>

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.