If you want to test threading that will still perform after closing down your browser, you need to still have the debugger running. In order to do that, you need to uncheck the box in the Tools/Options/Web Projects section that states:Stop debugger when browser windows is closed, close browser when debugging stops.
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:
<system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> </system.serviceModel>
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