Server Error in '/SunRiseErp' Application.
--------------------------------------------------------------------------------Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 

解决方案 »

  1.   

    web.config 改成
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    看看具体什么错误
      

  2.   

    Server Error in '/SunRiseErp' 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 Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.Source Error: 
    Line 1:  <%@ Page language="c#" Codebehind="Ypplzl.aspx.cs" AutoEventWireup="false" Inherits="SunRiseErp.Ypplzl" %>
    Line 2:  <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    Line 3:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    Line 4:  <HTML>
     Source File: C:\Inetpub\SunRiseErp\Ypplzl.aspx    Line: 2 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/Inetpub/SunRiseErp
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
    LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/sunriseerp/726d8ed7/b1bdb26a/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/sunriseerp/726d8ed7/b1bdb26a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/SunRiseErp/bin/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/SunRiseErp/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/sunriseerp/726d8ed7/b1bdb26a/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/sunriseerp/726d8ed7/b1bdb26a/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/SunRiseErp/bin/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/SunRiseErp/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE. 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 第二行出錯。這是具體出錯信息﹔該怎么解決啊?
      

  3.   

    服务器没装microsoft.web.control