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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0File System SynchronisationFile System Synchronisation
Previous
 
Next
New Post
12/23/2006 9:48 AM
 

I seem to have a problem with the schedule file system sync. The trace is below. It appears to be failing due to invalid values being returned from the call to get the Physical Path. I believe this is because the portal settings aren't available to the scheduled service. Anyone know a work around for this, because my schedule file sync doesn't seem to want to work at all?

Thanks
Roger

Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings() at DotNetNuke.Services.FileSystem.FolderInfo.get_PhysicalPath() at DotNetNuke.Common.Utilities.FileSystemUtils.RemoveOrphanedFolders(Int32 PortalId) at DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive, Boolean syncFiles, Boolean forceFolderSync) at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.Synchronize() at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.DoWork()


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/23/2006 8:57 PM
 
DNN Version?

Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
12/24/2006 6:17 AM
 

Antonio, My error, failing to give the right info....

The problem occurs in my production environment on 4.3.7 and development environment on 3.3.7. I've filled out a Gemini bug report, which gives some extra info - http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=4674.

In the bug report, I have said the PhysicalPath is invalid. By this I mean, when looking at the value being returned in it, it is an error value of some sort, rather than being a text string "d:\windows\xxx" or the like. I can dig out the error value if it helps.

Roger

 


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/26/2006 6:06 AM
 
there has been a change in the RemoveOrphanedFolder routine in DNN 4.4.0, please check again.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/26/2006 12:43 PM
 

Just tried an update to 4.4.0. Same error unfortunately.

Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings() at DotNetNuke.Services.FileSystem.FolderInfo.get_PhysicalPath() at DotNetNuke.Common.Utilities.FileSystemUtils.RemoveOrphanedFolders(Int32 PortalId) at DotNetNuke.Common.Utilities.FileSystemUtils.SynchronizeFolder(Int32 PortalId, String physicalPath, String relativePath, Boolean isRecursive, Boolean syncFiles, Boolean forceFolderSync) at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.Synchronize() at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.DoWork()


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0File System SynchronisationFile System Synchronisation


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