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
Whatare themeaningsfor 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.Errors
.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;
}