Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Runtime error on siteRuntime error on site
Previous
 
Next
New Post
8/18/2016 8:31 AM
 

Hi

 

Something has happened to one of my sites. :-(

I was trying to change the date format by adding a language.

 

I am not sure what i have done but the site is showing this error now:

Any help would be hugely appreciated

 

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>


 
New Post
8/18/2016 8:34 AM
 
Here is the site url

http://www.obcchicken.co.za/en-za/


It should not have the 
/en-za/ at the end

I think i made the default language Za and then deleted that language - is that even possible?

 
New Post
8/18/2016 12:12 PM
 
First thing to do is follow the advice in the message to see what the error is. You also need to tell us what's recorded in the event log.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
8/19/2016 2:28 AM
 

Hi

I am not too familiar with what i need to do i add the code into the web.config file but nothing changed on the error page.

As the error suggested i added the code into the <system.web> tag.
Not sure if that is what i was supposed to do?

Here is the <system.web> code - the added code is in the bottom 2 lines in red.

Please advise if i have done this correctly?

Thanks

 

<system.web>

    <machineKey validationKey="01A16935EA7CF20D2A215ABCF3E209F9F5BD7417" decryptionKey="C2A23B1416FE0D181A9F722E5237883334B4E2FAF0C70D23" decryption="3DES" validation="SHA1" />

    <!-- set code access security trust level - this is generally set in the machine.config

    <trust level="Medium" originUrl=".*" />

    -->

    <!-- set debugmode to false for running application -->

    <compilation debug="false" strict="false" targetFramework="4.0">

      <buildProviders>

        <remove extension=".resx" />

        <remove extension=".resources" />

      </buildProviders>

      <assemblies>

        <add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

        <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

      </assemblies>

      <expressionBuilders>

        <add expressionPrefix="dnnLoc" type="DotNetNuke.Services.Localization.LocalizationExpressionBuilder, DotNetNuke" />

      </expressionBuilders>

    </compilation>

    <!-- permits errors to be displayed for remote clients -->

    

    <!-- Forms or Windows authentication -->

    <authentication mode="Forms">

      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />

    </authentication>

    <!--

    <identity impersonate="true"/>

    <authentication mode="Windows">

    </authentication>

    -->

    <!-- allow large file uploads -->

    <httpRuntime shutdownTimeout="120" executionTimeout="900" useFullyQualifiedRedirectUrl="true" maxRequestLength="12288" requestLengthDiskThreshold="12288" requestPathInvalidCharacters="&lt;,>,*,%,:,\,?" enableVersionHeader="false" requestValidationMode="2.0" fcnMode="Single" />

    <httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />

    <!--  GLOBALIZATION

    This section sets the globalization settings of the application. 

    Utf-8 is not supported on Netscape 4.x 

    If you need netscape compatiblity leave iso-8859-1.

    UTF-8 is recommended for complex languages

    -->

    <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />

    <!--<globalization culture="en-US" uiCulture="en"  fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->

    <!-- page level options -->

    <pages validateRequest="false" enableViewStateMac="true" enableEventValidation="true" viewStateEncryptionMode="Always">

      <namespaces>

        <add namespace="System.ComponentModel" />

        <add namespace="System.Data" />

        <add namespace="System.Data.SqlClient" />

        <add namespace="System.Drawing" />

        <add namespace="Microsoft.VisualBasic" />

        <add namespace="System.Globalization" />

        <add namespace="DotNetNuke.Services.Localization" />

        <add namespace="DotNetNuke.Entities.Users" />

        <add namespace="DotNetNuke" />

        <add namespace="DotNetNuke.Common" />

        <add namespace="DotNetNuke.Data" />

        <add namespace="DotNetNuke.Framework" />

        <add namespace="DotNetNuke.Modules" />

        <add namespace="DotNetNuke.Security" />

        <add namespace="DotNetNuke.Services" />

        <add namespace="DotNetNuke.UI" />

        <add namespace="DotNetNuke.Entities.Portals" />

        <add namespace="DotNetNuke.Common.Utilities" />

        <add namespace="DotNetNuke.Services.Exceptions" />

        <add namespace="DotNetNuke.Entities.Tabs" />

      </namespaces>

      <controls></controls>

    </pages>

    <!-- ASP.NET 2 Membership/Profile/Role and AnonymousAuthentication Providers -->

    <!-- anonymousIdentification configuration:

          enabled="[true|false]"                              Feature is enabled?

          cookieName=".ASPXANONYMOUS"                         Cookie Name

          cookieTimeout="100000"                              Cookie Timeout in minutes

          cookiePath="/"                                      Cookie Path

          cookieRequireSSL="[true|false]"                     Set Secure bit in Cookie

          cookieSlidingExpiration="[true|false]"              Reissue expiring cookies?

          cookieProtection="[None|Validation|Encryption|All]" How to protect cookies from being read/tampered

          domain="[domain]"                                   Enables output of the "domain" cookie attribute set to the specified value

        -->

    <anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />

    <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">

      <providers>

        <clear />

        <!-- Configuration for AspNetSqlMembershipProvider:

                connectionStringName="string"               Name corresponding to the entry in <connectionStrings> section where the connection string for the provider is specified

                maxInvalidPasswordAttempts="int"            The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account

                passwordAttemptWindow="int"                 The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked

                enablePasswordRetrieval="[true|false]"      Should the provider support password retrievals

                enablePasswordReset="[true|false]"          Should the provider support password resets

                requiresQuestionAndAnswer="[true|false]"    Should the provider require Q & A

                minRequiredPasswordLength="int"        The minimum password length

                minRequiredNonalphanumericCharacters="int"  The minimum number of non-alphanumeric characters

                applicationName="string"                    Optional string to identity the application: defaults to Application Metabase path

                requiresUniqueEmail="[true|false]"          Should the provider require a unique email to be specified

                passwordFormat="[Clear|Hashed|Encrypted]"   Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)

                description="string"                        Description of what the provider does

                -->

        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Hashed" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

      </providers>

    </membership>

        <customErrors mode="Off" />

  <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

  </system.web>


 
New Post
8/22/2016 2:50 AM
 
any help please?
Thank you
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Runtime error on siteRuntime error on site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out