Here is the function in the MachII function of the basecomponent.cfc <cfif structKeyExists(request,"eventContext")> <cfset request.eventContext.announceEvent(arguments.eventName, arguments.eventArgs) /> <cfelse> <cfthrow message="The EventContext necessary to announce events is not set in 'request.eventContext.'" /> </cfif>
I have never set the "EventContext" in the request scope before in any of my other apps. Any ideas? ----- Original Message ----- From: "Russ" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Monday, July 25, 2005 8:09 AM Subject: RE: MACHII Problem > Can you post what's above line 40 (the if statement)? > > -----Original Message----- > From: Chad McCue [mailto:[EMAIL PROTECTED] > Sent: Monday, July 25, 2005 7:19 AM > To: CF-Talk > Subject: MACHII Problem > > Running on a Windows2003, CFMX7 Machine > > I am getting this error when I try to run a <CFSET > AnnounceEvent('exception', newEventArgs) /> call. This code is running > perfect on my Windows2000 server running cfmx 6. Any ideas? > > The EventContext necessary to announce events is not set in > 'request.eventContext.' > > The error occurred in > D:\Inetpub\wwwroot\MachII\framework\BaseComponent.cfc: line 42 > Called from > D:\Inetpub\wwwroot\ManageAgentSite\FunctionPages\WebSiteSetup.cfc: line 17 > Called from D:\Inetpub\wwwroot\ManageAgentSite\Application.cfm: line 9 > > 40 : <cfset request.eventContext.announceEvent(arguments.eventName, > arguments.eventArgs) /> > 41 : <cfelse> > 42 : <cfthrow message="The EventContext necessary to announce events is not > set in 'request.eventContext.'" /> > 43 : </cfif> > 44 : </cffunction> > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212713 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

