omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 8:50 AM |
|
I posted this over on the DNN forums, but as usual get little to no response. I'm hoping someone here can help me out with this. Howdy,
I'm getting the following error when I attempt to access the skin menu under host.
A critical error has occurred.
Object reference not set to an instance of an object.
I'm running version 5, upgraded from 4.8.3. I attempted to install a
new skin that I created. It would not upload properly at first saying
it could not find blahblah/portal/_default/temp/something I have not
really seen this before. So I checked to see if there was anything
there and it was empty.
I eventually got the skin to upload properly but now I'm getting this error and nothing is showing up. Any ideas? Here is a link to the original post: http://www.dotnetnuke.com/Community...fault.aspxThis also affects the extensions menu, as well as does not remove the skins menu from under admin. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
01/30/2009 11:37 AM |
|
Can you look in the Event Viewer and post the complete details for the error? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 11:49 AM |
|
Posted By jncraig on 30 Jan 2009 11:37 AM Can you look in the Event Viewer and post the complete details for the error? Sure, totally forgot about that  I X'd out the sensitive stuff. But this looks like it definately relates to the skins. 1/30/2009 12:42:36 PM
Page Load Exception
XXXXX
AssemblyVersion: 05.00.00; PortalID: 0; PortalNa ...
AssemblyVersion: 05.00.00 PortalID: 0 PortalName: XXXXX UserID: 1 UserName: sAdmin ActiveTabID: 35 ActiveTabName: Skins RawURL: /tabid/35/portalid/0/Default.aspx AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://dev.culpepercounty.gov/Admin...fault.aspx UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: a0996ff7-f7c0-4d1b-88bd-1aa25f7205f6 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: XXXXX
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
01/30/2009 12:02 PM |
|
Yes, and about the only other thing that I can divine out of that message is the reference to a CanDeletePackage method. Presumably this has to do with the skin that you tried to delete. Do I understand that you can't get to the Skins menu entry on the Host menu? (You'll also note that there is no Skins item on the Admin menu. This, I believe, is because only host is allowed to install skins in DotNetNuke 5) If you want to take more drastic action, that might get back some control, you can do into the web directory and delete the folder that contains the skin that you tried to install. That should force DotNetNuke to load the default skin. Then you should have your management pages back. When testing a new skin for the first time, it's often a good idea to make a test page (visible to admins only) and apply the skin to that page. If it fails, is shouldn't bring down the site. When it works, you can then apply it to the site. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 12:07 PM |
|
Posted By jncraig on 30 Jan 2009 12:02 PM Yes, and about the only other thing that I can divine out of that message is the reference to a CanDeletePackage method. Presumably this has to do with the skin that you tried to delete. Do I understand that you can't get to the Skins menu entry on the Host menu? (You'll also note that there is no Skins item on the Admin menu. This, I believe, is because only host is allowed to install skins in DotNetNuke 5) If you want to take more drastic action, that might get back some control, you can do into the web directory and delete the folder that contains the skin that you tried to install. That should force DotNetNuke to load the default skin. Then you should have your management pages back. When testing a new skin for the first time, it's often a good idea to make a test page (visible to admins only) and apply the skin to that page. If it fails, is shouldn't bring down the site. When it works, you can then apply it to the site. I'm at the default skin now and deleted the offending skins folder. Although it isn't only the skins page that doesn't load but the Extensions menu also under Host. (Error below) However under Admin it loads but it includes the deleted skins and I can't get rid of it from there. I wonder if that is an issue? How do you delete an extension, that doesn't exist? AssemblyVersion: 05.00.00 PortalID: 0 PortalName: XXXXX UserID: 1 UserName: sAdmin ActiveTabID: 411 ActiveTabName: Extensions RawURL: /tabid/411/portalid/0/Default.aspx AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://dev.culpepercounty.gov/Admin...fault.aspx UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: fad77945-ac05-4eb1-a9d2-803ef0f6ad60 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: XXXXX
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 12:14 PM |
|
Thanks Joe I appreciate it, at least it was more than I got on the main DNN forums they drive me nuts at times. |
|
|
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 12:14 PM |
|
Is there a way to manually delete an Extension? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
01/30/2009 12:53 PM |
|
With DNN 4, deleting the folder usually does the trick.
I don't have enough experience with version 5 to answer knowledgeably, I'm afraid.
Have you tried looking at the extensions page and deleting from there?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 12:56 PM |
|
Unfortunately the Extensions doesn't give me an option to delete them. Which I find quite odd to say the least, but that is how it was designed apparently. This is my testing environment so its a good thing I am doing it here instead of a live site.  |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
01/30/2009 1:05 PM |
|
Yes ... to the test environment.
In my DNN5 testbed, there are lots of red Xs next to installed extensions. Some cannot be installed, but it seems that most of them are items that should not be installed.
Are you in Culpepper County, VA? (If so, you should have come to our last user group meeting. In February, Tom Kraack will tell us all about DotNetNuke and SEO.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 1:13 PM |
|
I am actually, which user group meeting? Dnnlocal? I was at the last one looking forward to the next one of that. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
01/30/2009 1:25 PM |
|
I was referring to the Capital DotNetNuke User Group (capitaldug.org), which meets in the Tysons Corner area.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
omorgan
 Nuke Active Member Posts:27

 |
01/30/2009 1:26 PM |
|
I thought so after I posted it, I need to get to one of those it has been a while since I signed up on the website and I still haven't had a chance to go. |
|
|
|
|
omorgan
 Nuke Active Member Posts:27

 |
02/09/2009 1:45 PM |
|
I've also noticed today that it is affecting Portal Alias' under the Admin menu. |
|
|
|
|