Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error with Banners moduleError with Banners module
Previous
 
Next
New Post
5/31/2007 8:41 AM
 

Hi,

I have got a problem with the banners module.  My site is a child portal and i am setting up vendors in the admin section.  I have added a banner to the vendor and dropped a banners module onto a page to display it.  All sounds good...

However, when i click on the banner, instead of navigating to the URL assigned to the banner, it navigates to http://localhost/dotnetnuke.

I have read another post which says to comment out the last line of the stored procedure "GetBanner"  This seems to have fixed the procedure and when executing it manually, i get the correct banner information returned.  Before the change no records were returned.  BUT, this still hasn't fixed the problem with the banner on the screen. 

I'm guessing that this is a problem with the BannerClickThrough.aspx page.  The error details from the log are as follows:

AssemblyVersion: 04.04.01
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /DotNetNuke/Admin/Vendors/BannerClickThrough.aspx?BannerId=3&VendorId=3
AbsoluteURL: /DotNetNuke/Admin/Vendors/BannerClickThrough.aspx
AbsoluteURLReferrer: http://web/dotnetnuke/hardcopy/Sections/Oracle/tabid/168/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fe0add58-ed69-44d5-8933-c698cb7ffdcd
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.GetEnabledLocales
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.Localization.Localization.GetEnabledLocales() at DotNetNuke.Framework.PageBase.get_PageCulture() at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEB

Any help on this would be greatly appreciated.

Thanks

Dave Clayton


For all your software needs.....www.softwareknowhow.info
 
New Post
6/19/2007 10:35 AM
 

Just to update people who've read this post, the problem went away on the live server.  In the development environment the problem still occurs.  On the live site it works as expected.


For all your software needs.....www.softwareknowhow.info
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error with Banners moduleError with Banners module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out