我的步骤是复制dll到bin目录下 然后在.net中右键引用
以前没有任何问题 现在却经常出现配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“FreeTextBox”。源错误:
行 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 198: <add assembly="*"/>
行 199: </assemblies>
行 200: </compilation>
源文件: d:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 程序集加载跟踪: 下列信息有助于确定程序集“FreeTextBox”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = FreeTextBox
(Partial)
LOG: Appbase = file:///d:/inetpub/wwwroot/2097C
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: FreeTextBox
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/2097c/07e4bb1c/5c053900/FreeTextBox.DLL.
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/2097c/07e4bb1c/5c053900/FreeTextBox/FreeTextBox.DLL.
LOG: Attempting download of new URL file:///d:/inetpub/wwwroot/2097C/bin/FreeTextBox.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: FreeTextBox, Version=1.6.3.26073, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 有时报错,有时就正常运行 我真是忍不了了 是不是还需要在web.config里面注册一下引用的dll?
可是有的是我自己写的dll控件集 这个怎么注册?谢谢
以前没有任何问题 现在却经常出现配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“FreeTextBox”。源错误:
行 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 198: <add assembly="*"/>
行 199: </assemblies>
行 200: </compilation>
源文件: d:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 程序集加载跟踪: 下列信息有助于确定程序集“FreeTextBox”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = FreeTextBox
(Partial)
LOG: Appbase = file:///d:/inetpub/wwwroot/2097C
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: FreeTextBox
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/2097c/07e4bb1c/5c053900/FreeTextBox.DLL.
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/2097c/07e4bb1c/5c053900/FreeTextBox/FreeTextBox.DLL.
LOG: Attempting download of new URL file:///d:/inetpub/wwwroot/2097C/bin/FreeTextBox.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: FreeTextBox, Version=1.6.3.26073, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 有时报错,有时就正常运行 我真是忍不了了 是不是还需要在web.config里面注册一下引用的dll?
可是有的是我自己写的dll控件集 这个怎么注册?谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货