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 ASP.NET web application with user authentication see Create an ASP.NET Web Application with user authentication This is sufficient …
Author Archives: Laszlo Pinter
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 the Name, select the solution folder location and click OK. The solution name …
Continue reading “Create an ASP.NET MVC 5 Web Application with user authentication”
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 to yours, the other driver cannot see your …
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 configuration is created, TeamCity automatically adds Build Step Requirements. The bottom of the same page shows the list …
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 Enter a name and description for the token and click …
Continue reading “Create a Splunk HTTP Event Collector token”
Create a Splunk index
Splunk stores the events in separate databases based on index names. It is faster to search for events if the event types are separated into multiple indexes. To create an index for the event type you want to send to Splunk In the Settings menu select Indexes Click the New Index button Enter the name of the …
Enable the HTTP Event Collector in Splunk
To send events to Splunk via HTTP posts, enable the HTTP Event Collector functionality on the Splunk Enterprise server. If you operate your own Splunk server Log into the Splunk web interface as an administrator In the Settings menu select Data inputs Select the HTTP Event Collector link In the upper right corner click the …
Continue reading “Enable the HTTP Event Collector in Splunk”
How to send an event to the Splunk HTTP Event Collector
The Splunk HTTP Event Collector is the preferred way to send events to Splunk. The Splunk HTTP Event Collector closes the connection if you don’t use HTTPS when you are sending a POST message. Recv failure: Connection reset by peer To send the event from the Macintosh Bash terminal curl -k https://MY_SPLUNK_SERVER_IP:8088/services/collector -H ‘Authorization: Splunk MY_TOKEN’ …
Continue reading “How to send an event to the Splunk HTTP Event Collector”
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
When I made changes to the web.config file of an ASP.Net C# application, I have accidentally deleted a comma, and I started to get the runtime error message: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) Make sure all necessary commas are there in the config files, Visual Studio does not …
Send Alt-Control-Delete to a Windows server via Remote Desktop
When you log into a Windows server via the Remote Desktop Protocol (RDP) in some cases you need to send the Alt-Control-Delete ( in other notations Alt-Ctrl-Del, Control-Alt-Delete, Ctrl-Alt-Del ) key combination to the remote server. From a Macintosh laptop On a Macintosh laptop press the fn+control+option+delete keys to send Alt-Control-Delete to the server. From a Windows …
Continue reading “Send Alt-Control-Delete to a Windows server via Remote Desktop”