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 ...banner advertising in dnn 4.0.2banner advertising in dnn 4.0.2
Previous
 
Next
New Post
12/27/2006 8:57 PM
 
I am posting here because I don't see a Banners forum.  My problem is that I changed the selection from 'none' to 'site' for banner advertising on the site settings page  and updated the page. Once the update occurred, the entire site immediately crashed.

When calling the site now I get the message ' an error has occurred'.  The error has to deal with a stored procedure that is missing.  The error message is displayed in the query string:  http://seba.springwarrior.com/Default.aspx?tabid=53&error=The+stored+procedure+'dbo.seba_FindBanners'+doesn't+exist.&content=0
The only thing that I can figure that happened is that because I didn't have a banner module already on the page, I got one great big error. 
I need to figure how to get the site back.  Can someone recommend a solution. Thanks, jb
 
New Post
12/29/2006 4:01 PM
 

I figured this out. I should have thought about this a little more before I made the post.  I am up and running!  Still doesn't change the fact that this is a bug!  I now just know to avoid it, and fix it if I accidentally do this again. jb

 
New Post
1/5/2007 7:38 AM
 
gulfpaddler wrote

I figured this out. I should have thought about this a little more before I made the post.  I am up and running!  Still doesn't change the fact that this is a bug!  I now just know to avoid it, and fix it if I accidentally do this again. jb

I spoke too soon.  I got my site back by going to host settings and turning the banners setting to none and this allowed my child portal to reappear.  I am ignoring altogether the banners set up provided through the skin and am using the banners module instead. This has been more successful in that the entire site doesn't crash now, however, I still can't get my Ad-Sense banner to display using the banners module using the banner options settings. 

To the best of my understanding there are two ways to use banners in DNN:
 
 1) by showing a banner by means of the skin setting:  none, site or host.  If  you try to use this method the site will crash in dnn 4.0.2. So let’s forget this approach.
 
2) by adding a banners module to one of the panes on a page.  Using this method, the site doesn’t crash. It displays the banner.  Actually before you assign a particular banner using the banners module option setting, the banner module displays as a normal looking empty banners module: no errors.  The error occurs when you use the banners option setting of the banners module to assign the script banner to the module. Then you get the error below.  Please see the difference at www.gulfpaddler.net  .  The home page has the error module where I am trying to display the Google Ad-sense script module, and the feedback page has an empty module with no banner assignment. 
 
 
It seems to me that the fix is to modify the stored procedure problem.  Is there someone who can provide me the code for this stored procedure? Is the DNN interface calling the wrong sp? Does it simply need to be renamed?   It seems that this would be a pretty simple patch to install.  Please let me know what you think.  Thanks, jb
 
 
 
 
 
 
Error: Banners is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.seba_FindBanners' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.seba_FindBanners' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.FindBanners(Int32 PortalId, Int32 BannerTypeId, String GroupName) at DotNetNuke.Services.Vendors.BannerController.LoadBanners(Int32 PortalId, Int32 ModuleId, Int32 BannerTypeId, String GroupName, Int32 Banners) at DotNetNuke.Modules.Admin.Vendors.DisplayBanners.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...banner advertising in dnn 4.0.2banner advertising in dnn 4.0.2


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