on 09-27-2017 3:27 PM
After installing SP21, visual studio 2017 solution containing crystal reports is very long to load, it takes a lot of time (30 seconds) to load every project referencing crystal reports assemblies.
(If I uninstall CRVS, solution loading is normal)
Any advice ?
Hi All,
R&D has found the cause of the problem and fixed it.
We have released a new dll for SP 22 only to fix this issue.
Go here to get the info and new crvs package dll:
https://apps.support.sap.com/sap/support/knowledge/public/en/2550434
A big Thank You to Scott Pearce and Mike Sheen for working with our Developer for a fix...
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dev and Thomas are still working on it.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
R&D said they changed the way CR integrates into VS 2017 and will look into it.
I'll update when I find out more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chiming in to say both me and another developer at my workplace are experiencing the same issue, enabling lightweight solution load on your solution can fix this issue for the time being but its not exactly ideal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Guys,
I'll ask DEV to have a look at this post...
Don
Escalated - Incident 499310 / 2017 / VS 2017 slow to load multiple Projects using CR for VS SP 21
KBA -
2550434 - Visual Studio 2017 slow to load multiple Projects when using Crystal Reports for Visual Studio SP 21
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yannick,
Thanks for posting here rather than the WIKI.
Are you seeing the delay in Visual Studio or in Release Mode?
Home many projects are you loading at one time?
Obviously if you remove the runtime it's going to speed up.
What CR assemblies are you loading in your project?
Did you install the EXE on your Development PC only and no the runtime MSI packages?
If it's on your DEV PC what is the problem waiting a few more seconds?
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, it works !
Thank you for your support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This issue has been fixed and a release is available in this KBA:
Search for it using Google, Updated CR for VS Package to integrate into VS is available.
Do not click on the link unless you have access to Service Market Place and a Support Contract, Link will not work for anyone else so you need to search for it.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has been driving me nuts for a long time and today I found the solution.
It might also explain why many users dont have this issue
Our solution had two projects a normal and test project the long loading time was always project 2 the test project
I removed the test project and now the solution loads instantly.
Its still related to Crystal as I have previously uninstalled crystal and all was fine with the test project then reinstalled crystal and slow again.
For now im happy, but it would still be better resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Scott, I've passed your contact info to R&D.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI just upgraded to SP 22, but the issue remains.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have two MacBook pros with same solution with 35 projects. .NET 4.6.1
1. MacBook Pro Late 2013 , proc. i7 2.3 GHz Win 8.1. 64bit with VS 2017 and SAP Crystal for .net version13.0.2 (for report design using vs 2015)
2. MacBook Pro Late 2017 , proc. i7 2.9 GHz Win 10, 64bit with VS 2017 and SAP Crystal for .net version13.0.35
For 1. loading time is 5s
For 2. loading time is 145s
Before installed SAP 13.0.35 loading time was same.
Igor Laktic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
R&D is still waiting for your new logs. Do you have an update for them?
Thanks again
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
any news?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Curious where things stand on this as well. For now my workaround is to just uninstall CR for VS and just use the runtime on me dev box. But then reinstall CR for VS anytime I need to update/modify/create a Crystal Report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I have just reinstalled version 13.0.21 (I went back to sp20 because a third party used a previous version and as there is no backward compatibility ...). I find myself in the situation of a loading of project which is very time consuming ... Do you envisage any improvement? Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Any news?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
any update on this ?
Are your DEV really working on ? this problem is huge time-consuming daily ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
R&D still working on it. They can't reproduce the issue you guys are having.
We are working with Thomas, he volunteered to test and respond to us.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don
Thanks for that, just thought I would let you know the steps I went thought to replicate the problem.
I have some projects that were originally created in VS 2005, over the years they have been converted to VS 2008, VS2010, VS 2015 and now VS 2017.
I brought a new computer for home and installed VS 2017 then copied the solutions onto this machine. At this point everything loaded quickly.
I then ran CRforVS_13_0_21.exe and it's at this point that loading of solution became very slow.
Hi
Is there an update on this as I have the same problem. Installed SP21 onto a new machine and it slowed down loading of a 134 project solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there an update for this, Don?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DEV still can't duplicate the delay. Those logs do not show enough info to find the cause so they have more questions:
Thanks again
Hi Don,
Thanks for the update. I didn't really expect the log files to help locate the cause. I sent them so that you could clearly see that the Crystal Reports Tools Package was the culprit so that you could rule out any other packages and help speed up the process.
You say "From the log file the loading of [XamarinInspectorPackage] took about 4 minutes". From what I can see, this is completely wrong. The logs that I originally sent indicate that the [XamarinInspectorPackage] (ID:91D3BF5A-049A-4C78AF4B-9AC149ADD84B) has an inclusive cost of 139.917 which is less than a second. I don't know where you or DEV got 4 minutes from unless I'm missing something.
If you compare this to the cost from the Crystal Reports Tools Package you can see what I mean:
Nevertheless, I uninstalled Xamarin as per the instructions in the link and ran the tests again. I also created separate log files from opening Visual Studio and then loading the solution. Opening Visual Studio only takes about 5 seconds every time, regardless of packages installed. And, as expected, removing Xamarin made no difference.
I have new log files ready to upload as well as a list of the steps I took and the timing of each if you can send me a new link.
I really hope that this issue is being taken seriously. Judging from the amount of users following this question (nearly 400 at time of writing) this is a very real problem.
I look forward to hearing back from you soon.
Cheers,
Thomas Gillin
They need to compare the same project opening with VS2015 and VS 2017. The difference between a few seconds and several minutes is pretty big, especially when you close VS several times during the day. It's a bit tedious.
Thanks for having them look into it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have the same problem. I remember having it few years ago with VSTO2015. I think CR try to update the rpt files... but if you are under source control...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
QA tested this and they don't see the same issue, they tested using a 40 Project package and it took 2 to 3 minutes, a project with 26 RAS app's took 1 to 2 minutes... so need more details. They did not mention if they compared using VS 2015 though so asking for clarification from them.
Anyone willing to send me their complete package so DEV can test it also? I'll give you a secure link and be aware all info is covered under a NDA agreement, standard SAP Privacy practices. And no we cannot sign one from you.
Or if not willing more details about the package itself.
Are you using any Source Control, we've seen this cause delays before? If so what SC are you using, the one built into VS or a third party app?
Can you test using a project not saved in any Source Control to see it it's the source of the delay? Or part of the delay?
Framework used?
Any other Custom config options?
Thanks again
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
Thank you for looking into this for us. Unfortunately I don't have authorisation to send you our solution.
I can tell you that we are using AnkhSvn and I have ruled this out as the culprit by loading a solution without it.
I have also ruled out ReSharper and a number of other extensions.
We are using .NET 4.6.
As I said previously, I loaded Visual Studio with the Activity Log monitor. I'll do it again, both with and without Crystal Reports for Visual Studio installed, and send them through so that you can see the issue.
Cheers,
Thomas
Hi Don,
I've got the logs ready but the attachment feature of this form doesn't appear to be working. Could you direct me to where I should upload them?
Here are the details:
Please note, literally the only thing I did between the first and second solution load was to install Crystal Reports for VS.
The first load (without CR for VS) took under a minute. The next (after installing CR for VS) took over 20 minutes.
If you look in the log with CR installed, you'll find an extension with guid FE73BB80-53F4-4AD0-A5F9-6A0BCE662292. This is the "Crystal Reports Tools Package". Look at item 2518 and you'll see that the inclusive cost for loading this package is 1111065.1352 milliseconds which equates to 18.5 minutes.
Cheers,
Thomas
I am having the same problem. Loaded the solution with the activity log monitor. Results showed that loading the package titled: "Crystal Reports Tool Package" takes over 20 minutes! This is basically unusable and will waste a lot of our time every day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here, with a Solution having 113 projects. It takes soo long opening after we installed SP21. If we uninstall it, it opens fast..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use .NET 4.6.1
I just try removing LegacyMode in app.config, but the result is the same
=> very long.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
What Framework are you using?
In your app.config file did you remove the LegacyMode from the Startup Tag?
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm also experiencing this issue in Visual Studio 2017 since I updated to the latest 13.0.21.
Let me make is clear: It is adding about 30 seconds PER PROJECT.
I have close to 75 projects in my solution, so 30ish seconds per project takes quite a while to load. I'm including only CD.CR.Engine.dll, CD.ReportSource.dll, and CD.Shared.dll in one project in the solution.
My coworker has the same set up except he's on Visual Studio 2015 and experiences no delay at all. Solution boots up super quick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any additional help please ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
thanks a lot for your answer:
Are you seeing the delay in Visual Studio or in Release Mode?
=> In Visual Studio
Home many projects are you loading at one time?
=> A lot of ! (145 projects) . But only 4 projects references crystal reports assemblies.
Obviously if you remove the runtime it's going to speed up.
=> The runtime is not installed on my development machine
What CR assemblies are you loading in your project?
=>
Did you install the EXE on your Development PC only and no the runtime MSI packages?
=> I extract the 'CRforVS_13_0_21.exe', then I execute the 'setup.exe' with 'Run as administrator' option
If it's on your DEV PC what is the problem waiting a few more seconds?
=> I often need to change solution and restart it, so in a day, it can take a lot of time.
Thanks a lot for your help.
Yannick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.