Publishing

Last post 10-15-2007 1:02 AM by skurocks. 3 replies.

Sort Posts:

  • Publishing

    10-14-2007, 7:30 PM
    • Member
      2 point Member
    • l3lueMage
    • Member since 10-13-2007, 10:52 PM
    • Bay Area, CA
    • Posts 7

    I have a 'site' roughly done, and I want to test it out online. But when I upload everything I get this error:

     

    Server Error in '/' 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>
     

     

     

  • Re: Publishing

    10-14-2007, 9:53 PM
    • Participant
      1,221 point Participant
    • skurocks
    • Member since 09-19-2007, 3:58 AM
    • India
    • Posts 213

    this is the error you are getting because there is some runtime error had happened. As error suggests
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
     
    Do the Following modification .. You will get the exact information of what is casusing the error...
    then you can take corrective action 
     
     
     

    Thanks
    Sku
    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
  • Re: Publishing

    10-15-2007, 12:32 AM
    • Member
      2 point Member
    • l3lueMage
    • Member since 10-13-2007, 10:52 PM
    • Bay Area, CA
    • Posts 7

     Okay, worked now can someone explain this error to me? D:

     

    Server Error in '/' 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: Could not load type System.Web.UI.WebControls.SqlDataSource from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

    Source Error:

    Line 18:     <form id="form1" runat="server">
    Line 19: <div id="list">
    Line 20: <asp:SqlDataSource ID="BooksData" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
    Line 21: SelectCommand="SELECT * FROM [Books]"></asp:SqlDataSource>
    Line 22: <asp:SqlDataSource ID="BooksDataFiltered" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"

    Source File: \\NAWINFS03\home\users\web\b1465\rh.iccnc\test\customers\AccessingData.aspx    Line: 20


    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
     

  • Re: Publishing

    10-15-2007, 1:02 AM
    Answer
    • Participant
      1,221 point Participant
    • skurocks
    • Member since 09-19-2007, 3:58 AM
    • India
    • Posts 213

     looks like your server doesnt have the ASP.NET 2.0 installed or IIS is set to run the 1.1 Version of the application'

     

    First Make sure that Your server has the ASP.NET 2.0 Version Installed in it

    Then Open your website properties and ensure that it is configured to Run the Site in 2.0 version 

    Thanks
    Sku
    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
Page 1 of 1 (4 items)