Functions 2.0 Error with Application Insights Nuget Reference

Functions don’t currently support automatic dependency tracking with Application Insights like Web Apps do.  I suspect this is on its way but in the meantime Microsoft suggests adding custom telemetry to get the same result.  This apparently works with no problem on the Functions 1.0 runtime, but with the 2.0 runtime it’s a different story. …

Functions 2.0 Error with Application Insights Nuget Reference Read More »

Samba Replication Failures

We found new Samba replication errors in the syslog yesterday that apparently had been occurring for a couple weeks.  Jun 18 21:17:36 dc-3 samba[13322]: [2018/06/18 21:17:36.524971,  0] ../lib/ldb-samba/ldb_wrap.c:72(ldb_wrap_debug) Jun 18 21:17:36 dc-3 samba[13322]:   ldb: No objectClass found in replPropertyMetaData for DC=DESKTOP-NEW\0ADEL:079138d3-16a0-4806-9b32-0cd694137316,CN=Deleted Objects,DC=DomainDnsZones,DC=acme,DC=com! Jun 18 21:17:36 dc-3 samba[13322]: Jun 18 21:17:36 dc-3 samba[13322]: [2018/06/18 21:17:36.525322,  0] …

Samba Replication Failures Read More »

Windows 10 (1803) Quick Tip: Fix Blue Screens with Intel HD Graphics 620

I just got a new XPS 13 (9370) laptop and installed the new version of Windows 10 (1803) only to find it threw frequent blue screen errors.  I updated all the drivers and the firmware but nothing seemed to help. The Dell Support Assist tool had a history of each BSOD which provided the following …

Windows 10 (1803) Quick Tip: Fix Blue Screens with Intel HD Graphics 620 Read More »

WebDeploy Packaging with ASP.NET Core 2.0 (includes Function Apps)

Almost 2 years ago I wrote a blog post on creating WebDeploy packages (really MSDeploy packages) for ASP.NET Core projects.  https://www.dotnetcatch.com/2016/09/20/webdeploy-packaging-with-asp-net-core/ Since that time there have been changes to the framework and that solution no longer works with ASP.NET Core 2.0 projects.  The PackagePublish and Publish targets for example are no longer provided. >”c:\Program Files …

WebDeploy Packaging with ASP.NET Core 2.0 (includes Function Apps) Read More »

Git checkin/sync/fetch/pull fails in Visual Studio and can’t login with organizational account

We went through the process of setting up our organization in Azure AD and connecting it to VSTS today.  Connect VSTS account to Azure Active Directory (Azure AD) Everything seemed to be working correctly initially: Our VSTS account was listed in Azure We could login to VSTS successfully both from the web portal and Visual …

Git checkin/sync/fetch/pull fails in Visual Studio and can’t login with organizational account Read More »

VSTS Build Error – Not compatible with netcoreapp2.0

I recently setup a new VSTS CI build for a .NET Core project which initially threw an error during the Nuget Restore step: The nuget command failed with exit code(1) and error(Errors in C:\agent\_work\2\s\Acme.Function.App.Client\Acme.Function.App.Client.csproj Project Acme.Function.Model is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Project Acme.Function.Model supports: netstandard2.0 (.NETStandard,Version=v2.0) One or more projects are incompatible with .NETCoreApp,Version=v2.0.) …

VSTS Build Error – Not compatible with netcoreapp2.0 Read More »

Full Remote Model Validation in ASP.NET

We recently refactored the validation on our HTML forms in a ASP.NET web application to simplify and reduce duplicate validation logic.  Previously we had implemented duplicate validation logic in both JavaScript for client side validation and ASP.NET model validation on the server side.  Both are needed but the duplicate code was starting to smell more …

Full Remote Model Validation in ASP.NET Read More »

SQLServer – “The login is from an untrusted domain”

We received the following error when attempting to connect to a SQLServer database from SQL Management Studio this morning. Login failed.  The login is from an untrusted domain and cannot be used with Windows Authentication.  (Microsoft SQL Server, Error: 18452 We have never seen this issue before and have been connecting to this server in …

SQLServer – “The login is from an untrusted domain” Read More »

Chutzpah Test Adapter – Timeout occurred when executing test file

We have a mix of C# and JavaScript unit tests in our main solution which use the nUnit and Chutzpah Visual Studio Test Adapters, respectively.  I recently noticed the number of tests listed in the Test Explorer dropped significantly which raised concerns.  In researching further I found the following error message in the Tests Output …

Chutzpah Test Adapter – Timeout occurred when executing test file Read More »