Simon
Nuker Posts:13
|
02/03/2010 8:39 AM |
|
Help!!!
I removed some rogue lines referring to skins that were not installed from the SQL tables skin & skin packages of DNN 5.2.2.
Now I cannot access Host>Extensions and receive the error 'Object reference not set to an instance of an object'.
Can you advise on how to debug this -
I need to either fix this error or figure which table is referring to the skin table lines I have deleted and repair this.
Simon Angel aka The MobieGuru |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/03/2010 8:44 AM |
|
Yikes. This might be a tough one. Does the Event Log show you more details to identify the code that is failing? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Simon
Nuker Posts:13
|
02/03/2010 9:04 AM |
|
What follows is the detail from the event log - not sure if it helps. ***** AssemblyVersion: 5.2.2 PortalID: 0 PortalName: Case For Change UserID: 1 UserName: hostadmin ActiveTabID: 36 ActiveTabName: Extensions RawURL: /dnn/tabid/36/portalid/0/Default.aspx AbsoluteURL: /dnn/Default.aspx AbsoluteURLReferrer: UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; FDM; InfoPath.3) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 98e13ef7-3d0c-4527-9f49-4ddbd6fdcae7 InnerException: Object reference not set to an instance of an object. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: DotNetNuke.Services.Installer.Packages.PackageController.CanDeletePackage StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.Packages.PackageController.CanDeletePackage(PackageInfo package, PortalSettings portalSettings) at DotNetNuke.Modules.Admin.Extensions.Extensions.grdPackages_ItemDataBound(Object sender, DataGridItemEventArgs e) at System.Web.UI.WebControls.DataGrid.OnItemDataBound(DataGridItemEventArgs e) at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at DotNetNuke.Modules.Admin.Extensions.Extensions.BindGrid() at DotNetNuke.Modules.Admin.Extensions.Extensions.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- Source: Server Name: AOT-WEBHOST001 |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/03/2010 9:23 AM |
|
Like I said, this one is tough. There error messages refer to DataGrid and related items. Not sure if that helps.
Do any pages in your site load? Can you get to any host or admin pages?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Simon
Nuker Posts:13
|
02/03/2010 9:26 AM |
|
The only page that does not load is Host>Extensions. Everything else is working fine |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/03/2010 9:30 AM |
|
If you are not using a standard skin, you might want to switch the site to Minimal Extropy to see if that helps. Otherwise, I'm not sure what to suggest. Do you remember what you deleted?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Simon
Nuker Posts:13
|
02/03/2010 9:32 AM |
|
DNN360 Skins & Containers |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/03/2010 9:42 AM |
|
Yes, try Minimal Extropy. If that works, you should try to uninstall the DNN360 skin and then reinstall it.
(I suppose that I don't have to tell you now, but you should always make a backup of your database before doing something like that.)
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Simon
Nuker Posts:13
|
02/03/2010 10:03 AM |
|
you are of course quite correct however.... I forgot to practice what I preach!! I'll let you know how I get on |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/03/2010 10:09 AM |
|
I think that's a sin of which we all are guilty.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Simon
Nuker Posts:13
|
02/03/2010 10:10 AM |
|
Fantastic!! - logic works - did a Mode=InstallResources to re-install the skins & containers and it has come back - now all I have to do is clean up! |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
|
Simon
Nuker Posts:13
|
02/03/2010 10:54 AM |
|
BTW - I still have an issue (now) of 4 skins and 4 containers that are not in use anywhere, however DNN will not let me delete them. I recognise that other people have had similar issues before but wondered if you have any clues or ideas about how I can clean this up? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/04/2010 11:10 PM |
|
If DotNetNuke won't delete them because it thinks that they are being used, you might want to look around. Check for pages in the recycle bin, or for hidden pages.
If you have access to the web directory, just delete the skin directories that you don't want. You'll eventually find the pages that referred to them, and you can assign a current skin.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|