Hello All
I have a unmanaged C++ DLL, which has been wrapped up with a manged C++ DLL.
When i refer to this managed DLL in Windows form based applications it works out fine. But when i refer to the the same managed C++ DLL in ASP.Net application. [i.e, : ASP.NET --> TALW (managed C++ DLL) --> TAL (unmanaged c++ DLL)
it gives me the following runtime error
(where TALW is the managed c++ wrapper around a umanaged C++ dll
Server Error in '/EMSUI' Application.
-------------------------------------------------------------------------------
Unable to load file 'TALW'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Unable to load file 'TALW'
Source Error:
Line 34: case "start"
Line 35: objServices = new Services()
Line 36: objEms.init()
Line 37: xmlData = objEms.getAllServices() ;//objServices.GetAllSevices()
Line 38: if(xmlData == "error"
Source File: c:\inetpub\wwwroot\emsui\actionclasses\actionservi ces.cs Line: 36
Stack Trace:
[FileLoadException: Unable to load file 'TALW'.
EMSStubSpace.EMSStub.init() +
EMSUI.ActionClasses.ActionServices.Execute(HttpCon text context) in c:\inetpub\wwwroot\emsui\actionclasses\actionservi ces.cs:3
MVCWeb.Controller.ProcessRequest(String actionControlID, HttpContext context) in f:\dmp\modules\ui framework\development\src\controller.cs:7
EMSUI.ServicesUI.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\emsui\services.aspx.cs:4
System.Web.UI.Control.OnLoad(EventArgs e) +6
System.Web.UI.Control.LoadRecursive() +3
System.Web.UI.Page.ProcessRequestMain() +73
I tried placing all the refered DLLS in System32 and System folder. But no vain
Please help me out
You can directly mail as well at : ng********@hotmail.com/ am******@yahhoo.co
NG