J
Joe Van Meer
Hi ng,
Can an Asp page call a function in a .NET dll?
I have a set of asp pages that need to call a .NET DLL that does a Digital
Signature XML to an xml doc.
I have tested my DLL with a windows form app that calls the same function in
question and it works as it should.
When I call the same method via my asp page COM object I get the object no
problem, as well as the method, but all it does is return an empty string
even though I have it returning mydocxml.outerxml.toString();
I can call a second test method no problem that returns a string and that
gets to the form where I need it. But the function I reallly need it to work
doesnt return the string via the interop method, but does via my windows
form app.
My routine includes using regasm.exe , the putting the dll in the gac,
iisreset then test the page. Still no return string.
Could this be permission related or am I screwing this up another way? Like
my code in the dll deals with X509Certificate2 objects and cryptography...am
I overlooking something?
Cheers & thanks
Can an Asp page call a function in a .NET dll?
I have a set of asp pages that need to call a .NET DLL that does a Digital
Signature XML to an xml doc.
I have tested my DLL with a windows form app that calls the same function in
question and it works as it should.
When I call the same method via my asp page COM object I get the object no
problem, as well as the method, but all it does is return an empty string
even though I have it returning mydocxml.outerxml.toString();
I can call a second test method no problem that returns a string and that
gets to the form where I need it. But the function I reallly need it to work
doesnt return the string via the interop method, but does via my windows
form app.
My routine includes using regasm.exe , the putting the dll in the gac,
iisreset then test the page. Still no return string.
Could this be permission related or am I screwing this up another way? Like
my code in the dll deals with X509Certificate2 objects and cryptography...am
I overlooking something?
Cheers & thanks