<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276856#M19152</link>
    <description>&lt;P&gt;This &lt;A href="http://support.sas.com/kb/58/247.html" target="_self"&gt;http://support.sas.com/kb/58/247.html&lt;/A&gt; might be of help for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I always say, do not run a major Windows version in production until at least SP2 has been released. And the SW vendors had time to deal with the rotten-brain ideas that MS decided to put into it.&lt;/P&gt;
&lt;P&gt;Right now the Windows version to use is 7. 10 is in open beta-test at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS the link above is the first result of a google search for "sas enterprise guide schedule project Access is denied."&lt;/P&gt;
&lt;P&gt;I have found that simply using the error message from a SAS product in connection with the product name in google will get you a good hint for the solution most of the time (&amp;gt;90%)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 07:33:41 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-06-13T07:33:41Z</dc:date>
    <item>
      <title>Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276851#M19151</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to create a schedule in SAS Enterprise Guide. I am using 5.1. When ever I am trying to schedule a project by File&amp;gt;Schedule Project I am getting the error.&lt;/P&gt;&lt;P&gt;Application Error&lt;BR /&gt;SAS Enterprise Guide has encountered a problem&lt;BR /&gt;We recommend that you save your work and restart SAS Enterprise Guide.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------&lt;BR /&gt;Exception information&lt;BR /&gt;-------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------- Technical Information Follows --------------------------&lt;/P&gt;&lt;P&gt;Exception Details:&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Exception type: System.UnauthorizedAccessException&lt;BR /&gt;Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))&lt;BR /&gt;Source: SAS.EG.Utilities&lt;BR /&gt;Target Site: NewWorkItem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12650iD7AC7FCDCECCF4CC/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS.jpg" title="SAS.jpg" /&gt;</description>
      <pubDate>Mon, 13 Jun 2016 06:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276851#M19151</guid>
      <dc:creator>sas_bh</dc:creator>
      <dc:date>2016-06-13T06:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276856#M19152</link>
      <description>&lt;P&gt;This &lt;A href="http://support.sas.com/kb/58/247.html" target="_self"&gt;http://support.sas.com/kb/58/247.html&lt;/A&gt; might be of help for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I always say, do not run a major Windows version in production until at least SP2 has been released. And the SW vendors had time to deal with the rotten-brain ideas that MS decided to put into it.&lt;/P&gt;
