Using the Web Installer, I've upgraded my database twice. My first pass took a few tries to get everything setup correctly, but then I restored the database and re-ran the migration.
Currently, my website doesn't come up. It just shows the followinng error. I've searched the forums for references to MediaGallerySqlDataProvider and SqlDataProvider, but the matches don't appear to match my problem.
My server is running Windows 2003 SP2 with .Net 2 SP1.
This IIS site is in a dedicated Application Pool set to .net v2.
The site was previously running CS 2007.1.
I do not believe there were any errors in the upgrade log.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.TypeLoadException: Could not load type 'CommunityServer.Data.MediaGallerySqlDataProvider' from assembly 'CommunityServer.SqlDataProvider, Version=4.0.30414.1743, Culture=neutral, PublicKeyToken=null'.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [TypeLoadException: Could not load type 'CommunityServer.Data.MediaGallerySqlDataProvider' from assembly 'CommunityServer.SqlDataProvider, Version=4.0.30414.1743, Culture=neutral, PublicKeyToken=null'.] System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +78 System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58 System.Type.GetType(String typeName) +48 CommunityServer.Components.DataProviders.CreateInstance(Provider dataProvider) +49 CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider.CreateDefaultCommonProvider() +71 CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider..cctor() +30 [TypeInitializationException: The type initializer for 'CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider' threw an exception.] CommunityServer.MediaGalleries.Components.MediaGalleryPosts.GetMediaGalleryPosts(MediaGalleryThreadQuery query, Boolean cacheable, Boolean isAggregate) +166 CommunityServer.MediaGalleries.Controls.MediaGalleryPostList.get_DataSource() +605 System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +261 System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e) +16 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +9 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4301 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[TypeLoadException: Could not load type 'CommunityServer.Data.MediaGallerySqlDataProvider' from assembly 'CommunityServer.SqlDataProvider, Version=4.0.30414.1743, Culture=neutral, PublicKeyToken=null'.] System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +78 System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58 System.Type.GetType(String typeName) +48 CommunityServer.Components.DataProviders.CreateInstance(Provider dataProvider) +49 CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider.CreateDefaultCommonProvider() +71 CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider..cctor() +30 [TypeInitializationException: The type initializer for 'CommunityServer.MediaGalleries.Components.MediaGalleryDataProvider' threw an exception.] CommunityServer.MediaGalleries.Components.MediaGalleryPosts.GetMediaGalleryPosts(MediaGalleryThreadQuery query, Boolean cacheable, Boolean isAggregate) +166 CommunityServer.MediaGalleries.Controls.MediaGalleryPostList.get_DataSource() +605 System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +261 System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e) +16 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +9 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4301
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Can you ensure that you've successfully copied all the files into the bin directory on your website. I'd suggest that you delete your current one and then reupload all the bin files from a fresh download.
Community Server Documentation
Nintendo Wiikly
An upgrade to CS2008 cant be done with the "web installer" there is a special upgrade applicaiton we wrote to accomplish this (as moving posts to the new CFS and other changes requires more than just SQL access... Please ensure that you use the upgrade tool and follow the instructions. The upgrade tool is availabe with the edition titled "Community Server 2008, Upgrade"
Dan
I'm sorry for the confusion. I did use the upgrade tool with the upgrade version "Community Server 2008, Upgrade".
I'm re-downloading to replace the binaries.
I got my site to work.
I downloaded the Web Install assuming it would be a smaller download.
In the fresh download, I noticed that the modified date on the DLLs is April 17. My previous download shows April 14.
I also noticed that there are 32 DLL files in the Web Installer BIN folder and only 28 DLL files in the Upgrade BIN folder.
These are the four extra files that are in the Web Installer BIN folder : CommunityServer.Points.dll, CookComputing.XmlRpcV2.dll, RSS.NET.dll, Telligent.CommunityServer.Metadata.Extractor.dll.
I downloaded another copy of the Upgrade Installer and while the BIN files are newer (April 17), there are still only 28 files in the BIN folder.
Thanks for your help.
It seems there are other files that are in the Web-Install version that are not in the Upgrade version
I did a windiff of a fresh download of Web and Upgrade versions and it looks like there are a couple hundred files (677 by one count) in the Web Install that are not in the Upgrade Install.
I'm not sure if there is a reason for this, but this does explain why I saw some blank image holders while poking around the new control panel.
This is correct. The upgrade contains only the files that have changed since 2007.1. This way you only need to overwrite the files that have changed, making it a little easier to upgrade things.
Thanks,
Wyatt Preul
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com