我有Sitecore作爲網站根(這是運行正常),並在它下面,我需要有一堆asp.net應用程序運行。運行Sitecore的Asp.net應用程序錯誤6.4.1
到目前爲止,爲子應用程序創建了一個虛擬目錄,將其轉化爲應用程序。但是,一旦我瀏覽子應用程序,它就會出現此錯誤消息。
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Sitecore' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 3264: </providers>
Line 3265: </roleManager>
Line 3266: <profile defaultProvider="sql" enabled="true" inherits="Sitecore.Security.UserProfile, Sitecore.Kernel">
Line 3267: <providers>
Line 3268: <clear/>
看來,子asp.net應用程序正在繼承來自Sitecore web.config的Sitecore設置。
任何想法?
儘管這允許我在Sitecore網站下運行子asp.net應用程序和Web服務,但它也在Sitecore中打破了一些東西。例如,富文本編輯器控件不會加載。 (它是Sitecore使用的Telerik控件之一)。只要我刪除Sitecore web.config中的位置標籤,與Telerik富文本編輯器相關的錯誤就消失了。所以我想這個問題至少會持續存在。 –