Error in Upgrade Application

rated by 0 users
This post has 4 Replies | 2 Followers

Top 50 Contributor
Posts 332
Points 4,960
Partners
jeffesp Posted: Fri, May 9 2008 10:49 AM

When running the upgrade app, I get the following error.

5/9/2008 10:40:38 AM -- Executing Step 6: Move existing files into centralized storage
5/9/2008 10:40:38 AM -- Upgrading file galleries
5/9/2008 10:40:38 AM -- Moved 0 of 0 files into centralized storage
5/9/2008 10:40:38 AM -- Upgrading photo galleries
5/9/2008 10:40:49 AM -- EXCEPTION: Object reference not set to an instance of an object.
   at CommunityServer.Upgrader.FileUpgrader.UpgradePhotoGalleries()
   at CommunityServer.Upgrader.Part4.MoveFilesToCfs()

Looking at the SQL profiler trace, the last thing executed was:

SELECT s.SettingsID, pa.SectionID, pa.PostID, pa.FileName, pa.Content FROM cs_PostAttachments pa INNER JOIN cs_Sections s on pa.SectionID = s.SectionID WHERE IsRemote = 0 AND pa.SectionID IN (SELECT SectionID FROM cs_Sections WHERE ApplicationType = 2)

Running that statement gets me back the list of photos on the site. 

Any thoughts on what can be causing this?

--
--Jeff (ATGi)
  • | Post Points: 20
Top 500 Contributor
Male
Posts 65
Points 1,015
CS Developers

It's possible you have some dangling files in your CS database. Try running the script from this blog post (http://windowscoding.com/blogs/blake/archive/2008/04/27/how-to-delete-dangling-files-from-a-community-server-database.aspx) and then re-run the upgrade and let us know the results.

 

  • | Post Points: 20
Top 50 Contributor
Posts 332
Points 4,960
Partners
jeffesp replied on Wed, May 14 2008 1:04 PM

 I'm up and running in 08 at this point.  Thanks for the help.

--
--Jeff (ATGi)
  • | Post Points: 20
Top 500 Contributor
Male
Posts 65
Points 1,015
CS Developers

So did running that script help, or did you do something else?

  • | Post Points: 20
Top 50 Contributor
Posts 332
Points 4,960
Partners
jeffesp replied on Wed, May 14 2008 1:41 PM

The best I can tell there was an error when I copied the 2008 Web files into the 2007 web dir.  Once I copied the 2008 files again it worked.  I verified that the new 2008 files were there before recopying them, so I don't know what was different.

--
--Jeff (ATGi)
  • | Post Points: 5
Page 1 of 1 (5 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com