&lt;P&gt;Right now the Windows version to use is 7. 10 is in open beta-test at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS the link above is the first result of a google search for "sas enterprise guide schedule project Access is denied."&lt;/P&gt;
&lt;P&gt;I have found that simply using the error message from a SAS product in connection with the product name in google will get you a good hint for the solution most of the time (&amp;gt;90%)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 07:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276856#M19152</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-13T07:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276874#M19153</link>
      <description>&lt;P&gt;Thanks Kurt for the reply. I tried this option but its not working.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 09:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276874#M19153</guid>
      <dc:creator>sas_bh</dc:creator>
      <dc:date>2016-06-13T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276953#M19156</link>
      <description>&lt;P&gt;I'm surprised Kurt's suggestion (explicitly running EG as an administrator) did not allow you to workaround.&amp;nbsp; Usually the "access is denied" error related to scheduling is a result of the user not having permissions to create Windows Scheduled Tasks.&amp;nbsp; As a test, I suggest opening the Windows Task Scheduler and seeing if you are able to create a simple scheduled task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/276953#M19156</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-13T15:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/278937#M19247</link>
      <description>&lt;P&gt;Yes I tried creating a job from task scheduler and I can succesfully run the job. I tried running a progam SEGuide.exe. But whenever I try using SAS Enterprise Guide I am getting the error&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 08:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/278937#M19247</guid>
      <dc:creator>sas_bh</dc:creator>
      <dc:date>2016-06-21T08:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/279106#M19254</link>
      <description>&lt;P&gt;If explicitly running EG as an administrator (&lt;A href="http://www.tenforums.com/tutorials/3436-run-administrator-windows-10-a.html" target="_blank"&gt;http://www.tenforums.com/tutorials/3436-run-administrator-windows-10-a.html&lt;/A&gt;)&amp;nbsp;does not avoid the error when scheduling, the only other workaround I can think of is to manually schedule the task in Windows Task Scheduler to run the .vbs file (default attached; you'll have to remove the .txt extension from the file name and&amp;nbsp;edit the prjName property in it to point to your .egp)&amp;nbsp;that runs the desired EG project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The action: "Start a program"&lt;/P&gt;
&lt;P&gt;For 32-bit EG:&lt;/P&gt;
&lt;P&gt;Program/script: C:\Windows\SysWOW64\cscript.exe (for 32-bit EG)&lt;/P&gt;
&lt;P&gt;Add arguments: "C:\Users\cassmi\Desktop\EGScript1.vbs" (path to .vbs file)&lt;/P&gt;
&lt;P&gt;For 64-bit EG:&lt;/P&gt;
&lt;P&gt;Program/script: C:\Users\cassmi\Desktop\EGScript1.vbs&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 18:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/279106#M19254</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-21T18:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/279399#M19265</link>
      <description>&lt;P&gt;Thanks for your response. I tried modifying your vbs script. Made change in the project name and updated set app = to point to EG 5.1. I am getting an error object required. Not sure what went wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option Explicit&lt;BR /&gt;Dim app&lt;/P&gt;&lt;P&gt;Call dowork&lt;/P&gt;&lt;P&gt;'shut down the app&lt;BR /&gt;If not (app Is Nothing) Then&lt;BR /&gt;app.Quit&lt;BR /&gt;Set app = Nothing&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sub dowork()&lt;BR /&gt;On Error Resume Next&lt;BR /&gt;'----&lt;BR /&gt;' Start up Enterprise Guide using the project name&lt;BR /&gt;'----&lt;BR /&gt;Dim prjName&lt;BR /&gt;Dim prjObject&lt;/P&gt;&lt;P&gt;prjName = "C:\Users\hbasheer\Desktop\Project1.egp" 'Project Name&lt;BR /&gt;&lt;BR /&gt;Set app = CreateObject("SASEGObjectModel.Application.5.1")&lt;BR /&gt;If Checkerror("CreateObject") = True Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;'-----&lt;BR /&gt;' open the project&lt;BR /&gt;'-----&lt;BR /&gt;Set prjObject = app.Open(prjName,"")&lt;BR /&gt;If Checkerror("app.Open") = True Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;'-----&lt;BR /&gt;' run the project&lt;BR /&gt;'-----&lt;BR /&gt;prjObject.run&lt;BR /&gt;If Checkerror("Project.run") = True Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;'-----&lt;BR /&gt;' Save the new project&lt;BR /&gt;'-----&lt;BR /&gt;prjObject.Save&lt;BR /&gt;If Checkerror("Project.Save") = True Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;'-----&lt;BR /&gt;' Close the project&lt;BR /&gt;'-----&lt;BR /&gt;prjObject.Close&lt;BR /&gt;If Checkerror("Project.Close") = True Then&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Function Checkerror(fnName)&lt;BR /&gt;Checkerror = False&lt;BR /&gt;&lt;BR /&gt;Dim strmsg&lt;BR /&gt;Dim errNum&lt;BR /&gt;&lt;BR /&gt;If Err.Number &amp;lt;&amp;gt; 0 Then&lt;BR /&gt;strmsg = "Error #" &amp;amp; Hex(Err.Number) &amp;amp; vbCrLf &amp;amp; "In Function " &amp;amp; fnName &amp;amp; vbCrLf &amp;amp; Err.Description&lt;BR /&gt;'MsgBox strmsg 'Uncomment this line if you want to be notified via MessageBox of Errors in the script.&lt;BR /&gt;Checkerror = True&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;End Function&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12683i5CABD334003185E2/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="error.png" title="error.png" /&gt;</description>
      <pubDate>Wed, 22 Jun 2016 15:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/279399#M19265</guid>
      <dc:creator>sas_bh</dc:creator>
      <dc:date>2016-06-22T15:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/281397#M19335</link>
      <description>&lt;P&gt;Casey. I am able to run the VB script now and sas project is getting executed.&lt;/P&gt;&lt;P class="cs95e872d0"&gt;&lt;SPAN class="csa75556751"&gt;c:\windows\syswow64\cscript.exe C:\Users\hbasheer\Desktop\egjob.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="cs95e872d0"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="cs95e872d0"&gt;&lt;SPAN class="csa75556751"&gt;Scheduling via Enterprise guide is still an issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 11:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/281397#M19335</guid>
      <dc:creator>sas_bh</dc:creator>
      <dc:date>2016-06-30T11:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ubable to schedule in SAS Enterprise Guide in EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/281432#M19338</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/89770"&gt;@sas_bh﻿&lt;/a&gt;, glad you were able to get the VB script working, such that you have a workaround for scheduling the project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish I could help with the issue you are encountering scheduling via EG 5.1.&amp;nbsp; The "Access denied" errors while scheduling from EG&amp;nbsp;are usually due to permissions settings, which can be worked around by running EG as an administrator.&amp;nbsp; However, since that isn't helping in your case, I'm not sure what else to try.&amp;nbsp; I do know changes have been made in the way EG creates scheduled tasks (related to permissions)&amp;nbsp;in our more recent releases (ex. 7.12 HF3).&amp;nbsp; There is a reasonable chance your issue is resolved in the latest version (7.12 HF3).&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Ubable-to-schedule-in-SAS-Enterprise-Guide-in-EG-5-1/m-p/281432#M19338</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-30T13:44:56Z</dc:date>
    </item>
  </channel>
</rss>

