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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Runtime Error - customErrors mode="Off"Runtime Error - customErrors mode="Off"
Previous
 
Next
New Post
7/15/2008 10:49 AM
 

hello,

 

I have a dnn application that was installed sometime ago and has been working without any problems. Suddenyl though I am getting the following error;-

<!-- 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>

 

I have tried swapping <customErrors mode="off" /> to <customErrors mode="on" />, but it makes no differnce, I still get the same error. How do I go about resolving this error.

 

many thanks,

clara

 
New Post
7/15/2008 5:43 PM
 

the attribute values are case-sensitive, so it's Off and not off.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/16/2008 5:09 AM
 

hi Cathal,

 

I have fixed that, and now getting the following error;-

The 'DotNetNuke.Users.Profile.DNNSQLProfileProvider' requires a database schema compatible with schema version '1'.  However, the current database schema is not compatible with this version.  You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.

Any ideas???

Thanks

 

 
New Post
7/16/2008 9:05 AM
 

Thats an odd error, as it's being returned by asp.net 2.0 which is detecting attempted use of the profile/role provider (in DNN we extend the default asp.net profile provider). The only reason I can think that it's not working is that your database scripts haven't executed correctly - please check your two database connection strings.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/17/2008 7:05 AM
 

Hi Cathal,

Trns out its to do with an sql injection... affected table is aspnet_SchemaVersions...

so rectified the error, and noew in the process of pluggin the hole. will keep u posted

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Runtime Error - customErrors mode="Off"Runtime Error - customErrors mode="Off"


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