Hi, When running a user defined job, what user you tell it to run under as? Does that user account support multiple sessions?
Also, when the user defined job runs, it is a totally separate session, so it doesn't even know which project to perform the action. Try to include the login into a project code: https://groups.google.com/d/msg/reddot-cms-users/c8sSjzx_zks/i6931LufvqEJ before you run that .asp page. Also, I am not sure even with that you will be able to get the loginguid and session. Best way to debug this is to clear the common log folder, run job, read the entry in newly create .log. Does the RQL in log have valid loginguid and session? Best, -Jian On Friday, September 21, 2012 10:06:40 AM UTC-4, Neil Fegen wrote: > > Hi guys > > I'm trying to write a basic user-defined job to call an asp page which > adds a specified authorisation package to a specified page but nothing is > happening - can anybody help? > > This is the content of the file: > > <% > ' Create XML objects > set objIO = Server.CreateObject("RDCMSAsp.RDPageData") > objIO.XmlServerClassName = "RDCMSServer.XmlServer" > set XMLDomPage = Server.CreateObject("Microsoft.XMLDOM") > > 'Retrieve login session variables > SessionKey = Session("sessionkey") > LoginGUID = Session("LoginGUID") > xmlData = "<IODATA loginguid=""" & LoginGUID & """ sessionkey=""" & > SessionKey & """>" & _ > "<AUTHORIZATION>" & _ > "<PAGE guid=""380AC11DDE87439398FCED3334D319BF"">" & _ > "<AUTHORIZATIONPACKET action=""assign"" > guid=""91CBCA2D70A54E17A9653CCCD185D460""/>" & _ > "</PAGE>" & _ > "</AUTHORIZATION>" & _ > "</IODATA>" > xmlData = objIO.ServerExecuteXml(xmlData,sError) > Call XMLDomPage.LoadXML(xmlData) > > ' Dispose of objects > set XMLDomPage = nothing > set objIO = nothing > set xmlData = nothing > %> > > Thanks > > Neil > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/ct4wh7973x0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
