Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

In Powershell v5 I'm Trying to load the ianywhere provider dll. I'm getting this loader exception: Â : The term 'Â' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again

My load command is Add-Type -path "C:\Temp\sa\iAnywhere.Data.SQLAnywhere.v4.0.dll" Of course, the ianywhere dll requires accompanying native dlls, which I have placed in the same folder. Those come in two versions, 32bit and 64 bit. I've tried both, and I've tried 32bit powershell and 64bit powershell. My shell is running as admin as well.

asked 23 May '17, 22:40

leotohill's gravatar image

leotohill
86235
accept rate: 0%

WAG: -LiteralPath

FWIW this page is a marvellous example of the adage "If you can't make it simple, at least document it." :)

(24 May '17, 03:26) Breck Carter

Thanks Breck, but -LIteralPath is not the solution.

(24 May '17, 09:45) leotohill
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×76
×7

question asked: 23 May '17, 22:40

question was seen: 2,020 times

last updated: 24 May '17, 09:45