Comments (8)
From a quick look, I can't see anything obviously wrong. Can you provide some details of what happens?
from tedious.
Just can't connect . Do I need to set the port ??
Regards,
Dhaval
On 30/12/2012, at 11:14 PM, "Mike D Pilsbury" [email protected] wrote:
From a quick look, I can't see anything obviously wrong. Can you provide some details of what happens?
—
Reply to this email directly or view it on GitHub.
from tedious.
The port will default to 1433, so you shouldn't need to specify it, unless you've configured a different port.
Is connection successful if connection pooling is not used?
Can you enable some debugging please? Something along these lines.
var connectionConfig = {
"userName": "user",
"password": "user1",
"server": "test001",
"options": {
"database": "employees",
debug: {
packet: true,
data: true,
payload: true,
token: true,
log: true
}
}
};
// Note, idleTimeoutMillis was spelt incorrectly, but that
// should not cause your problem.
var poolConfig = { max: 10, min: 2, idleTimeoutMillis:30000, log: true };
...
connection.on('debug', function (message) {
console.log('debug=> ' + message);
});
from tedious.
Thanks heaps I will try n let u know tomorrow . Happy new year mate .
Regards,
Dhaval
On 31/12/2012, at 6:31 PM, "Mike D Pilsbury" [email protected] wrote:
The port will default to 1433, so you shouldn't need to specify it, unless you've configured a different port.
Is connection successful if connection pooling is not used?
Can you enable some debugging please? Something along these lines.
var connectionConfig = {
"userName": "user",
"password": "user1",
"server": "test001","options": {
"database": "employees",
debug: {
packet: true,
data: true,
payload: true,
token: true,
log: true
}
}
};// Note, idleTimeoutMillis was spelt incorrectly, but that
// should not cause your problem.
var poolConfig = { max: 10, min: 2, idleTimeoutMillis:30000, log: true };...
connection.on('debug', function (message) {
console.log('debug=> ' + message);
});
—
Reply to this email directly or view it on GitHub.
from tedious.
Hi Pekim,
Just discovered when we is linked server the 'returnValue' events gets fired twice? Do you know if I can do somehting in the code to stop this?
This is urgent . It will be great if you can reply ASAP!!!
from tedious.
I'm afraid that I've no idea at the moment what might cause this to happen.
If you can provide some debug log out (see #58 (comment)) that might help me.
from tedious.
Hi ,
I have found a solution to this which is to inspect the value in the 'returnvalue' event and if that is equal to 0 then not worry about executing the code below.
This is a workaround when trying to use sql 2000 and tedious!
Cheers!
from tedious.
Closing, as debug output will be required to get to the bottom of the problem.
Please feel free to re-open if this can be provided.
from tedious.
Related Issues (20)
- [QUESTION] Expected behavior of parallel Strategy for MultiSubnetFailover option HOT 5
- Minor addition to exception information on failed bulk-load data due to type validation: Mention the failed column and errorneous value HOT 1
- Network socket not correctly cleaned up when connection timeout fires during TDS8.0 TLS negotiation HOT 2
- Unable to connect to Azure SQL using azure directory password authentication. HOT 2
- 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
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.