I have installed vs2010 and crystal report scn long time ago. I am working on a new project and trying to create a report but when i click on crystal report if form mht file, while the same is working fine in previous project. I tried to re-install, re-start many times but still the issue.. any suggestions
So, since your only problem is the creation of a new report document, try downloading the latest version of Crystal Reports from here http://scn.sap.com/docs/DOC-7824 . The mht file is usually shown when you doesn't have the CR package installed on VS 2010. Maybe a newer version will correct the issue.
Related
So I followed the approach using the powershell scripts to get all the information from a SSRS server and download it to my local machine. That all worked fine. I created a SSRS project in VS 2019, included the downloaded files and I can open and edit all the reports. The challenge is when I go to preview the reports, I get the error message below indicating it cannot find the data source. The data source is defined within the report as shown below:
I have seen comments regarding how to handle this when the data source is an item in the project but that doesn't apply here. And idea what I am missing?
FYI - I am attempting to preview the report using a remote SSRS sever and I have the URL configured in the TargetServerURL of the project.
Any help would be appreciated.
UPDATE: I did just notice that in the folder with my reports in the project there is a JR.rsds but I am not sure if that makes a difference.
I just created a Report Project with 1 .rdl in Visual Studio 2008. I then deployed the report to the SSRS Server and I can now see the report in the Report manager.
I made a change to the report using report builder 3.0.
Is there a way that I can "get latest version" from the report server of the .rdl when I open my report project in Visual Studio again?
I am guessing that 1 way would be to download the .rdl and add back (overwriting) to the report project but I am wondering if VS has a built in function to take care of this for you?
There is no built in functionality in VS to attach to an SSRS instance and pull down the .rdl files. Since they can be moved, edited and deleted, outside of the designer there could be numerous issues with doing that. Just check all your local project files into source control and manually update if needed. Since I don't edit outside of VS I never had to deal with "pulling the latest version from ssrs". However, I have come across third party tools that may have functionality to make it easier.
If this is going to become a daily struggle for you then you may want to take the time now to automate the process using the ReportExecution2010 or ReportExecution2005 web service api.
Visual Studio is used to create and deploy reports, once they are deployed, there are no links between the report in Visual Studio and the Report Server, and there will never be. Think about it, you can deploy the report to X servers, so how could Visual Studio find which report you are talking about.
To ensure you are working on the latest version, you will have to download it and overwrite as you say, although I would compare it instead to see if there are changes not deployed.
If you are working with other developers that would potentially redeploy the report, then you can just check the last modification user of the report.
In all cases, I would strongly suggest to always check-in/commit when you deploy a report.
If you want to download several reports from the report server, then you could use a tool like RSScripter for example.
I have a WINFORM project in which I have used crystal report, it works fine.
Now , I am trying to add some features on existing project. So simply copy the whole folder into a new folder. At first it was window was showing message that "Filename is too long..." so renamed the folder to a short name. And it works fine with crystal report.
My issue is whenever I start coding to add new feature and run debug to test, at the point where it needs to generate crystal report whole application freezes and crystal report is not generated and no error message, I have to stop debugging from Visual studio to start over.
I have tried same with earlier projects and it worked fine , but this time don't know what I am missing.
I am using WIN8
I have googled it but not found any relevant results.
Thanks
I have created my app which uses Crystal reports will the user of another pc require Crystal Report installation on his pc to use myapp on his own pc
From my experience they will need to have the crystal reports runtime version that you used in you app. Most of the time it is included when you package the app up. If not it is a small download and is fairly simple to install.
To use your app it is not required, it is sufficient to have crystal report runtime. But to use your report template they certainly need the crystal report installtion.
Visual studio 2008 has built in support to visualize your report template using it they can also edit. Afterwards realeases requires patch to visualize the report template.
Go through the following link to work with visual studio 2010 link
Go through the following link to work with visual studio 2012,2013 Link
I'm re-installing an application on a users machine that uses Crystal Report after they had their machine refreshed.
After reinstalling the application it works fine. Only when trying to run the reports does the error occur.
"Run-time error '-2147206249 (80043ae3)';invalid TLV record."
I've looked into this error but cannot find a solution. I've noticed that they don't have a directory for Crystal Reports under the common files directory. But the dll's are in the system32 directory.
My question is, does the Crystal Report Viewer need to be installed before the reports will run?
ie. a directory under common files with the dll's there.
If you've built Crystal into the application then no, you should not need to.
However there are Crystal dll's, the main of which is crw32.dll, which need to
be installed on the target machine.
When you package your app it should include (and you should tick any prompts that
indicate this) packaging up the third party (such as Crystal) install files, such
as dll's. These then get installed when you install the main application.