Some days ago an error occured on my DNN 7 development website (main portal) and did not go away. The portal was set up with DNN 7.0.0, and has been updated to 7.4.2 in several steps (or, let's say, whenever a new DNN 7 version was released). It was running fine, but suddenly this error appeared (there was only a a text saying "DNN Error" and "An unhandeld error has occured", and a button labeled "Return to Site"). I had a sub-portal on this installation which was working fine, but the main portal did not start. As I could not find the reason for this error I decided to delete the installation and set it up from scratch.
I also deleted the database and created a new one, I assigned the permissions and the installation went thru smoothly. I started the web site, everything looked fine. But when I tried to add a new page, I got the following error:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Dnn.Modules.Tabs.ManageTabs'. ---> System.Web.HttpParseException: Could not load type 'Dnn.Modules.Tabs.ManageTabs'. ---> (etc.)
Whatever I do fires an exception like that, e.g when I go to Admin :: Languages, I get this one:
Error: Language Management is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Dnn.Modules.Languages.LanguageEnabler'. ---> (etc.)
Or Host :: Dashboard:
Error: Dashboard is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Dnn.Modules.Dashboard.Dashboard'. ---> System.Web.HttpParseException: Could not load type 'Dnn.Modules.Dashboard.Dashboard'. ---> (etc.)
When I close the browser and re-open it, I get an empty page (which is correct, as I installed the empty template) with two red error boxes saying (both): "An error has occured. An error has occured." Whatever I do (there is not too much, but e.g. clicking the login link, I get the same errors.
I have another DNN 7.4.2 portal on this machine which runs fine. I checked the permissions, I deleted the cache, I deleted the browser cache and cookies, I stopped the app pool and deleted the "ASP.Net Temporary Files" folder (under C:\Windows\Microsoft.NET\Framework\v4.0.30319 and C:\Windows\Microsoft.NET\Framework64\v4.0.30319) and restarted the app pool - nothing did help. I compared all the settings in IIS manager and web.config - all the same so far, except some stuff on the other portal that is needed for AD Login, another menu or stuff like this. And: in the [system.webServer] section I found the sections [modules] and [handlers] - on the other installation these were called [httpModules] and [httpHandlers], but when I changed these, I got an internal server error.
I started all over again. Same thing. I started again with DNN 7.4.1 - same thing.
Anyone out there who has an idea what could be wrong?
Happy DNNing!
Michael
Related
Recently I have revamped a website which is created on a development server. Then after that i started migrating it onto the main server. Initially I got a unicode error while uploading the database on the live server. I googled it and found a solution on stack overflow itself (#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’). I used the method suggest by sabba and it worked. Later when I Changed the config file and loaded that link. Its giving me a 503 error.. It error is as follows:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an Error Document to handle the request
Go through the steps and check it,
Enable WP_DEBUG
But since the 503 error often locks you out of your WordPress admin, we shall use WP_DEBUG and WP_DEBUG_LOG, WP_DEBUG_DISPLAY and #ini_set constants available to WordPress.
To enable debug mode in WordPress and write errors to a log file, follow these steps:
1. Open the wp-config.php file
2. Scroll down to where WP_DEBUG is defined. It looks like this define ('WP_DEBUG', false);. If it is missing, we will add it just above the line that says /*That's all, stop editing! Happy blogging.*/
3. Insert the DEBUG magic codes. Just change the above define ('WP_DEBUG', false); code to:
define ('WP_DEBUG', true);
define ('WP_DEBUG_LOG', true);
define ('WP_DEBUG_DISPLAY', false);
#ini_set ('display_errors', 0);
4. Save changes
Now, reload your site to provoke the error. Next, locate a file known as debug.log inside your wp-content folder in your WordPress directory.
This file contains all the errors on your website. If your 503 service unavailable error is caused by a custom code snippet, it will show up somewhere with details of the error.
Eliminate/replace the problematic code and reload your site. If the 503 error persists, the problem could lie in your web server.
My EPiServer application is throwing following error:
A site with siteId is already registered. Call the Reset method firs.
There were no code changes before the exception occurred and there is duplicate of this instance which is running without any problems.
My first try was the most obvious, to change the site id in web.config to something else. This did not help. However changing the configuration restarted application and after refreshing the page it shown another exception:
This slave site failed when validating master license information
After another refresh, third exception appeared:
ClassFactory not initialized
Following refreshes bring back original exception about duplicated site id.
I have no idea what could happen. Searching in google did not bring any results. Every restart of the application (through iisreset or by configuration change) causes the site to throw all those three exceptions, always in the same order: license, class factory, and until next restart duplicated site id.
I will be very grateful for any help that could lead me to the solution.
EDIT: I am using EPiServer 5
EDIT 2: I am now pretty sure that "A site with siteid ..." exception is not relevant here. It is just a consequence of previous fail.
This is what is happening basing on exceptions (it does not seem very logical, but well):
IIS is started
Application reaches static initializer and tries to validate the master license. It fails, exception is thrown and the site is not yet registered (in the database there is no entry made in tblSiteConfig)
The page is refreshed
Application reaches static initializer and successfully validates the license, the site is then registered, the code goes further and fails on plugin initialization method (class factory not initialized)
The page is refreshed
Application reaches static initializer and again successfully validates the license, the site fails because it was already registered
Step 6 is happening until next IIS restart
According to messages, is looks like you are using EPiServer Multisite feature.
First thing to check are /sites/site sections of episerver.config - they should contain different siteId attribute.
Next, in episerver.framework.config file, clear siteHostMapping section, so it should be completely empty:
<siteHostMapping />
Then, start sites one by one.
Possible cause to issue is exception during site startup - so you can still experience similar or the same issue if these errors won't be fixed. Be sure to turn on logging and examine logs.
After you've changed the siteId you need to clear some tables in the database. I don't have a EPi5-database at hand but I recall it's at least tblSite.
I'm running into this problem and its driving me crazy.
Also, we are not allowed to update the version of IIS.
The content on the server (asmx files holding WCF webmethods called via SOAP) exists and I can freely browse in inetmgr to the virtual directory that contains this data. The files all exist all on the file system and the virtual directories all point to the correct spot and have the correct ACLS, but when I go to their URLs all I get is a 404 message.
I have reset IIS, I have rebooted the server, and I have done everything I can think of.
The IIS logs simple return "404 - -" as the entire line contents, with no other data in the line.
The event logs show nothing, and ASPNET is not dying or anything like that.
With no event logs, and minimal logs in IIS , I have no idea what to do and was hoping that others had run into this before.
In IIS logs there should some codes along side the 404 error which will help find the issue.
Check IIS has the correct version of .Net installed using aspnet_regiis command line tool. Also check that ASMX extensions are mapped to the .Net ISAPI filter as they are with ASPX pages.
my site was hosted on one server . everything was working fine. After moving to another server . click on the settings of every module on the site give critical error object reference not set to instance of an object. what could be wrong? i am using dotnetnuke 5.5
Moving the files you skip the Install/Setup step where the install wizard checks your folder permissions. Start there, check that first: Setting Security Permissions
I am using SQL Server 2008 Reporting Services and set mode remotely. All is going fine and reports running on my machine. I am not using report viewer control, but switch to browser.
Problem is that when I access the report from any other system in browser by providing required url. I m getting the following premission error:
Server Error in /ReportServer Application. Access is denied:
Description: An error is occured while
accessing the resources required to
serve for this request. You might have
not premission to view the requested
resources. Error message: 401.3 : You
dont have the premission to view this
directory or page using the
creditinals you supplied.
I have go through all step of this article "http://msdn.microsoft.com/en-us/library/ms365170.aspx" and set remotly premession but after all changes no success and getting same error.
Please some one can tell me or provide step list, that how can I set the premession? that the report can run from other machine. Quick and detail response will
This link should give you some more steps to follow to set up the permissions as this sounds like a permissions error.
http://technet.microsoft.com/en-us/library/aa337491.aspx
Also .... does it prompt for a username and password when you visit the site from another machine? if not you may need to add the required authentication methods into IIS (just an idea)
Then create a local (or domain) account for people to use to browse reports and use the properties tab on the report server home page to add them as 'Browser' type members.
When you visit the reports site from another PC it should prompt for sign in details (may not on a domain - not sure), if it errors before showing the home page then it is a security config issue, once you get in you may have a bit more tinkering to do to get the reports to run, but you tend to get slightly more verbose descriptions then so its not too hard to figure out and it normally database security permissions related.
Best of luck.
CB