K
Kelmen Wong
Greeting,
We have a component featuring "late/dynamic-binding". Its being used
by 2 app, with only the 2nd giving a weired problem.
....
objAssembly = Assembly.LoadFrom(strAssemblySource);
objInterface = (InterfaceX)
m_objAssembly.CreateInstance(strClassName);
....
It worked well for 1 app, but at 2nd app, the objInterface always a
"null", and no error, until its method being executed.
objAssembly - is a (supposed) GAC stuff, as well as the objInterface.
they show up in the GAC list as expected.
The only way so far I can workaround this is by placing the interface
assembly within the 2nd app bin folder. But such is not the case for
1st app.
I debugged all checked:
- the (windows) identify used to invoke this component is identical.
- shouldn't be security issue, as the same also being applied for 1st
app.
the apps are asp.net wep app, all developed with c#.
Can anyone help in this one?
We have a component featuring "late/dynamic-binding". Its being used
by 2 app, with only the 2nd giving a weired problem.
....
objAssembly = Assembly.LoadFrom(strAssemblySource);
objInterface = (InterfaceX)
m_objAssembly.CreateInstance(strClassName);
....
It worked well for 1 app, but at 2nd app, the objInterface always a
"null", and no error, until its method being executed.
objAssembly - is a (supposed) GAC stuff, as well as the objInterface.
they show up in the GAC list as expected.
The only way so far I can workaround this is by placing the interface
assembly within the 2nd app bin folder. But such is not the case for
1st app.
I debugged all checked:
- the (windows) identify used to invoke this component is identical.
- shouldn't be security issue, as the same also being applied for 1st
app.
the apps are asp.net wep app, all developed with c#.
Can anyone help in this one?