Note that there are some explanatory texts on larger screens.

plurals
  1. POweb application on server won't show errors (only internal server error)
    primarykey
    data
    text
    <p>I'm trying to deploy a web application in our college server, but all I get when running the page is <strong>"500-Internal server error"</strong> (There is a problem with the resource you are looking for, and it cannot be displayed.)</p> <p>Last time I remember adding something to the web config, but I can't seem to remember what it was. I tried <strong>adding:</strong></p> <pre><code>&lt;customErrors mode="Off"&gt; &lt;/customErrors&gt; </code></pre> <p>But it doesn't seem to fix it.</p> <p>What should I add to my web config in order to display errors right? so I would know what's wrong.</p> <p><strong>this is my web config:</strong></p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --&gt; &lt;configuration&gt; &lt;!--show errors on server--&gt; &lt;customErrors mode="Off"&gt; &lt;/customErrors&gt; &lt;!--connection string--&gt; &lt;connectionStrings&gt; &lt;add name="igroup20_test2ConnectionString" connectionString="Data Source=Media.ruppin.ac.il;Initial Catalog=igroup20_test2;User ID=igroup20;Password=****" providerName="System.Data.SqlClient"/&gt; &lt;/connectionStrings&gt; &lt;system.web&gt; &lt;!--define membership--&gt; &lt;membership defaultProvider="CustomizedProvider"&gt; &lt;providers&gt; &lt;add name="CustomizedProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="igroup20_test2ConnectionString" applicationName="ScottsProject" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0"/&gt; &lt;/providers&gt; &lt;/membership&gt; &lt;!--define roles--&gt; &lt;roleManager enabled="true" defaultProvider="CustomizedRoleProvider"&gt; &lt;providers&gt; &lt;add name="CustomizedRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="igroup20_test2ConnectionString" applicationName="/"/&gt; &lt;/providers&gt; &lt;/roleManager&gt; &lt;!--define profile properites--&gt; &lt;profile defaultProvider="CustomProfileProvider" enabled="true"&gt; &lt;providers&gt; &lt;add name="CustomProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="igroup20_test2ConnectionString" applicationName="ScottsProject" /&gt; &lt;/providers&gt; &lt;!-- Define the properties for Profile... --&gt; &lt;properties&gt; &lt;add name="prof" type="String" serializeAs="String" /&gt; &lt;/properties&gt; &lt;/profile&gt; &lt;authentication mode="Forms"/&gt; &lt;compilation debug="true" targetFramework="4.0"&gt; &lt;!--&lt;httpRuntime targetFramework="4.5"/&gt;--&gt; &lt;assemblies&gt; &lt;add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/&gt; &lt;add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt; &lt;add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt; &lt;/assemblies&gt; &lt;/compilation&gt; &lt;!--handler for the ajaxupload control--&gt; &lt;httpHandlers&gt; &lt;add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" /&gt; &lt;/httpHandlers&gt; &lt;/system.web&gt; &lt;!--handler for the ajaxupload control--&gt; &lt;system.webServer&gt; &lt;handlers&gt; &lt;add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre> <p><strong>EDIT</strong></p> <p><strong>I added:</strong></p> <pre><code> &lt;system.web&gt; &lt;customErrors mode="Off"/&gt; &lt;compilation debug="true"/&gt; &lt;/system.web&gt; </code></pre> <p><strong>and:</strong></p> <pre><code>&lt;system.webServer&gt; &lt;httpErrors errorMode="Detailed" /&gt; &lt;asp scriptErrorSentToBrowser="true"/&gt; &lt;validation validateIntegratedModeConfiguration="false" /&gt; &lt;/system.webServer&gt; </code></pre> <p>but still only internal server error message is shown..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload