HAT Error executing Query on Tracking Database
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > HAT Error executing Query on Tracking Database




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HAT Error executing Query on Tracking Database  
mj


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

Hello,
every time I run HAT Query/Messages sent in pass day OR
Query/Messages Received in pass day -  I get the following
error:  The following error occurred when executing your SQL Query on the
Tracking Database:  Timeout Expired

Can someone please tell me how to fix this.

Thanks in advance for your help!!!
--
mj





[ Post a follow-up to this message ]



    Re: HAT Error executing Query on Tracking Database  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

Check the event log, I think that it gives a more descriptive error.
Eric
http://stottcreations.com/blog

"mj" <mj@newsgroup.nospam> wrote in message
news:95E6CEA7-4CFC-481F-80FE-DA3C9CC7C459@microsoft.com...
> Hello,
> every time I run HAT Query/Messages sent in pass day OR
> Query/Messages Received in pass day -  I get the following
> error:  The following error occurred when executing your SQL Query on the
> Tracking Database:  Timeout Expired
>
> Can someone please tell me how to fix this.
>
> Thanks in advance for your help!!!
> --
> mj







[ Post a follow-up to this message ]



    Re: HAT Error executing Query on Tracking Database  
Eric Stott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

We had this same issue before and if memory serves me correct, it was a
permissions issue.

Eric
http://stottcreations.com/blog

"mj" <mj@newsgroup.nospam> wrote in message
news:95E6CEA7-4CFC-481F-80FE-DA3C9CC7C459@microsoft.com...
> Hello,
> every time I run HAT Query/Messages sent in pass day OR
> Query/Messages Received in pass day -  I get the following
> error:  The following error occurred when executing your SQL Query on the
> Tracking Database:  Timeout Expired
>
> Can someone please tell me how to fix this.
>
> Thanks in advance for your help!!!
> --
> mj







[ Post a follow-up to this message ]



    RE: HAT Error executing Query on Tracking Database  
Alan Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

Hi mj,

Thiss tendt to occur when you have a large amount of data in the tracking
database. Check the size of the BizTalkDTADb, if it is larger than 1 GB, thi
s
is probaably the cause. If so, you should look at installing andd running th
e
PruneTrackingDb stored porcedure, and scheduling a job in SQL Server Agent t
o
keep the tracking database to a reasonable size.

Regards,

ALan


--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith



"mj" wrote:

> Hello,
> every time I run HAT Query/Messages sent in pass day OR
> Query/Messages Received in pass day -  I get the following
> error:  The following error occurred when executing your SQL Query on the
> Tracking Database:  Timeout Expired
>
> Can someone please tell me how to fix this.
>
> Thanks in advance for your help!!!
> --
> mj





[ Post a follow-up to this message ]



    Re: HAT Error executing Query on Tracking Database  
Paul Somers


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

It is what it says it is, a time out issue, As with database lots of data
can make a query take long to return, and HAT will time out in this
scenario.

There is a registry setting:
 HKEY_CURRRENT_USER\Software\Microsoft\Bi
zTalk
Server\3.0\Tracking\ConnectionTimeout

ConnectionTimeout is a dword, set it to 0 and it will never time out, you
can also set it to 100 or 500 to increase the time out so it will time out,
but after a longer period. Restart hat to have it effected.

However, there could be a larger issue here, check the size of your DTA
database. If its massive you should purge it, and trim it. It is a potential
performance issue waiting to happen. Post SP1 there was a hotfix to allow
you to do this. In 2006 its supposed to be a lot easier, have not tried it
yet.....

Paul.

"Eric Stott" <eric@stottcreations_nospam.com> wrote in message
news:%2393lNgPZGHA.3972@TK2MSFTNGP04.phx.gbl...
> We had this same issue before and if memory serves me correct, it was a
> permissions issue.
>
> Eric
> http://stottcreations.com/blog
>
> "mj" <mj@newsgroup.nospam> wrote in message
> news:95E6CEA7-4CFC-481F-80FE-DA3C9CC7C459@microsoft.com... 
>
>







[ Post a follow-up to this message ]



    RE: HAT Error executing Query on Tracking Database  
mj


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

Hello,
Thank you all for your responses.  I pretty much did what you all suggested.
I also ran the SQL Script Purge_DTADB.sql to create the sproc
dtasp_PruneTrackingDatabase etc.  After I executed the script etc. HAT now
works like normal.  I then created a scheduled job to run the script to clea
n
up the tracking database more frequently.

Thanks again for your quick responses and help!
--
mj


"Alan Smith" wrote:
[vbcol=seagreen]
> Hi mj,
>
> Thiss tendt to occur when you have a large amount of data in the tracking
> database. Check the size of the BizTalkDTADb, if it is larger than 1 GB, t
his
> is probaably the cause. If so, you should look at installing andd running 
the
> PruneTrackingDb stored porcedure, and scheduling a job in SQL Server Agent
 to
> keep the tracking database to a reasonable size.
>
> Regards,
>
> ALan
>
>
> --
> The Bloggers Guide to BizTalk
> http://geekswithblogs.com/asmith
>
>
>
> "mj" wrote:
> 





[ Post a follow-up to this message ]



    RE: HAT Error executing Query on Tracking Database  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:25 PM

Glad to hear the problem has been resolved.

Just a side note, there is a known issue of dtasp_PruneTrackingdatabase
when the tracking database size is big. If you meet this problem, you can
contact our CSS to request the following hotfix which includes a new purge
stored produce(different to dtasp_PruneTrackingdatabase).

894253	FIX: The dtasp_PruneTrackingdatabase() stored procedure may take
many hours to clean up the DTA database in BizTalk Server 2004
http://support.microsoft.com/defaul...kb;EN-US;894253

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register