automation Questions - RunSubmit.com most recent 30 from http://www.runsubmit.com 2010-07-29T20:12:10Z http://www.runsubmit.com/feeds/tag/automation http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://www.runsubmit.com/questions/268/easy-way-to-change-the-server-association-for-all-nodes-in-an-enterprise-guide-pr Easy way to change the Server Association for All Nodes in an Enterprise Guide Project? jay.l.stevens 2010-05-28T15:12:37Z 2010-07-12T15:22:59Z <p>We have several environments (DEV/TEST/DMZ, etc) that need to run the same EG File (that stays in Source Control). I really need to be able to deploy the same file to each environment (repeatable deployment process) without having to manually modify the file to get it "ready" for use by testers in each environment:</p> <ul> <li>Select a node</li> <li>Right click and "Select Server"</li> <li>Choose the server for the new environment</li> <li>Repeat for each Node</li> </ul> <p>Is there an easy way (or a way to automate via script of some kind) this process so that manual intervention is not necessary every time I need to make a change to the file and deploy to the three environments?</p> http://www.runsubmit.com/questions/165/filenotfoundexception-when-using-enterprise-guide-automation-server-with-c FileNotFoundException when using Enterprise Guide automation server with C# unknown (yahoo) 2009-12-07T22:49:10Z 2010-01-09T01:55:37Z <p>Any idea why I get this exception when using C# to start up the Enterprise Guide automation server?</p> <p>Code:</p> <pre><code>SAS.EG.Scripting.Application enterpriseGuide = new SAS.EG.Scripting.Application(); SAS.EG.Scripting.ISASEGProject project = enterpriseGuide.New(); </code></pre> <p>throws FileNotFoundException</p> <p>with Message "C:\SAIC Development\Main\SAS\working\alerts\add-in\AlertManager\bin\Debug\SEGuide.exe"</p> <p>and Stack Trace</p> <pre><code>at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName) at SAS.Shared.SharedEnvironment.get_ApplicationVersion() at SAS.EG.ProjectElements.Element.SetModified() at SAS.EG.ProjectElements.Element.SetLabel(String strLabel) at SAS.EG.ProjectElements.ProjectCollection..ctor(IMetadataService metadataService) at SAS.EG.ProjectElements.ProjectCollection..ctor() at SAS.EG.Scripting.Project..ctor() at SAS.EG.Scripting.Application.New() at AlertManager.AlertDesignerForm.CreateNew() in C:\SAIC Development\Main\SAS\working\alerts\add-in\AlertManager\AlertDesignerForm.cs:line 50 at AlertManager.AlertDesignerForm.newToolStripMenuItem_Click(Object sender, EventArgs e) in C:\SAIC Development\Main\SAS\working\alerts\add-in\AlertManager\AlertDesignerForm.cs:line 128 at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message&amp; m) at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m) at System.Windows.Forms.ToolStrip.WndProc(Message&amp; m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp; m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at AlertManager.Program.Main() in C:\SAIC Development\Main\SAS\working\alerts\add-in\AlertManager\Program.cs:line 18 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() </code></pre> <p>Any help would be appreciated.</p>