Register   Login
     
  Latest Posts  
Server Time Issue?
by JoeyJ248 on 3/18/2010 8:33 AM
RE: Multiple images in RSS feed
by swebster on 3/18/2010 7:58 AM
RE: NA Latest - Template question
by spirit on 3/18/2010 7:45 AM
RE: News Article Detail and Lightbox
by spirit on 3/18/2010 7:40 AM
RE: Tags and Filtering
by spirit on 3/18/2010 7:38 AM
is there away to make Feedback Center more custom?
by msmall on 3/18/2010 7:38 AM
RE: Tags and Related Articles
by spirit on 3/18/2010 7:30 AM
Two Items for Consideration
by tknman0700 on 3/18/2010 7:00 AM
RE: RSS Character Limitation
by greenflash on 3/18/2010 6:45 AM
RE: Order by dropbox ?
by smcculloch on 3/18/2010 6:31 AM
  Forums  
Subject: Parameter count does not match Parameter Value count.
Prev Next
You are not authorized to post a reply.

Author Messages
murcelUser is Offline

Posts:0

11/13/2007 5:47 AM  

Dear Scot,

since i updated to the newest simplegallery, i got alot of erros:

Parameter count does not match Parameter Value count.

lof shows:

ModuleId: 1772
ModuleDefId: 188
FriendlyName:
ModuleControlSource: DesktopModules/SimpleGallery/Gallery.ascx
AssemblyVersion: 04.07.00
PortalID: 25
PortalName: Iwweroer Weihnachtsmarkt
UserID: -1
UserName:
ActiveTabID: 748
ActiveTabName: Bildergalerie
RawURL: /Bildergalerie/tabid/748/galleryType/SlideShow/ItemID/3695/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f94f91a2-79fd-47fd-97f4-305769753e40
InnerException: Parameter count does not match Parameter Value count.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DnnForge.SimpleGallery.SqlDataProvider.ListPhoto(Int32 moduleID, Int32 albumID, Boolean isApproved, Int32 maxCount, Boolean showAll) at DnnForge.SimpleGallery.Entities.PhotoController.List(Int32 moduleID, Int32 albumID, Boolean isApproved, Int32 maxCount, Boolean showAll) at DnnForge.SimpleGallery.Entities.PhotoController.List(Int32 moduleID, Int32 albumID, Boolean isApproved) at DnnForge.SimpleGallery.SlideShow.BindNav() at DnnForge.SimpleGallery.SlideShow.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server-Name: S15228484

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


11/13/2007 6:05 AM  
Hmm, I notice this is the google bot, it doesn't occur when viewing the slideshow?

Scott McCulloch
Site Administrator
murcelUser is Offline

Posts:0

11/13/2007 6:33 AM  

No, it's not google (not alone i mean).

I can see the front page of the gallery. As soon as i tried to access an album, the error occurs.

Or if i go to the settings. e.g. album properties, same error.

 

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


11/13/2007 1:46 PM  
When you upgraded, did you get any errors in the installation? It looks like the stored procedures and what the code is expecting is out of synch.

Scott McCulloch
Site Administrator
murcelUser is Offline

Posts:0

11/13/2007 2:27 PM  
Dear Scott,
yes there was a error, but i didn't take it in consideration to the error with simplegallery.
When installing the module, the error was s.th. like:

The ScriptManager must appear before any controls that need it.
murcelUser is Offline

Posts:0

11/13/2007 2:32 PM  
Dear Scott,

now i disabled the module on all sites, and tried to install sg another time - and it was installing without a error and the gallery is working without any troubles.

Sorry to disturbing..
Marc
murcelUser is Offline

Posts:0

11/27/2007 2:52 PM  
Dear Scott,
again i tried updating to latest release of sg and the error comes up:

The control with ID 'ModuleDefinitions_UP' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; iOpus-I-M; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4664048f-0f8e-4a65-b687-42746aaaeb47
InnerException: The control with ID 'ModuleDefinitions_UP' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.UpdatePanel.get_ScriptManager
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The control with ID 'ModuleDefinitions_UP' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. ---> System.InvalidOperationException: The control with ID 'ModuleDefinitions_UP' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. at System.Web.UI.UpdatePanel.get_ScriptManager() at System.Web.UI.UpdatePanel.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:
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


11/27/2007 3:00 PM  
That doesn't look like an error with simple gallery, but an error on the module definitions page relating to itself using ajax? Can you install/upgrade other modules?

Does this occur on the main simple gallery page? In module definitions? (I assumed module definitions)

Scott McCulloch
Site Administrator
murcelUser is Offline

Posts:0

11/28/2007 1:41 AM  
Dear Scott,

you are right. After some searching on this error, it seems to be an issue related to dnn 4.7 and not related to your module. Other modules have the same prob. But anyway, regardless of thi serror, the module installs (i mean i can the the version under host/modules)
Funny is, that if i change the skin on admin pages, the errror doesn't occur when i install a module
zelbi bibiUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:5

6/08/2009 9:40 AM  

I have installed the last version of SimpleGallery and this error appear.
After checking functions in the database, the function Ventrian_SimpleGallery_CountAlbums was not installed.

At the first install, it generate a runtime error :

AssemblyVersion: 5.0.1
PortalID: 0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b1a40256-2efe-4804-9f7f-a8d1a9f6a388
InnerException: Must specify valid information for parsing in the string.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Enum.Parse
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Must specify valid information for parsing in the string. ---> System.ArgumentException: Must specify valid information for parsing in the string. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at Ventrian.SimpleGallery.ViewOptions.SetVisibility() at Ventrian.SimpleGallery.ViewOptions.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Then the second install, all seems to be right, but the function CountAlbums is missed :

ModuleId: 390
ModuleDefId: 101
FriendlyName: SimpleGallery
ModuleControlSource: DesktopModules/SimpleGallery/Gallery.ascx
AssemblyVersion: 5.0.1
PortalID: 0
AbsoluteURL: /Default.aspx
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0fb10ffa-f4f3-43bf-9058-b02807de0c2a
InnerException: Parameter count does not match Parameter Value count.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at Ventrian.SimpleGallery.SqlDataProvider.ListAlbumAll(Int32 moduleID, Int32 parentAlbumID, Boolean showPublicOnly, Boolean showChildren, Int32 sortBy, Int32 sortOrder) at Ventrian.SimpleGallery.Entities.AlbumController.List(Int32 moduleID, Int32 parentAlbumID, Boolean ShowPublicOnly, Boolean showChildren, AlbumSortType sortBy, SortDirection sortDirection) at Ventrian.SimpleGallery.ViewOptions.BindAlbums() at Ventrian.SimpleGallery.ViewOptions.LoadSettings() --- End of inner exception stack trace ---

very strange .

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/09/2009 7:44 AM  
A few questions, was this a new install? Did you get any errors when installing the module?

If it was an upgrade, do you have pictures in the module? If not, can you uninstall and reinstall?

Also - can you start a new thread next time.

Scott McCulloch
Site Administrator
zelbi bibiUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:5

6/09/2009 8:02 AM  

It was a new install of the last version.

The problem was the column CreateDate in albums table, the column was not present after comparing to another website where simplegallery is working.

yes, I can start a new thread, the error message is "Parameter count does not match Parameter Value Count", so I write under this thread.

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/09/2009 8:08 AM  
If it was a new install, can you uninstall and reinstall.

Also - can you look out for any exceptions you get when installing?

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Simple Gallery > Parameter count does not match Parameter Value count.



ActiveForums 3.7