Products

Solutions

Learn More

Partners

Community

Blog

About

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

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Error Writing to the Exception LogError Writing to the Exception Log
Previous
 
Next
New Post
1/24/2012 4:50 PM
 

I'm attempting to restore a copy of my live site to a localhost server and am receiving the following error:

An error has occurred writing to the exception log.

Unhandled Error

File: C:\DNN_Sites\BIUSABkUp]Portals\_default\Logs\LogFailures.xml.resources

Error: Thread was being aborted

I'm stumped. Anyone have any input, ideas? Thanks

 
New Post
1/24/2012 8:54 PM
 

Not sure of the cause of the error but the fact that the error is being written to the LogFailures.xml.resource file rather than to the EventLog table of the database is an indication that the DotNetNuke installation is unable to connect to the database.

When moving the site to localhost did you . . .

1. Backup and restore the remote site's MS SQL Server database to a localhost installation of MS SQL Server?
2. Did you create a new database user login for the restored database and grant it db_owner rights for both database schema and roles?
3. Did you modify both database connection strings in web.config to point to the new database server and any changes in database login credentials?
4. Before backing up the database on the remote host did you add a new Portal Alias for it's localhost url? Probably "localhost/BIUSABkUp/" or did you manually add the new alias to the PortalAlias table after restoring the database on localhost?
5. Did you grant full filesystem permissions including modify to the ASP.Net worker process (IIS Identity) account on the root folder of the localhost installation?
6. Have you looked at the LogFailures.xml.resources log file in the folder specified to see if there is more detailed error information logged? You can open the file in your browser after renaming it to remove the .resources extension.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/25/2012 4:41 PM
 

Bill . . .

Great list and good advice.  I had forgotten about Portal Alias. Thanks!

I completed your list and am getting closer to successful restore.  Now I;m getting a non-descript DotNetNuke Error page.  An error has occurred.  An error has occurred.

Gotta figure this one out now.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Error Writing to the Exception LogError Writing to the Exception Log


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out