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
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.
Here is my situation...
I have to maintain a website with multiple applications. We no longer have any of the solution files and the code is deployment code (so it uses DLL's instead of the original classes).
I basically grab the code from the website and stick it in a Visual Studio projects folder (This is generally C# code with Javascript that was originally developed on VS). I then open Visual Studios's 2010 Professional (VS) and open website, using the path in the project folder. I then add references to all the DLL files and if all the includes, images , and css files paths are referenced correctly, I can hit F5 and get the webpage to appear with some functionality. This creates a Project file in the Projects folder which I can then open instead of opening a website.
The problem is that I am unable to debug. If I set a breakpoint, it goes from solid red to outline red upon start of debugging. The standard message is "The breakpoint will not be currently hit. No symbols have been loaded for this document".
I have cleared out the symbols and reloaded.
I have debug = true in all my Web.config files.
I have gone into project properties and set the startup project action to "Start".
Any ideas why I can't debug ? My other projects that I develop from scratch work fine, but it is these projects that I am trying to get working from website files that won't debug.
My goal is to get every one of the Website apps under VS control were I can fix bugs and make improvements. Not very easy when the original source code is no longer available.
Please Help !
Thank You,
Eric
I fought this issue for a half of a day. I'm currently maintaining a website application. What worked for me is going into the project's Property Pages >> Start Options and changing the server to "Use Custom Server". I believe this setting will use IIS and not IIS Express. I started the project and was immediately able to debug.
I recently installed Dotfuscator 4.10 on my computer and I already has VS 2012 working on it. Everything worked fine up to the point when I tried Dotfuscator embedded in VS (I mean the standalone GUI app works perfectly).
Just for the try, I created a small solution (no TFS/VSS) with a C++ /clr app, a C++/clr dll and a C# app.
I then added a Dotfuscator project. To this project I added the output from the three dll/exe other projects.
When I tried to rebuild the solution, I was asked to save the .dotfuproj file. Strange and abnormal behaviour, the file should be saved automatically and without prompting me. OK, I chose to overwrite the existing file (what should have been done automatically after all.) I got the error Object reference not set to an instance of an object. I had to cancel the operation and could not build the solution.
Note that I observed the same behaviour if I tried to save the dotfuproj file under an other name. Also, the file is not R/O.
My question: has someone experienced this problem? Any solution? Thanks for your help!
You can try deleting your Dotfuscator project and then creating a new project. If that does not work, try using direct input to the Dotfuscator project, rather than using the output of another project within your solution.
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.