Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Visual Studio shows "Getting Resource Properties" each time when I select a file or open a solution. This takes time

 Hi all,

My team has a Visual Studio 2010 environment (incl. Resharper). They've recently switched from ClearCase to RTC. Now in RTC each time when they open a solution file, or select a file in the Solution Explorer, the Visual Studio status bar shows "Getting Resource Properties". For large files this can take a bit of time.
What settings must I check to avoid this.

Regards,
       Danny

1 vote

Comments

 The team is running a RTC pilot. The fact that this takes up more time then when the team was working in ClearCase, seriously inhibits the acceptance of the RTC environment. 

I'm assuming that this isn't just due to network bandwidth/latency?


If this is a critical issue, you should contact support if you are using a paid version of RTC. I wasn't able to find anyone else having this issue on Google search.

I am not able to reproduce this on VS 2012 w/ RTC 4.0.1. What version of RTC are you using?

Can you post a screenshot of this message? We're not using Resharper, but I'm not even seeing that message appear for me, ever, even with the Properties window open.

Hi Michael,


We're using  VS 2012 w/ RTC 4.0.1 too. The problem is that some of my colleagues experience the same problem, but others don't. We're unable to find the differences in installation and settings of VS 2012 w/ RTC 4.0.1 to explain the differences.

Regards,
     Danny

I see this occurring when I open a solution and try to build it. I don't have the properties window open. I have version 4.0.5. It seems like it goes through all the files within the project. I don't recall this happening on any other projects and definitely not within ClearCase integration.

Help would be GREATLY appreciated.

1 vote

 Hi Aaron,

    Would you please log a defect, and attach your log files (trace level Info) when this happens? Visual Studio fetches properties of files at different times, and whenever it fetches properties, the RTC plugin gets enabled for the RTC specific properties and you see that message. We'd like to try figure out what exactly is happening in your environment.
Cheers
--Rupa

I would be glad to help out as much as I can, but I do not know how to gather a log file. How do I get those or turn that on? I just do a project clean, a project rebuild, or a project open. What do I need to do?

Tracing can be turned on from the "Team Concert->Windows->Team Concert Logs" window. Please change the "Log Level" to "Verbose" and then run your operation. It also contains an option to save log files. 

Thank you I am running the process now and I will create a defect with the log file attached.

I am either going to the wrong place or don't have permission to submit a defect. I am going here...

https://jazz.net/mystuff/#tab=workitems&page=opened

I am trying to submit a bug for RTC, but when I click on the button I am getting an error that states...

You are not authorized to view this page.

CRJAZ2676I Details about the error were written to the log file. To find this data, search the log file for this identifier: 4c36d7b3-3631-451f-9a3c-7ecdaf38591e. Root cause: CRJAZ1394E The "chorpeac" user ID cannot connect to the repository because it is not assigned to a repository group that has permissions to access the repository.

Same error...

You are not authorized to view this page.
CRJAZ2676I Details about the error were written to the log file. To find this data, search the log file for this identifier: ee60745a-ccb8-48d3-999f-44ed0d9de04b. Root cause: CRJAZ1394E The "chorpeac" user ID cannot connect to the repository because it is not assigned to a repository group that has permissions to access the repository.

There seems to be a permission issue with this user Id. I have dropped a mail to webmaster@jazz.net, they should be able to add the required permissions.

Hello Aaron, were you able to submit a defect on jazz.net?

Negative, I am still getting a message like...

You are not authorized to view this page.
CRJAZ2676I Details about the error were written to the log file. To find this data, search the log file for this identifier: aa34183c-39e7-4bb8-9476-71463a6fb159. Root cause: CRJAZ1394E The "chorpeac" user ID cannot connect to the repository because it is not assigned to a repository group that has permissions to access the repository.

Hi Aaron, we are still trying to get the permission issue sorted out for your account. Will keep you posted.

Hi Aaron,
Your permissions should be all sorted out now. For some reason, your account was not in the correct group.
Please give it a try again.


Yes I have permission to submit a defect now. I will put all the information together and submit.

Additionally, my coworker experiences the same thing, but his processes much faster than mine...

showing 5 of 17 show 12 more comments

Accepted answer

Permanent link
This was submitted as work item Visual Studio and "Getting Resource Properties" when performing certain actions within VS (297923) .
It is marked as "fixed in 5.0".   See the work item for details, to see if this sounds like what you might be running into.
Danny Beerens selected this answer as the correct answer

2 votes

Comments

 Tested RTC 5.0.1 in our validation evironment, disabled the RTC_VS_DISABLE_PROP_INT, so the properties are shown.

For the tests I did, no latency found. Thanks!

1 vote


2 other answers

Permanent link
 Hi Danny,
    Jazz Properties are integrated into the Properties View, and Visual Studio (not RTC) fetches that and all other file properties every time you open a file or a solution. Have you noticed it being faster for smaller files? I'll check with my team but properties and file size should not really be related. 
   
   We don't have a way to turn off the properties integration at the moment- you could open an enhancement request on jazz.net. The other thing you could try is to close the Properties view and see if it improves the situation.

    Do you see the same type of delay for all types of files? Or does it depend on file types?

    Which version of RTC are you using?
Cheers
--Rupa
RTC Client Integrations

0 votes

Comments

Hi Sreerupa,


We're using  VS 2012 w/ RTC 4.0.1. Disabling the Properties view does seem to have a positive effect.
The problem is that some of my colleagues experience the same problem, but others don't. We're unable to find the differences in installation and settings of VS 2012 w/ RTC 4.0.1 to explain the differences.
Could it be a difference in used JDE?

Regards,
     Danny 

 Hi Danny,

    It should not have anything to do with Java Development Environment. If you set your trace level to Info, open an work item on jazz.net and add the trace logs for a) users for whom it takes time and b) users we don't, we can try to analyze the logs to see if we come up with anything.

Cheers
--Rupa

I have the same problem, and with my very large solution, I can end up waiting several hours.  Is there a way for me to check the status of the defect opened by Aaron Chorpenning?


Permanent link
 I am using RTC client 4.0.5. This is what fixed this problem for me and my colleagues:
Create an environment variable called RTC_VS_DISABLE_PROP_INT with the value true.
(Control Panel -> Advanced system settings -> System Properties -> Advanced -> Environment Variables)
Reboot.

0 votes

Comments

 Using the mentioned environment variable RTC_VS_DISABLE_PROP_INT works, as a workaround: it leaves the properties view unshown.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: May 03 '13, 5:16 a.m.

Question was seen: 8,387 times

Last updated: Feb 09 '15, 7:06 a.m.

Confirmation Cancel Confirm