Hi,
I have a SP 2010 project, which has a class file, which I have used for custom logging.
In my another solution, I have 2 projects. First project has a visual webpart, and in that i have referenced the logger project dll and used in my try catch block.
Second project is a sequential workflow. In that also, I refrenece the logger project dll and used in my try catch block.
The logging is working in my visual webpart, however is throwing error in the workflow project. I am getting the below error:
"Type 'Test.CustomLogs.ErrorLogger' in Assembly 'Test.CustomLogs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=guid' is not marked as serializable."
How to fix this?
Thanks