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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsFileIDs changed for unknown reasonFileIDs changed for unknown reason
Previous
 
Next
New Post
12/2/2008 2:35 AM
 

Yesterday, I had a very strange effect, and I still cannot explain how this happened. In an intranet protal, there are about 1100 files linked by the different Document Modules. For some reason, about the half of it did not work anymore - and there was no entry in DNN's Event Viewer, because it came to some ASP.Net runtime error.

Inspecting the installation, I found out three things:

First: All the files were there. (Thanks god!)

Second: In DNN's file manager, I found that all the rights of the folders containing the files with the non-working links were reset to Administrators only. None of the other roles were checked anymore. I changed these rights (which was not really much to do, as everywhere, users have View access) But still: the links did not work, even for administrators.

Third: The URL field in the documents table ("FileID=xx") had entries, that did not exist in the Files table. I found all the files there, but with another, much higer FileID. So, after restoring a backup file (to a local SQL server), I found that the FileID there were right, and so I could write a little program that updated the URL fields in the Documents table to point to the right files again (using "FileName" and "Folder" to compare the backed up Files table with the one in the production database). Now it works again.

What I am still looking for is an answer to the question: How could this happen?

Best wishes

Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
12/2/2008 3:05 AM
 

Michael,

there is a known issue (we haven't been able to fix yet) with scheduled FileSync, I STRONGLY suggest to disable the FileSync job in Host :: Scheduler and use Auto Sync in Host settings instead. You still might need to perform a manual recursive file sync in Admin :: File Manager, after you created, deleted, renamed or moved a folder via FTP or Windows FileManager.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/2/2008 10:53 AM
 

Sebastian,

thanks for the information. Are there any other schedule jobs that do some kind of "damage" to the database's integrity? (Just to turn them all off ;-))

Best wishes
Michael

 


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
12/2/2008 12:34 PM
 

AFAIK not, but atm it is recommended to switch scheduler mode to "request" instead of timer, according to this thread: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/-1/threadid/260334/scope/posts/Default.aspx


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/2/2008 12:36 PM
 

I had the same issue, and I'm very glad to have found out the problem. :-/

My quesiton is: if I do the manual syncing, will that also cause the document IDs to change? I can't afford to have this happen again, even if I'm the one that causes it....

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsFileIDs changed for unknown reasonFileIDs changed for unknown reason


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