小弟初学
随便写了一个把工程目录下所有的文件和文件夹都放到了空间里,结果执行出错,不知怎么解决:
Server Error in '/' Application.
--------------------------------------------------------------------------------Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name default2, or one of its dependencies, was not found.Source Error: 
Line 256:                <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257:                <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258:                <add assembly="*"/>
Line 259:            </assemblies>
Line 260:
 Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config    Line: 258 Assembly Load Trace: The following information can be helpful to determine why the assembly 'default2' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = default2
 (Partial)
LOG: Appbase = C:\root\etc\
LOG: Initial PrivatePath = NULL
Calling assembly : System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: default2
LOG: Attempting download of new URL file:///C:/root/etc/default2.DLL.
LOG: Attempting download of new URL file:///C:/root/etc/default2/default2.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/9d9b4ae1/43f3570d/default2.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/9d9b4ae1/43f3570d/default2/default2.DLL.
LOG: Attempting download of new URL file:///C:/root/etc/default2.EXE.
LOG: Attempting download of new URL file:///C:/root/etc/default2/default2.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/9d9b4ae1/43f3570d/default2.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/9d9b4ae1/43f3570d/default2/default2.EXE. 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

解决方案 »

  1.   

    看这句
    Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config    Line: 258 
    本人主观估计是服务器的配置问题。
      

  2.   

    你放到哪里了?====================================放到了一个国外的asp.net免费空间。
      

  3.   

    Line 256:                <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 257:                <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 258:                <add assembly="*"/>
    Line 259:            </assemblies>
    Line 260:
    =====================================================
    这里没有错误,可能别的地方……