Visual Studio 2005: Unable to connect to visual studio's localhost web server - visual-studio

I recently upgraded to Windows 10 from Windows 7 and I was unable to debug a web site in Visual Studio 2005. I got the error: unable to connect to visual studio's localhost web server. I don't know if the upgrade caused it to break, but this was previously working.

To resolve this I ran process monitor on devenv.exe to see which calls ended in not SUCCESS. Turns out, my Visual Studio 2005 installation was looking for WebDev.WebServer.exe to be located here:
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE
Whereas it was missing. I copied it over from here:
C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\9.0
And it seems to work.
Across the internet other answers will tell you it needs to be in the .NET framework folder, but I found that in my case it needed to be in the Visual Studio 8 folder.

Copy WebDev.WebServer.EXE from "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\9.0" to "C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE" will resolve this.

Related

Why does 'iprtrmib.h' in Window Kits 8.0 reference 'mprapidef.h' in window 'kits 8.1'?

I am using Visual Studio 2012 (Update 5) with MS Window Kits 8.0 and .NET Framework 4.5.51209. Recently, I also installed MS Window Kits 8.1.
Now, I have a file: '\windows kits\8.0\include\shared\iprtrmib.h' that failes to include 'mprapidef.h'.
That include file only exists at: '\Windows Kits\8.1\Include\shared\mprapidef.h', which is not in my include path.
My Visual Studio 'Include Directories' is set to: "$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);".
These are my Visual Studio macros:
VCInstallDir: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\
WindowsSDK_IncludePath: C:\Program Files (x86)\Windows Kits\8.0\Include\um;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\winrt
When searching, I found a slightly similar question: missing header file on a new installation of visual studio 2012
I tried repairing my Visual Studio installation. I do not want to change the 'Include Directories' for each of my projects. What else should I try?
I installed vs2015 and vs2012, then the same problem occurs,however, I find a solution.
open visual studio project settings,click VC++ Directories, find Include Directories,add the following line to it.
C:\Program Files (x86)\Windows Kits\8.1\Include\shared
One may add the corresponding 8.1 paths to the environment variable.
Maybe it's necessary to do the same thing with the lib environment variable (WindowsSDK_LibraryPath_x86).

Where Can I Download Microsoft.Phone.WinJS.2.1?

