SDL Tridion 2009 - Unable to create an Event System Object - tridion

We are using SDL Tridion 2009.
Some time ago we start to get this error "Unable to create an Event System Object".
We start to get this error sporadic.
It might be something with our Events implementation, but that was functional more than 2 years, and we start to get this error just a some time ago.
Just in case someone got something similar, and it can help.
Thank you very much

This error is raised during the initialization of the event. The typical suspects here are errors in the constructor of the Event System, like trying to load a configuration file that doesn't exist (without proper error handling) or calling an operation that the current user is not allowed to do.
Tridion does the following actions when it triggers an event:
Check if Event is enabled (MMC SnapIn setting)
Create an object of type "TDSEvents.Events"
Set the Identity of the current user (using .Identity on the Events object)
Invoke the On[ItemName][Event][Phase] method and pass the required parameters.
If any of the first 3 steps cause an error you will get the infamous "Unable to create an Event System Object" error.

Related

how to implement pop up custom error message using throw new error inside workflow other than start event in alfresco version 7.0 and up

The problem here is that when using alfresco version 6 the use of throw new error is able to be used as a validation method inside of a workflow, the use of throw new error here is enabling us to pop up an error message for the user stating what is the error. But, when I tried to code it into alfresco version 7.0 and up I am unable to show the error message in the pop up, the pop up will only tell failure and stating the default message. I already tried encased it with if and try and catch statement but it still only showing failure and showing the default error message in alfresco. I expecting that the result of the validation is a pop up with my custom message about the error, but sadly this only work for the start event and wont work in the other activity task in the workflow.

Dynamics AX Document Services salesSalesOrder error

I have a quastion regarding document services
I just want to create salesorders through document services I just follow the straight forward procces of https://technet.microsoft.com/en-us/library/hh352313.aspx.
I made the modifications that coresponds to my system through the help of the exception log of administration panel . Now I have to face the fact that my xml file is deleted and I have no salesOrders in salestable and not a response xml into response file.
Then my next action was to debug the service...attach the proccess load the debug symbols etc....
The time that I triger the services did not hit the breakpoint in the class/method SalesSalesOrder.read but instand I get a funny error from VisualStudio which make me to feel blind , also note that does not exist any error in exception log of dynamics ax or in the batch job.
The error from VS.
"An exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' occurred in Dynamics.Ax.Application.dll854.netmodule but was not handled in user code"
Can anyone help me or face something similar at the past?
iN inbound port I should specify the company id,
then everything works fine. The reason was that the default company was empty and the new salesorders cannot passed validation.

extbase "An error occurred while trying to call", only before cleaning Cache

I have a extension which runs with parameter no_cache=1 t ensure i always have fresh data. There is a strange behaviour. After a certain while (for example a night) the call of a showAction brings the error:
An error occurred while trying to call XYZ showAction()
My Controller Action has already #dontvalidate $component.
Using the script of oliver (https://gist.github.com/oliverthiele/f1550a246dd8726ef136) shows up an error
The given subject was NULL
If I log in into the Typo3 Backend, cleanup all Caches and reload the page which previousely hat the error above everything is fine. Do I have a Cache Issue or do I have a validation issue?
After some more investigation we're almost sure the problem was coming from the ldap extension (ig_ldap_sso_auth). The "error" only occured on properties extending FE-Users, the following post may help: https://forge.typo3.org/issues/71265
Since the fix is applied the error newer came up again.

The EventLogWebEventProvider provider failed to log an event with the error code 0x80070057

I am writing WebEvent in my asp.net Application and it is working fine in both my development and production region.However, When I analyze Event Logs in production server for past couple of months.I see below event
The following exception was thrown by the web event provider 'EventLogProvider' in the application '/(MyApplicationName)' (in an application lifetime a maximum of one exception will be logged per provider instance):
System.Web.HttpException (0x80004005): The EventLogWebEventProvider provider failed to log an event with the error code 0x80070057.
at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised)
at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1)
Although Occurrence is very low, still I am curious to understand why this is happening.I tried to do some research and found below link
http://forums.iis.net/t/1201176.aspx?IIS+Keep+hanging
According to this link, I may be passing some invalid argument while writing event log.
But I double checked my EventLog.WriteEntry method and I am using it in my application only in couple of places and moreover, I am passing static string message. If argument is invalid then it should occur every time I try to write event.
Can anyone please help me understanding possible cause for this event.is there any known issue when working with EvenLog?
Check your code you may be trying to perform an invalid operation.
In my case i was writing a file to C Drive after changing Location to D Drive Problem Resolved

SmartTarget Errors in log file

I don't have any errors with my smart target application, but I do see in the event log, the following error messages:
ERROR 2012-09-19 14:30:09
com.tridion.smarttarget.utils.AmbientDataHelper - can't find defined
trigger-types in claim store (check if your smarttarget cartridge is
up and running)
and:
ERROR 2012-09-19 14:30:11
com.tridion.smarttarget.tags.TimeoutQueryRunner - The fredhopper query
timed out java.util.concurrent.TimeoutException at
java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at
java.util.concurrent.FutureTask.get(Unknown Source) at
com.tridion.smarttarget.tags.TimeoutQueryRunner.executeQuery(TimeoutQueryRunner.java:64)
ERROR 2012-09-19 14:30:11
com.tridion.smarttarget.tags.TimeoutQueryRunner - The fredhopper query
timed out
I would really like to understand what is causing these and how I can remove them. Or some suggested steps to help me debug this would be great :)
As I say, everything is working perfectly, later on in the logs I see the query to ST is correct and the results being generated.
In the event that is helps, I'm running on a 2009 implementation with Smart Target 2010, java 1.5.
thanks
John
Sounds like you might have a trigger configured in ST that does not actually exist in the ADF (or is mismatched). Have you looked through your trigger-types.xml file for anything obvious? Have you disabled an ADF cartridge but not removed the corresponding trigger in the XML perhaps? See the documentation for Defining trigger types.
I think your timeout is coming from the SmartTarget region rather than FredHopper. Sometimes a query that isn't already cached in FredHopper can take a while to return, even though it's ultimately successful. The ST query tag has a timeout (defined in the smarttarget_conf.xml file, or over-ridden with a tag attribute) that it will wait for a response from Fredhopper for before resorting to using the fallback content. This might explain why you see later in the logs that the query is correct and that results are returned. See the documentation for <tcdl:query>.
No conclusive answer for you I'm afraid, but I hope that helps.
The first error is logged if your SmartTarget cartridge is not running -- or if the data that it puts into ADF is lost somehow (e.g. you have disabled sessions in your web server).
In that case, SmartTarget will still do a query but it won't include anything from the Ambient Data Framework in it. If you don't have any triggers based on ambient data, the end result is the same for you.
To get rid of the error, make sure that smarttarget_cartridge is configured correctly.
As for the timeout error, it simply means that the query sent to Fredhopper took longer than the configured time. In that case it will show the fallback content instead. If this is happening a lot, you might want to increase the timeout within smarttarget_conf.xml.
I hope you found the issue, but for future reference, the first error message is raised when the claim "taf:claim:ambientdata:definedtriggertypes" is not set by the SmartTarget cartridge. This can be caused by:
SmartTarget cartridge could not load the the trigger types from the SmartTarget server. The log will show an error "can't retrieve list of defined trigger types from FH".
The HTTP session on your web server is expired during an active visit (the HTTP session expired but the browser is still open) and the claim is "lost".
The server does not support sessions like Peter mentioned.

Resources