2012-03-03 93 views
0

我在新安裝的虛擬服務器上配置了所有內容(IIS,網站,權限)後,運行default.asp文件時出現此錯誤。Windows Server 2003上的經典ASP

Server object error 'ASP 0177 : 800401f3' 

Server.CreateObject Failed 

/default.asp, line 30 

我發現ASP 0177的帖子非常有用。但我似乎無法解決它。它給出了這樣的解決方案

A: This error means "Invalid class string" -- in other words the call to CreateObject failed because the name object cannot be found by the OLE sub-system. Causes include: 

1. You really didn't run regsvr32 on the server after all. 
2. You ran regsvr32 but it reported an error. 
3. Someone modified security on part of the registry that's preventing the OLE subsystem from reading all or part of the HKEY_CLASSES_ROOT tree. 
4. The name of the object you are trying to create was mispelled or is incorrect. 
5. Determine if it's a permissions problem 
6. Determine if it is a file permissions problem: 
7. Check registry permissions 

我需要註冊哪個服務?安裝IIS時,Server 2003上是否自動安裝ASP?如果不是我需要更改什麼設置?這是新安裝的虛擬Windows Server 2003?

編輯:我覺得這個環節可能會奏效,但不知道ASP Win Svr 2003

EDIT2:代碼:

Set BACSE = Server.CreateObject("NAICSCodeSE2_1_0.Engine") 
If Session("DEBUG") = "TRUE" then Response.Write "BACSE Debug="&BACSE.SetDebugMode(True)&"<BR>" 
+0

你有對的default.asp線30是什麼?向我們展示代碼。 – 2012-03-04 06:54:03

+0

你想創建什麼對象?我們需要在回答之前看到你的代碼。 – TheCarver 2012-03-04 14:22:39

+0

'Set BACSE = Server.CreateObject(「NAICSCodeSE2_1_0.Engine」)'在代碼中添加 – 2012-03-04 14:55:26

回答

0

自定義COM組件首先需要在服務器中註冊與下面的命令,使用前它在經典的ASP頁面中。

REGSVR32 yourcomdllfile.dll

+0

我不知道DLL在哪裏 – 2012-03-04 18:49:24

+0

你應該詢問原始開發人員或找到它在正在工作的舊服務器中。 – 2012-03-05 01:58:03

+0

舊服務器崩潰,舊開發人員也離開了。 – 2012-03-05 12:02:08