C# と VB.NET の質問掲示板

わんくま同盟

ASP.NET、C++/CLI、Java 何でもどうぞ

C# と VB.NET の入門サイト


(過去ログ 93 を表示中)
■55365 / )  サーバー上でグラフ表示できない。
□投稿者/ ゆい (1回)-(2010/11/28(Sun) 14:45:58)

分類:[ASP.NET (C#)] 

お世話になります。ゆいです。

以下のページにある。グラフ表示するサンプルをサーバーで実行させたいのですが、うまくいきません。
http://www.codeproject.com/KB/web-image/ZedGraphWebAp1.aspx 
Download ZedGraphWebAp1_article.zip

上記のファイルは、VS2008のプロジェクトではフレームワークが.NetFrameWork3.5になっていますが、
実行させたいサーバー環境がASP.NET2.0となっているので、ビルド設定を.NetFrameWork2.0に変更してからビルドし、
対象サーバーにアップロードしました。

すると、以下のエラーとなります。

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: Could not load file or assembly 'ZedGraph.Web' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="ZedGraphWebAp1._Default" %>
Line 2:
Line 3: <%@ Register assembly="ZedGraph.Web" namespace="ZedGraph.Web" tagprefix="cc1" %>
Line 4:
Line 5: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File: graphtest/zedGraphMediumTrust1.aspx Line: 3

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


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

3日ほど、試行錯誤および調べてみたのですが、完全に行き詰りました。
どなたか、ご教示お願いします。

以上
返信 編集キー/


管理者用

- Child Tree -