-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSSQL support in IronPython 3.4 #1746
Comments
No idea how you're loading your DLLs, but you're most likely using the wrong Microsoft.Data.SqlClient.dll file. |
Hi @slozier @BCSharp Step 1: I have created a Class library project in .Net6.0 Step 3: I have created DatabaseContext through entiryframework. i have used SQL server. |
When you nuget install the package, the |
Hi @slozier, Thanks for the response. Step 1: Copied the folders inside the runtimes folder that are generated on publish. |
@kumarKovuru I think you misunderstood. I was trying to explain the the .deps.json file pointing to the assemblies in the runtimes folder is required by .NET to find the correct assembly. Another option that might work would be putting the DLLs from the runtimes folder in the root - which might be fine if you don't care about the cross-platform aspect of things... |
Discussed in #1744
Thanks to @BCSharp. I am able to create the dot net project by following the tips from the above link by @BCSharp.
The new problem i am facing is - I am not able to call the api if it involves a MSSQL database interaction. I am getting the below error.
"SystemError: Microsoft.Data.SqlClient is not supported on this platform."
Any information if Iron Python support the MSSQL interaction?
The text was updated successfully, but these errors were encountered: