Howdy Folks,
Our site has been experiencing this issue for a couple of months now.. Hopefully someone else can assist, as Ive got to a point where I think issue lies within the application or a Microsoft bug. Web searches have reveled a number installations that have also had this error but its has not revealed an actual fix.
I understand this error code basically means data being returned to the client is getting either corrupted or the data is too large to fit into the buffer on the client side. Client in our case is the terminal server, here after called a application server
As the user base has increased form 5 to 20, I have noticed that the issue is occurring more frequently in comparison to when the company first started using the application /database. Its just about daily now...
The db server also has 8 other db's residing on it - but they are all less than 300 meg.
The attached PowerPoint doc has the trace info & the surrounding code for each process that has suffered a buffer error over a period of a week.
DB Server Environment: Win2000 SP4, SQL2000 SP3a, MDAC 2.7 SP1 refresh.
Application Environment: Written In house in VB.NET Framework 1.1 setup as a published app on a terminal server running windows 2000 SP4
Common features of the issue, that have been omitted from trace output for visibility reasons are:
- Involves 1 particular DB (thats accessed by VB app) & its developement db
- All connections are coming from 1 application server
- Issue does not relate to any particular site connecting to the application server using this application
I have reviewed & fixed several potential server side causes but this error still is occuring with in the environment:
MDAC versions must be common on application & server:
- Removed from equation by updating MDAC version on App server to be the same as DB Server: 2.7 SP1 Refresh
Network related
- Considered unlikely; we are also not experiencing network card errors on either server; also all db's would be experiencing connectivity errors.
Which leaves us with Application related options to review:
- Compilation error of application
- App parameter definitions to stored procedures are the correct data type
- Ensure values being passed do not exceed 4000 characters as that has also been known to create this error message
- I've asked the developer to review MS KB 827366 article, as it may be a valid test
- In regard to MSKB 832977 - I am not using pssdiag & have a later version of the MS Analyzer. But what I thought was interesting, is the statement that this problem occurs more frequently when an application submits a large remote procedure call (RPC) input buffer, especially when the RPC input buffer is greater than or equal to 8 KB. However, this problem may occur even if the input buffer is less than 4 KB
- A is using datatypes varchar & char - not nvarchar & nhar
Any assistance with this issue would be appreicated as server performance is being effected - these processes hang around for 1 - 5 mins before terminating (refer duration times in the powerpoint traces)
Thanks In advance
Suze.I think Reads column referrs to physical reads. If that's the case then the number is pretty high and may be the reason for the client timeout. Sporadic behavior of the same query may be caused by inconsistent execution plan generated. Do you use dynamic SQL a lot?|||Thank you for your question...
The number of reads appears only on the first slide, the other 7 don't have any reads - just the really long duration.
Because of this long duration & the audit logout entry for the same process id directly after the buffer error, I've assumed that the process is timing out. But in saying that users are not reporting that they have been kicked out of the application or receiving any error messages - so maybe way off in that assumption.
We are using SP's passing in parameter's. The developer reckons this means its not being built at runtime. As you might be able to tell, I'm a newbie - so I don't know if this means they are dynamic sql or not... are you able to advise.
Best Regards|||The 4000-limit was revealed in my previous environment when SP3 was applied. The FE code was...of course, JAVA, what else can cause this. And they were parsing the call to the stored procedure without TYPEing the parameters, which resulted in every character-based parameter to be interpreted as NVARCHAR. Now, the article (827366) is also referring to the possibility of data type size misalignment, where the value supplied may be outside of the boundaries allowed for a specific data type (just a hunch).|||I like the sound of your hunch. Unfortunately I can't provide the developer any proof - being a newbie in all. Anyway, I think I've done the next best thing by sending the developer the MSKB article 827366 again & Ant profiler to use so he can see what his code is doing - hopefully this will give him the visibility he needs.
Thanks again & Best Regards
Suze.
Showing posts with label experiencing. Show all posts
Showing posts with label experiencing. Show all posts
Monday, March 19, 2012
Sunday, March 11, 2012
Error: 14258
Hi Guru,
I just found out that one of my SQL 2005 reporting server is
experiencing this issue.
"Error 14258: Cannot perform this operation while SQLServerAgent is
starting. Try again later."
I've seen lots people fixed this issue by switching to thread mode.
However, the server has only 1 CPU and of course is running on default
configuration(thread mode).
We had a vendor used their tool (JAVA BASED) to pull data from Oracle
to SQL Server. I terminated this process a week ago when I found out
this tool would take three weeks to import 18 million records from
Oracle to SQL Server. SQL Server has been rolling back more than a week
and expecting a few more days to be completed.
Is this rolling back causing error 14258?
Thanks so much,Not likely from the rollback but more likely from the SQL Agent
service being stuck in a starting state (as opposed to a started
state). Did you check the SQL Agent error log - the SQLAgent.out file
in the default log directory for your installation?
Did you try restarting SQL Agent?
Did you check the System event log on the server where SQL Agent is
suppose to be running and check for any errors related to the service?
-Sue
On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
>Hi Guru,
>I just found out that one of my SQL 2005 reporting server is
>experiencing this issue.
>"Error 14258: Cannot perform this operation while SQLServerAgent is
>starting. Try again later."
>I've seen lots people fixed this issue by switching to thread mode.
>However, the server has only 1 CPU and of course is running on default
>configuration(thread mode).
>We had a vendor used their tool (JAVA BASED) to pull data from Oracle
>to SQL Server. I terminated this process a week ago when I found out
>this tool would take three weeks to import 18 million records from
>Oracle to SQL Server. SQL Server has been rolling back more than a week
>and expecting a few more days to be completed.
>Is this rolling back causing error 14258?
>Thanks so much,|||Sue,
Thanks very much for your response. Below is the output from
SQLAgent.out file. I veriffied SQLAGENT is running from:
Configuration Manager - Started
Serice Applet - Started
EXEC master..xp_servicecontrol 'QueryState','SQLServerAgent' status is
running.
GO
I stopped and restart agent many times with both NT domain and
localsystem account but nothing worked.
Other than that, I don't see any related errors on both NT and SQL
logs.
Please let me know if you have different thoughts now.
Thanks,
2006-11-21 09:59:05 - ? [393] Waiting for SQL Server to recover
databases...
Sue Hoegemeier wrote:
> Not likely from the rollback but more likely from the SQL Agent
> service being stuck in a starting state (as opposed to a started
> state). Did you check the SQL Agent error log - the SQLAgent.out file
> in the default log directory for your installation?
> Did you try restarting SQL Agent?
> Did you check the System event log on the server where SQL Agent is
> suppose to be running and check for any errors related to the service?
> -Sue
> On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
> >Hi Guru,
> >
> >I just found out that one of my SQL 2005 reporting server is
> >experiencing this issue.
> >
> >"Error 14258: Cannot perform this operation while SQLServerAgent is
> >starting. Try again later."
> >
> >I've seen lots people fixed this issue by switching to thread mode.
> >However, the server has only 1 CPU and of course is running on default
> >configuration(thread mode).
> >
> >We had a vendor used their tool (JAVA BASED) to pull data from Oracle
> >to SQL Server. I terminated this process a week ago when I found out
> >this tool would take three weeks to import 18 million records from
> >Oracle to SQL Server. SQL Server has been rolling back more than a week
> >and expecting a few more days to be completed.
> >
> >Is this rolling back causing error 14258?
> >
> >Thanks so much,|||Still not from the rollback...The error in general is almost
always related to a configuration issue. Other things you
would want to check -
Verify that lightweight pooling is not enabled again - run
sp_configure and check the run value and the config value
for lightweight pooling. The run value for this one is
important as if it's different from the config value, a
restart of SQL Server is needed on this configuration for
changes to take effect.
Also remove any mail profile associated with Agent Mail.
You most likely have some hints or clues in the SQLAgent.out
file.
The other thing I've seen cause problems is the service
account used to run SQL Agent. Have you tried creating a new
domain account to use for the service?
-Sue
On 21 Nov 2006 12:26:33 -0800, smounkhaty@.bremer.com wrote:
>Sue,
>Thanks very much for your response. Below is the output from
>SQLAgent.out file. I veriffied SQLAGENT is running from:
>Configuration Manager - Started
>Serice Applet - Started
>EXEC master..xp_servicecontrol 'QueryState','SQLServerAgent' status is
>running.
>GO
>I stopped and restart agent many times with both NT domain and
>localsystem account but nothing worked.
>Other than that, I don't see any related errors on both NT and SQL
>logs.
>Please let me know if you have different thoughts now.
>Thanks,
>2006-11-21 09:59:05 - ? [393] Waiting for SQL Server to recover
>databases...
>Sue Hoegemeier wrote:
>> Not likely from the rollback but more likely from the SQL Agent
>> service being stuck in a starting state (as opposed to a started
>> state). Did you check the SQL Agent error log - the SQLAgent.out file
>> in the default log directory for your installation?
>> Did you try restarting SQL Agent?
>> Did you check the System event log on the server where SQL Agent is
>> suppose to be running and check for any errors related to the service?
>> -Sue
>> On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
>> >Hi Guru,
>> >
>> >I just found out that one of my SQL 2005 reporting server is
>> >experiencing this issue.
>> >
>> >"Error 14258: Cannot perform this operation while SQLServerAgent is
>> >starting. Try again later."
>> >
>> >I've seen lots people fixed this issue by switching to thread mode.
>> >However, the server has only 1 CPU and of course is running on default
>> >configuration(thread mode).
>> >
>> >We had a vendor used their tool (JAVA BASED) to pull data from Oracle
>> >to SQL Server. I terminated this process a week ago when I found out
>> >this tool would take three weeks to import 18 million records from
>> >Oracle to SQL Server. SQL Server has been rolling back more than a week
>> >and expecting a few more days to be completed.
>> >
>> >Is this rolling back causing error 14258?
>> >
>> >Thanks so much,
I just found out that one of my SQL 2005 reporting server is
experiencing this issue.
"Error 14258: Cannot perform this operation while SQLServerAgent is
starting. Try again later."
I've seen lots people fixed this issue by switching to thread mode.
However, the server has only 1 CPU and of course is running on default
configuration(thread mode).
We had a vendor used their tool (JAVA BASED) to pull data from Oracle
to SQL Server. I terminated this process a week ago when I found out
this tool would take three weeks to import 18 million records from
Oracle to SQL Server. SQL Server has been rolling back more than a week
and expecting a few more days to be completed.
Is this rolling back causing error 14258?
Thanks so much,Not likely from the rollback but more likely from the SQL Agent
service being stuck in a starting state (as opposed to a started
state). Did you check the SQL Agent error log - the SQLAgent.out file
in the default log directory for your installation?
Did you try restarting SQL Agent?
Did you check the System event log on the server where SQL Agent is
suppose to be running and check for any errors related to the service?
-Sue
On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
>Hi Guru,
>I just found out that one of my SQL 2005 reporting server is
>experiencing this issue.
>"Error 14258: Cannot perform this operation while SQLServerAgent is
>starting. Try again later."
>I've seen lots people fixed this issue by switching to thread mode.
>However, the server has only 1 CPU and of course is running on default
>configuration(thread mode).
>We had a vendor used their tool (JAVA BASED) to pull data from Oracle
>to SQL Server. I terminated this process a week ago when I found out
>this tool would take three weeks to import 18 million records from
>Oracle to SQL Server. SQL Server has been rolling back more than a week
>and expecting a few more days to be completed.
>Is this rolling back causing error 14258?
>Thanks so much,|||Sue,
Thanks very much for your response. Below is the output from
SQLAgent.out file. I veriffied SQLAGENT is running from:
Configuration Manager - Started
Serice Applet - Started
EXEC master..xp_servicecontrol 'QueryState','SQLServerAgent' status is
running.
GO
I stopped and restart agent many times with both NT domain and
localsystem account but nothing worked.
Other than that, I don't see any related errors on both NT and SQL
logs.
Please let me know if you have different thoughts now.
Thanks,
2006-11-21 09:59:05 - ? [393] Waiting for SQL Server to recover
databases...
Sue Hoegemeier wrote:
> Not likely from the rollback but more likely from the SQL Agent
> service being stuck in a starting state (as opposed to a started
> state). Did you check the SQL Agent error log - the SQLAgent.out file
> in the default log directory for your installation?
> Did you try restarting SQL Agent?
> Did you check the System event log on the server where SQL Agent is
> suppose to be running and check for any errors related to the service?
> -Sue
> On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
> >Hi Guru,
> >
> >I just found out that one of my SQL 2005 reporting server is
> >experiencing this issue.
> >
> >"Error 14258: Cannot perform this operation while SQLServerAgent is
> >starting. Try again later."
> >
> >I've seen lots people fixed this issue by switching to thread mode.
> >However, the server has only 1 CPU and of course is running on default
> >configuration(thread mode).
> >
> >We had a vendor used their tool (JAVA BASED) to pull data from Oracle
> >to SQL Server. I terminated this process a week ago when I found out
> >this tool would take three weeks to import 18 million records from
> >Oracle to SQL Server. SQL Server has been rolling back more than a week
> >and expecting a few more days to be completed.
> >
> >Is this rolling back causing error 14258?
> >
> >Thanks so much,|||Still not from the rollback...The error in general is almost
always related to a configuration issue. Other things you
would want to check -
Verify that lightweight pooling is not enabled again - run
sp_configure and check the run value and the config value
for lightweight pooling. The run value for this one is
important as if it's different from the config value, a
restart of SQL Server is needed on this configuration for
changes to take effect.
Also remove any mail profile associated with Agent Mail.
You most likely have some hints or clues in the SQLAgent.out
file.
The other thing I've seen cause problems is the service
account used to run SQL Agent. Have you tried creating a new
domain account to use for the service?
-Sue
On 21 Nov 2006 12:26:33 -0800, smounkhaty@.bremer.com wrote:
>Sue,
>Thanks very much for your response. Below is the output from
>SQLAgent.out file. I veriffied SQLAGENT is running from:
>Configuration Manager - Started
>Serice Applet - Started
>EXEC master..xp_servicecontrol 'QueryState','SQLServerAgent' status is
>running.
>GO
>I stopped and restart agent many times with both NT domain and
>localsystem account but nothing worked.
>Other than that, I don't see any related errors on both NT and SQL
>logs.
>Please let me know if you have different thoughts now.
>Thanks,
>2006-11-21 09:59:05 - ? [393] Waiting for SQL Server to recover
>databases...
>Sue Hoegemeier wrote:
>> Not likely from the rollback but more likely from the SQL Agent
>> service being stuck in a starting state (as opposed to a started
>> state). Did you check the SQL Agent error log - the SQLAgent.out file
>> in the default log directory for your installation?
>> Did you try restarting SQL Agent?
>> Did you check the System event log on the server where SQL Agent is
>> suppose to be running and check for any errors related to the service?
>> -Sue
>> On 21 Nov 2006 10:28:57 -0800, smounkhaty@.bremer.com wrote:
>> >Hi Guru,
>> >
>> >I just found out that one of my SQL 2005 reporting server is
>> >experiencing this issue.
>> >
>> >"Error 14258: Cannot perform this operation while SQLServerAgent is
>> >starting. Try again later."
>> >
>> >I've seen lots people fixed this issue by switching to thread mode.
>> >However, the server has only 1 CPU and of course is running on default
>> >configuration(thread mode).
>> >
>> >We had a vendor used their tool (JAVA BASED) to pull data from Oracle
>> >to SQL Server. I terminated this process a week ago when I found out
>> >this tool would take three weeks to import 18 million records from
>> >Oracle to SQL Server. SQL Server has been rolling back more than a week
>> >and expecting a few more days to be completed.
>> >
>> >Is this rolling back causing error 14258?
>> >
>> >Thanks so much,
Subscribe to:
Posts (Atom)