All Questions

228
votes
31answers
957346 views

Why am I getting "Cannot Connect to Server - A network-related or instance-specific error"?

I get the following error when trying to connect to SQL Server: Cannot connect to 108.163.224.173. A network-related or instance-specific error occurred while establishing a connection to ...
744
votes
24answers
190020 views

ASP.NET Web Site or ASP.NET Web Application?

When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site. What is the difference between ASP.NET Web Application and ASP.NET We...
10
votes
1answers
3605 views

Running my C++ code gives me a blank console

I'm trying to run some C++ code in Visual Studio 2015. When I build it I get no errors, but once I run it, all I get is an empty console. I don't think it froze, because I can see a flashing underscor...
983
votes
78answers
803478 views

How do I remedy the "The breakpoint will not currently be hit. No symbols have been loaded for this document." warning?

C# desktop application on express edition. Worked then didn't work 5 seconds later. I tried the following. Ensure debug configuration, debug flag, and full debug info are set on all assemblies. Del...
337
votes
15answers
294738 views

Preventing console window from closing on Visual Studio C/C++ Console application

This is a probably an embarasing question as no doubt the answer is blindingly obvious. I've used Visual Studio for years, but this is the first time I've done any 'Console Application' development. ...
1896
votes
9answers
261960 views

What are the correct version numbers for C#?

What are the correct version numbers for C#? What came out when? Why can't I find any answers about C# 3.5? This question is primarily to aid those who are searching for an answer using an incorrect ...
467
votes
15answers
162142 views

App.Config Transformation for projects which are not Web Projects in Visual Studio 2010?

For Visual Studio 2010 Web based application we have Config Transformation features by which we can maintain multiple configuration files for different environments. But the same feature is not availa...
36
votes
3answers
62742 views

Setup OpenCV-2.3 for Visual Studio 2010

I'm trying to use opencv 2.3 with Visual Studio 2010 Express. My code is from example: #include "stdafx.h" #include <highgui.h> int _tmain(int argc, _TCHAR* argv[]) { int c; // alloca...
700
votes
7answers
264144 views

What are the various "Build action" settings in Visual Studio project properties and what do they do?

For the most part, you just take whatever Visual Studio sets it for you as a default... I'm referring to the BuildAction property for each file selected in Solution Explorer. There are a number of opt...
504
votes
25answers
754993 views

Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview

I've installed Visual Studio 2012 Release Preview, and it appears to be fine, but now when I try to use Visual Studio 2010 to compile C++ projects, I get the following error message: LINK : fatal ...

Previous Next