CRM Workflow Configuration and Deployment Manager Add-in Problem

CRM Workflow Configuration and Deployment Manager Add-in Problem

Post by WWVsaX » Wed, 09 Jan 2008 18:15:01

Hello all,
I have setup the release DeployAddin for Visual Studio 2005. My problem is,
when I try to configure deploy settings, I receive an error message saying
"Error connecting to the server" (the server has the on-premise version).

I decided to test the WorkflowConfigurationTool solution, created a new
windows application project, added a reference to the
workflowconfigurationtool, and run ServerSettings form.
Application.Run(new ServerSettings());
I could successfuly connect the crm server.

I wonder what might be the problem with the add-in. Thanks in advance.

CRM Workflow Configuration and Deployment Manager Add-in Problem

Post by WWVsaX » Wed, 09 Jan 2008 19:07:00

I have downloaded the sdk released in january (I was using the november
After correcting compile errors (the sdk bin does not include a dll called
Microsoft.Crm.SdkProxy), I have re-deployed CRM Workflow Configuration and
Deployment Manager.
Now I can connect to the server through deploy settings, however now when
try to update primary entity type list, I receive an error. Exception details
are as below:

System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: No connection could be made because the
target machine actively refused it
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
Microsoft.Crm.Sdk.Tools.CrmSdk.Metadata.MetadataService.Execute(MetadataServiceRequest Request)
Microsoft.Crm.Sdk.Tools.ConfigurationForm.btnUpdatePrimaryEntities_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

Any idea? Thanks.