robplank / azure-automation-scsm-connector

System Center Service Manager connector and runbook template for Azure Automation
MIT License
5 stars 0 forks source link

Connector Workflow is not created on Connector Wizard close/create #55

Open robplank opened 8 years ago

robplank commented 8 years ago

when the New Connector wizard is completed the Connector workflow doesn't get created, not seeing the issue when attaching a debugger.

JakobGSvendsen commented 8 years ago

Hmm I am having trouble even connecting the debugger and using a breakpoint. I just attach to the console service, is that correct? how did you make it actually stop on breakpoints?

robplank commented 8 years ago

yes set your break points in VS then attach the debugger, open the wizard to create a new connector select the Azure Automation connector and you should hit your break point. try pulling down the issue_7_Activity branch the workflow creation is completely rewritten based on what I learned from the Exchange connector. the error should be on line 532 of AzureAutomation.cs when attempting to save the type projection.

JakobGSvendsen commented 8 years ago

ok got it now, but I need to find some references again as they are missing in the reference folder beofre I can test... :)

JakobGSvendsen commented 8 years ago

line 532 is public static class StringCipher ?

JakobGSvendsen commented 8 years ago

tried to break here:

2016-10-15_17-39-07

and attaches to the consiole process:

2016-10-15_17-39-30

but it never breaks for some reason! can't figure out what i have done wrong, I have attached by remote lots of times in SCSM projects without issues, it seems like it does not execute the code.

I have also tried to insert a messagebox:show but no box shows ( but this can be because of where the code runs in SCSM)

robplank commented 8 years ago

Did you copy the dlls from the VS build to the SM install folder. see issue #22