Provider does not work well in lprun.exe (cmd line tool)
Closed this issue · 2 comments
I get an exception indicating failure in initialization code on line 171 in AzureDriver.cs. I guess the environment in lprun.exe is not the same as running under LINQPad.exe.
# Exception
NullReferenceException: Object reference not set to an instance of an object.
at Madd0.AzureStorageDriver.AzureDriver.<>c__DisplayClass1.b__0(Object sender, SendingRequestEventArgs e) in d:\Projec
ts\GitHub\AzureStorageDriver\Madd0.AzureStorageDriver\AzureDriver.cs:line 171
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at System.Data.Services.Client.DataServiceContext.CreateRequest(Uri requestUri, String method, Boolean allowAnyType, String contentType, Version requestVersion, Boolean sendChunked) at System.Data.Services.Client.DataServiceRequest.CreateResult(Object source, DataServiceContext context, AsyncCallback callback, Object state) at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents) at System.Data.Services.Client.DataServiceQuery
1.Execute()
at System.Data.Services.Client.DataServiceQuery1.GetEnumerator() at System.Linq.Buffer
1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable
1 source)
at UserQuery in c:\Users\erl\Documents\LINQPad Queries\PSS\Tempser.linq:line 29
I didn't even know a command line tool existed! I'll check it out as soon as I can, but unfortunately, with the holidays and all, I can't give any guarantees…