Dreamweaver連資料庫

我用Dreamweaver連結了一個access資料庫,

從建立->繫結->資料格都沒有出現問題,

但按下F12後預覽卻出現以下錯誤訊息,

請問這是什麼原因呢?

Server Error in '/' Application.

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

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: File or assembly name DreamweaverCtrls, or one of its dependencies, was not found.

Source Error:

Line 1: <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="big5" %>

Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>

Line 3: <MM:DataSet

Line 4: id="DataSet1"

Source File: C:\Inetpub\wwwroot\aaa.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls' could not be loaded.

=== Pre-bind state information ===

LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a

(Fully-specified)

LOG: Appbase = file:///C:/Inetpub/wwwroot

LOG: Initial PrivatePath = bin

Calling assembly : (Unknown).

===

LOG: Publisher policy file is not found.

LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).

LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.

LOG: Post-policy reference: DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/8073f566/7100ac34/DreamweaverCtrls.DLL.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/8073f566/7100ac34/DreamweaverCtrls/DreamweaverCtrls.DLL.

LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/bin/DreamweaverCtrls.DLL.

LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/bin/DreamweaverCtrls/DreamweaverCtrls.DLL.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/8073f566/7100ac34/DreamweaverCtrls.EXE.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/8073f566/7100ac34/DreamweaverCtrls/DreamweaverCtrls.EXE.

LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/bin/DreamweaverCtrls.EXE.

LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/bin/DreamweaverCtrls/DreamweaverCtrls.EXE.

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

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

已更新項目:

謝謝,已經可以了,

但可以再幫我解決這個問題呢!

http://tw.knowledge.yahoo.com/question/?qid=120508...

1 個解答

評分
  • 2 0 年前
    最佳解答

    在你能夠利用Dreamweaver的伺服器行為 , 建立ASP.NET資料庫動態網頁之前 , 首先你必須將伺服器行為指令中使用的自訂標籤元件(DreamweaverCtrls) ,部署到網站測試資料夾根目錄底下的BIN裏面 步驟如下:

    網站>進階>部署支援檔案>指定bin資料夾(為網站根目錄底下之bin資料夾

    參考資料: 基峰出版 呂弘文著DW MX 2004與asp.net動態網頁製作
還有問題?馬上發問,尋求解答。