I am getting this issue with 2014 & 2016 versions of revit. This is preventing me from wrighting anything in 2014 but seems to be allowing me to wright in 2016. PLEASE FIX.
SharpDevelop Version : 4.2.0.8783-27231549
.NET Version : 4.0.30319.18444
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Running as 64 bit process
Working Set Memory : 880260kb
GC Heap Memory : 400309kb
Unhandled exception terminated the workbench
Exception thrown:
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.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
---- Recent log messages:
09:32:00.309 [SDmain] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ErrorListPad
09:32:00.403 [SDmain] INFO - Loading addin SharpRefactoring
09:32:10.277 [21] DEBUG - Telling worker process to exit
09:32:10.279 [21] DEBUG - Waiting for thread-join
09:32:10.280 [37] DEBUG - Cannot read from WorkerProcess 1408: end of stream
09:32:10.280 [37] DEBUG - Stopped reading from WorkerProcess 1408.
09:32:10.283 [37] DEBUG - Telling worker process to exit
09:32:10.285 [37] DEBUG - End of reader thread on WorkerProcess 1408.
09:32:10.286 [21] DEBUG - Joined!
09:42:09.633 [SDmain] DEBUG - Saving memento of '[AvalonEditViewContent C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb]' to key '1e84daf3:C:\USERS\CWOODC~1\APPDATA\LOCAL\TEMP\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\REVIT\DOCHOOKUPS9032\255040768\H\SOURCE\H\THISDOCUMENT.VB'
09:42:09.665 [SDmain] DEBUG - ActiveViewContentChanged to
09:42:09.669 [SDmain] DEBUG - OpenedFileClosed: C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb
09:42:09.708 [SDmain] INFO - CurrentProject changed to null
09:42:09.723 [SDmain] DEBUG - Removing part C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb from compound class h.ThisDocument
09:42:09.723 [SDmain] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
09:42:09.772 [SDmain] INFO - Saving layout file: C:\Users\cwoodcock\AppData\Roaming\ICSharpCode\HostedSharpDevelop4\layouts\Default.xml
09:42:09.796 [SDmain] DEBUG - ActiveContentChanged to
09:42:09.796 [SDmain] DEBUG - ActiveWorkbenchWindowChanged to
09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb new!=null:False
09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\Properties\AssemblyInfo.vb new!=null:False
09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.Designer.vb new!=null:False
09:42:09.920 [SDmain] INFO - Unloading services...
09:42:12.052 [SDmain] WARN - Exception during unloading
--> Exception:
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.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
09:42:12.053 [SDmain] INFO - Finished running workbench.
09:42:12.054 [SDmain] FATAL - 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.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
Server stack trace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SDA.SDAHost.interactionClass_SDAHostClosed()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
---- Post-error application state information:
Installed 3rd party AddIns: [SharpDevelop 4.2.0.8783], [CodeAnalysis 0.0.0.0], [SourceAnalysis 0.0.0.0], [Unit Testing Addin 0.0.0.0], [C# Binding 0.0.0.0], [Python Binding 0.0.0.0], [Ruby Binding 0.0.0.0], [VB .NET Binding 0.0.0.0], [XAML binding 0.0.0.0], [Debugger 0.0.0.0], [AvalonEdit.AddIn 0.0.0.0], [Class Diagram 0.0.0.0], [Data Addin 0.0.0.0], [ILSpyAddIn 0.0.0.0], [Forms Designer 0.0.0.0], [HexEditor 0.0.0.0], [IconViewerAddIn 0.0.0.0], [Resource Editor 0.0.0.0], [WPF Designer AddIn 0.0.0.0], [XML Editor 0.0.0.0], [AddInManager 0.0.0.0], [Microsoft Help System v1.0], [PInvoke Add-in 0.0.0.0], [Regular expressions toolkit 0.0.0.0], [Hornung.ResourceToolkit 0.0.0.0], [Search & Replace 0.0.0.0], [SharpRefactoring 0.0.0.0]
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>