Error info:Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Solution: This is because Microsoft.We…
转自:http://www.cnblogs.com/taven/archive/2011/08/14/2138077.html 国内很多网站空间都只支持.NET 2.0 和 .NET 3.0 3.5,很少有空间商支持.NET 4的,即使有个别支持.NET 4,但是不支持MVC的默认路由访问形式. Go Daddy 的主机支持,并且费用很低,系统为 Win 2008 R2 64位,10GB网站空间,网站并发最便宜的也支持100个,PHP支持5.2和5.3,.NET支持 ASP.NET v1.0/2…
环境: web服务器: ip:192.168.1.32 ,安装有 Visual Studio Premium 2013 操作系统: Microsoft  Server 2008 r2+sp1 数据库服务器: ip:192.168.1.33,安装有Microsoft SQL Server 2012 操作系统: Microsoft  Server 2008 r2+sp1 操作过程: 在vs2013里利用向导SqlDataSource配置数据库连接时,点击测试连接提示成功,当点击确定时报错: ----…
自从VS2010发布之后使用它来做开发的程序员越来越多,其中很多人使用了MVC来作为新的开发框架,但是在系统部署的时候我们也遇到诸多问题,因为目前大多数windows服务器采用的还是Windows Server 2003,所以我们就需要在服务器上安装.net framework 3.5 或4.0 之类的高版本来保证我们的系统运行. 接下来我们就来部署基于 .net framework 4.0 mvc 的应用系统,首先在服务器上安装.net framework 4.0,但是安装的时候常常遇到一个错…
页面加载时出现这个错误: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 下载这个文件安装即可: Microsoft Report Vie…
提示哪个引用修改哪个引用的属性: Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件.…
一.在Mvc 发布时出现如下错误: Could not load file or assembly 'System.Web.Mvc, Version=5.2.3.0... 出现错误的原因是 Mvc版本更新,发布版本号没有对应好. 解决方案: 1.web.config 修改版本号 2.views/web.config 和 area/views/web.config 修改升级后的版本号…
I have installed MS SQL Server 2012 R2 and when I try to update model from database under EDMX file I am facing that error. Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 Solutions: IF Microsoft.SqlServer.mana…
今天写的是一个小程序,采用webfrom 形式,.netframework4.0 项目中调用了System.Web.Helpers下的Json方法. 在本地测试没问题,结果搭建到服务器上,死活运行不正常. 报错: ex:Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its depend…
无法添加数据连接.Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0 VS2013添加Microsoft SQL Server2008数据源时出现错误: 无法添加数据连接.Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=n…
在本机开发asp.net .rdlc报表后,部署到本地没有问题. 当把网站发布后部署在IIS上,新电脑上(只安装了.net framwork4.5),提示如下错误: “Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0…… 或者 ”Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0…
使用FusLogVw https://stackoverflow.com/questions/4469929/could-not-load-file-or-assembly-or-one-of-its-dependencies?page=1&tab=votes#tab-top You can use FusLogVw to find out who is loading the old assemblies, just define a path for the log, and run you…
1.一般出现这个错误是因为Web.Config里面的版本号跟project用到的dll版本对应不上 更改webconfig <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 或者直接把对应版本dll copy到web application folder 下面的bin PublicKeyToken可以使用sn -T命令得知…
在web.config中,如下代码段 <compilation debug="true" targetFramework="4.0" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=12.0.0.0…
使用oracle数据库一个多月依赖这问题一直都得不到解决,最近任务不是很忙了,所以决定把这问题解决掉.写一篇文章做记录. 以上错误主要是net程序oracle数据库使用了Microsoft Enterprise Library 5.0 类库访问oracle数据库,其具有优秀的访问不通数据库的能力.使用方法不对也同样出现错误.解决办法是下载http://www.microsoft.com/en-us/download/confirmation.aspx?id=15104最新的类库并安装,安装后到安…
环境 项目中使用了 System.Web.WebPages.Razor, Version=3.0.0.0,Nuget 还原缺失包后自动更新至 Version=3.2.5.0,编译成功,运行失败. 错误 “/”应用程序中的服务器错误.未能加载文件或程序集“System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项.系统找不到指定的文件. 解决 方法1:在…
因为用了MVC,在本地是没有问题的,但是部署在服务器就出现了这个问题. 出错界面如下图 原因分析:上面的出错提示最后一句话翻译过来.找到的程序集清单定义与程序集引用不匹配.也就是程序引用的程序集版本和服务器版本是不一致的.比如我的mvc版本是3.0.1的,但运行版本是4.0的.Web服务器只装了mvc3,而没有装mvc4. 而必须保证网站的程序应用池版本与程序集运行版本一致.所以服务器需要安装mvc4.0 解决方法:在网站服务器安装mvc4.0…
打开VS   TOOLS > OPTIONS > Projects and Solutions > WEB PROJECTS,选中 "Use the 64 bit version of IIS Express for web sites and projects".…
提示的很明确了,缺少Microsoft.EntityFrameworkCore.Relational引用.nuget安装上即可.…
In Central Administration, in System Settings, click Manage farm solutions. Click Powerpivotwebapp. Click Deploy Solution. Choose the web application for which this error is occurring. If there is more than one web application, redeploy the solution…
参考地址一:点击这里 参考地址二:点击这里 解决方法: 使用office COM元件,电脑里必须要有相对应的版本,比如 Excel 14.0是对应Excel 2010 Excel 12.0是对应Excel 2007 Excel 11.0是对应Excel 2003 使用Excel COM必须要注意版本问题,并非用最高版本就能操作低版本.…
今天用同学的电脑,出现了这个错误.使用vs2012中的sqldatasoure控件,连接数据库.用的数据库是2008R2.已成功. 出现这样的错误. 解决办法: 安装以下三个组件: 安装顺序:SQLSysClrTypes>SharedManagementObjects>sqlncli 连接也插入字段里了.…
my shurufa  huai diao le 1\ first   you need  install     " SQLSysClrTypes_x86.msi  " 2\  install  "ReportViewer.msi" success…
错误具体信息: Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件. 今天打开之前一个vs2005的项目,报出上面的错误,这个啥…
使用VS2010 测试ASP.NET MVC 4 Web API 在部署时候遇到了问题,发现园友有解决的方式,因此转载.         我的解决方式有两种:使用VS2015将VS2010的项目重新发布:按照下文示例将引用的dll设置为“复制本地”,重新发布即可 http://www.cnblogs.com/weiweithe/p/4218690.html#undefined 自从VS2010发布之后使用它来做开发的程序员越来越多,其中很多人使用了MVC来作为新的开发框架,但是在系统部署的时候我…
Could not load file or assembly 'System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件. 如上提示错误,是缺少了System.Web.Http.WebHost,解决方法是将开发目录下的bin文件夹里的System.Web.Http.WebHost.dll拷贝到…
这个坑,今天整了一天,我添加了Microsoft.AspNetCore.Mvc.Versioning包,结果发布到服务器,我复制了dll过去出现了一直找不到加载不成功的问题 Startup.ConfigureServices一直加载不成功,出错如下: Application startup exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Ve…
NET core 添加了新的nuget包,部署出现Could not load file or assembly 这个坑,今天整了一天,我添加了Microsoft.AspNetCore.Mvc.Versioning包,结果发布到服务器,我复制了dll过去出现了一直找不到加载不成功的问题 Startup.ConfigureServices一直加载不成功,出错如下: 1 2 3 4 5 6 7 8 9 Application startup exception: System.IO.FileNotF…
Could not load file or assembly 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件. watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemduc2ps/font/5a6L5L2T/fontsize/400/fi…