Can’t use System.Windows.Forms

A console application does not automatically add a reference to System.Windows.Forms.dll. Right-click your project in Solution Explorer and select Add reference… and then find System.Windows.Forms and add it.

An error occurred while signing: SignTool.exe not found

ClickOnce Publishing Tools are not installed as part of the Typical Installation Options. So you have to install it in advanced mode.  This dialog can be found in Windows 7 by going to Control Panel > Uninstall a program, right-clicking on Microsoft Visual Studio Professional 2015 and selecting Change. A Visual Studio dialog will open up. Select Modify from the set … Read more

WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery(case-sensitive)

You need a web.config key to enable the pre 4.5 validation mode. More Info on ValidationSettings:UnobtrusiveValidationMode: Specifies how ASP.NET globally enables the built-in validator controls to use unobtrusive JavaScript for client-side validation logic. Type: UnobtrusiveValidationMode Default value: None Remarks: If this key value is set to “None” [default], the ASP.NET application will use the pre-4.5 behavior (JavaScript inline in the … Read more

How to remove error about glyphicons-halflings-regular.woff2 not found

This problem happens because IIS does not know about woff and woff2 file mime types. Solution 1: Add these lines in your web.config project: Solution 2: On IIS project page: Step 1: Go to your project IIS home page and double click on MIME Types button: Step 2: Click on Add button from Actions menu:  Step 3: In the middle of the screen appears a window and in … Read more

The #include exists, but I get an error: identifier “cout” is undefined. Why?

You need to specify the std:: namespace: Alternatively, you can use a using directive: I should add that you should avoid these using directives in headers, since code including these will also have the symbols brought into the global namespace. Restrict using directives to small scopes, for example Here, the using directive only applies to the scope of foo().

ERROR: Cannot open source file ” “

You need to check your project settings, under C++, check include directories and make sure it points to where GameEngine.h resides, the other issue could be that GameEngine.h is not in your source file folder or in any include directory and resides in a different folder relative to your project folder. For instance you have 2 projects ProjectA and ProjectB, if you are including GameEngine.h in some … Read more

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 SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. … Read more

Missing vc_runtimeminimum_x86.msi and installation won’t work

Go to Control Panel–Programs and Features, uninstall the Visual C++ 2015 Redistribute items. After that, run the tool: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed. Re-run the VS 2017 installer as administrator, then click the icon besides ‘Launch’ and choose ‘Repair’ to repair the VS 2017.

Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error

There are three ways to solve this issue. Ignore Precompiled Headers #1Steps: Project > Properties > Configuration Properties > C/C++ > Command Line > in the Additional Options box add /Y-. (Screenshot of Property Pages) > Ok > Remove #include “stdafx.h” Ignore Precompiled Headers #2Steps: File > New > Project > … > In the Application Wizard Window … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)