Comments (8)
What error do you get Manish?
Does the error occur only when the catch block is executed, or does it occur regardless of whether the catch block is executed?
from tedious.
it occur regardless of catch block is executed.
i just un comment try...catch block from store procedure, and it give me error...
from tedious.
What error do you get? Is it from the server, from tedious, or Javascript error?
What version of tedious are you using?
If the error is something like Unsupported ENVCHANGE type ...
then can you try with the latest from master please?
from tedious.
iisnode encountered an error when processing the request.
HTTP status: 500
HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because
E:...\node_modules\tedious\lib\token\token-stream-parser.js:103
throw error;
Error: Unsupported ENVCHANGE type 8 BEGIN_TXN at offset 3
at Object.227 (E:...\node_modules\tedious\lib\token\env-change-token-parser.js:67:15)
at Parser.nextToken (E:...\node_modules\tedious\lib\token\token-stream-parser.js:81:34)
at Parser.addBuffer (E:...\node_modules\tedious\lib\token\token-stream-parser.js:65:17)
at Connection.sendPacketToTokenStreamParser (E:...\node_modules\tedious\lib\connection.js:439:35)
at Connection.<anonymous> (E:...\node_modules\tedious\lib\connection.js:146:23)
at Connection.dispatchEvent (E:...\node_modules\tedious\lib\connection.js:375:59)
at MessageIO.<anonymous> (E:...\node_modules\tedious\lib\connection.js:329:20)
at MessageIO.emit (events.js:67:17)
at MessageIO.<anonymous> (E:...\node_modules\tedious\lib\message-io.js:47:12)
at Socket.<anonymous> (E:...\node_modules\tedious\lib\message-io.js:3:59)
from tedious.
i have got 'Unsupported ENVCHANGE type' error as you mentioned. but i can't understand your given solution.
please explain me what you want to say... (If the error is something like Unsupported ENVCHANGE type ... then can you try with the latest from master please?)
from tedious.
Support for transactions has been added, which includes recognition of the ENVCHANGE tokens that relate to transactions. It is in the master branch, but has not been published to npm yet.
You can clone the repo, and use npm link (or however you prefer to use a local copy of a project).
Or you can wait a few days (maybe a week), and I'll publish a new version of tedious to npm. Sorry it's taken so long to get transaction support out there.
from tedious.
thank you very much sir... i am waiting for 1 more week ...
from tedious.
I've just published v0.0.7, which has support for transactions.
from tedious.
Related Issues (20)
- not able to connect to Microsoft Fabric HOT 6
- [QUESTION] How do I check the status of a connection? HOT 3
- Dead Links in documentation HOT 3
- [FEATURE REQUEST] Cloudflare Workers support HOT 3
- unsupported type "BitN" from querying a BIT column HOT 5
- connection error: SSL routines:ssl_choose_client_version:unsupported HOT 2
- [perf] Performance loss on `<instance_members_initializer>` during token parsing HOT 3
- `MessageIO.prototype.startTls` should follow `tls.connect` semantics HOT 1
- Always Encrypted Roadmap
- Need to update @azure/msal-node to 2.0 for NodeJs 20 compatability HOT 9
- Login failure with caret (^) in password HOT 2
- [FEATURE REQUEST] HOT 3
- README Getting Started Links Out-of-Date HOT 1
- [FEATURE REQUEST] Connection socket ref/unref HOT 1
- Getting RangeError [ERR_OUT_OF_RANGE] for "smalldatetime" type column while using bulk insert HOT 10
- https://salla.sa//bero-2030.com HOT 1
- Pre 2001 Dates throws Out of Range Error when using params HOT 3
- MSSQL Connection problem HOT 3
- support with tauri application HOT 1
- link in readme is broken HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tedious.