知識庫

如需移除,請網站管理者移除.

1532
主題:


發佈者:terry8899@grapes.tw
文章編號:1532 2023-06-25 14:08:26   來自:123.194.210.24   

回覆



1樓. 回覆 : 1532 時間 : 2023-06-25 14:21:23
<!-- #include file ="..Date.asp -->

Note By default, parent paths are disabled in IIS 6. To enable parent paths, you must manually set the AspEnableParentPaths property in the metabase to TRUE.


2樓. 回覆 : 1532 時間 : 2023-06-25 14:20:52

方法2:使用#include file語句和相對文件路徑

要解決此問題,請在 Test.asp 網頁中使用 #include 文件語句和相對文件路徑。請考慮以下代碼示例: 以下代碼行不起作用。

<!-- #include virtual ="../Date.asp" -->


3樓. 回覆 : 1532 時間 : 2023-06-25 14:20:25

IIS 6 中託管的 ASP 網頁時,可能會收到“ASP 0126”錯誤消息

以下是解決方法。

方法一:使用#include虛擬語句和絕對文件路徑

要解決此問題,請在 Test.asp 網頁中使用 #include 虛擬語句和絕對文件路徑。請考慮以下代碼示例: 以下代碼行不起作用。

<!-- #include virtual ="../Date.asp" -->

以下代碼行有效。

<!-- #include virtual ="Samples/Includes/Date.asp" -->

所有程式與圖片和影片版權皆歸原作者,出版商,製造商所有,若有侵權請來信告知,謝謝。

Copyright 2013 台豐實業
如有任何問題或合作提案歡迎私訊或來信 E-Mail 與我們聯絡 service@grapes.tw  / 台豐實業  
本網站僅支援桌上型PC版本,並不適用於手機,平板電腦