Results 1 to 4 of 4

Thread: [RESOLVED] error

  1. #1

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Resolved [RESOLVED] error

    hello,

    I'm trying to upload my project on asp.net server and i'm getting tis error
    Code:
    Line 56:             ASP.NET to identify an incoming user. 
    Line 57:         -->
    Line 58: 		<authentication mode="Windows"/>
    Line 59: 		<!--
    Line 60:             The <customErrors> section enables configuration
    my config file

    con Code:
    1. <?xml version="1.0"?>
    2. <!--
    3.     Note: As an alternative to hand editing this file you can use the
    4.     web admin tool to configure settings for your application. Use
    5.     the Website->Asp.Net Configuration option in Visual Studio.
    6.     A full list of settings and comments can be found in
    7.     machine.config.comments usually located in
    8.     \Windows\Microsoft.Net\Framework\v2.x\Config
    9. -->
    10. <configuration>
    11.     <appSettings/>
    12.     <connectionStrings>
    13.         <add name="mConnectionString1" connectionString="Data Source=YOUR-4F60B1CEA3\SQLEXPRESS;Initial Catalog=m;Integrated Security=True" providerName="System.Data.SqlClient"/>
    14.     </connectionStrings>
    15.     <system.web>
    16.         <!--
    17.             Set compilation debug="true" to insert debugging
    18.             symbols into the compiled page. Because this
    19.             affects performance, set this value to true only
    20.             during development.
    21.  
    22.             Visual Basic options:
    23.             Set strict="true" to disallow all data type conversions
    24.             where data loss can occur.
    25.             Set explicit="true" to force declaration of all variables.
    26.         -->
    27.         <compilation debug="true" strict="false" explicit="true">
    28.         </compilation>
    29.         <pages>
    30.             <namespaces>
    31.                 <clear/>
    32.                 <add namespace="System"/>
    33.                 <add namespace="System.Collections"/>
    34.                 <add namespace="System.Collections.Generic"/>
    35.                 <add namespace="System.Collections.Specialized"/>
    36.                 <add namespace="System.Configuration"/>
    37.                 <add namespace="System.Text"/>
    38.                 <add namespace="System.Text.RegularExpressions"/>
    39.                 <add namespace="System.Linq"/>
    40.                 <add namespace="System.Xml.Linq"/>
    41.                 <add namespace="System.Web"/>
    42.                 <add namespace="System.Web.Caching"/>
    43.                 <add namespace="System.Web.SessionState"/>
    44.                 <add namespace="System.Web.Security"/>
    45.                 <add namespace="System.Web.Profile"/>
    46.                 <add namespace="System.Web.UI"/>
    47.                 <add namespace="System.Web.UI.WebControls"/>
    48.                 <add namespace="System.Web.UI.WebControls.WebParts"/>
    49.                 <add namespace="System.Web.UI.HtmlControls"/>
    50.             </namespaces>
    51.         </pages>
    52.         <!--
    53.             The <authentication> section enables configuration
    54.             of the security authentication mode used by
    55.             ASP.NET to identify an incoming user.
    56.         -->
    57.         <authentication mode="Windows"/>
    58.         <!--
    59.             The <customErrors> section enables configuration
    60.             of what to do if/when an unhandled error occurs
    61.             during the execution of a request. Specifically,
    62.             it enables developers to configure html error pages
    63.             to be displayed in place of a error stack trace.
    64.  
    65.         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
    66.             <error statusCode="403" redirect="NoAccess.htm" />
    67.             <error statusCode="404" redirect="FileNotFound.htm" />
    68.         </customErrors>
    69.         -->
    70.     <customErrors mode="Off"/>
    71.         <httpHandlers>
    72.             <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
    73.     </system.web>
    74.     <system.codedom>
    75.     </system.codedom>
    76.     <!--
    77.         The system.webServer section is required for running ASP.NET AJAX under Internet
    78.         Information Services 7.0.  It is not necessary for previous version of IIS.
    79.     -->
    80.     <system.webServer>
    81.         <handlers>
    82.             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/></handlers>
    83.     </system.webServer>
    84. </configuration>

    can you please tell me how to solve this?

    thx

  2. #2
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: error

    Just delete <authentication mode="Windows"/> . Normally for sites it's mode=forms and specifies the authentication details.

  3. #3

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: error

    hi,

    well when i delete it it works but the images and stuff do not appear, and for the form, it don't need any login, it's just form to fill, so wha i'm goign to set?

    thx

  4. #4

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: error

    working... sorry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width