asp.net + unmanaged dll security issues

P

Priya

Hi,
I'm developing an ASP.NET application. I imported a C++ dll into the C# code.
When I tried to access a function in that dll, application threw an exception
"System.Runtime.InteropServices.SEHException:External component has thrown
an exception". I debugged the unmanaged C++ code & found that the code that
generated this exception is

CDaoDatabase db;
db.open("C:\\VM.mdb") // this is the code that generated exception

I tried using try catch blocks
but the control does'nt come to catch block
How do i determine the exception?
The same dll function works fine if the dll is impoted in a Windows
application.
Is there any security issues in Web application?

Thanks in advance
Priya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top