I've Broken Enterprise Already

I've Broken Enterprise Already

This question is answered

I was trying to add custom fields to the user profiles. When I added the second one, the add a field modal returned a page not found error. When I got our of the modal, it appeared the field had been added four times. I tried to delete it and next thing I know I get:

Sorry, there was a problem with your last request!

Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.

Here's the event error:

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 12/8/2009 4:42:21 PM

Event time (UTC): 12/8/2009 10:42:21 PM

Event ID: cea9cfc5db76455b8a3022f61a6e9964

Event sequence: 2269

Event occurrence: 1

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/1/ROOT-4-129047762442100587

Trust level: Full

Application Virtual Path: /

Application Path: E:\Onlifeconnection\

Machine name: PROD-INTRA01

 

Process information:

Process ID: 176364

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.

 

Request information:

Request URL: http://onlifeconnection.com/controlpanel/membership/fields.aspx

Request path: /controlpanel/membership/fields.aspx

User host address: 10.243.9.52

User: ddickey

Is authenticated: True

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 5

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at CommunityServer.Components.UserProfileService.GetProfileField(String internalName)

at CommunityServer.Components.UserProfileData.GetValueInternal(String propertyName, String defaultValue)

at Telligent.DynamicConfiguration.Components.ConfigurationDataBase.GetValue(Property property)

at Telligent.DynamicConfiguration.Components.ConfigurationDataBase.GetValue(String propertyName, String defaultValue)

at Telligent.DynamicConfiguration.Components.ConfigurationDataBase.GetStringValue(String propertyName, String defaultValue)

at CommunityServer.Components.Profile.get_Language()

at CommunityServer.Components.ResourceStrings.Get(String name)

at CommunityServer.Components.ResourceStrings.GetString(String name, String fileName, Boolean defaultOnly)

at CommunityServer.Components.ResourceManager.GetString(String name)

at CommunityServer.Controls.CSConfirmationPage..ctor()

at CommunityServer.ControlPanel.UI.PanelPage..ctor(ISecurityService securityService)

at CommunityServer.ControlPanel.UI.PanelPage..ctor()

at CommunityServer.ControlPanel.Membership.Fields..ctor()

at ASP.controlpanel_membership_fields_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\437e5ccb\b10be5d4\App_Web_uyxblazp.3.cs:line 0

at __ASP.FastObjectFactory_app_web_uyxblazp.Create_ASP_controlpanel_membership_fields_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\437e5ccb\b10be5d4\App_Web_uyxblazp.11.cs:line 0

at System.Web.Compilation.BuildResultCompiledType.CreateInstance()

at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)

at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

I tried to run debugger on /controlpanel/membership/fields.aspx file and got:

 

Verified Answer
  • I fixed this. I accessed the database directly. The problem was in the dbo.cs_Profile_Fields table. I removed the repeated fields from the system hiccup. The site loads perfectly now. Yea me!

All Replies
  • I fixed this. I accessed the database directly. The problem was in the dbo.cs_Profile_Fields table. I removed the repeated fields from the system hiccup. The site loads perfectly now. Yea me!