国产毛片午夜福利,国产黄网,国产亚洲天堂,97国产精品

  •  
    項目調(diào)試時出現(xiàn)用到的一個組件“訪問被拒絕”的解決方法
    發(fā)布時間:2008-04-25   瀏覽次數(shù):1184401

    項目調(diào)試時出現(xiàn)用到的一個組件“訪問被拒絕”的解決方法

    “/”應(yīng)用程序中的服務(wù)器錯誤。

    配置錯誤

    字串2

    說明:在處理向該請求提供服務(wù)所需的配置文件時出錯。請檢查下面的特定錯誤詳細(xì)信息并適當(dāng)?shù)匦薷呐渲梦募?

    字串9

    分析器錯誤信息: 訪問被拒絕:“XpAspVNo”。 字串8

    源錯誤: 字串1

    行 196:    <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> 字串9

    行 197:    <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

    字串1

    行 198:    <add assembly="*"/>

    字串7

    行 199:   </assemblies> 字串8

    行 0:  </compilation>

    字串4

    源文件:c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config    行:198 字串8

    程序集加載跟蹤:下列信息有助于確定程序集“XpAspVNo”無法加載的原因。 字串8

    以下為引用的內(nèi)容:
    === Pre-bind state information ===
    LOG: DisplayName = XpAspVNo
     (Partial)
    LOG: Appbase = file:///F:/AspWeb/TYJD/
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: CSDN.Authentication
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/XpAspVNo.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/XpAspVNo/XpAspVNo.DLL. 字串4
    LOG: Attempting download of new URL file:///F:/AspWeb/TYJD/bin/XpAspVNo.DLL.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: CSDN.Authentication, Version=1.0.1965.30523, Culture=neutral, PublicKeyToken=null
    ------------------------------------------------------------------
    字串8

    版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300

    字串1

    原因:

    字串5

    由于改動頻繁,  c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\ 目錄下相應(yīng)的目錄或文件被Index Server鎖定,重建索引。所以一般幾分鐘后會釋放,恢復(fù)正常。(沒弄明白之前,害我重起站點,重起IIS,關(guān)閉vs.net,調(diào)整SQL SERVER,好不忙乎,而且似乎也有用,但是治標(biāo)不治本,F(xiàn)在終于明白了。

    字串3

    解決方案一:

    字串6

    停用Indexing service 字串2

    解決方案二: 字串7

    配置ASP.net 的臨時目錄不受Indexing service服務(wù)的影響: 字串4

    1、開始 -- 管理工具 -- 計算機(jī)管理(Win03的位置,其他操作系統(tǒng)類似)打開計算機(jī)管理

    字串8

    2、展開計算機(jī)管理左邊樹中“服務(wù)和應(yīng)用程序”節(jié)點,再在其下展開“索引服務(wù)”節(jié)點,再在其下展開“System”節(jié)點,再在其下展開“目錄”節(jié)點。 字串9

    3、在計算機(jī)管理的右邊我們可以看到配置的索引服務(wù)目錄。

    字串6

    4、在“目錄”節(jié)點上右擊鼠標(biāo),選擇“新建”--“目錄” 字串6

    5、在“添加目錄”對話框中,路經(jīng)輸入框中輸入 ASP.net 的臨時文件目錄。默認(rèn)應(yīng)該是:

    字串7

    c:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files  目錄。

    字串6

    6、在“包含在索引中嗎?”選項中,選擇“否” 字串8

    7、單擊“確定”按鈕

    字串7

    8、在“索引服務(wù)”節(jié)點上右鍵單擊,重起索引服務(wù)即可。

    立即預(yù)約