Save File As dialog problem in Visual Studio 2008 - visual-studio

I am programming via Visual Studio 2008. I change my html page and save it using Ctrl + S and then hit Ctrl+F5 on the browser to test it. My problem is when I save my file in VS after refreshing the browser, "Save File As" dialog appears and when I want to save it with that file name, an error dialog appears which says file exists!!!. I am doing this every time in my company which uses Windows 2003 and Windows XP, but there I have no problem. At home I am using Windows 7, and this error is killing me.

I had the same problem
My C# projects were all under XPsp3
I installed Win7, then Vis Studio 8 SP1 and the rest of my development tools.
Opened up my C# projects and got the Save As problem. , try this, it worked for me.
Make sure you are running Visual Studio as an Adminstrator.
To do this, create a Desktop Short cut for Visual Studio 2008.
Right click on it, and select Properties.
Then select the Compatibility tab.
At the bottom under Priviledge Level, make sure Run the program as an adminstrator is checked.
Select the OK button.
Start Vis Studio again
Also, try this
1) Open the Visual Studio command prompt
2) Then run the following : devenv /ResetSettings.

Using VS 2008 Express SP1 under Vista I had the same problem. I was running IE9 and it's debugger. Closing IE9 debugger allowed the save. This typically did not happen.

Related

Project needs to be opened by Visual Studio 2008 by default in Windows 8

I have installed visual studio 2008 and 2010 and also vs 2012 on windows 8. Now if I open a vs 2008 project, it asks me to convert it to vs 2010 which I don't want.
In windows 8 I tried "open with" but I can't see vs 2008 in programs, when i go to it's destination and try to open it, it opens up as VS 2010 again.
Update
Problem isn't that i can't open projects with VS 2008, problem is I am not able to force a VS 2008 solution to be opened by VS 2008 (by default).
I can open the project by opening VS 2008 and then use file -> Open
These projects are in SVN Tortoise Repository, on windows 7 they open by VS 2008 by default but now I got windows 8 so each time I open project, it asks me for this,
Sorry for confusion.
Not sure why it's working the way it use to work in Windows 7 but I will look it into it, however I am able to fix the problem by,
I think problem came up because I installed VS 2012 and VS 2010 first and then installed VS 2008 at end.
I am experienced something similar.
Windows 8.1 with VS2008 and VS2013 installed.
Problem:
Right mouse select a VS2008 .sln file in File manager.
Select "Open with..." from the menu
The dialog shows one choice, VS2013.
From the "How do you want to open this file?" dialog, select "More Options"
Scroll down past all the new choices and select "Look for another app on this PC"
Paste in the path to VS2008. Example: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"
It runs VS2013 instead.
Also, using "File->Properties" to associate the .sln file with VS2008 did not work as I expected. After setting the file association, I expected the be able to double click on that .sln file and bring up VS2008 but it ran VS2013 instead.
Solution:
After using "File->Properties" to attempt to associate the .sln file with VS2008 something has changed.
Now when I attempt step 2 ("Open with..") I get 2 choices: VS2013 and "Visual Studio Version Selector". Selecting "Version Selector" with "Use the App for all .sln files" checked will cause subsequent .sln files to be opened with the correct Visual Studio.

Visual studio watch window not allowing to type

I am debugging my application. When I open watch window and click on new row to write variable name it shows error. Please see the image.
It creates a file "VisualStudio_Debugger_Intellisense_1880_13" and file contains nothing. I restarted Visual studio but didn't worked.
I found the problem. It was due to a extension "Where Am I". Where Am I extension is available for Visual Studio 2010. This is not available for VS 2012. I did a hack so that it can be installed on VS 2012. This caused this problem. I disabled that extension, and now everything working fine.

Visual Basic 2010 Express Error: No Editor Available

When I open my SLN file in Visual Studio, it launches and loads correctly with no errors. When I select a VB file from the Solution Explorer, I get the following message:
I have tried to associate the file type with Windows, but it is already associated. What can I do to get my files to open? HELP PLEASE!
EDIT
: I can right click and open any file in Visual Basic Express and it works, but the problem is that when I am in the IDE I cannot open files from the solution explorer which means I cannot edit the UI.
The problem described was occurring due to a bug in the Windows 8 developer preview. Upgrading to the Consumer Edition fixes the problem, and adds a number of stability improvements, plus a new Visual Studio IDE is available: Visual Studio 11.

Visual Studio 2010 Add Reference Fails to Show

I have an issue with Visual Studio 2010 Ultimate and Visual Studio 2010 Express, when I right click on a project structure in the solution explorer, (on the references folder) and select "Add Reference" the Visual Studio 2010 window flashes as focus as left the window and then focus immediately returns and there is no new window that allows me to add references. This problem persists even after a clean install, and across multiple products (VS 2010 Ultimate and VS 2010 Express) I am using windows 7, and I have to think this problem ids outside of VS 2010, but this is the only issue I am currently facing.
Its like the references window (that allows you to pick the new reference) is automatically being closed.
Thanks.
I just had the same problem.
Do you have a tablet that you're using? If you enable the Tablet PC Input Service it should work again. There seem to be some dependencies on this service and/or conflicts with my Wacom drivers that caused the issue in the first place.
r3volt
Add Reference or existing item popup is not show then answer is :
Window Button +R then type "services.msc" > search "Tablet PC Input Service" and the right Click on Start.
it will work correctly.

VS Studio Crashes hard with "encountered a user-defined breakpoint" error on any config file

I have a odd problem here I can't figure out.
alt text http://billrob.com/images/studioerror.jpg
This happens each time I open the web.config file in my project. Studio crashes immediately after clicking close. Clicking debug just opens and empty Studio with the debugger attached to nothing.
I even resorted to open studio 2008 naked, without and project or solution, and then manually browsed to the web.config. It still crashes.
Other info:
All *.config files with crash as soon as the file opens.
This occurs in both VS 2005 and 2008.
Any file named .config, whether a .cs file renamed, or an empty text file called bob.config.
Any help would be greatly appreciated.
Try looking at your packages installed for Visual Studio. They are registered in the registry under:
Visual Studio 2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Packages
Visual Studio 2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp
If you have a lot, I say kill them all. And then reinstall your specific addons (such as CodeSmith or VisualSVN).
For reference, this is my fresh new install of Visual Studio 2008 SP1 on Windows 7 RTM. Only 1 plugin, and it's for SQL Server's SSIS:
registery http://eduncan911.com/blog/thumbnail/billrob-stackoverflow.png

Resources