none
clr20r3 from a window's service calling a dot net dll RRS feed

  • Question

  • this is all vs2005

    The following is what is in the event log for

    application, source . .NET Runtime 2.0 Error Reporting

     

    we have  windows service sib.infobase.workflow.services

    That is calling a dll SBPSCs.dll which is throwing an exception

     

    So I changed the message to be more meaningfull.

     (below is the code that caused the problem as usual works in development in xp machine - not working on windows server 2003 )

     

     

    my question is how to interpret

    What are the meanings for the values of

     P2, P3,  etc.

    Event Type: Error
    Event Source: .NET Runtime 2.0 Error Reporting
    Event Category: None
    Event ID: 5000
    Date:  7/3/2007
    Time:  7:17:51 PM
    User:  N/A
    Computer: SBNETAPPTEST1
    Description:
    EventType clr20r3, P1 sib.infobase.workflow.services, P2 1.0.2740.20114, P3 468a74f5, P4 sbpscs, P5 1.0.2740.20087, P6 468a74be, P7 1c, P8 120, P9 zxkyzcs5wacordmkttdkr1xouosi00fr, P10 NIL.

     

     

     

    new code:

     

                 catch (nsSysData.SqlClient.SqlException objExp)

                      {

                            //throw exception specifying that an invalid connection string is specified

                    /*RT 2007-07-03 need more details*/

                    System.Text.StringBuilder errorMessages = new System.Text.StringBuilder();

                    errorMessages.Append(c_sINVALIDDATABASESETTING + " " + sConnString + " ");

                    for (int i = 0; i < objExp.Errors.Count; i++)

                    {

                        errorMessages.Append("Index #" + i + "\n" +

                            "Message: " + objExp.ErrorsIdea.Message + "\n" );

                    }

     

                            nsSCs.Exceptions.InvalidPortalConfiguration exInvalidPortalConfig =

                        new nsSCs.Exceptions.InvalidPortalConfiguration(errorMessages.ToString());

                       

                            throw exInvalidPortalConfig;

                      }

     

     

    old code:

     catch (nsSysData.SqlClient.SqlException objExp)
       {
        //throw exception specifying that an invalid connection string is specified
        nsSCs.Exceptions.InvalidPortalConfiguration exInvalidPortalConfig =
          new nsSCs.Exceptions.InvalidPortalConfiguration(c_sINVALIDDATABASESETTING);

        throw exInvalidPortalConfig;
       }

     

    Thursday, July 5, 2007 3:10 PM

Answers

  • Hi Russt,

      Since there are no public documents on this kind of event log, I do some research and I guess the meaning of each item of this event log is like following.

    Clr20r3

    .NET 2.0 error reporting event type

    P1 sib.infobase.workflow.services

    Application Name

    P2 1.0.2740.20114

    Application version

    P3 468a74f5

    Application time stamp

    P4 sbpscs

    Assembly/Module name

    P5 1.0.2740.20087

    Assembly/Module version

    P6 468a74be

    Assembly/Module timestamp

    P7 1c

    MethodDef

    P8 120

    IL offset

    P9 zxkyzcs5wacordmkttdkr1xouosi00fr

    Exception name

    Hashed because the name is too long

     Basically this means an exception has thrown from application sib.infobase.workflow.services in method 1c, IL offset 120 of assembly sbpscs. The hash of the name of the exception is zxkyzcs5wacordmkttdkr1xouosi00fr.

     I would suggest you to fire up VS and attach to the services and find out what is wrong. Using a debugger is much easier than just looking at this information.

       Thanks!
    Wednesday, July 11, 2007 5:14 AM

All replies

  • Hi Russt,

      Since there are no public documents on this kind of event log, I do some research and I guess the meaning of each item of this event log is like following.

    Clr20r3

    .NET 2.0 error reporting event type

    P1 sib.infobase.workflow.services

    Application Name

    P2 1.0.2740.20114

    Application version

    P3 468a74f5

    Application time stamp

    P4 sbpscs

    Assembly/Module name

    P5 1.0.2740.20087

    Assembly/Module version

    P6 468a74be

    Assembly/Module timestamp

    P7 1c

    MethodDef

    P8 120

    IL offset

    P9 zxkyzcs5wacordmkttdkr1xouosi00fr

    Exception name

    Hashed because the name is too long

     Basically this means an exception has thrown from application sib.infobase.workflow.services in method 1c, IL offset 120 of assembly sbpscs. The hash of the name of the exception is zxkyzcs5wacordmkttdkr1xouosi00fr.

     I would suggest you to fire up VS and attach to the services and find out what is wrong. Using a debugger is much easier than just looking at this information.

       Thanks!
    Wednesday, July 11, 2007 5:14 AM
  • Since the P9 data contains the name of the exception, how can we decrypt the exception name if it's too long?

    Tech, life, family, faith: http://judahgabriel.blogspot.com
    Friday, December 12, 2008 10:22 PM