Showing posts with label ive. Show all posts
Showing posts with label ive. Show all posts

Monday, March 26, 2012

linkedserver error

Hi

Im sorry if im in the wrong section. My problem is a very common one and it has been hard for me to find the fix.

Ive gone thru Component Services, Firewall settings, Registry and Microsoft Sites, but to avail.

"The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a]."

My Begin Tran doesnt start at all.

begin tran
use smartpos
go


set identity_insert smartpos.dbo.smp_product on

insert into smartpos.dbo.smp_product
(prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,ClientLastUpdate
)
select prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,LastUpdate
from server.smartpos.dbo.smp_product svr
where not exists (select prodid from smartpos.dbo.smp_product where prodid=svr.prodid)

set identity_insert smartpos.dbo.smp_product off

Can anyone help me please.

Thanks

I am having the same problem. I was able to work around it by selecting the rows into #tmp and then inserting from #tmp into the destination table. Not exactly pretty but it worked for me.

|||

Hello idezignx,

you may need to read this.

Hope Useful.

try it.

http://support.microsoft.com/kb/839279/en-us

linkedserver error

Hi

Im sorry if im in the wrong section. My problem is a very common one and it has been hard for me to find the fix.

Ive gone thru Component Services, Firewall settings, Registry and Microsoft Sites, but to avail.

"The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a]."

My Begin Tran doesnt start at all.

begin tran
use smartpos
go


set identity_insert smartpos.dbo.smp_product on

insert into smartpos.dbo.smp_product
(prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,ClientLastUpdate
)
select prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,LastUpdate
from server.smartpos.dbo.smp_product svr
where not exists (select prodid from smartpos.dbo.smp_product where prodid=svr.prodid)

set identity_insert smartpos.dbo.smp_product off

Can anyone help me please.

Thanks

I am having the same problem. I was able to work around it by selecting the rows into #tmp and then inserting from #tmp into the destination table. Not exactly pretty but it worked for me.

|||

Hello idezignx,

you may need to read this.

Hope Useful.

try it.

http://support.microsoft.com/kb/839279/en-us

sql

linkedserver error

Hi

Im sorry if im in the wrong section. My problem is a very common one and it has been hard for me to find the fix.

Ive gone thru Component Services, Firewall settings, Registry and Microsoft Sites, but to avail.

"The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a]."

My Begin Tran doesnt start at all.

begin tran
use smartpos
go


set identity_insert smartpos.dbo.smp_product on

insert into smartpos.dbo.smp_product
(prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,ClientLastUpdate
)
select prodId
,[Description]
,barcode
,BuyPriceExclVat
,BuyPriceVatTYpeId
,point
,SupplierID
,Ref
,QtyType
,QtyFactor
,MinStock
,MaxStock
,Active
,ItemType
,LastUpdate
from server.smartpos.dbo.smp_product svr
where not exists (select prodid from smartpos.dbo.smp_product where prodid=svr.prodid)

set identity_insert smartpos.dbo.smp_product off

Can anyone help me please.

Thanks

I am having the same problem. I was able to work around it by selecting the rows into #tmp and then inserting from #tmp into the destination table. Not exactly pretty but it worked for me.

|||

Hello idezignx,

you may need to read this.

Hope Useful.

try it.

http://support.microsoft.com/kb/839279/en-us

Monday, March 12, 2012

servers

I have 2 test boxes each running sql server 2000 standard
edition. For both boxes i've created a linked server and
specified the name of the system DSN of the ODBC data
source within the properties of the linked server created.
A drive has been mapped to the Access database i want to
see and the ODBC connections have been created. But
unfortunately only one of my sql boxes can see the tables
while the other generates a Error '7399' message. why,
please advise. thank you.
Error 7399 doesn't tell us much. We'd need more details
regarding the exact error message. Can you access the mapped
drive? Have you tried using a UNC path instead of a mapped
drive? Mapped drives are often unreliable for this type of
situation.
-Sue
On Wed, 15 Sep 2004 13:26:47 -0700, "vincent"
<vincec@.mail.com> wrote:

