使用oracle数据库一个多月依赖这问题一直都得不到解决,最近任务不是很忙了,所以决定把这问题解决掉.写一篇文章做记录. 以上错误主要是net程序oracle数据库使用了Microsoft Enterprise Library 5.0 类库访问oracle数据库,其具有优秀的访问不通数据库的能力.使用方法不对也同样出现错误.解决办法是下载http://www.microsoft.com/en-us/download/confirmation.aspx?id=15104最新的类库并安装,安装后到安…
参考地址一:点击这里 参考地址二:点击这里 解决方法: 使用office COM元件,电脑里必须要有相对应的版本,比如 Excel 14.0是对应Excel 2010 Excel 12.0是对应Excel 2007 Excel 11.0是对应Excel 2003 使用Excel COM必须要注意版本问题,并非用最高版本就能操作低版本.…
页面加载时出现这个错误: 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…
环境: 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配置数据库连接时,点击测试连接提示成功,当点击确定时报错: ----…
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…
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…
无法添加数据连接.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…
今天调试 asp.net core 2.0 项目时遇到了如下错误: TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=adb9793829dda…
在web.config中,如下代码段 <compilation debug="true" targetFramework="4.0" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=12.0.0.0…
环境 项目中使用了 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:在…
提示的很明确了,缺少Microsoft.EntityFrameworkCore.Relational引用.nuget安装上即可.…
今天用同学的电脑,出现了这个错误.使用vs2012中的sqldatasoure控件,连接数据库.用的数据库是2008R2.已成功. 出现这样的错误. 解决办法: 安装以下三个组件: 安装顺序:SQLSysClrTypes>SharedManagementObjects>sqlncli 连接也插入字段里了.…
打开VS   TOOLS > OPTIONS > Projects and Solutions > WEB PROJECTS,选中 "Use the 64 bit version of IIS Express for web sites and projects".…
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…
my shurufa  huai diao le 1\ first   you need  install     " SQLSysClrTypes_x86.msi  " 2\  install  "ReportViewer.msi" success…
这个坑,今天整了一天,我添加了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…
错误具体信息: 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的项目,报出上面的错误,这个啥…
项目部署到服务器后出现如下错误信息: Parser Error Message: Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.系统找不到指定的文件. 打开这个目录: C:\Program Files\M…
转自: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…
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拷贝到…
string fileName = AppDomain.CurrentDomain.BaseDirectory + "\\log.txt";File.AppendAllText(fileName, "start\r\n", Encoding.UTF8); version 6.0.0.0 need set ExceptionManagerPM>  Install-Package EnterpriseLibrary.Logging PM>  Install-…
返回目录 这一讲中主要是说EnterpriseLibrary企业级架构里的caching组件,它主要实现了项目缓存功能,它支持四种持久化方式,内存,文件,数据库和自定义,对于持久化不是今天讨论的重要,今天主要说,如何使用AOP的思想再配合Caching组件来实现可更新的,可插拔的,松耦合的,基于数据集(结果集)的缓存方案,之所以叫它方案,确实,在实现上有一定难度,我自己对于微软的NLayerApp架构里用到的Attribute注入方式也对一定修改,因为NLayerApp里的缓存数据集并不支持方法…
问题: 错误:创建 cachingConfiguration 的配置节处理程序时出错: 未能加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Caching, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项.系统找不到指定的文件 原因: 通过右键单击项目时添加的第三方dll,可能编译项目时并没有将dll拷贝进项目bin里,系统找不到指定的文件.…
翻译 原文地址:http://www.devx.com/dotnet/Article/36184/0/page/1  原文作者:Thiru Thangarathinam (好强大的名字) 翻译: flanker 简介 日志程序块提供了灵活的可扩展的日志机制,你可以在任何类型的.NET程序中使用它——包括WinForms.ASP.NET.控制台程序等.它提供一些可重用的日志类(也称为监控器),可以把日志信息记录在多种载体上,包括数据库.XML文件.普通文件.事件记录等. 作为开发者,你仅需选择一个…
首先下载Microsoft Enterprise Library 5.0:http://www.microsoft.com/en-us/download/details.aspx?id=15104,这是一个安装包Enterprise Library 5.0.msi,选择目录后安装.1.引用dll 在安装位置的的文件中  或者  直接下载dll文件引用也可以 2.在配置文件中配置节点 <configuration><!--若是对于大型的网络而言,可能需要另外一种配置,那么安装包就需要全部选…
项目中使用了Microsoft.Practices.EnterpriseLibrary这个东西,根据名字猜测和微软有关系(可以翻译为:微软实践企业库). 看到了引入了两个命名空间: using Microsoft.Practices.EnterpriseLibrary.Data; using Microsoft.Practices.EnterpriseLibrary.Data.Sql; 在项目引用中发现了三个相关的dll文件: Microsoft.Practices.EnterpriseLibr…
1. 新建WebApplication1项目 1.1 新建—Web—ASP.NET Empty Web Application--WebApplication1 1.2 添加一个WebForm1 2. 新建webService项目 2.1 新建—Web—ASP.NET Empty Web Application—WebApplicationService 2.2 选择WebApplicationService—右键—Add—WebService (ASMX)-- WebServiceGSS.as…
以下是从overFlow 复制过来的问题 I've read through many of the other questions posted on the same issue, but I still do not understand the cause and how to prevent it from happening. In my case, this happens on the production server. I get the same error that ha…