• Snowcovered.com

    Custom DNN Modules

Subject: Skin Object Error

You are not authorized to post a reply.   
Prev Next
Author Messages
JerryUser is Offline

Posts:19

05/23/2007 5:03 PM Alert 
Hi,

I'm trying to use the SEO skin object and I've followed the implementation instructions and used the Fuly Exposed Skin COntrol for the SEOMenu from the instructions.

I've noticed that others have posted similiar issues. Has there been a resolution created to fix this error. Any help is greatly appreciated.:)

Here is the following error:

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: Omaha North High
UserID: 1
UserName: host
ActiveTabID: 141
ActiveTabName: Faculty & Staff
RawURL: /high/north2/FacultyStaff/tabid/141/Default.aspx
AbsoluteURL: /HIGH/NORTH2/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.40607; .NET CLR 2.0.50727; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4882aa4a-8d1e-49c9-bd56-4a5d54e0803b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: WEC.DNN.SkinObjects.SEOMenuSkinObject.SEOMenuSkinObject.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at WEC.DNN.SkinObjects.SEOMenuSkinObject.SEOMenuSkinObject.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
DNN SEOUser is Offline

Posts:153

05/23/2007 10:15 PM Alert 
Jerry,

The fully exposed skinobject control is just a refrence to show you what it would like if no defaults were used in the program.

If you use the skinobject start with just dnn:SEOMENU runat=server id="dnnSEOMENU" only

Sebastian

Owner/Developer
DNN SEO
www.dnnseo.net
JerryUser is Offline

Posts:19

05/24/2007 11:41 AM Alert 
Hi,

I've figured out some of the issues. One, there was typos that I copied and pasted from the instructions, so I fixed those. So now I'm using all of the exposed controls per your instructions. I have also made a custom CSS style for a menu called FOV_North_Blue, which works correctly when I add an SEO Menu Module to my page.

However, I've found out to get the skinobject to see it, I have to put into the root folder of my site. When I do this, the menu style only works once I add another SEO menu module to the page with the same style.

Where do I need to but my custom CSS file for the skin object to use it without having to put another SEOMenuModule on the page?

Thanks for your help.

Jerry
JerryUser is Offline

Posts:19

05/25/2007 4:30 PM Alert 
Hi,

I've got the skinobject defaults sorted out as there 'typos' in the code that I copied and pasted from the instructions.

I actually have my custom css working, however, the CSS style only appears on the skinobject if I put another SEOMenuModule on the page and select the same custom style.

Am I supposed to copy the CSS style to the skin objects folder to make this work? Is there something else I need to customize for the skinobject style to work?

In the exposed parameters for SEOSkinObject I set the SkinStyle="MyCustomCSS.CSS" Is this the correct syntax? Does it need to include the full url to the css file?

Any help in solving this issue is very much appreciated.

Thanks
Jerry

DNN SEOUser is Offline

Posts:153

05/25/2007 4:38 PM Alert 
Here is how to refrence a css file mycustomcss.css in the portals/0 directory:

StyleSheetName="/portals/0/MyCustomCSS.CSS"

Thanks,
Sebasitan

Owner/Developer
DNN SEO
www.dnnseo.net
JerryUser is Offline

Posts:19

05/25/2007 10:38 PM Alert 
Thanks for the info. I'm on vacation, and I'll try it on Tuesday. Thank you very much for your help. I really do appreciate it. This has to be the best menu module for DNN. Keep up the great work!!!

Jerry
JerryUser is Offline

Posts:19

05/29/2007 10:18 AM Alert 
Hi,

I've tried putting /portals/0/mycss.css and I still get the following error.

It appears in the SEOMenuObject.ascx file that it's looking for a SEOMenuSkinObject.ascx.vb that is not there.

I've tried installing your latest version, 3.5.3 and I still get the same results.

Any ideas?

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: Omaha North High
UserID: 1
UserName: host
ActiveTabID: 141
ActiveTabName: Faculty & Staff
RawURL: /high/north2/FacultyStaff/tabid/141/Default.aspx
AbsoluteURL: /HIGH/NORTH2/Default.aspx
AbsoluteURLReferrer: http://www.ops.org/high/north2/FacultyStaff/tabid/141/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.40607; .NET CLR 2.0.50727; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 66b363bc-e746-4848-848f-853ba327248b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: WEC.DNN.SkinObjects.SEOMenuSkinObject.SEOMenuSkinObject.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at WEC.DNN.SkinObjects.SEOMenuSkinObject.SEOMenuSkinObject.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: TAC-DNN-01
DNN SEOUser is Offline

Posts:153

05/29/2007 11:15 AM Alert 
Jerry,

Try this:

Got to module definitions. Click the pencil next to skin objects, then click the pencil next to seomenuskinobject, then click the pencil next to the control and see if it pointing to the seomenuskinobject.ascx file.

Thanks,
Sebastian

Owner/Developer
DNN SEO
www.dnnseo.net
DNN SEOUser is Offline

Posts:153

05/29/2007 11:16 AM Alert 
If that Is fine try removing the first backslash from the

StyleSheetName="/portals/0/MyCustomCSS.CSS"

to make it

StyleSheetName="portals/0/MyCustomCSS.CSS"

Thanks,

Sebastian

Owner/Developer
DNN SEO
www.dnnseo.net
JerryUser is Offline

Posts:19

05/29/2007 11:20 AM Alert 
Hi,

The source says that it is pointing to DesktopModules/SEOSkinObject/SEOMenuSkinObject.ascx

and I removed the first slash and the error went away, but it's still not showing my custom css style.

Jerry
JerryUser is Offline

Posts:19

05/29/2007 11:46 AM Alert 
Hi,

The error I receive now is the SEOMenuSkionObject.ascx.vb was not found.

Thanks for all your help.
DNN SEOUser is Offline

Posts:153

05/29/2007 12:04 PM Alert 
Could you give me the website in refreence and I will register and you can give me admin access to make sure everything is all right?

You can email me at dnnguru@dnnseo.net if need be...

Owner/Developer
DNN SEO
www.dnnseo.net
You are not authorized to post a reply.
Forums > SEOMenu > Code Errors > Skin Object Error



ActiveForums 3.6
Login  |  Privacy Statement  |  Terms Of Use  |  Copyright 2006 by DNN SEO