cancel
Showing results for 
Search instead for 
Did you mean: 

SP21 - Visual studio 2017 loading very slow

Former Member

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Answers (30)

Answers (30)

Dev and Thomas are still working on it.....

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.

Former Member

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.

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

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

Former Member
0 Kudos

Thanks, it works !

Thank you for your support

0 Kudos

This issue has been fixed and a release is available in this KBA:

2550434 - Visual Studio 2015/2017 slow to load multiple Projects when using Crystal Reports for Visu...

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

Former Member
0 Kudos

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.

0 Kudos

Thanks Scott, I've passed your contact info to R&D.

scottpearce
Explorer
0 Kudos

FYI just upgraded to SP 22, but the issue remains.

0 Kudos

Thomas was working with R&D and R&D was waiting for some logs but it appears he is no longer responding.

Anyone else willing to work with our developers to debug this?

Thanks again

Don

scottpearce
Explorer
0 Kudos

What do you need? I'm using Visual Studio Enterprise 2017 (15.5.5) and the solution has 165 projects.

0 Kudos

Hi Scott,

If you are willing to work with the Developers I'll pass your contact info to them?

Thanks again

Don

scottpearce
Explorer
0 Kudos

Sure. I assume you have access to my email address. Pass it on to them or let me know if you need any other sort of contact info.

igor_laktic
Discoverer
0 Kudos

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

0 Kudos

Hi Thomas,

R&D is still waiting for your new logs. Do you have an update for them?

Thanks again

Don

Former Member
0 Kudos

Hi,

any news?

Former Member
0 Kudos

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.

Former Member
0 Kudos

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,

Former Member
0 Kudos

Hi,

Any news?

Former Member
0 Kudos

Hi,

any update on this ?

Are your DEV really working on ? this problem is huge time-consuming daily ...

0 Kudos

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

tony_evans
Explorer
0 Kudos

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.

tony_evans
Explorer
0 Kudos

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.

Former Member
0 Kudos

Is there an update for this, Don?

0 Kudos

DEV still can't duplicate the delay. Those logs do not show enough info to find the cause so they have more questions:

  1. Does customer open the solution file after open Visual Studio Application or not ?
  • Could you please suggest that first open visual studio and save the Activity Logs, then open solution file and save the Activity Logs ?
  • It better that they could provide the time of each operation.
  1. From the log file the loading of [XamarinInspectorPackage] took about 4 minutes,
  • After that, check if loading time is 4 minutes faster than before ?

Thanks again

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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...

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Thank you Thomas,

I sent you a link to upload the files to, zip it up first.

Don

Former Member
0 Kudos

All done.

- Thomas

0 Kudos

Thank you Thomas,

Sent to DEV and attached to the case.

We'll see if they have any suggestions once they have a chance to look at the logs. They are in Shanghai so it won't be until next week when we get an update...

Have a great weekend

Don

Former Member
0 Kudos

Hi Don,

Can we get an update on this please?

Cheers,

Thomas

Former Member
0 Kudos

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.

Former Member
0 Kudos

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..

Former Member
0 Kudos

I use .NET 4.6.1

I just try removing LegacyMode in app.config, but the result is the same

=> very long.

0 Kudos

Hi Guys,

What Framework are you using?

In your app.config file did you remove the LegacyMode from the Startup Tag?

Don

Former Member
0 Kudos

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.

Former Member
0 Kudos

Any additional help please ?

Former Member
0 Kudos

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