Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

ExactTarget - What's Your Score
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  File System Synch Fails
Previous Previous
 
Next Next
New Post 2/19/2006 1:36 AM
User is offline Vicenç Masanas
1389 posts
www.disgrafic.com
6th Ranked








Re: File System Synch Fails 
I've found the root of the problem.
In FileSystemUtils.UpdateFile there's a call like:
            If strSourceFile.IndexOf("'") > -1 Or strDestFile.IndexOf("'") > -1 Then
                retValue = Localization.GetString("InvalidFileName")
                'Return
                Return retValue
            End If

when this is invoked through the scheduller the GetString call will fail since it tries to get a PortalSettings object from the httpcontext, which is not available.

We need to check for that case and use a different code.


Disgrafic.com
 
New Post 4/30/2006 1:23 PM
User is offline Roger Willcocks
6 posts
www.l-space-design.com/
10th Ranked


Re: File System Synch Fails 

Hhmm.

 

I logged a similar issue for the scheduler accessing the Membership and Profile interfaces at support.dotnetnuke.com

http://support.dotnetnuke.com/Default.aspx?p=23&i=1552

 

 

 
New Post 12/23/2006 5:41 AM
User is offline Roger Selwyn
844 posts
www.thedivingclub.co.uk
7th Ranked




Re: File System Synch Fails 

I'm getting a very similar error in schedule file sync. Except it oocurs in RemoveOrphanedFolders. Seems to be because the returned PhysicalPath is incorrect, presumably beause of the call to PortalSettings as described above. Was this ever resolved. I have the problem in 4.3.7 (& 3.3.7). Trace below:-

 

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()


Events 4.0.1 - It's released !! - See the announcement
Events 4.0.2 - It's in the Release Process - Follow it
Requirements/Bugs - Submit them here - Gemini
 
New Post 3/6/2007 6:48 AM
User is offline Michael Cunningham
85 posts
synergyinteractive.com
10th Ranked


Re: File System Synch Fails 
Was this error ever resolved by anyone?
 
New Post 3/6/2007 10:16 AM
User is offline Roger Selwyn
844 posts
www.thedivingclub.co.uk
7th Ranked




Re: File System Synch Fails 

There wasan improvement in the latest DNN (4.4.1). It's not perfect by any means, and solves the problem as long as some filepath info is in the cache. I put it on gemini, but I don't remember the bug no, sorry.

Roger


Events 4.0.1 - It's released !! - See the announcement
Events 4.0.2 - It's in the Release Process - Follow it
Requirements/Bugs - Submit them here - Gemini
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  File System Synch Fails
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP