﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Damir Dobric Posts : work</title><link />http://developers.de/blogs/damir_dobric/archive/tags/work/default.aspx<description>Tags: work</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>Service Bus for Windows Server “Blind Alley”</title><link />http://developers.de/blogs/damir_dobric/archive/2013/07/09/service-bus-for-windows-server-blind-alley.aspx<pubdate>Tue, 09 Jul 2013 07:00:00 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:565943</guid><dc:creator>Damir Dobric</dc:creator><slash:comments>0</slash:comments><wfw:commentrss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developers.de/blogs/damir_dobric/rsscomments.aspx?PostID=565943</wfw:commentrss><comments>http://developers.de/blogs/damir_dobric/archive/2013/07/09/service-bus-for-windows-server-blind-alley.aspx#comments</comments><description>&lt;p&gt;These days we detected some harmful &lt;u&gt;information message&lt;/u&gt; in the Service Bus event log. &lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;em&gt;ServiceBus Inner Management Channel has faulted. Type: PartitionId:0, ContainerId:1.ree&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;When something like this happen, you should hope that this was a temporary issue, which somehow has been automatically covered. In most cases this is exactly what happen.    &lt;br /&gt;But if you after a while notice that nothing works, you should immediately try to fix the issue which does not exist. Yes, this is exactly what all Windows Event Logs will give for free: “No any issue”.&lt;/p&gt;  &lt;p&gt;If you are a SharePoint guy you will probably find this instead:   &lt;br /&gt;&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2"&gt;     &lt;tr&gt;       &lt;td&gt;         &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;Error processing management request. Method: PUT, RequestUri: &lt;/em&gt;&lt;/font&gt;&lt;a href="http://****:12291/WorkflowManagement/$Workflows/YOURSCOPENAME/"&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;http://****:12291/WorkflowManagement/$Workflows/YOURSCOPENAME/&lt;/em&gt;&lt;/font&gt;&lt;/a&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;, Error: System.TimeoutException: Could not successfully create subscription for topic ******/WFTOPIC&amp;#39; despite multiple retries over a timespan of 00:05:00.2220000.. The exception of the last retry is: The request has timed out after 60000 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded.. ---&amp;gt; System.TimeoutException: The request has timed out after 60000 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded. ---&amp;gt; System.Net.WebException: The request was aborted: The request was canceled.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.EndGetResponse(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult ar)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;--- End of inner exception stack trace ---&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;Server stack trace: &lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;Exception rethrown at [0]: &lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.NamespaceManager.CreateOrUpdateSubscriptionAsyncResult.OnCreateSubscription(IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;Exception rethrown at [1]: &lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.Workflow.Gateway.CreateOrUpdateWorkflowAsyncResult.CreateSubscriptionRetryAsyncResult.EndAsyncResult(IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;em&gt;--- End of inner exception stack trace ---&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/table&gt;  &lt;p&gt;If you are Service Bus guy you will notice that no any entity can be created.&lt;/p&gt;  &lt;p&gt;When you see something like this do no try to reinstall or to repair the node, because this will happen on all nodes. The issue is related to Service Bus database which holds Service Bus Gatewayzy thing about this israc information.   &lt;br /&gt;All these errors can also be noticed when using Workflow Management Client. In this case you might get various errors like “&lt;em&gt;404 Forbidden&lt;/em&gt;”, “&lt;em&gt;500 Internal Server Error&lt;/em&gt;” or even “&lt;em&gt;403 Not Found&lt;/em&gt;”.    &lt;br /&gt;The most crazy about this is that all errors are totally undeterministic.&lt;/p&gt;  &lt;p&gt;The root of the problem is database. Open SQL Management studio and try to execute any command which would write something in Transaction Log. For example delete of workflow instance or even some service bus entity.   &lt;br /&gt;I know we should never ever do something like this. But unfortunately I didn’t&amp;#160; find any better way.&lt;/p&gt;  &lt;p&gt;If you do that following will happen:&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2"&gt;     &lt;tr&gt;       &lt;td&gt;         &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;em&gt;Error Message: The transaction log for database &amp;#39;SbGatewayDatabase&amp;#39; is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;em&gt;Correct the errors and attempt to delete the row again or press ESC to cancel the change(s).&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/table&gt;  &lt;p&gt;Then go to this database and take a look on transaction log. And, don’t be surprised if the transaction is not full. The problem is possibly not in Service Bus database. Usually on on SQL server some other databases are hosted too.   &lt;br /&gt;If can be that other database has full transaction log. Or the drive of the SQL server machine is full.     &lt;br /&gt;    &lt;br /&gt;&lt;strong&gt;The solution of the problem is to make a free place on the drive which hosts Service Bus databases.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=565943" width="1" height="1"&gt;</description><category domain="http://developers.de/blogs/damir_dobric/archive/tags/Workflow/default.aspx">Workflow</category><category domain="http://developers.de/blogs/damir_dobric/archive/tags/ServiceBus/default.aspx">ServiceBus</category><category domain="http://developers.de/blogs/damir_dobric/archive/tags/Workflow+Manager/default.aspx">Workflow Manager</category><category domain="http://developers.de/blogs/damir_dobric/archive/tags/work/default.aspx">work</category></item></channel></rss>