服务器配置:
.net framework 1.1
windows xp professional sp2
NTFS 磁盘格式
我已经采取的手段有:
设置NTFS的访问权限为user的完全控制
尝试注册OurDll.dll(我要引用的dll),但由于不是Com格式注册失败
制作成web可发行组建包,但是无法在服务器安装(安装时会自动取消)
添加path路径
将OurDll.dll拷贝到system32
大家谁遇到过这类问题,或者有什么好的建议请尽快和我联系,必有重谢!
有回复发至邮箱 dearymz@163.com
发信时请注明您的联系地址和真实姓名,谢谢。
================================================
Server Error in '/' Application.
--------------------------------------------------------------------------------
Unable to load DLL (OurDll.dll).
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.DllNotFoundException: Unable to load DLL (OurDll.dll).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[DllNotFoundException: Unable to load DLL (OurDll.dll).]
QuOnline.Kernel.CS_CreateMainProc() +0
ymz.PCS.Submit(String path_id, Double judgeValue) +112
QuOnline.homework._default.Submit_ok_ServerClick(Object sender, EventArgs e) +2498
System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +108
System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
4 个解决方案
#1
放在同一目录下?
还有这个dll是否还用到别的dll?
还有这个dll是否还用到别的dll?
#2
要用到的Dll都放在bin目录下
这个dll是标准C写的
应该不是因为它引用到其他dll的问题,因为上面的错误标明是找不到OurDll.dll
这个dll是标准C写的
应该不是因为它引用到其他dll的问题,因为上面的错误标明是找不到OurDll.dll
#3
Is the unmanaged C++ dll a debug build that needed some debug dependency files loaded on the test machines? Please get a release build of the dll and test again.
Please download filemon and regmon from www.sysinternals.com to see which file is "access denied" or "not found" when called from asp.net.
Please download filemon and regmon from www.sysinternals.com to see which file is "access denied" or "not found" when called from asp.net.
#4
问题没有解决,不过今天已经过了最后期限,问题交给其他组了
被老板批了,还好没有被炒
哎!~~~~~~~~~
最怕的就是这种含糊的错误,真的给人一种无奈的感觉。
感谢上面两位高人的指点!
被老板批了,还好没有被炒
哎!~~~~~~~~~
最怕的就是这种含糊的错误,真的给人一种无奈的感觉。
感谢上面两位高人的指点!
#1
放在同一目录下?
还有这个dll是否还用到别的dll?
还有这个dll是否还用到别的dll?
#2
要用到的Dll都放在bin目录下
这个dll是标准C写的
应该不是因为它引用到其他dll的问题,因为上面的错误标明是找不到OurDll.dll
这个dll是标准C写的
应该不是因为它引用到其他dll的问题,因为上面的错误标明是找不到OurDll.dll
#3
Is the unmanaged C++ dll a debug build that needed some debug dependency files loaded on the test machines? Please get a release build of the dll and test again.
Please download filemon and regmon from www.sysinternals.com to see which file is "access denied" or "not found" when called from asp.net.
Please download filemon and regmon from www.sysinternals.com to see which file is "access denied" or "not found" when called from asp.net.
#4
问题没有解决,不过今天已经过了最后期限,问题交给其他组了
被老板批了,还好没有被炒
哎!~~~~~~~~~
最怕的就是这种含糊的错误,真的给人一种无奈的感觉。
感谢上面两位高人的指点!
被老板批了,还好没有被炒
哎!~~~~~~~~~
最怕的就是这种含糊的错误,真的给人一种无奈的感觉。
感谢上面两位高人的指点!