为什么会出错啊?
“/Web”应用程序中的服务器错误。
--------------------------------------------------------------------------------
无法加载 DLL (CMPPAPI)。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.DllNotFoundException: 无法加载 DLL (CMPPAPI)。
源错误:
行 66: {
行 67: //Response.Write (myBool.ToString());
行 68: if(SendSms.InitCMPPAPI(Server.MapPath("Config/cmppc.ini")) == 0)
行 69: {
行 70: Response.Write ("成功读取配置文件!");
源文件: d:\news web\web\webform1.aspx.cs 行: 68
堆栈跟踪:
[DllNotFoundException: 无法加载 DLL (CMPPAPI)。]
BenQSMS.SendSms.InitCMPPAPI(String iniPath) +0
BenQSMS.WebForm1.Page_Load(Object sender, EventArgs e) in d:\news web\web\webform1.aspx.cs:68
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573