错误提示:
Could not load file or assembly 'BaseData, Version=1.0.2971.32544, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest.
'BaseData'是类集在我本机上正常的,可是放到服务器上就提示这个错误.谢谢大家帮忙,急需......
Could not load file or assembly 'BaseData, Version=1.0.2971.32544, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest.
'BaseData'是类集在我本机上正常的,可是放到服务器上就提示这个错误.谢谢大家帮忙,急需......
解决方案 »
- MVC一个页面多个相同用户控件如何知道是哪个控件激活的action?
- 如何显示当前日期的前一天日期?
- VS2005环境 运行WEB 程序为什么总是出现无法显示网页
- SQL2005 Reporting Service部署时老提示"Reporting Service"登录名对话框,试了所有的用户我和密码都不行[急]
- 简单问题,关于正则表达式
- DataList 显示的图片,怎么让图片循环滚动?
- 如何激发ascx控件的pageload事件
- 这个账号还有分,下载分还有点点
- 那位大虾知道在ASP中怎么调用API函数
- wcf消息拦截,AfterReceiveRequest中拦截,但调试或者获取元数据的时候不需要验证
- web.config的问题,为什么网站运行一段时间后会出错,修改保存web.config后才能继续运行。
- 求 Menu绑定数据库得代码。 显示三级菜单
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
</configSections>
<RewriterConfig>
<Rules>
<!-- Rules for Blog Content Displayer -->
<RewriterRule>
<LookFor>~/index.aspx</LookFor>
<SendTo>~/Default.aspx</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<appSettings>
<add key="conn" value="Provider=Microsoft.Jet.OLEDB.4.0;User ID=$$$;Mode=Share Deny None;Jet OLEDB:Database Password=### ;Jet OLEDB:SFP=true;Data Source="></add>
<add key="data" value="~/db/DB.mdb;"></add>
</appSettings>
<system.web> <httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
</httpHandlers> <compilation defaultLanguage="c#" debug="true"/>
<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle. "On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="RemoteOnly"/>
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None" "None" No authentication is performed.
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
its settings for the application. Anonymous access must be disabled in IIS.
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then
you authenticate them in your application. A user credential token is stored in a cookie.
"Passport" Authentication is performed via a centralized authentication service provided
by Microsoft that offers a single logon and core profile services for member sites.
--> <authorization>
<!--<deny users="?" />-->
<!-- For testing with forms authentication... -->
<allow users="*"/>
<!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization> <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/> <!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web></configuration>
like this <assemblies>
<add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
换成旧System.Configuration.ConfigurationSettings.AppSettings["conn"].ToString() ; //2003
就行.很不想过时的,解决问题先.