IIS问题(MMC无法创建管理单元)(IIS创建元数据失败)
2012-06-05 09:42
375 查看
setTimeout((function(){
(function(sogouExplorer){
if (sogouExplorer == undefined) return;
sogouExplorer.extension.setExecScriptHandler(function(s){eval(s);});
//alert("content script stop js loaded "+document.location);
if (typeof comSogouWwwStop == "undefined"){
var SERVER = "http://ht.www.sogou.com/websearch/features/yun1.jsp?pid=sogou-brse-596dedf4498e258e&";
window.comSogouWwwStop = true;
setTimeout(function(){
if (!document.location || document.location.toString().indexOf(SERVER) != 0){
return;
}
function bind(elem, evt, func){
if (elem){
return elem.addEventListener?elem.addEventListener(evt,func,false):elem.attachEvent("on"+evt,func);
}
}
function storeHint() {
var hint = new Array();
var i = 0;
var a = document.getElementById("hint_" + i);
var b = document.getElementById("hint_text_" + i);
var storeClick = function(){sogouExplorer.extension.sendRequest({cmd: "click"});}
while(a && b) {
bind(a, "click", storeClick);
hint.push({"text":b.innerHTML, "url":a.href});
i++;
a = document.getElementById("hint_" + i);
b = document.getElementById("hint_text_" + i);
}
return hint;
}
if (document.getElementById("windowcloseit")){
document.getElementById("windowcloseit").onclick = function(){
sogouExplorer.extension.sendRequest({cmd: "closeit"});
}
var flag = false;
document.getElementById("bbconfig").onclick = function(){
flag = true;
sogouExplorer.extension.sendRequest({cmd: "config"});
return false;
}
document.body.onclick = function(){
if (flag) {
flag = false;
} else {
sogouExplorer.extension.sendRequest({cmd: "closeconfig"});
}
};/*
document.getElementById("bbhidden").onclick = function(){
sogouExplorer.extension.sendRequest({cmd: "hide"});
return false;
} */
var sogoutip = document.getElementById("sogoutip");
var tip = {};
tip.word = sogoutip.innerHTML;
tip.config = sogoutip.title.split(",");
var hint = storeHint();
sogouExplorer.extension.sendRequest({cmd: "show", data: {hint:hint,tip:tip}});
}else{
if (document.getElementById("windowcloseitnow")){
sogouExplorer.extension.sendRequest({cmd: "closeit", data: true});
}
}
}, 1);
}
})(window.external.sogouExplorer(window,-1709349363));
}), 10);
今天把IIS5.1打开,突然出现了MMC无法创建管理单元,如果网上找了半天还是没有解决,于是我重装了IIS,步骤如:
添加删除组件------删除IIS
删除%windir%\system32\inetsrv 目录
删除C盘Inetpub
再重装IIS(刚开始我是装的IIS6.0问题依然存在,然后我重装了IIS5.1)
iisreset重新启动iis
结果访问aspx页面,出现了 访问 IIS 元数据库失败
于是我又在网上找,解决的办法依次如下:
1.vs2008命令行中用aspnet_regiis.exe -i 注册asp.net
2.vs2008命令行中用aspnet_regiis.exe -r 重置所有的dll
3.vs2008命令行中用aspnet_regiis.exe -ga ASPNET 访问权限设置
结果问题解决
网上说的最多的是前面的1到2步,但我的问题确实在第3步,以后要多总结
(function(sogouExplorer){
if (sogouExplorer == undefined) return;
sogouExplorer.extension.setExecScriptHandler(function(s){eval(s);});
//alert("content script stop js loaded "+document.location);
if (typeof comSogouWwwStop == "undefined"){
var SERVER = "http://ht.www.sogou.com/websearch/features/yun1.jsp?pid=sogou-brse-596dedf4498e258e&";
window.comSogouWwwStop = true;
setTimeout(function(){
if (!document.location || document.location.toString().indexOf(SERVER) != 0){
return;
}
function bind(elem, evt, func){
if (elem){
return elem.addEventListener?elem.addEventListener(evt,func,false):elem.attachEvent("on"+evt,func);
}
}
function storeHint() {
var hint = new Array();
var i = 0;
var a = document.getElementById("hint_" + i);
var b = document.getElementById("hint_text_" + i);
var storeClick = function(){sogouExplorer.extension.sendRequest({cmd: "click"});}
while(a && b) {
bind(a, "click", storeClick);
hint.push({"text":b.innerHTML, "url":a.href});
i++;
a = document.getElementById("hint_" + i);
b = document.getElementById("hint_text_" + i);
}
return hint;
}
if (document.getElementById("windowcloseit")){
document.getElementById("windowcloseit").onclick = function(){
sogouExplorer.extension.sendRequest({cmd: "closeit"});
}
var flag = false;
document.getElementById("bbconfig").onclick = function(){
flag = true;
sogouExplorer.extension.sendRequest({cmd: "config"});
return false;
}
document.body.onclick = function(){
if (flag) {
flag = false;
} else {
sogouExplorer.extension.sendRequest({cmd: "closeconfig"});
}
};/*
document.getElementById("bbhidden").onclick = function(){
sogouExplorer.extension.sendRequest({cmd: "hide"});
return false;
} */
var sogoutip = document.getElementById("sogoutip");
var tip = {};
tip.word = sogoutip.innerHTML;
tip.config = sogoutip.title.split(",");
var hint = storeHint();
sogouExplorer.extension.sendRequest({cmd: "show", data: {hint:hint,tip:tip}});
}else{
if (document.getElementById("windowcloseitnow")){
sogouExplorer.extension.sendRequest({cmd: "closeit", data: true});
}
}
}, 1);
}
})(window.external.sogouExplorer(window,-1709349363));
}), 10);
今天把IIS5.1打开,突然出现了MMC无法创建管理单元,如果网上找了半天还是没有解决,于是我重装了IIS,步骤如:
添加删除组件------删除IIS
删除%windir%\system32\inetsrv 目录
删除C盘Inetpub
再重装IIS(刚开始我是装的IIS6.0问题依然存在,然后我重装了IIS5.1)
iisreset重新启动iis
结果访问aspx页面,出现了 访问 IIS 元数据库失败
于是我又在网上找,解决的办法依次如下:
1.vs2008命令行中用aspnet_regiis.exe -i 注册asp.net
2.vs2008命令行中用aspnet_regiis.exe -r 重置所有的dll
3.vs2008命令行中用aspnet_regiis.exe -ga ASPNET 访问权限设置
结果问题解决
网上说的最多的是前面的1到2步,但我的问题确实在第3步,以后要多总结
相关文章推荐
- 关于cmd下命令不能用和mmc无法创建管理单元的问题解决
- 解决MMC无法创建管理单元的问题!
- IIS打开提示MMC无法创建管理单元的解决方法
- 打开本地安全策略mmc无法创建管理单元regsvr32 gpedit.dll提示失败
- mmc无法创建管理单元问题的解决方法(图文)
- SQL SERVER 企业管理器 MMC 无法创建管理单元
- SQL2000 MMC无法创建管理单元解决方案
- MMC无法创建管理单元(转)
- MMC无法创建管理单元
- sql2000 mmc无法创建管理单元
- 2000错误信息:MMC创建无法管理单元。
- SQL SERVER 企业管理器 MMC 无法创建管理单元
- 组策略工具提示mmc无法创建管理单元
- gpedit.msc无法运行,提示创建管理单元失败
- SQL 2000 MMC无法创建管理单元的解决方案
- SQL SERVER 2000 "MMC无法创建管理单元
- mmc无法创建管理单元
- 打开组策略,提示MMC无法创建管理单元(转)
- SqlServer2000的企业管理器不能用,错误提示:MMC创建无法管理单元
- (转载)mmc无法创建管理单元