Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8678

Re: 64 BIT Sybase.ADONet4.ASEClient.dll dont support unnamed parameters

$
0
0

Hi Ram,

 

Please post the code portion and include connection string. You are going from very old Provider to a very current one and possibly running into some issues with either parsing in the Provider or maybe something changed in how we should process this command.

 

Anyway, let's see what the code looks like.

 

Dawn mentioned the "Trial edition" - this isn't trial - this is free SDK.

 

Go to the link https://store.sap.com/sap/cpa/ui/resources/store/html/StoreFront.html

 

On bottom - Database and Technology

 

In search field enter "SAP SDK for Adaptive Server Enterprise"


The top two offerings are 15.7 SP127 and 15.7 SP130 (sorry they aren't labeled nicely).

Select SP130.  Click Free Trial button (this label is a misnomer - this isn't a trial - it is the actual software) Fill in the form and then email will be sent with link to the actual download page - select windows 64 bit platform.

 

I need to see your code before I tell you what you might be able to do in order for it to work. The implication here is you're going to bind a parameter to the command.  Typically with stored procedures in ADO.NET we see a lot more of the folks setting command type to stored procedure and then binding the parameters by name one after the other.

 

In your case looks like newer provider is sending the command literally (ADO.NET doesn't do prepared statements like ODBC Driver can).  Maybe with code some changes can be made to get it to work.  Or if parsing issue, maybe newer Provider resolves.


Viewing all articles
Browse latest Browse all 8678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>