Stored procedure executing twice
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 Orchestration > Stored procedure executing twice




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

    Stored procedure executing twice  
Gary


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


 
09-19-05 10:59 PM

Hi,

I have a simple orchestration which seems to have gone pear shaped today.
Fortunately it is just a test system.

An orchestration is triggered via a file drop which in turn calls a stored
procedure using the SQL Adapter. The orchestration then puts the results of
the stored procedure in another file location.

When I drop a file everything seems to work fine, but if I check the event
log I see that there is a suspended message even though the new output file
has been created. If I trace the database using SQL Profiler I see that the
stored procedure has actually been called twice. I then have to restart the
BizTalk host in order to run it again.

Has anybody experienced this type of thing before?

Cheers,
Gary





[ Post a follow-up to this message ]



    Re: Stored procedure executing twice  
Michael Høtoft


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


 
09-20-05 07:48 AM

Hello Gary,

Try and start the SubscriptionViewer from the sdk.

See how many subscriptions you have for the given document.

Perhaps, you have serveral different orchestrations, endports etc. subscribi
ng
for the same document ?
The subscription viewer will tell you.

Best regards
Michael Høtoft


> Hi,
>
> I have a simple orchestration which seems to have gone pear shaped
> today. Fortunately it is just a test system.
>
> An orchestration is triggered via a file drop which in turn calls a
> stored procedure using the SQL Adapter. The orchestration then puts
> the results of the stored procedure in another file location.
>
> When I drop a file everything seems to work fine, but if I check the
> event log I see that there is a suspended message even though the new
> output file has been created. If I trace the database using SQL
> Profiler I see that the stored procedure has actually been called
> twice. I then have to restart the BizTalk host in order to run it
> again.
>
> Has anybody experienced this type of thing before?
>
> Cheers,
> Gary







[ Post a follow-up to this message ]



    Re: Stored procedure executing twice  
Gary


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


 
09-20-05 11:03 PM

Hi Michael,

Thanks for that. I have checked and only have one subscription for the
message type. I think I may have problems with my set up as all sorts of
weird and wonderful things are happening, i.e. HAT crashing as timeouts are
occurring on the message box database, hosts not stopping properly etc.

As it is a development box I think a rebuild is in order.

Thanks again,
Gary

"Michael Høtoft" wrote:

> Hello Gary,
>
> Try and start the SubscriptionViewer from the sdk.
>
> See how many subscriptions you have for the given document.
>
> Perhaps, you have serveral different orchestrations, endports etc. subscri
bing
> for the same document ?
> The subscription viewer will tell you.
>
> Best regards
> Michael Høtoft
>
> 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:12 PM.      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