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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...GetMappedDirectoryGetMappedDirectory
Previous
 
Next
New Post
7/6/2007 12:40 PM
 

What would cause this error in 4.5.3 (upgraded from previous versions) and could someone tell me how to address it?

Scheduled file synchronization fails every time with this error, though it succeeds when done manually in each and every portal in this DNN install.

File System Synchronization failed. System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.Services.FileSystem.FolderController.GetMappedDirectory(String VirtualDirectory)
   at DotNetNuke.Entities.Portals.PortalInfo.get_HomeDirectoryMapPath()
   at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.Synchronize()
   at DotNetNuke.Services.FileSystem.SynchronizeFileSystem.DoWork()


pmgerholdt
 
New Post
7/6/2007 2:03 PM
 

I did some further cleanup of old folders left by Gallery module (which I removed)

now I am getting this error:

System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'LastUpdated', table 'DNN311UPGRADE.dbo.Folders'; column does not allow nulls. INSERT fails.

but when I look at the sproc it doesn't look like it's trying to insert null:

 

CREATE PROCEDURE [dbo].[AddFolder]

 @PortalID int,
 @FolderPath varchar(300),
 @StorageLocation int,
 @IsProtected bit,
 @IsCached bit,
 @LastUpdated datetime

AS

INSERT INTO dbo.Folders (
  PortalID,
  FolderPath,
  StorageLocation,
  IsProtected,
  IsCached,
  LastUpdated
)
VALUES (
  @PortalID,
  @FolderPath,
  @StorageLocation,
  @IsProtected,
  @IsCached,
  @LastUpdated
)

This is an upgrade from 3.1.1 to 3.7 and then to 4.5.3. I looked at and dealt with all errors in the upgrade, which was primarily a matter of cleaning up and getting folders and files tables in synch with the physical file system, and getting the newer constraints on each table in place, which they are.

Help? :)


pmgerholdt
 
New Post
7/6/2007 6:32 PM
 

I got this figured out ... it was due to an incorrect install of PageBlaster ... corrected it and I'm good. (created a cache folder in the DNN root and altered PageBlaster config to use that instead of /Portals/_default/Cache ... that simple.)

Edit: Additionally, I deleted the folders below the /Portals/_default/Cache folder which were created by PageBlaster as well as any pb.webinfo file in /Portals/_default/Cache ... not visible in FileManager, had to do this at the filesystem level.


pmgerholdt
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...GetMappedDirectoryGetMappedDirectory


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