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

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

ログ内検索
  • キーワードを複数指定する場合は 半角スペース で区切ってください。
  • 検索条件は、(AND)=[A かつ B] (OR)=[A または B] となっています。
  • [返信]をクリックすると返信ページへ移動します。
キーワード/ 検索条件 /
検索範囲/ 強調表示/ ON (自動リンクOFF)
結果表示件数/ 記事No検索/ ON
大文字と小文字を区別する

No.55365 の関連記事表示

<< 0 >>
■55365  サーバー上でグラフ表示できない。
□投稿者/ ゆい -(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日ほど、試行錯誤および調べてみたのですが、完全に行き詰りました。
    どなたか、ご教示お願いします。

    以上
親記事 /過去ログ93より / 関連記事表示
削除チェック/

■55370  Re[1]: サーバー上でグラフ表示できない。
□投稿者/ Azulean -(2010/11/28(Sun) 16:37:13)
    No55365 (ゆい さん) に返信
    > Parser Error Message: Could not load file or assembly 'ZedGraph.Web' or one of its dependencies.
    > The system cannot find the file specified.

    このエラーは ZedGraph.Web が見つからないか、ZedGraph.Web が参照している何かが見つからないことを示しています。


    > 対象サーバーにアップロードしました。

    念のための確認ですが、ZedGraph.dll, ZedGraph.Web.dll を適切な場所に配置していますよね?
    エラーになるページとの位置関係を書いてみてください。
記事No.55365 のレス /過去ログ93より / 関連記事表示
削除チェック/

■55380  Re[2]: サーバー上でグラフ表示できない。
□投稿者/ ゆい -(2010/11/29(Mon) 09:57:03)
    No55370 (Azulean さん) に返信

    返信ありがとうございます。

    Default.aspxを表示させるとエラーになります。
    binフォルダにdllを配置しています。
    以下、構成です。

    bin/ZedGraph.dll
    bin/ZedGraphWeb.dll
    bin/ZedGraphWebAp1.dll
    ZedGraphImages
    Default.aspx
    Default.aspx.cs

    以上の構成で基本はOKだと思っています。
    フォルダやファイルのアクセス権も確認しました。(念のため読み込み/書き込み/実行をすべて許可にしています。)

    何か見落としがあるのでしょうか・・。
記事No.55365 のレス /過去ログ93より / 関連記事表示
削除チェック/

■55386  Re[3]: サーバー上でグラフ表示できない。
□投稿者/ もりお -(2010/11/29(Mon) 11:09:36)

    No55380 (ゆい さん) に返信

    > bin/ZedGraphWeb.dll

    ただしくは ZedGraph.Web.dll です。記述ミスでしょうか。
記事No.55365 のレス /過去ログ93より / 関連記事表示
削除チェック/

■55389  Re[4]: サーバー上でグラフ表示できない。
□投稿者/ ゆい -(2010/11/29(Mon) 11:42:31)
    No55386 (もりお さん) に返信
    >>bin/ZedGraphWeb.dll
    >
    > ただしくは ZedGraph.Web.dll です。記述ミスでしょうか。

    ご指摘ありがとうございます。

    ただの記述ミスです。

    アップロードしているものは「ZedGraph.Web.dll」となっています。
記事No.55365 のレス /過去ログ93より / 関連記事表示
削除チェック/



<< 0 >>

パスワード/

- Child Tree -