dbTalk Databases Forums  

Problem profiling SQL 2000 server from 2008 profiler

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Problem profiling SQL 2000 server from 2008 profiler in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tomf84
 
Posts: n/a

Default Problem profiling SQL 2000 server from 2008 profiler - 03-10-2009 , 06:03 AM






I am trying to run the Tuning profile in SQL Server Profiler 2008 against an
SQL Server 2000 database, but I get the following error message when I try to
start the trace:

---------------------------
SQL Server Profiler
---------------------------
Failed to start a trace.
[Microsoft][SQL Server Native Client 10.0]Datetime field overflow.
Fractional second precision exceeds the scale specified in the parameter
binding. (State 22008) (Code 0)

---------------------------
OK
---------------------------


Any ideas at all?

Thanks
Tom

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Problem profiling SQL 2000 server from 2008 profiler - 03-10-2009 , 05:20 PM






tomf84 (tomf84 (AT) discussions (DOT) microsoft.com) writes:
Quote:
I am trying to run the Tuning profile in SQL Server Profiler 2008
against an SQL Server 2000 database, but I get the following error
message when I try to start the trace:

---------------------------
SQL Server Profiler
---------------------------
Failed to start a trace.
[Microsoft][SQL Server Native Client 10.0]Datetime field overflow.
Fractional second precision exceeds the scale specified in the parameter
binding. (State 22008) (Code 0)

---------------------------
OK
---------------------------
It works for me. Did you add any filter to the trace?

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #3  
Old   
dwaine
 
Posts: n/a

Default Re: Problem profiling SQL 2000 server from 2008 profiler - 04-03-2009 , 02:17 PM



"Erland Sommarskog" wrote:

Quote:
tomf84 (tomf84 (AT) discussions (DOT) microsoft.com) writes:
I am trying to run the Tuning profile in SQL Server Profiler 2008
against an SQL Server 2000 database, but I get the following error
message when I try to start the trace:

---------------------------
SQL Server Profiler
---------------------------
Failed to start a trace.
[Microsoft][SQL Server Native Client 10.0]Datetime field overflow.
Fractional second precision exceeds the scale specified in the parameter
binding. (State 22008) (Code 0)

---------------------------
OK
---------------------------

It works for me. Did you add any filter to the trace?

This is repeatable for me. Standard trace template (or any template).
don't touch a thing EXCEPT for selecting "Enable Trace Stop Time". This is
the culprit.

Only throws error when running against 2000. 2K5 and 2K8, no error.



Reply With Quote
  #4  
Old   
dwaine
 
Posts: n/a

Default Re: Problem profiling SQL 2000 server from 2008 profiler - 04-03-2009 , 02:22 PM



sorry, forgot to include profiler version info (copy info on help about was
the greatest invention since rollback!)

SQL Server Profiler 10.0.1600.22
Microsoft Data Access Components (MDAC) 2000.085.1132.00
(xpsp.080413-0852)
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.5512
Microsoft .NET Framework 2.0.50727.3082
Operating System 5.1.2600

"dwaine" wrote:

Quote:
"Erland Sommarskog" wrote:

tomf84 (tomf84 (AT) discussions (DOT) microsoft.com) writes:
I am trying to run the Tuning profile in SQL Server Profiler 2008
against an SQL Server 2000 database, but I get the following error
message when I try to start the trace:

---------------------------
SQL Server Profiler
---------------------------
Failed to start a trace.
[Microsoft][SQL Server Native Client 10.0]Datetime field overflow.
Fractional second precision exceeds the scale specified in the parameter
binding. (State 22008) (Code 0)

---------------------------
OK
---------------------------

It works for me. Did you add any filter to the trace?


This is repeatable for me. Standard trace template (or any template).
don't touch a thing EXCEPT for selecting "Enable Trace Stop Time". This is
the culprit.

Only throws error when running against 2000. 2K5 and 2K8, no error.


Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Problem profiling SQL 2000 server from 2008 profiler - 04-25-2009 , 05:02 PM



dwaine (dwaine (AT) nospam (DOT) nospam) writes:
Quote:
This is repeatable for me. Standard trace template (or any template).
don't touch a thing EXCEPT for selecting "Enable Trace Stop Time". This
is the culprit.

Only throws error when running against 2000. 2K5 and 2K8, no error.
I see. Yes, that's definitely. There has been some changes with the
datetime data types in SQL 2008. That probably has something to do with it.

I tested this in SQL 2008 SP1 as well, but the issue persits.

I've filed a bug for this:
https://connect.microsoft.com/SQLSer...dbackID=435233


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.