Operation tracelog

StatusIDPriorityType
Closed23244MajorQuestion
ProfileReply
niemimikClient

Hi!

I'm testing managedoperation functionality. I have replicated basic elements from featurecenter demo
to my app. Every works fine but nothing is written to Tracelog. Can point out what i am missing?

Table are created to database. Managedoperations and logstorage can be found but not OperationTraceItem
remains empty.

Operation :

[NonPersistent] public class MyTestOperation
{
public int Count { get; set; }
public int Timeout { get; set; }

public MyTestOperation(XafApplication application)
{
Count = 10;
Timeout = 3;
}

public void ExecuteCore(IManagedOperation operation)
{
operation.TotalStep = Count;
for (int i = 0; i <= Count; i++)
{
operation.NextStep(string.Format("Vaihe {0}", i), i);
Thread.Sleep(Timeout * 1000);
}
}
}

Demos works just fine.

BR,

-mikko

Replies

UserDescriptionPosted On
NikolayAgent

Hello Mikko,

I'm sorry for the delayed answer.
I added a source code of your operation to my sample solution. It works.
Could you please provide a source code of your project so we can find an issue.

Best regards,
Nikolay.

NikolayAgent

Hello Mikko,

Could you please provide a configuration file of your application. Do not forget to remove a security-sensitive information from it before sending.
How else can I help you to resolve this issue?
If you have any questions, please do not hesitate to ask.

Best regards,
Nikolay.

niemimik

Hi!

I think it is more like reference to some assembly is missing.
Any ideas what we shoud try

-mikko

NikolayAgent

Hello Mikko,

I would be glad to help you but the information you provided is not enough to solve the issue.
Please provide a configuration file of your application and the "eXpressAppFramework.log".

Does any exception occurs while running this managed operation?

Best regards,
Nikolay.

× This ticket is closed.

Write US