Sometimes when I attempt to deploy a report to my Reporting Services Server, Visual Studio freezes for a minute or more before bringing up the context menu. After some research, my problem was resolved by disabling the Image Optimizer extension. To disable:
Click the Tools Menu.
Click Extensions and Updates.
Look or Search for Image Optimizer.
Click the extension.
Click the disable button.
Hopefully, Microsoft will fix this issue soon.
Quote: “The solution I found was to close down visual studio, go to “c:\Program Files (x86)\Microsoft Visual Studio\Installer”, rename the folder “Installer” to something else then run vs_installer.exe from the renamed folder.“
An rdl.data file will be created each time when the report is viewed with different input parameters. The data file caches the data so running the report again in the IDE with no changes to the parameter data will render quickly.
To delete the files, add an external tool to Visual Studio that you can execute to delete all rdl.data files.
#1 Click Tools and then External Tools…
#2 If tools already exist, click the Add button, else go to step 3.
#3 Enter the following into the provided textboxes and click OK.
#4 At any time while in a BIDS Visual Studio Solution, click Tools and then ‘Clear Report Data Cache’ to delete the files.
There have been many suggestions to get this working. I will give you three that worked for me in the order they should be tried.
- Restart your computer. Some of the projects files run in the background. Stop them if you know what they are. Restarting is not necessary just end their tasks) and then try again.
- Go to Solution Explorer, right-click your project go to properties, click Debug, at the bottom there is a check box, click the check box to ‘Enable SQL Server Debugging’.
- Go to Solution Explorer, right-click your project go to properties, click Debug, at the bottom there is a check box, un-check the check box that states ‘Enable the Visual Studio hosting process’.
After uninstalling all versions of Visual Studio products from your computer using the Programs and Features by means of the Control Panel, you may want to clear out the following folders and files before attempting to reinstall Visual Studio again.
C:\Program Files\Microsoft Visual Studio
This collection already contains an address with scheme http.
There can be at most one address per scheme in this collection.
If your service is being hosted in IIS you can fix the problem by setting ‘system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled’ to true or specifying ‘system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters’. Parameter name: item
In .Net 4 and above, you can add this to the web.config to resolve the issue:
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
Let’s say you copied/pasted many lines of code to create a new function, and then gutted out 50% of the code. Sometimes the code does not reformat nicely. To manually reformat the code in VB.Net, Hold down the CTRL key and then press the K key, immediately followed by the D key.
If you only want to format a portion of the code, first select (highlight) the code. Hold down the CTRL key and then press the K key, immediately followed by the F key.
I have found that if my textbox control is set to ReadOnly= True at design time, I can change the forecolor programmatically without a hitch.
If my textbox control is set to ReadOnly = False at design time, and then decide to change the ReadOnly = True programmatically, if I then try and change my forecolor it doesn’t work.
In this case, the framework won’t allow the ForeColor change unless you first change the BackGround color, which sets some flag that allows the ForeColor to be changed.
Remove all keys that starts with
Replace1, etc. You can remove history for
Replace only, or remove only particular
When starting Visual Studio 2010, it would hang for about 30 seconds trying to load the toolbox. I found this solution online and it worked for me:
I was recently running into a situation where every time I opened Visual Studio 2010 SP1, the following message would appear for about 60 seconds or so:
“Loading toolbox content from package Microsoft.VisualStudio.IDE.Toolbox.ControlInstaller.ToolboxInstallerPackage
After finally get fed up with the issue, I started researching it and decided that I’d share the steps that I took to resolve it below:
- I first made a complete backup of my registry.
- I then removed the following key: [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftVisualStudio
- I went to the following directory: C:UsersYour Name HereAppDataLocalMicrosoftVisualStudio10.0 and created a folder called bk and moved the .tbd files to that folder (they are hidden so you will have to show all files). I then removed the .tbd files in the root directory.
- I then launched Visual Studio 2010 SP1 again and it recreated those files and the problem was gone.
Anyways, I hope this helps someone with a similar problem. I created this blog partially for myself but it is always nice to help my fellow developer.
Thanks for reading.