G
Guest
I have written a program which does late binding to generate mail merged
documents. Its working fine on the dveleopment machine. When I make a build
and run it on machine (framework installed) specially on NT 4 machine it
gives me the following error
*********************************************
Original Exception:
Message = Exception has been thrown by the target of an invocation.
Source = mscorlib.
Stack Trace = at System.RuntimeType.InvokeDispMethod(String name,
BindingFlags invokeAttr, Object target, Object[] args, Boolean[]
byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters)
at PPMIP.Common.CommonCode.ProcessKeyRequestLetter(String
vstrTemplateFileName, DataTable vdatMailMergeData, String vstrOutputFileName).
Target Site = System.Object InvokeDispMethod(System.String,
System.Reflection.BindingFlags, System.Object, System.Object[], Boolean[],
Int32, System.String[]).
Inner Exception:
Original Exception:
COM+ Error Code = -2147417851.
Message = The server threw an exception.
Source = .
Stack Trace = .
Target Site = .
*********************************************
I am unable to track where this is going wrong.
Can you please help me with this?
documents. Its working fine on the dveleopment machine. When I make a build
and run it on machine (framework installed) specially on NT 4 machine it
gives me the following error
*********************************************
Original Exception:
Message = Exception has been thrown by the target of an invocation.
Source = mscorlib.
Stack Trace = at System.RuntimeType.InvokeDispMethod(String name,
BindingFlags invokeAttr, Object target, Object[] args, Boolean[]
byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters)
at PPMIP.Common.CommonCode.ProcessKeyRequestLetter(String
vstrTemplateFileName, DataTable vdatMailMergeData, String vstrOutputFileName).
Target Site = System.Object InvokeDispMethod(System.String,
System.Reflection.BindingFlags, System.Object, System.Object[], Boolean[],
Int32, System.String[]).
Inner Exception:
Original Exception:
COM+ Error Code = -2147417851.
Message = The server threw an exception.
Source = .
Stack Trace = .
Target Site = .
*********************************************
I am unable to track where this is going wrong.
Can you please help me with this?