On this episode of “obscure bugs I encountered in things”, I had this very strange one in Power Apps / Dynamics 365 after using the new Command Bar editor.
Category: Development
Cannot determine the organization name for this ‘dev.azure.com’ remote url
Whilst trying to set up Visual Studio to use a git repo hosted on Azure DevOps, we encountered this error. Cannot determine the organization name for this ‘dev.azure.com’ remote url. ensure the credential.usehttppath configuration value is set, or set the organization name as the user in the remote url ‘{org}@dev.azure.com’.
Missing log entries in Azure Functions
Recently, I went to investigate an issue in an Azure Function, and noticed that some entries I would have expected to be present were missing. This is related to differences between the default settings of Azure Functions and other App Services, and also differences between the structure of host.json (used by Azure Functions) and appsettings.json… Continue reading Missing log entries in Azure Functions
JSON schema generation from sample data in Azure Data Factory
While trying to write mapping within a Copy shape in Azure Data Factory, I hit a stumbling block with generated JSON schemas. The problem occurs when you generate a schema containing an array, and the first instance of that array happens to be empty in your sample data.
Linq to SQL in Entity Framework Core 3
The Problem If you’ve had the privilege of updating EF Core from version 2.x, you’ve no doubt enjoyed all kinds of Linq to SQL errors and null reference exceptions. There’s a big change in 3.x that’s behind this. In older versions, when your Linq to SQL couldn’t successfully be translated to SQL at run time,… Continue reading Linq to SQL in Entity Framework Core 3
Using custom XSLT for BizTalk maps
By default, you define your message transformations in BizTalk using the BizTalk Mapper, a unique tool which uses connectors and “functoids” to construct your logic. The mapper is quite powerful, but is another mechanism that has to be learned carefully. Beyond the basics, it’s not very intuitive and doesn’t always work the way you might… Continue reading Using custom XSLT for BizTalk maps
WCF-SQL System.NullReferenceException: Object reference not set to an instance of an object
I recently got an unhelpful null reference error in a BizTalk WCF-SQL port, while attempting to connect to an Azure database. System.NullReferenceException: Object reference not set to an instance of an object
System.ArgumentNullException: Value cannot be null. Parameter name: key
Many of the in-built BizTalk adapters used WCF, including connections to Microsoft SQL Server, Oracle databases, and web services. BizTalk is very strict about supplying a SOAP Action header, and if you forget to specify it in the send port, you will get this particularly unhelpful error: System.ArgumentNullException: Value cannot be null. Parameter name: key
Testing BizTalk WCF End Points with Anonymous Authentication
Sometimes, because my life’s so exciting, I need to test an HTTP push into my local dev instance of BizTalk. In other words, I have a one-way receive port ready to consume an XML message into BizTalk through a WCF web service. The web service IIS components and schemas have been generated through BizTalk WCF… Continue reading Testing BizTalk WCF End Points with Anonymous Authentication