Concurrent Access to External Resources with .NET Core April 9, 2020May 12, 2020Munir HusseiniNo Comments A common scenario in web application is that multiple threads (i.e. concurrent page requests) concurrently try to access the same…
How to find files after receiving mscordaccore.dll error message March 22, 2019May 12, 2020Munir HusseiniNo Comments This article describes where to find mscordaccore.dll on Azure App Service machines to allow import of memory dumps using JetBrain’s dotMemory.
An error occurred while communicating with the remote host. The error code is 0x80070032. May 8, 2018May 15, 2020Munir HusseiniNo Comments The logs of a web application running in IIS include an HttpException with an inner COMException and the message “An…
“IDENTITY_INSERT is already ON for table X” When Applied to Multiple Tables August 22, 2013Munir HusseiniNo Comments Today, I needed to insert data into multiple tables in SQL Server and write to the tables’ identity columns. My…
Automatically Re-Create Stored Procedures In SQL Server May 22, 2013Munir HusseiniNo Comments One day I discovered that the system table sysdepends in my database was not valid. I know that dropping and…
Listing Objects Used in Stored Procedures (MS SQL) May 21, 2013Munir HusseiniNo Comments Recently, I had to clean up a large data base. Some of the tables in that database were obsolete and…
EF5 Migrations: Multiple Data Contexts in a Single Database February 15, 2013September 27, 2017Munir Husseini5 Comments Consider this: an application is built up from multiple modules, each with a different set of entities and data contexts.…
Determine SQL Server Version and Edition November 27, 2012Munir HusseiniNo Comments Here you go…. SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY (‘productlevel’), SERVERPROPERTY (‘edition’)
Getting The Database Connection String From an ObjectContext June 13, 2012September 27, 2017Munir Husseini1 Comment The trick here is to cast the Connection property of the ObjectContext to the type System.Data.EntityClient.EntityConnection. Then you can access…
Handle Clicks On Calendar Items In SharePoint 2010 With JavaScript May 18, 2012September 29, 2017Munir Husseini15 Comments In some scenarios, you might want to add extended client behavior to a Calendar View in SharePoint 2010. The client-side…