2011-07-24 14 views
0

私はvisual Web Developer expressを使用しています。私はlocalhostでWebサイトを構築するとすべて問題ありません。私は、サーバーのOで、それを展開しようとすると、しかし、のような多くのエラーを取得: aspサーバーにWebサイトを展開する

Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified. 

Source Error: 

    Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs"   Inherits="MasterPage" %> 
    Line 2: 
    Line 3: <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> 
    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: /zimmer/MasterPage.master Line: 3 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' 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]. 

がどのように私はこの問題を解決することができます:私はこの部分を脱ぐとき

line 18: 

Parser Error Message: It is an error to use a section registered as 
allowDefinition='MachineToApplication' beyond application level. 
This error can be caused by a virtual directory not being configured 
as an application in IIS. 

Source Error: 

Line 16: <customErrors mode="Off"/> 
Line 17: 
Line 18:  <profile enabled="true"> 
Line 19:  <!--<anonymousIdentification enabled="true"/--> 
Line 20:   <properties> 

私は3行目でエラーを取得しますか?

答えて

0

サイトに必要な最小限ではなく、プロジェクトフォルダ内のすべてのファイルをコピーすることを公開設定で確認してください。私は同じ問題を抱えていて、それを修正しました。

+0

私はエクスプレス版になっています。展開するときは、通常はftpなどでファイルを転送します。あなたの方法で私はどのように公開しますか? – goote

+0

ああ、私は参照してください。私は急行での経験はありませんが、プロジェクトのプロパティには、 "設定を公開する"というページがあります。これは私が参照しているものです。私が聞いたことから、エクスプレス版はあなたがどのように公開できるかに関してははるかに制限されています。 –

関連する問題