Home

ArgumentNullException when running SQL script with lprun6 (works with lprun from LINQPad 5)

I have a SQL LINQPad script using the LINQ to SQL driver. When I run the script in LINQPad 6 (6.7.5 64-bit) it works:

SELECT @@Version AS Version;

Result:

However when I use lprun I get an exception:


If I use lprun from LINQPad 5 (5.41.00 32-bit) it works:


Result:

Version
"Microsoft SQL Server 2019 (RTM-GDR) (KB4517790) - 15.0.2070.41 (X64) 
    Oct 28 2019 19:56:59 
    Copyright (C) 2019 Microsoft Corporation
    Developer Edition (64-bit) on Windows 10 Pro 10.0 <X64> (Build 18363: ) (Hypervisor)
"

Thank you for an amazing tool, it is such a time saver! The reason I'm reporting this is because I'm working with a fairly big dataset and lprun from LINQPad 5 is 32-bit and I get an OutOfMemoryException.

Comments

Sign In or Register to comment.