I have to deal with some legacy code and it looks like creating an ADODB Connection in ASP.NET 5 is not possible do to the following exception:
System.URI.FormatException: {"Invalid URI: The URI is empty."}
Call Stack:
System.dll!System.Uri.CreateThis(string uri, bool dontEscape, System.UriKind uriKind) Unknown System.dll!System.Uri.Uri(string uriString) Unknown System.dll!System.ComponentModel.Design.RuntimeLicenseContext.GetLocalPath(string fileName) Unknown System.dll!System.ComponentModel.Design.RuntimeLicenseContext.GetSavedLicenseKey(System.Type type, System.Reflection.Assembly resourceAssembly) Unknown System.dll!System.ComponentModel.LicenseManager.LicenseInteropHelper.GetCurrentContextInfo(ref int fDesignTime, ref System.IntPtr bstrKey, System.RuntimeTypeHandle rth) Unknown
The ADODB Connection object is created in a .NET 4.5.1 class library that is referenced by a simple ASP.NET 5 Console application.
Is there any way to get this to work? Is ADODB officially unsupported?