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, 22:40

leotohill's gravatar image

leotohill
8625
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, 03:26) Breck Carter

Thanks Breck, but -LIteralPath is not the solution.

(24 May, 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:

×56
×5

question asked: 23 May, 22:40

question was seen: 261 times

last updated: 24 May, 09:45