Showing posts with label enable. Show all posts
Showing posts with label enable. Show all posts

Monday, March 19, 2012

Exchanging message between two servers

If i want to exchange message between two different instances (or) databases in two different servers, then I have to enable the transport protocol which wil be disabled by default in service broker.I read in some article that some registry settings has to be changed.So can someone suggest on the same.

"Connection attempt failed with error: '10061(No connection could be made because the target machine actively refused it.)'."Im getting this error in the initiating database.The message that i sent still exists in thr Transmission queue fo initiating database.

It will be better if someone sends a sample or the steps to follow to communicate between databases in two different servers.So that i can cross check with mine.

here is a pretty good article on writing distributed service broker applications:

http://www.sqlservercentral.com/columnists/sindukuri/2797.asp

Exchanging message between two servers

If i want to exchange message between two different instances (or) databases in two different servers, then I have to enable the transport protocol which wil be disabled by default in service broker.I read in some article that some registry settings has to be changed.So can someone suggest on the same.

"Connection attempt failed with error: '10061(No connection could be made because the target machine actively refused it.)'." Im getting this error in the initiating database.The message that i sent still exists in thr Transmission queue fo initiating database.

It will be better if someone sends a sample or the steps to follow to communicate between databases in two different servers.So that i can cross check with mine.

here is a pretty good article on writing distributed service broker applications:

http://www.sqlservercentral.com/columnists/sindukuri/2797.asp

Wednesday, February 15, 2012

Excel Import Identity Error

I am trying to import from an Excel Worksheet in the Enterprise Manager. I run through the wizard, and in transformations I have the Enable Identity Insert box checked, but when I run the import I get the following error:
Error at Destination for Row number 13880. Errors so far in this task: 1.
The statement has been terminated.
Cannot insert the value NULL into column 'ID', table 'CCReport.ITPSG.CCSPEND'; column does not allow nulls.
INSERT fails.

There are only 13881 rows, and I don't see anything in 13880 that is any different than the ones before it. Any ideas?try importing into the database first with out enabling the identity column, once it's imported then you can debug the data as well as re-populate the original table by doing any data manupulation.
" insert into originaltable
select columns from importedRawDatatable"