on 2017 Dec 08 7:17 AM
How do I use SQLAnywhere in PowerShell? When I try to Add-Type -Path "./Sap.Data.SQLAnywhere.v4.5.dll"
it tells me Could not load file or assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Request clarification before answering.
Found the answer:
When you install SQL Anywhere 17, the assemblies are automatically registered in the GAC. To load the assembly you need to do Add-Type -AssemblyName ("Sap.Data.SQLAnywhere.v4.5, Version=17.0.0.10624, Culture=neutral, PublicKeyToken=f222fc4333e0d400")
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.