Hello,
I have been referred to this forum because of some service bus problems I have with Visual Studio. The old thread is:
http://social.msdn.microsoft.com/Forums/en-US/0c141a06-a8eb-4bcc-a760-b839818da2af/sharepoint-workflow-debugging-not-working-azure-service-bus-?forum=appsforsharepoint
I have recently started developing a provider hosted app for Sharepoint Online/Office 365 using Visual Studio 2013. This app also includes Sharepoint Workflows. For some more complex workflows it is necessary to do debugging.
I tried to debug the workflows using the Azure Service Bus (just as described in this article:
http://blogs.msdn.com/b/officeapps/archive/2013/10/30/debugging-sharepoint-2013-workflows-using-visual-studio-2013.aspx
Unfortunately the debugging does not work. As soon as I enable workflow debugging and start building the project the TestServiceHostProxy.exe stops working. Furthermore the App Installation fails because of the following Exceptions:
Error 1 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Error 2 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: Parameter name: s
Error 3 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: at System.Convert.FromBase64String(String s)
Error 4 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: at Microsoft.ServiceBus.SharedSecretTokenProvider.DecodeSecret(String issuerSecret)
Error 5 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: at Microsoft.VisualStudio.SharePoint.Remote.Diagnostics.ServiceHostFactory.CreateTransportClientEndpointBehavior(ServiceBusConnectionString
connectionString)
Error 6 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: at Microsoft.VisualStudio.SharePoint.TestServiceHostProxy.Program.CreateWebServiceHost(Uri tshUrl, String sbPath, Uri baseAddress)
Error 7 Microsoft.VisualStudio.SharePoint.TestServiceHostProxy: at Microsoft.VisualStudio.SharePoint.TestServiceHostProxy.Program.Main(String[] args)
Error 8 Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
I have tested this on different computer and have also created a new project. Visual Studio always throws the same exceptions.
For some reason the connection string created by Azure differs from the one in the msdn blog article. It does not contain the SharedSecretIssuer and ShareSecretValue properties. Instead it looks like this:
Endpoint=sb://….servicebus.windows.net/;SharedAccessKeyName=…;SharedAccessKey=… (...=personal information)
Any thoughts?
Thanks in advance!