.dll在Windows托管中不起作用,但在本地中起作用?

问题描述:

大家好

即时通讯使用gsmcomm dll.我创建了一个从网站发送的网站.

该网站基于ASP.NET.将带有Web应用程序的.dll上载到托管后,出现错误.但是相同的网站在本地可用.

错误链接为: http://www.ebitech.net/sms/Default2.aspx [ ^ ]
我该怎么办?

预先感谢您.

Hi guys

im using gsmcomm dll.and i created a website sending from website.

the website is based on ASP.NET . after i upload .dll''s with web application to hosting , i get error.but the same website works on local.

the error link is :http://www.ebitech.net/sms/Default2.aspx[^]
what are the things should i do ?

thanks for in advance

GSM通信库是用.Net编写的.因此,托管dll没问题.

我敢肯定,文件(dll)不会上传到托管主机中的bin文件夹.
看看.

让我知道,您仍然发现相同的问题.

欢呼
GSM Communication library is written in .Net. So, no issue with managed dll.

I am sure, the file (dll) is not uploaded to the bin folder in your hosting.
Have a look.

Let me know, still you find the same issue.

cheers


错误消息非常明显: CS0246:找不到类型或名称空间名称"GsmComm"(您是否缺少using指令或程序集引用? ).我想,最简单的方法是添加参考:
http://support. discountasp.net/KB/a97/how-do-i-add-an-assembly-reference-in-the-webconfig-file.aspx [
The error message is quite obvious: CS0246: The type or namespace name ''GsmComm'' could not be found (are you missing a using directive or an assembly reference?). I suppose, the simplest way is to add assambly reference:
http://support.discountasp.net/KB/a97/how-do-i-add-an-assembly-reference-in-the-webconfig-file.aspx[^].
But first of all, be sure to check:
- is it really installed, can you see it in the GAC of the host?
- can it be used outside GAC, if so, is it in the right place?
- is the reference ok (version, culture, strong name...)?
- is the platform (x86, x64, anycpu) ok?