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 ...I clicked on Banner-site it site settings, now my entire site crashedI clicked on Banner-site it site settings, now my entire site crashed
Previous
 
Next
New Post
4/10/2006 10:57 AM
 

Here is the error message I am getting. I can't get to any page on the site now to log in and make changes, or view my site.

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: The stored procedure 'dbo.dnn_FindBanners' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.dnn_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.UI.Skins.Controls.Banner.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
4/10/2006 11:21 AM
 

Is this stored procedure in your database? dnn_FindBanners or is it called FindBanners? Did you use a object qualifier when you set up DNN in your web.config. If so, maybe the installation didn't prefix the database objects with the object qualifier.

If it does, maybe make sure your user that connects to the db in the web.config file has appropriate permissions to all db objects in the database.

 
New Post
4/10/2006 8:06 PM
 

Well, the site is hosted by godaddy.com. I ran the install script from godaddy's control panel. My only option when installing DNN was the directory to load it to. I cannot see that directory at all through FTP, or through the control panel on godaddy, (I also cannot see the db). So, I cannot figure out how to do anything within that directory without being able to log into DNN now.

Thanks for anything you can do to help.

Jim

 
New Post
4/24/2006 11:40 PM
 

Jim,

I am having the same issue. I have contacted support and escalated my case (Incident#525189) and am waiting for a response from GoDaddy.com's support team. I have a local installation of DNN 4.0.2 and have provided GoDaddy Support with the script to create the missing stored procedure.

/*<<SCRIPT>>*/

/****** Object:  StoredProcedure [dbo].[dnn_FindBanners]    Script Date: 04/24/2006 21:42:46 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[dnn_FindBanners]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[dnn_FindBanners]
Go


SET ANSI_NULLS ON
Go
SET QUOTED_IDENTIFIER ON
Go


CREATE PROCEDURE dbo.dnn_FindBanners
 @PortalId     int,
 @BannerTypeId int,
 @GroupName    nvarchar(100)
AS

 SELECT  BannerId,
  dnn_Banners.VendorId,
  BannerName,
  URL,
  'ImageFile' = case when dnn_Files.FileName is null then dnn_Banners.ImageFile else dnn_Files.Folder + dnn_Files.FileName end,
  Impressions,
  CPM,
  dnn_Banners.Views,
  dnn_Banners.ClickThroughs,
  StartDate,
  EndDate,
  BannerTypeId,
  Description,
  GroupName,
  Criteria,
  dnn_Banners.Width,
  dnn_Banners.Height
 FROM dnn_Banners
 INNER JOIN dnn_Vendors ON dnn_Banners.VendorId = dnn_Vendors.VendorId
 LEFT OUTER JOIN dnn_Files ON dnn_Banners.ImageFile = 'fileid=' + convert(varchar,dnn_Files.FileID)
 WHERE (dnn_Banners.BannerTypeId = @BannerTypeId or @BannerTypeId is null)
 AND (dnn_Banners.GroupName = @GroupName or @GroupName is null)
 AND ((dnn_Vendors.PortalId = @PortalId) or (@PortalId is null and dnn_Vendors.PortalId is null))
 AND (dnn_Banners.StartDate is null Or getdate() >= dnn_Banners.StartDate )
 AND (  ( Criteria = 1 /* OR */
             and (dnn_Banners.Impressions >= dnn_Banners.Views Or dnn_Banners.Impressions = 0)
             and (getdate() <= dnn_Banners.EndDate or dnn_Banners.EndDate is null) )
         or ( Criteria = 0 /* AND */
             and (dnn_Banners.Impressions >= dnn_Banners.Views and dnn_Banners.Impressions <> 0)
             or  (getdate() <= dnn_Banners.EndDate and dnn_Banners.EndDate is not null) )  )
 AND  dnn_Vendors.Authorized = 1
 ORDER BY BannerId

Go

/*<<END SCRIPT>> */

If you were able to get support to resolve your problem, please reply to this post.

Thanks to all!

Gerard

 
New Post
4/26/2006 11:46 PM
 

Two options....pay them $150 to restore your site from the night before, or uninstall DNN from the control panel, reinstall and start again.

I chose to uninstall and redo the site since I was not too far into it.

Sorry about the bad news. It took me 4 days to get a straight answer from them. They did not want to install the service pack that would run the script and fix it.

Good Luck!

Jim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I clicked on Banner-site it site settings, now my entire site crashedI clicked on Banner-site it site settings, now my entire site crashed


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