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
1/13/2006 5:39 PM
 
I am getting a very interesting error.  I followed the manual and setup all the values that it said to change and verfied the values it said to change.  I uploaded the site to the my hoster (www.ixwebhosting.com) and I get the error listed below.  If anyone has any ideas as to how to solve this I am definatly in need of assistance.  To recap all I have done to date on this error
1.  Verfied that my database user has DBO rights.  I ran some scripts that gave me errors pertaining to my rights, submitted a trouble ticket and now those scripts work just fine so I am reasonably certain that I have DBO rights with the user I have configured.
2.  My connection string is suspect at the moment (I have an open ticket to solve this), but this does not appear to be a connectionstring issue.
3.  Modified web.config in the manner specified in the error so my custom errors tag looks like this
<customErrors mode="Off" />

Any assistance would be most 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
1/13/2006 7:34 PM
 
Now that you've set <customErrors mode="Off" /> you should get a more detailed error message as to what the problem really is the next time you try to install the site.  If you haven't already done so, you should try to navigate your site again to re-run the install scripts.  If you get an error again the above text should be replaced with the text of the unhandled exception error.

I've also noticed that after you make the above change to your web.config file and re-upload it to your site, it can take a few minutes before the new configuration is read.  Some web hosters will cache these kinds of files and you'll need to wait until the cache is released before the new web.config is read (sometimes just clicking on your browser's refresh button will cause the new web.config to be read).

Raymond Weiler
out of sITe Solutions
 
New Post
1/14/2006 3:03 PM
 
Actually I tried again, and went to the URL as stated in the manual
http://website/Install//Install.aspx?mode=Install
then I visited just the root website and I got the same thing.  I did leave auto-setup turned on, so I shouldn't have to fully declare the Install/Install.aspx structure, but I did anyways just to test.

Later on, I was playing around on the sites control panel and I enabled the MSSQL Administrator that became an option after I enabled ASP.NET but I had not seen it cause it was at the very bottom.  After enabling it, I attempted to use it and it gave me the same error as the one for dotnetnuke. 

Hence I am forced to conclude the problem lies with my host, and I have entered a new ticket with them to solve this issue.  Unfortunatly, they still have not got back to me on that.

If you have any other ideas I would be most willing to try them.  I have pressed the Refresh button numerous times on your suggestion, and shut down all my browsers, cleared my local cache, changed browers from FireFox to IE, cleared its cache and tried it all again.  No Go.   Again, due to the fact that NO asp.net app is working on my hoster, I would assume that something is wrong.  I have a trouble ticket in with them.

Best Regards,
Brent Coppock
BEC Consulting

 
New Post
1/15/2006 11:13 PM
 
When you went to your site (either by the explicit install URL or going to your site root) did you still get an error?  If so, we need to know the text of the message you're now getting.  Since you've made the change to your web.config file so that detailed error messages can be displayed, we need to know what the new text is that is being displayed so that more troubleshooting can be suggested until the site is installed and working for you.

Also, have you checked your web hoster's knowledgebase files to see if they already have something specific to installing DNN on their service.  For instance, I work with a web hoster called InfuseWeb and in their knowledgebase they have a support document entitled "How do I get DotNetNuke working".  In their particular case you need to move the <identity impersonate="true" /> clause out of the commented section and change the value from "true" to "false".  Your web hoster may have similar or other adjustments that need to be made to the web.config file in order to work with their settings.

Later on, I was playing around on the sites control panel and I enabled the MSSQL Administrator that became an option after I enabled ASP.NET but I had not seen it cause it was at the very bottom.  After enabling it, I attempted to use it and it gave me the same error as the one for dotnetnuke.

When you mentioned that you received the same error as for DNN, was the error you're referring to about getting details of the error and having to make a change in the web.config file?  If so, this would be a standard error that you would get with any ASP.NET application that doesn't have the <customerErrors mode="Off" /> or similar statement in it.  This doesn't mean that the error you're receiving is the same error that you got for DNN, it just means that you're getting an error.  Without knowing the specific text of the error you would have no way of knowing what caused the error - only that an error occured.

Raymond Weiler
out of sITe Solutions
 
New Post
1/16/2006 11:22 AM
 
Throughout I have only received a single error message.  That is what is so strange about this scenario.  Even after I modified web.config to display the errors, I still got the same error message as I indicated in my first post.  The reason that I am now thinking the error is ISP related is that the MSSQL application is provided as an option in their control panel and it doesn't work either, with the same "custom error mode" error message.  I have them working on it, and so far due to their response to the issue, I have gotten 3 months of service for free out of them.  I might go for another 3 months, as it still isn't working.  :)

As soon as I get an error message that tells me what kind of error I am getting I will post it here, even if I can fix it, I will let you know what the error turned out to be.

My next plan of attack is to modify my connection string in web.config.  I know that it isn't right (but that knowledge is recent) so I will fix that and see if it changes the error message.

Cheers,
Brent Coppock

Update:  The problem has changed.  The above error went away when I placed the correct connectionstring in the web.config file.  However, I now have a new error... :).  The connectionstring I use is below (I modified the password and username)
Network Library=DBMSSOCN;Data Source=mssql6.ixwebhosting.com,1433;Initial Catalog=vbwizar_DotNetNuke;User ID=username;Password=password;

Also, when I visit the URL:  http://www.avalonsource.org/Install//Install.aspx?mode=Install  I get an empty page in IE, and with FireFox it returns an error saying that it receieved a document containing only <html>  <body>  and </html>. I believe I get this repsonse in Firefox because the Developer Tools are installed.

The root of the website now gives the following error:

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +114
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +93
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3717
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


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

 
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