When one of the projects in your solution is referencing the Entity Framework to access a database the Entity Framework NuGet package is added to that project. In the Visual Studio IDE your application may work fine, but when you deploy it to the test or production server the following error message may appear: Exception …
Author Archives: Laszlo Pinter
How to add a new table to an existing Microsoft SQL Server replication publication
To add a new table to an existing MS SQL Server publication Remote desktop into the database server, or a server in the same domain of the database server Start Microsoft SQL Server Management Studio (SSMS) Connect to the database with ComputerName\SQLServerName If there is only one instance of Microsoft SQL Server on the computer …
Error creating a Scheduled Task on Windows Server 2008 R2
When the “Run whether user is logged on or not” option is selected in the General tab of the Create Task window the Task Scheduler has to save the password of the selected user. During the save the following error message appears: Task Scheduler An error has occurred for the task <task name>. Error message: …
Continue reading “Error creating a Scheduled Task on Windows Server 2008 R2”
Enable File Level Authentication or set SSL requirements in IIS 7 and 7.5
In Windows Server 2008 and 2008 R2 the Internet Information Services (IIS) Manager looks different from the IIS 6 version. To set file level attributes, like authentication, SSL requirement, follow the steps below: Start Internet Information Services (IIS) Manager On the left side select the application you want to administer. At the bottom of the …
Continue reading “Enable File Level Authentication or set SSL requirements in IIS 7 and 7.5”
How to create a mirrored volume in Windows Server 2008 R2?
To create a mirrored volume in Windows Server 2008 R2 In the Start Menu right click Computer, In the popup menu select Manage, On the left side of Server Manager expand Storage and select Disk Management, You need a second hard drive with as much unallocated space on it as the size of the volume …
Continue reading “How to create a mirrored volume in Windows Server 2008 R2?”
IPv4 Network Subnet Prefixes, Masks, Usable Hosts
The following table shows the IPv4 network subnet prefixes, subnet masks, and the number of usable hosts. Prefix size Network mask Available subnets Usable hosts per subnet Total usable hosts /24 255.255.255.0 1 254 254 /25 255.255.255.128 2 126 252 /26 255.255.255.192 4 62 248 /27 255.255.255.224 8 30 240 /28 255.255.255.240 16 14 224 …
Continue reading “IPv4 Network Subnet Prefixes, Masks, Usable Hosts”
HP iLO is not responding
When during boot of an HP ProLiant server you see the “iLO2 not responding. System health monitoring has been disabled.” error message you need to restart the HP Integrated Lights-Out (iLO) component in the server. iLo is a small, always on computer with a web interface to monitor and manage the hardware of the HP …
There is already an open DataReader associated with this Command which must be closed first
When your MVC 5 web application page tries to read the database using the Entity Framework in a loop you may get the following error message: InnerException: System.InvalidOperationException HResult=-2146233079 Message=There is already an open DataReader associated with this Command which must be closed first. Source=System.Data This usually happens when a cshtml page receives an IEnumerable<> …
How to increase the security in a NetApp system
Use putty to connect to the IP address of the NetApp management port Log in with the Login and Password Start the System Console at the SP …> prompt type system console To change the root and naroot passwords type passwd for the Login: question enter root enter the new password enter the new password …
Continue reading “How to increase the security in a NetApp system”
Head tracking with a web camera and FaceTrackNoIR
FaceTrackNoIR is a free open source head tracking device to detect the movement of your head in simulation games. In a web browser go to http://facetracknoir.sourceforge.net/information_links/download.htm Download the full installer Run the SetupFaceTrackNoIR_Full_v170.exe On the select components page uncheck the Protocol for Virtual Jostick(s) in the Interface to games section. You don’t need it now. …
Continue reading “Head tracking with a web camera and FaceTrackNoIR”