相關(guān)資訊
- 《戰(zhàn)國(guó)無(wú)雙4-2》怎么換服裝?戰(zhàn)國(guó)無(wú)
- 關(guān)于責(zé)任的名言警句大全
- 《戰(zhàn)國(guó)無(wú)雙4-2》PC版如何聯(lián)機(jī)? 戰(zhàn)
- 戰(zhàn)國(guó)無(wú)雙4-2技能覺(jué)醒牛逼嗎 全新
- 《戰(zhàn)國(guó)無(wú)雙4-2》手柄無(wú)效怎么解決
- 戰(zhàn)國(guó)無(wú)雙4-2如何設(shè)置語(yǔ)言 戰(zhàn)國(guó)無(wú)雙
- 戰(zhàn)國(guó)無(wú)雙4-2怎么樣跳過(guò)進(jìn)入開(kāi)場(chǎng)動(dòng)畫(huà)
- 什么是應(yīng)屆生畢業(yè)生
- 應(yīng)屆生簡(jiǎn)歷自我評(píng)價(jià)
- 應(yīng)屆生簡(jiǎn)歷怎么寫(xiě)
本類(lèi)常用軟件
-
福建農(nóng)村信用社手機(jī)銀行客戶(hù)端下載下載量:584204
-
Windows優(yōu)化大師下載量:416896
-
90美女秀(視頻聊天軟件)下載量:366961
-
廣西農(nóng)村信用社手機(jī)銀行客戶(hù)端下載下載量:365699
-
快播手機(jī)版下載量:325855
本文提供給大家學(xué)習(xí)分享的是關(guān)于Asp程序Server.CreateObject錯(cuò)誤的處理辦法,希望對(duì)幫助到大家。
今天在幫一個(gè)網(wǎng)友mm解決excel導(dǎo)入到sqlserver數(shù)據(jù)庫(kù)中遇到這樣的問(wèn)題,asp代碼里無(wú)權(quán)限創(chuàng)建excel對(duì)象(偶的是XP Professional 英文版),大概是xp默認(rèn)權(quán)限限制的問(wèn)題,于是到百度里搜索了一下,找到了解決辦法如下:
很多使用 IIS 架站的人 經(jīng)常碰到類(lèi)似的問(wèn)題。
在Asp程序CreateObject的時(shí)候發(fā)生錯(cuò)誤,大致內(nèi)容為Server 對(duì)象 錯(cuò)誤 'ASP 0178 : 80070005' ,這一般發(fā)生在較高版本的IIS或者Windows平臺(tái)上.
如果你使用的是中文版,錯(cuò)誤信息如下:
程序代碼:
Server 對(duì)象 錯(cuò)誤 'ASP 0178 : 80070005'
Server.CreateObject 訪問(wèn)錯(cuò)誤
../config/coon.asp,行 5
檢查權(quán)限時(shí),對(duì) Server.CreateObject 的調(diào)用失敗。拒絕對(duì)此對(duì)象的訪問(wèn)。
如果是英文版,錯(cuò)誤信息如下:
程序代碼:
Error Type:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. access is denied to this object.
../config/coon.asp, line 5
解決方法:
1. 調(diào)用"server.createObject("mssearch.application")"的時(shí)候發(fā)生錯(cuò)誤,解決如下:
開(kāi)始->運(yùn)行->dcomcnfg
找到"mssearch"(這個(gè)名稱(chēng)取決于你調(diào)用的Object是什么),然后右鍵->Properties->security把三個(gè)權(quán)限都給everyone即可,其實(shí)第一個(gè)即可.
2. 出現(xiàn)上述問(wèn)題時(shí),原因確實(shí)是權(quán)限的問(wèn)題。
一種解決辦法是修改IIS的匿名訪問(wèn)的權(quán)限。
第二種最簡(jiǎn)單的辦法就是將你的組件換個(gè)地方注冊(cè),特別是不要放到桌面或C盤(pán)的(系統(tǒng)盤(pán))的某些特殊目錄下注冊(cè);而應(yīng)該放到如D,E等盤(pán)。原因是因?yàn)橥ǔD愕腎IS所使用的帳號(hào)都是系統(tǒng)權(quán)限較低的帳號(hào),如果你是以自己的帳號(hào)登錄,那么桌面的訪問(wèn)的權(quán)限可能比IIS的帳號(hào)權(quán)限高。
3. 查了MS的資料庫(kù),解決的方法如下:
This article was previously published under Q315454
SYMPTOMS
When you attempt to browse to an Active Server Page (ASP) database results page created in microsoft FrontPage, you may receive an error message similar to the following:
程序代碼:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
../config/coon.asp, line 5
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
CAUSE
This behavior can occur if incorrect NTFS permissions are defined for your "%ProgramFiles%\Common Files\System" folder.
RESOLUTION
To resolve your issue, reset the NTFS permissions on the "%ProgramFiles%\Common Files\System" folder. To do this, follow these steps:
1.. Open Windows Explorer. To do this, right-click Start and then click Explore on the shortcut menu.
2.. In Folders view, expand the "%ProgramFiles%\Common Files\System" folder.
3.. Right-click the folder and click Properties on the shortcut menu.
4.. Click the Security tab.
5.. Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.
6.. Click OK.