Tuesday, March 20, 2012
OleDB open connection fails for user DSN
Database: SQL Server 2000
Hi,
I created an API, in-proc server, which uses OLEDB to open connection for a
given DSN.
When I create system dsn and execute API from SQL Server Store procedure it
success.
When I create user dsn and execute API from SQL Server Store procedure it
fails and returns error "Data source name not fond and no default driver
specified".
May I know reason for failing API for user DSN? Is there any solution.
Thanks in advance.
Regards
VijayA user DSN is specific to the user logged in... For this to work you must
create a user DSN for the same user that SQL is using ( since you are doing
this in a sp)... Most people would create a System DSN and not even worry
about it though.
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"vijay" <vijaysingh@.abo.abosoftware.com> wrote in message
news:u9puL320DHA.4064@.tk2msftngp13.phx.gbl...
> Platform: VC 7.0, Windows 2000
> Database: SQL Server 2000
>
> Hi,
> I created an API, in-proc server, which uses OLEDB to open connection for
a
> given DSN.
>
> When I create system dsn and execute API from SQL Server Store procedure
it
> success.
>
> When I create user dsn and execute API from SQL Server Store procedure it
> fails and returns error "Data source name not fond and no default driver
> specified".
>
> May I know reason for failing API for user DSN? Is there any solution.
>
> Thanks in advance.
>
> Regards
> Vijay
>
>|||How could I decide which DSN should be crated i.e. either system dsn or user
dsn.
Vijay
Sr. Software Engineer
ABO Software
New Delhi
"Wayne Snyder" <wsnyder@.computeredservices.com> wrote in message
news:eS7jFH40DHA.2396@.TK2MSFTNGP09.phx.gbl...
> A user DSN is specific to the user logged in... For this to work you must
> create a user DSN for the same user that SQL is using ( since you are
doing
> this in a sp)... Most people would create a System DSN and not even worry
> about it though.
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Computer Education Services Corporation (CESC), Charlotte, NC
> www.computeredservices.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
>
> "vijay" <vijaysingh@.abo.abosoftware.com> wrote in message
> news:u9puL320DHA.4064@.tk2msftngp13.phx.gbl...
> > Platform: VC 7.0, Windows 2000
> >
> > Database: SQL Server 2000
> >
> >
> >
> > Hi,
> >
> > I created an API, in-proc server, which uses OLEDB to open connection
for
> a
> > given DSN.
> >
> >
> >
> > When I create system dsn and execute API from SQL Server Store procedure
> it
> > success.
> >
> >
> >
> > When I create user dsn and execute API from SQL Server Store procedure
it
> > fails and returns error "Data source name not fond and no default driver
> > specified".
> >
> >
> >
> > May I know reason for failing API for user DSN? Is there any solution.
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > Regards
> >
> > Vijay
> >
> >
> >
> >
>
Monday, March 12, 2012
OLE+XML+ASP Fails After Migration to 2003
We have moved our site from a Windows Server 2000 and SLQ Server 2000
environment to Windows Server 2003 and SQL 2000 and everything is working
fine except an app that uses XML and OLE.
The script was working fine up to a recent point and the only way we can
resolve the problem is by restarting IIS. The script just streams the xml
many successful times and then out of nowhere just sits there and appears to
be timing out but the process has been sitting on the server for over 4 hour
s
without timing out.
Has there been anything that has changed in Windows Server 2003 that would
cause this?
Thanks,
FredHi Fred,
Can you give a little more detail on what the script is doing? Which XML
interfaces/objects are you using in the script?
Thanks,
Adam Wiener [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"FredPope" <FredPope@.discussions.microsoft.com> wrote in message
news:1C900FAD-0510-4C50-9DCC-BF7A84902BA4@.microsoft.com...
> Hi,
> We have moved our site from a Windows Server 2000 and SLQ Server 2000
> environment to Windows Server 2003 and SQL 2000 and everything is working
> fine except an app that uses XML and OLE.
> The script was working fine up to a recent point and the only way we can
> resolve the problem is by restarting IIS. The script just streams the xml
> many successful times and then out of nowhere just sits there and appears
to
> be timing out but the process has been sitting on the server for over 4
hours
> without timing out.
> Has there been anything that has changed in Windows Server 2003 that would
> cause this?
> Thanks,
> Fred
>
OLE+XML+ASP Fails After Migration to 2003
We have moved our site from a Windows Server 2000 and SLQ Server 2000
environment to Windows Server 2003 and SQL 2000 and everything is working
fine except an app that uses XML and OLE.
The script was working fine up to a recent point and the only way we can
resolve the problem is by restarting IIS. The script just streams the xml
many successful times and then out of nowhere just sits there and appears to
be timing out but the process has been sitting on the server for over 4 hours
without timing out.
Has there been anything that has changed in Windows Server 2003 that would
cause this?
Thanks,
Fred
Hi Fred,
Can you give a little more detail on what the script is doing? Which XML
interfaces/objects are you using in the script?
Thanks,
Adam Wiener [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"FredPope" <FredPope@.discussions.microsoft.com> wrote in message
news:1C900FAD-0510-4C50-9DCC-BF7A84902BA4@.microsoft.com...
> Hi,
> We have moved our site from a Windows Server 2000 and SLQ Server 2000
> environment to Windows Server 2003 and SQL 2000 and everything is working
> fine except an app that uses XML and OLE.
> The script was working fine up to a recent point and the only way we can
> resolve the problem is by restarting IIS. The script just streams the xml
> many successful times and then out of nowhere just sits there and appears
to
> be timing out but the process has been sitting on the server for over 4
hours
> without timing out.
> Has there been anything that has changed in Windows Server 2003 that would
> cause this?
> Thanks,
> Fred
>
Wednesday, March 7, 2012
OLE DB Destination fails with illegal instruction
Environment: Server Windows 2003 SP1, VS 2005
I ran into this problem trying to deploy an SSIS package to a development server. I tested by creating a simple SSIS package on the server itself. Two blocks an OLE DB Source block and an OLE DB Destination block. Two tables in the same database, one the source, the other the destination. Connection manager test connection works fine.
Package will execute from the IDE (locally on the development server), source block will read the table subcessfully, but when the destination block executes it fails and will stay yellow in the status screen. during the execution SQLDumper.exe is triggered. Analyzing the dump tells me:
(2b40.2938): Illegal instruction - code c000001d (first/second chance not available)
eax=04008010 ebx=00000004 ecx=00000010 edx=00000000 esi=00000940 edi=00000000
eip=7c82ed54 esp=0422f598 ebp=0422f608 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000297
An illegal instruction was hit.
This error exists when the destination block is either an OLE DB Destinaltion or a SQL Server Destination block and the SSIS application is executing locally.
Strangely enough if I run this same SSIS application from my development laptop it works fine against either my local datbase instance (on the laptop) or against the development server (App running on laptop, DB on development server).
I have scanned the forums and search engines for this type of error, so any assistance would be appreciated.
Thanks...
do you have logging enabled? if so, please post the exact ssis error message.|||Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)
Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01
Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.
SSIS itself displays no error information except for the block turning yellow.....
|||I am getting the same problem:
On a new development server installation Win 2003 R2 and MSDN SQL2005 Developer edition & SP1 (was a clean install) when using DTSWizard or a SSIS package in VS2005 on the server to transfer data onto a sql table (either from another table or flat file) I get a fatal error "Unhandled win 32 exception" - looking in the event log I get
Faulting application dtswizard.exe, version 9.0.2047.0, stamp 443f5b0a, faulting module dtspipeline.dll, version 2005.90.2047.0, stamp 443f5a9c, debug? 0, fault address 0x0004c258.
VS2005 on the server is
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00
On my developer desktop I have VS2005 as
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00
and I can build a project on this which runs ok from the desktop
I do get version difference alerts if I try & load a SSIS project on the server when I initially made it on the desktop
Any ideas?
regards
|||
again, did you turn on ssis logging?lwulfers wrote:
Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.SSIS itself displays no error information except for the block turning yellow.....
OLE DB Destination fails with illegal instruction
Environment: Server Windows 2003 SP1, VS 2005
I ran into this problem trying to deploy an SSIS package to a development server. I tested by creating a simple SSIS package on the server itself. Two blocks an OLE DB Source block and an OLE DB Destination block. Two tables in the same database, one the source, the other the destination. Connection manager test connection works fine.
Package will execute from the IDE (locally on the development server), source block will read the table subcessfully, but when the destination block executes it fails and will stay yellow in the status screen. during the execution SQLDumper.exe is triggered. Analyzing the dump tells me:
(2b40.2938): Illegal instruction - code c000001d (first/second chance not available)
eax=04008010 ebx=00000004 ecx=00000010 edx=00000000 esi=00000940 edi=00000000
eip=7c82ed54 esp=0422f598 ebp=0422f608 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000297
An illegal instruction was hit.
This error exists when the destination block is either an OLE DB Destinaltion or a SQL Server Destination block and the SSIS application is executing locally.
Strangely enough if I run this same SSIS application from my development laptop it works fine against either my local datbase instance (on the laptop) or against the development server (App running on laptop, DB on development server).
I have scanned the forums and search engines for this type of error, so any assistance would be appreciated.
Thanks...
do you have logging enabled? if so, please post the exact ssis error message.|||Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)
Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01
Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.
SSIS itself displays no error information except for the block turning yellow.....
|||I am getting the same problem:
On a new development server installation Win 2003 R2 and MSDN SQL2005 Developer edition & SP1 (was a clean install) when using DTSWizard or a SSIS package in VS2005 on the server to transfer data onto a sql table (either from another table or flat file) I get a fatal error "Unhandled win 32 exception" - looking in the event log I get
Faulting application dtswizard.exe, version 9.0.2047.0, stamp 443f5b0a, faulting module dtspipeline.dll, version 2005.90.2047.0, stamp 443f5a9c, debug? 0, fault address 0x0004c258.
VS2005 on the server is
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00
On my developer desktop I have VS2005 as
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00
and I can build a project on this which runs ok from the desktop
I do get version difference alerts if I try & load a SSIS project on the server when I initially made it on the desktop
Any ideas?
regards
|||again, did you turn on ssis logging?lwulfers wrote:
Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.SSIS itself displays no error information except for the block turning yellow.....
OLE DB Destination fails with illegal instruction
Environment: Server Windows 2003 SP1, VS 2005
I ran into this problem trying to deploy an SSIS package to a development server. I tested by creating a simple SSIS package on the server itself. Two blocks an OLE DB Source block and an OLE DB Destination block. Two tables in the same database, one the source, the other the destination. Connection manager test connection works fine.
Package will execute from the IDE (locally on the development server), source block will read the table subcessfully, but when the destination block executes it fails and will stay yellow in the status screen. during the execution SQLDumper.exe is triggered. Analyzing the dump tells me:
(2b40.2938): Illegal instruction - code c000001d (first/second chance not available)
eax=04008010 ebx=00000004 ecx=00000010 edx=00000000 esi=00000940 edi=00000000
eip=7c82ed54 esp=0422f598 ebp=0422f608 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000297
An illegal instruction was hit.
This error exists when the destination block is either an OLE DB Destinaltion or a SQL Server Destination block and the SSIS application is executing locally.
Strangely enough if I run this same SSIS application from my development laptop it works fine against either my local datbase instance (on the laptop) or against the development server (App running on laptop, DB on development server).
I have scanned the forums and search engines for this type of error, so any assistance would be appreciated.
Thanks...
do you have logging enabled? if so, please post the exact ssis error message.|||Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)
Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01
Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.
SSIS itself displays no error information except for the block turning yellow.....
|||I am getting the same problem:
On a new development server installation Win 2003 R2 and MSDN SQL2005 Developer edition & SP1 (was a clean install) when using DTSWizard or a SSIS package in VS2005 on the server to transfer data onto a sql table (either from another table or flat file) I get a fatal error "Unhandled win 32 exception" - looking in the event log I get
Faulting application dtswizard.exe, version 9.0.2047.0, stamp 443f5b0a, faulting module dtspipeline.dll, version 2005.90.2047.0, stamp 443f5a9c, debug? 0, fault address 0x0004c258.
VS2005 on the server is
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00
On my developer desktop I have VS2005 as
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00
and I can build a project on this which runs ok from the desktop
I do get version difference alerts if I try & load a SSIS project on the server when I initially made it on the desktop
Any ideas?
regards
|||
again, did you turn on ssis logging?lwulfers wrote:
Date 8/7/2006 12:48:57 PM
Log Windows NT (Application)Source SQLDUMPER
Category (0)
Event 5000
Computer SPT-TEST01Message
EventType sql90exception, P1 dtsdebughost.exe, P2 2005.90.1399.0, P3 434f5df1, P4 dtspipeline.dll, P5 2005.90.1399.0, P6 434f5dbc, P7 0, P8 0004ba38, P9 00000000, P10 NIL.SSIS itself displays no error information except for the block turning yellow.....