>I have 2 test boxes each running sql server 2000 standard
>edition. For both boxes i've created a linked server and
>specified the name of the system DSN of the ODBC data
>source within the properties of the linked server created.
>A drive has been mapped to the Access database i want to
>see and the ODBC connections have been created. But
>unfortunately only one of my sql boxes can see the tables
>while the other generates a Error '7399' message. why,
>please advise. thank you.
|||Thank you for responding. I can access the mapped drive and i've tried
using the absolute path, both attempts have been unsuccessful. Because
the access database i'm tring to access is of a relitively small size if
copied it locally and i still wasn't able to access the tables. So I
image the problem would have to be with the OLE DB provider? This is the
stored procedure that trys to execute.
select invoice_num,authorize_code from OPENQUERY(idd3,'select * from
trans_table')
where invoice_num like 'OEPP%'
and (authorize_code is not null
or ltrim(rtrim(authorize_code)) <> '')
When i view my job history logs i receive all of these error messages.
DTSRun OnError: DTSStep_DTSExecuteSQLTask_2, Error = -2147217900
(80040E14)
Error string: OLE DB provider 'MSDASQL' reported an error.
Error source: Microsoft OLE DB Provider for SQL Server
Help file: Help context: 0
Error Detail Records: Error: -2147217900 (80040E14);
Provider Error: 7399 (1CE7)
Error: -2147217900 (80040E14);
Provider Error: 7300 (1C84)
Error string: OLE DB error trace [OLE/DB Provider 'MSDASQL'
IDBInitialize::Initialize returned 0x80004005: ].
Error source: Microsoft OLE DB Provider for SQL Server
Help file: Help context: 0
Error: -2147217900 (80040E14); Provider Error: 7312 (1C90)
Error string: [OLE/DB provider ret... Process Exit Code 1.
The step failed.
Thanks in advance.
*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
|||What happens when you use Query Analyzer and execute:
dbcc traceon(7300, 3604)
and then execute the query in Query Analyzer (not DTS)?
Do you have any additional error messages?
-Sue
On Wed, 22 Sep 2004 06:54:45 -0700, Vincent Cristiano
<vincec@.mail.com> wrote:

>Thank you for responding. I can access the mapped drive and i've tried
>using the absolute path, both attempts have been unsuccessful. Because
>the access database i'm tring to access is of a relitively small size if
>copied it locally and i still wasn't able to access the tables. So I
>image the problem would have to be with the OLE DB provider? This is the
>stored procedure that trys to execute.
>select invoice_num,authorize_code from OPENQUERY(idd3,'select * from
>trans_table')
>where invoice_num like 'OEPP%'
>and (authorize_code is not null
>or ltrim(rtrim(authorize_code)) <> '')
>When i view my job history logs i receive all of these error messages.
>DTSRun OnError: DTSStep_DTSExecuteSQLTask_2, Error = -2147217900
>(80040E14)
>Error string: OLE DB provider 'MSDASQL' reported an error.
>Error source: Microsoft OLE DB Provider for SQL Server
>Help file: Help context: 0
>Error Detail Records: Error: -2147217900 (80040E14);
>Provider Error: 7399 (1CE7)
>Error: -2147217900 (80040E14);
>Provider Error: 7300 (1C84)
>Error string: OLE DB error trace [OLE/DB Provider 'MSDASQL'
>IDBInitialize::Initialize returned 0x80004005: ].
>Error source: Microsoft OLE DB Provider for SQL Server
>Help file: Help context: 0
>Error: -2147217900 (80040E14); Provider Error: 7312 (1C90)
>Error string: [OLE/DB provider ret... Process Exit Code 1.
>The step failed.
>Thanks in advance.
>*** Sent via Developersdex http://www.codecomments.com ***
>Don't just participate in USENET...get rewarded for it!
|||Did anyone figure out this issue. I'm also getting the exact same error and would really appreciate if someone can help me with this.. I have to get this fixed within the next two days..
I've not yet tried this - dbcc traceon(7300, 3604)
I'll give this a try and let you know what happens
Thanks

Friday, February 24, 2012

server to Oracle 9.2 database

I've read KB Article 280106 about creating a Linked Server to an Oracle
database. This article does reference any Oracle database higher than 8.1.*.
I want to link to a 9.2.0.1 database.
The article references loading the Oracle client software for 8.1 on the
Sqlserver machine.
Is this possible to create the link server if I load the client software for
9.2 on the Sqlserver machine? If it is, is it as easy as changing to
registry settings referenced in the Article for the 8.1 database from using
the oraclient8.dll and orasql8.dll to the oraclient9.dll and orasql9.dll that
come with the 9.2 client software?
The other option is if I load the 8.1 client software on the Sqlserver
machine to connect to the 9.2 database, would this work?
"Paul R" <Paul R@.discussions.microsoft.com> wrote in message
news:47FF64BC-973E-43A3-B25B-7D2A32AFCE38@.microsoft.com...
> I've read KB Article 280106 about creating a Linked Server to an Oracle
> database. This article does reference any Oracle database higher than
> 8.1.*.
> I want to link to a 9.2.0.1 database.
> The article references loading the Oracle client software for 8.1 on the
> Sqlserver machine.
> Is this possible to create the link server if I load the client software
> for
> 9.2 on the Sqlserver machine?
Yes.

>If it is, is it as easy as changing to
> registry settings referenced in the Article for the 8.1 database from
> using
> the oraclient8.dll and orasql8.dll to the oraclient9.dll and orasql9.dll
> that
> come with the 9.2 client software?
Not necessary to change the registry.. The 9i client, or the 10g client
will work for linked server.

> The other option is if I load the 8.1 client software on the Sqlserver
> machine to connect to the 9.2 database, would this work?
>
It should work, yes. But you should probably use the 9i client.
David
|||Thanks for your response
You are telling me that with the 9.2 client software that there is no
registry changes needed.
When I look at the registry setting for
{HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOC I}, the file for
OracleXaLib value that is set by default is a file that don't exist in the
ORACLE_HOME/bin directory. Is this file not needed?
The OracleXaLib by default is xa73.dll. This looks like a DLL for the 7.X
database, should it be oraclient9.dll for the 9.2 database?
"David Browne" wrote:

> "Paul R" <Paul R@.discussions.microsoft.com> wrote in message
> news:47FF64BC-973E-43A3-B25B-7D2A32AFCE38@.microsoft.com...
> Yes.
>
> Not necessary to change the registry.. The 9i client, or the 10g client
> will work for linked server.
>
> It should work, yes. But you should probably use the 9i client.
> David
>
>
|||"Paul R" <Paul R@.discussions.microsoft.com> wrote in message
news:9BE76BF3-045E-4913-AFDD-6357E74A12B8@.microsoft.com...
> Thanks for your response
> You are telling me that with the 9.2 client software that there is no
> registry changes needed.
> When I look at the registry setting for
> {HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOC I}, the file for
> OracleXaLib value that is set by default is a file that don't exist in the
> ORACLE_HOME/bin directory. Is this file not needed?
> The OracleXaLib by default is xa73.dll. This looks like a DLL for the 7.X
> database, should it be oraclient9.dll for the 9.2 database?
>
Those settings should probably match your Oracle Client install version (not
the database version). Note that for the 8i client and 9 client, the OCI
library has the same name (oci.dll). This should be enough for basic
connectivity. For distributed transactions (XA and DTC) you may need to
configure the other registry keys. For basic linked server functionality
you do not need to change the registry.
David