Upgrades Questions on upgrading to version 4.x.
Version 4.x > Upgrades > Not finding CMS.SettingsProvider.FeatureEnum View modes: 
User avatar
Member
Member
bluerhino_avanmeter - 3/4/2009 6:06:51 PM
   
Not finding CMS.SettingsProvider.FeatureEnum
After copying all the files over, I get the following error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'FeatureEnum' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 228: /// <param name="license">License</param>
Line 229: /// <param name="feature">Feature</param>
Line 230: public static int GetLimit(LicenseKeyInfo license, FeatureEnum feature)
Line 231: {
Line 232: if (license == null)

Source File: c:\Inetpub\wwwroot\BRWEB\App_Code\CMSModules\ImportExport\ImportExportControl.cs Line: 230


I can see FeatureEnum in the CMS.SettingsProvider.xml file, but when I use the Object Browser to take a look at the object, FeatureEnum does not show up. I'm not using the .NET 3.5 objects.

User avatar
Member
Member
bluerhino_avanmeter - 3/5/2009 1:20:16 AM
   
RE:Not finding CMS.SettingsProvider.FeatureEnum
FIXED

I was using the CustomSecurityHandler and was using a reference to CMS.SettingsProvider. Once I updated that the site worked.