I'm trying to make a universal Windows App with WinJS. I've downloaded the latest update to VS2013. The RC version. I've installed all the SDKs I can find. I've installed the WinLibJS_VSE.exe extension, as well. Funny thing about that one is that VS updates keeps saying that I didn't...
When I open up any of the sample universal WinJS apps - like the ones here http://code.msdn.microsoft.com/wpapps/Universal-Windows-app-cb3248c3 - I always end up with this error:
Could not find SDK "Microsoft.Phone.WinJS.2.1, Version=1.0". C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets
I tried finding this SDK on my machine, but I'm not finding it at all. Nor am I finding it online. I copied some SDKs from C:\Program Files (x86) into C:\Program Files (x86)\Microsoft SDKs to no avail.
Any ideas?
The Windows Phone SDK should have been installed when you installed the Visual Studio 2013 Ultimate Update 2 RC.
The files should be located here:
C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Microsoft.Phone.WinJS.2.1\1.0\DesignTime\CommonConfiguration\Neutral\Microsoft.Phone.WinJS.2.1\js
When you create a C# project, is it a Silverlight project or a Windows Runtime project?
Okay, I've been talking to the Visual Studio team about this.
Did you happen to install the "Visual Studio 2013 Extensions for the Windows Library for JavaScript"?
http://www.microsoft.com/en-us/download/details.aspx?id=40793
(In the Programs and Features list, it will appear as "Visual Studio Extension for Windows Library for JavaScript".)
If so, you'll need to uninstall it. The order for uninstall is:
Visual Studio 2013
Visual Studio Update 2 RC
"Visual Studio Extension for the Windows Library for JavaScript"
After the uninstall, reinstall in this order:
Visual Studio 2013
Visual Studio Update 2 RC
Of course, all of this assumes that you've already upgraded your development environment to Windows 8.1. These projects will only work on a Windows 8.1 machine.
I hope that this helps. If not, we can try something else.
The final release of Visual Studio seems to have resolved this issue.
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs
I had the same problem and I tried all above none of them work. However the following worked for me:
1-) Uninstall Visual Studio extensions for Javascript
2-) Uninstall visual studio 2013
3-) Install visual studio 2013 with Update 2 RC from the following link (it is VS + update 2 bundled)
http://www.microsoft.com/en-us/download/confirmation.aspx?id=42303
Above link is for Premium edition. Find the relevant link accoringly.
P.S It is quite lame that when you uninstall Visual studio , it doesn't uninstall some of its addins. And you have lot of remaining artifacts :(
Andy (and potentially others running into this issue)....
We are currently investigating into this issue to understand the root cause. If this issue is blocking you from development, the recommendation is to perform the following steps "carefully". If these steps do not help, then please let us know!
Uninstall Visual Studio 2013 from Programs and Features
Reboot machine if prompted
Delete or rename these folders-
I. \Documents\Visual Studio 2013
II. C:\Program Files (x86)\Microsoft Visual Studio 12.0
III. C:\Program Files\Microsoft Visual Studio 12.0
IV. \AppData\Roaming\Microsoft\VisualStudio\12.0
V. \AppData\Local\Microsoft\VisualStudio\12.0
VI. C:\Program Files (x86)\Microsoft Visual Studio 12.0
VII. C:\Program Files (x86)\Microsoft XDE\8.1
VIII. C:\Program Files (x86)\Microsoft SDKs\Windows Phone\
IX. C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneAppx\
X. C:\Program Files (x86)\Windows Phone Silverlight Kits
XI. C:\Program Files (x86)\Windows Phone Kits
XII. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone
XIII. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneAppx
XIV. C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools
Go to the registry editor (start >> run >> regedit) and remove/rename the following registries-
I. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0
II. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0
III. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0
IV. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config
Download the .iso image of Visual Studio 2013 preferably using the relevant MSDN account
Extract the .iso file by using an extraction tool, such as WinRar (http://www.rarlab.com/rar/winrar-x64-401.exe) remember to associate .iso extension with WinRar during its setup
Install Visual Studio 2013 using this extracted setup
Install the Visual Studio Update 2 RC from here: _http://www.microsoft.com/en-us/download/details.aspx?id=42307
Check if the templates are appearing
You can then install the Windows Phone standalone SDK from here: _https://dev.windowsphone.com/en-us/downloadsdk or through the Visual Studio extensions.

Can't find the Visual Studio 2012 Express for Web installation

I am pretty sure I installed VS 2012 Express on my new laptop a month ago. I even posted on Facebook about how I didn't like the default themes because the window borders were too light in color.
Now, I can't seem to find the VS 2012 Express installation. Where should I look?
I've looked for devenv.exe or any exe under C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common\IDE and in C:\Program Files\Microsoft Visual Studio 11.0\Common\IDE.
Okay, I found it. The exe name is VWDExpress.exe and it is located at C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common\IDE
If you are using the Ultimate version go to
C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE
and look for "devenv" with visualStudio Icon .
I had the same problem. I found it in
Local Disk > Program Files 86 > Common7 > IDE > WDExpress
It wasn't an .exe when I found it, it was an application that I launched.

The specified module could not be found. Exception from HRESULT: 0x8007007E

Im getting the following message on a messagebox shown from visual studio when I try to do any modifications on an sql server database from visual studio's server explorer on my 64bit machine at home. The database was created and filled on a 32bit machine. Any thoughts?
EDIT:
Fixed it by replacing the corrupted dll located here: "C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools\dsref80.dll"
Just as a bit of a heads-up to anyone else coming here from Google...
This happened (for me, and most people here) as a result of installing VS11 Beta, and then un-installing VS11 Beta without installing VS2012. Replacing the DLLs mentioned above, and optionally the DLLs located in the path below, seemed to fix the problems.
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\*.dll
My problem was largely the same.
I was unable to create database diagram. Visual Studio 2010 would just silently fail, but SQL Server Management Studio gave the error message "The specified module could not be found. (MS Visual Database Tools)". This happened after having tried (and removed) the new Visual Studio beta.
Your solution brought me in the right direction. But instead of the dsref80.dll file, my problem was the whole folder C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8. After removing that folder and inserting a copy from a virtual machine (repairing VS would probably have worked also), everything is working again!
I ran into this problem trying to use the SQL Server 2008 R2 Business Intelligence Development Studio (BIDS), which uses Visual Studio 2008 Shell (integrated mode). Every time I tried to create a new Integration Services Project, I was getting an error, "... The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms) ...".
As other posters have noted, the files in MSDesigners8 seem to be corrupted. I didn't think to install SQL Server 2008 R2 BIDS in a virtual machine to get copies of the DLL's to put into that folder, but I found a solution which seems to work: installing the Visual Studio 2008 Shell (integrated mode) SP1.
Before that, I renamed the MSDesigners8 folder to MSDesigners8_old (and the .dll files were also renamed .dllold. I don't think that matters necessarily; I'm including it here only in case it does matter). I tried repairing as well as reinstalling BIDS, but it did not recreate the MSDesigners8 folder. Installing SP1 did.
After that, it may also take a reinstall of BIDS, but it may not. Good luck!
I was experiencing this same error on Visual Studio Professional 2012 Version 11.0.61030.00 Update 4 and solved it by going to C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools and renaming the dsref80.dll file to desref80.old.dll and then running the "Repair" action on my Visual Studio installation. When repairing, the Visual Studio repair dialog told me it couldn't locate the package source since I didn't have the installation disc available, so I just selected the "Download" option and it worked. This installs the appropriate version of the desref80.dll file.
f you think you may have this problem, just replace your files with a copy from another SQL Server 2008R2/Visual Studio 2008 Installation, that is working, as follows:
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslm.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msdds.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsf.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslmp.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsp.dll

signtool.exe not found in vs2008

I'm trying to publish a program in vs2008 but I get the following error,
can not publish because a project failed to build.
An error occurred while signing: signtool.exe not found.
I've been searching Google for some time now but I can't find the answer.
I can't find signtool.exe; can anyone tell me where I can get it?
signtool.exe is included with the Windows SDK, and a copy of the Windows SDK is included with VS2008.
It should be installed as %ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe, but it might depend on installation options.
Another route is to install the Windows SDK directly (latest version includes Win7/2008R2 support).
VS 2008 - This tool is located at,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
Probably you could find in any one of this location.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin

Resources