Procedure or function ‘`…_Insert`’ cannot be found in database …
When you use the Microsoft .NET Entity framework to access a MySql database, the autogenerated code throws an error when you try to insert a row into the database with context.MY_TABLE.Add(MY_OBJECT); Server Error in ‘/’ Application.…
No connection string named ‘…’ could be found in the application config file.
Two-tier applications separate the presentation layer and the data layer, and all database access related objects are located in the data-tier. When the application runs, the config file of the main project is read. In web applications, it is the…
delimited by end-of-file (wanted `EOF’)
When you create a file in a script and use an end of file delimiter, if ... cat <<EOF> $chef_dir/attrib.json $json EOF fi and you indent the word EOF to look nicer, you will get the error message warning: here-document at line … delimited…
could not find filename for attribute .DS_Store in cookbook
The Macintosh workstation saves application states in .DS_Store files. When you edit your Chef cookbooks the MacOS leaves these files in many folders. When the Chef cookbook is executed, the Chef Client reads all files in the attributes folder and tries…
NotSupportedException: Unable to determine the provider name for provider factory of type ‘MySql.Data.MySqlClient.MySqlClientFactory’. Make sure that the ADO.NET provider is installed or registered in the application config
In a two-tier web application, the data layer is in a separate project. This allows better separation between the presentation layer and the data layer. This way you can reuse the data project in another application that targets the same database. To…
Configure the ASP.NET MVC 5 web application to use an external database for user authentication
When a new ASP.NET web application is created with the authentication set to Individual User Accounts, it automatically creates an SQL Express internal database in the App_Data directory of the application when you register the first user. To create the…
Create an ASP.NET MVC 5 Web Application with user authentication
To create a new ASP .NET MVC web application that contains user authentication code In the File menu of Visual Studio select New, Project… On the left select Visual C#, Web, and in the middle select ASP.NET Web Application (.NET Framework) Enter…
Flashing Side Marker Lamps
In the US it is not required to make the turn signals visible from the side of the vehicle. Many cars sold in the US have their front turn signals positioned between the headlights, so those are usually not visible from the side. If another car is next…
TeamCity Agent Unmet Requirements
When a TeamCity configuration is created there are requirements the TeamCity Agent has to meet. The creator of the build configuration can specify Explicit Requirements on the Agent Requirements page of the Build Configuration Settings. When the build…
Create a Splunk HTTP Event Collector token
To receive HTTP post messages in Splunk, we need to create a Splunk HTTP Collector token. To create an index for this token see Create a Splunk index In the Settings menu select Data Inputs Select the HTTP Event Collector link Click the New Token button…