Showing posts with label errors. Show all posts
Showing posts with label errors. Show all posts

Friday, February 24, 2012

Communication error with transactional replication

I have been receiving the following errors from time to
time during my nightly processing. At this time we
replicate a large amount of commands. The funny thing is
after these errors occur once, the next run is successful.
General network error. Check your network documentation.
The error code is 11.
immediately followed by:
Communication link failure with an error code 08S01.
I have increased my querytimeout to 900 from 300 in my
distribution agent profile, based on a post I read, and no
luck.
We run the same process in our another environment without
any issues. The only difference in this environment is
that it is on clustered hardware.
Any advice where to look? How to troubleshoot?
This means your network has hicupped. QueryTimeout set the timeout for
internal queries it has no effect on your network and won't help to reduce
this error. You have to contact your network admin to help resolve this
error.
"Kartik" <anonymous@.discussions.microsoft.com> wrote in message
news:1625201c41bec$c2624b30$a601280a@.phx.gbl...
> I have been receiving the following errors from time to
> time during my nightly processing. At this time we
> replicate a large amount of commands. The funny thing is
> after these errors occur once, the next run is successful.
> General network error. Check your network documentation.
> The error code is 11.
> immediately followed by:
> Communication link failure with an error code 08S01.
> I have increased my querytimeout to 900 from 300 in my
> distribution agent profile, based on a post I read, and no
> luck.
> We run the same process in our another environment without
> any issues. The only difference in this environment is
> that it is on clustered hardware.
> Any advice where to look? How to troubleshoot?
>

Common SQL errors

Xref: TK2MSFTNGP08.phx.gbl microsoft.public.sqlserver.programming:548103
Hello,
Can someone recommend a good book that explains the various common design
and query errors that can happen in SQL? Things like fan and chasm traps,
circular references, etc.
Many Thanks.SQL PROGRAMMING STYLE|||Is the whole book in caps, or just the title :)
----
Louis Davidson - http://spaces.msn.com/members/drsql/
SQL Server MVP
"Arguments are to be avoided: they are always vulgar and often convincing."
(Oscar Wilde)
"--CELKO--" <jcelko212@.earthlink.net> wrote in message
news:1124756158.408802.294350@.g44g2000cwa.googlegroups.com...
> SQL PROGRAMMING STYLE
>|||Here is a small set
http://toponewithties.blogspot.com/...es.blogspot.com
"Bill George" <WovenPath@.frontiernet.net> wrote in message
news:101FE72.4F78%WovenPath@.frontiernet.net...
> Hello,
> Can someone recommend a good book that explains the various common design
> and query errors that can happen in SQL? Things like fan and chasm traps,
> circular references, etc.
> Many Thanks.
>

Common error codes for ADO & DMO

hi,
The error codes I am getting for errors like SQL server not available,
invalid sql credentials, login not a database user etc. are not same for ADO
& DMO. Is there a way to get common error codes for ADO & DMO?
Thanks.
- AjeyFor DMO I am using the IDispatch pointer and converting the EXCEPINFO->wCode
to HRESULT.
"Ajey" <ajey5@.hotmail.com> wrote in message
news:eLRrRVOCFHA.3820@.TK2MSFTNGP11.phx.gbl...
> hi,
> The error codes I am getting for errors like SQL server not available,
> invalid sql credentials, login not a database user etc. are not same for
ADO
> & DMO. Is there a way to get common error codes for ADO & DMO?
> Thanks.
> - Ajey
>

Friday, February 10, 2012

Comma delimited errors

I need to import comma delimited text files into sql tables. in one of the column, there is a comma in the string itself. e.g.

Cust_ID Name Phone Address1 Address2

Date that I have:

001,juia, anderson,4694568855,,Cedar Spring

The data does not have double quote as text qualifiers. but as you see, on the Name column, there is a comma, which is not a delimiter. can anybody give any suggestions on how i can deal with that? i would appreciate it so much.

thanksWink

Jul wrote:

I need to import comma delimited text files into sql tables. in one of the column, there is a comma in the string itself. e.g.

Cust_ID Name Phone Address1 Address2

Date that I have:

001,juia, anderson,4694568855,,Cedar Spring

The data does not have double quote as text qualifiers. but as you see, on the Name column, there is a comma, which is not a delimiter. can anybody give any suggestions on how i can deal with that? i would appreciate it so much.

thanks

If the data has embedded commas, but does not have a text qualifier, I fail to see how you can clean this up. Sorry.

Either fix the format of the file by using text qualifiers, or chose a different delimiter. Tabs, semicolons, etc...|||

Phil,

Thanks for the reply. That's what I thought too..Was just wondering if anybody has ever dealt and solved this problem.

Thanks.