国产成人精品18p,天天干成人网,无码专区狠狠躁天天躁,美女脱精光隐私扒开免费观看

asp提示Server 對象 錯誤 ASP 0178 : 80070005

發(fā)布時(shí)間:2021-08-17 12:10 來(lái)源: 閱讀:0 作者: 欄目: ASP 歡迎投稿:712375056

尤其是剛安裝的那些組件,需要手工設置下權限,因為為了安全考慮,權限限制的很低。大家可以參考下面的方法設置下。

錯誤提示:
Server 對象 錯誤 'ASP 0178 : 80070005'
Server.CreateObject 訪(fǎng)問(wèn)錯誤
../asp.asp,行 123
檢查權限時(shí),對 Server.CreateObject 的調用失敗。拒絕對此對象的訪(fǎng)問(wèn)。

錯誤如提示,存在以權限。
解決方法
1. 調用"server.createObject("mssearch.application")"的時(shí)候發(fā)生錯誤,解決如下:
開(kāi)始->運行->dcomcnfg
找到"mssearch"(這個(gè)名稱(chēng)取決于你調用的Object是什么),然后右鍵->Properties->security把三個(gè)權限都給everyone即可,其實(shí)第一個(gè)即可.

2. 出現上述問(wèn)題時(shí),原因確實(shí)是權限的問(wèn)題。
一種解決辦法是修改IIS的匿名訪(fǎng)問(wèn)的權限。
第二種最簡(jiǎn)單的辦法就是將你的組件換個(gè)地方注冊,特別是不要放到桌面或C盤(pán)的(系統盤(pán))的某些特殊目錄下注冊;而應該放到如D,E等盤(pán)。原因是因為通常你的IIS所使用的帳號都是系統權限較低的帳號,如果你是以自己的帳號登錄,那么桌面的訪(fǎng)問(wèn)的權限可能比IIS的帳號權限高。

3. 查了MS的資料庫,解決的方法如下,fromaspxuexi.com asp學(xué)習網(wǎng):
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.
--------------------------------------------------------------------------------

如果是本機調試:
要解決問(wèn)題, 重新設置 " %ProgramFiles%\Common Files\System " 文件夾的NTFS 權限。 要這樣做, 請按照下列步驟操作:
1. 打開(kāi) Windows 資源管理器。
右鍵單擊 開(kāi)始 , 然后單擊快捷菜單上 瀏覽 。
2. 在 文件夾 視圖, 展開(kāi) " %ProgramFiles%\Common Files\System " 文件夾。
3. 右擊文件夾并單擊快捷菜單上 屬性 。
4. 單擊 安全 選項卡。
5. 至少授予 Everyone 添加現有權限, 讀取 權限向 Everyone , 并這些新設置應用于所有文件和子。
6. 單擊 確定 。

--------------------------------------------------------------------------------

如果是服務(wù)器,給相關(guān)的dll進(jìn)行everyone權限吧。

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng )、來(lái)自本網(wǎng)站內容采集于網(wǎng)絡(luò )互聯(lián)網(wǎng)轉載等其它媒體和分享為主,內容觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如侵犯了原作者的版權,請告知一經(jīng)查實(shí),將立刻刪除涉嫌侵權內容,聯(lián)系我們QQ:712375056,同時(shí)歡迎投稿傳遞力量。

欧洲免费无线码在线一区| 十八女人毛片A级毛片水真多| ACCA少女网课视频2023| 天天做天天爱夜夜夜爽毛片| 好大好硬好爽免费视频| 久久人人超碰精品CAOPOREN|