Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

State Machine Workflow (SP2010 engine) causes Visual Studio 2013 Ultimate and Community Edition to crash when "Attach to process..." window opens

$
0
0

I have SharePoint 2013 Server installed + Visual Studio 2013 Ultimate Update 4.

In Visual Studio:

  1. Create a new project from template "SharePoint 2013 - Empty Project"
  2. Add a state machine workflow (2010) to the project
  3. Pass through all the steps in template wizard. Set the URL of the server, associate WF with doc library (as well as task list, history list), deploy as farm solution, WF starts manually.
  4. Add no code and no other elements to the autogenerated project.
  5. Deploy project to the server. 
  6. Go to associated document library
  7. start the workflow on a document
  8. Try to open "Attach to process..." window (either via Ctrl+Alt+P or viaDebug=>Attach to process... menu)
  9. Visual Studio crashes.

I tried the steps above on

  • SP2013 Server with VS 2013 Upd 4 Ultimate and 
  • SP2013 Foundation with VS 2013 Community Edition Upd 4

The only KB article I've found so far was https://support.microsoft.com/kb/2862144 but I have no processes like WcfSvcHost.exe running in the OS. 

Anyone encountered this problem?

UPD

The exception in Visual Studio is:

"An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.Shell.12.0.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt"

VS_call_stack




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>