search
Homephp教程php手册Could not load type System.ServiceModel.Activation.HttpModul

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]

上网搜了下,问题产生的原因是在安装了IIS后又装了其他版本的framework, 导致assemble中的版本和程序使用的版本不一致了。解决办法是使用

aspnet_regiis.exe -iru 重新注册iis。

操作如下:

使用administrator权限开启command promt(一定要用run as administrator,否则注册不上)
进入framework的文件夹(C:WindowsMicrosoft.NETFramework),选择相应的版本下的文件夹(v4.0.30319),使用命令

复制代码 代码如下:


aspnet_regiis.exe -iru



等注册完成后网站就可以打开了。

win2008下提示未能从程序集“System.ServiceModel, Version=3.0.0.0问题解决

在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误:

未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”。

原因:

这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework 3.5 WCF HTTP 激活,则会发生此错误。

解决办法:

微软官方对该问题也作了解答:http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

只需要已管理员用户在cmd中运行aspnet_regiis.exe -i -enable即可。
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Go中Type关键字有哪些用法Go中Type关键字有哪些用法Sep 06, 2023 am 09:58 AM

Go中Type关键字的用法有定义新的类型别名或者创建新的结构体类型。详细介绍:1、类型别名,使用“type”关键字可以为已有的类型创建别名,这种别名不会创建新的类型,只是为已有的类型提供一个新的名称,类型别名可以提高代码的可读性,使代码更加清晰;2、结构体类型,使用“type”关键字可以创建新的结构体类型,结构体是一种复合类型,可以用于定义包含多个字段的自定义类型等等。

解决Ubuntu挂载移动硬盘错误:未知的文件系统类型exfat解决Ubuntu挂载移动硬盘错误:未知的文件系统类型exfatJan 05, 2024 pm 01:18 PM

ubuntu挂载移动硬盘出现错误:mount:unknownfilesystemtype'exfat'处理方法如下:Ubuntu13.10或安装exfat-fuse:sudoapt-getinstallexfat-fuseUbuntu13.04或以下sudoapt-add-repositoryppa:relan/exfatsudoapt-getupdatesudoapt-getinstallfuse-exfatCentOSLinux挂载exfat格式u盘错误的解决方法CentOS中加载extfa

mysql load data乱码怎么办mysql load data乱码怎么办Feb 16, 2023 am 10:37 AM

mysql load data乱码的解决办法:1、找到出现乱码的SQL语句;2、修改语句为“LOAD DATA LOCAL INFILE "employee.txt" INTO TABLE EMPLOYEE character set utf8;”即可。

Linux类型命令Linux类型命令Mar 20, 2024 pm 05:06 PM

在本指南中,我们将学习更多关于Linux中的”type”命令。前提条件:要执行本指南中演示的步骤,您需要以下组件:正确配置的Linux系统。查看如何创建LinuxVM用于测试和学习目的。对命令行界面的基本理解Linux中的Type命令与其他Linux专用命令(例如:ls、chmod、shut、vi、grep、pwd等)不同,”type”命令是一个内置的Bash函数,它显示作为参数提供的命令类型的信息。$type除了Bash,其他炮弹(Zsh、Ksh等)还附带

注册Deepseek账号时,哪些信息是必填的?注册Deepseek账号时,哪些信息是必填的?Mar 12, 2025 pm 02:33 PM

必填信息:1、邮箱注册;2、手机号码注册;3、第三方社交平台注册。注册成功后通常还需要填写一些基本个人信息,如昵称、性别、生日等。

idea创建SpringBoot项目时Type选maven project和maven pom的区别是什么idea创建SpringBoot项目时Type选maven project和maven pom的区别是什么May 16, 2023 pm 04:52 PM

1)打开idea,开始创建SpringBoot项目2)选择SpringInitializr,选择合适的jdk版本,点击Next在操作到Type选项时有四种项目类型可供选择:MavenProject(GenerateaMavenbasedprojectarchive)MavenPOM(GenerateaMavenpom.xml)GradleProject(GenerateaGradlebasedprojectarchive)GradleConfig(GenerateaGradlebuildfile

如何解决“[Vue warn]: Invalid prop: type check”错误如何解决“[Vue warn]: Invalid prop: type check”错误Aug 26, 2023 pm 10:40 PM

如何解决“[Vuewarn]:Invalidprop:typecheck”错误Vue.js是一款流行的JavaScript框架,用于构建用户界面。在使用Vue.js开发应用程序时,我们有时会遇到一些错误信息,其中之一是“[Vuewarn]:Invalidprop:typecheck”。这个错误通常是由于我们在组件中错误使用了属性

Python中type的使用方法Python中type的使用方法Feb 20, 2024 am 09:40 AM

Python中type的使用方法及代码示例Python作为一种强类型的动态语言,对于数据类型的判断和转换非常重要。而在Python中,我们可以使用type函数来判断对象的类型。本文将介绍type函数的使用方法,并提供具体的代码示例。一、type函数的基本用法在Python中,type函数用于获取对象的类型。它的基本语法如下:type(obj)其中,obj代表

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!