Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsedit documents in document moduleedit documents in document module
Previous
 
Next
New Post
1/15/2010 4:47 AM
 

Hi,

When i try to edit a document in the document module i get an error. it doesn't matther wich field i change i always get the error. 
Here is the error copied from the event viewer. incl all the details. 

Someone any idea why i get this error? 

grtzz, 
 

 

ModuleId: 381
ModuleDefId: 128
FriendlyName: 
ModuleControlSource: DesktopModules/Documents/EditDocs.ascx
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: Intranet Stad Deinze
UserID: 1
UserName: hostsuperuser
ActiveTabID: 57
ActiveTabName: Documenten
RawURL: /intranet/Documenten/tabid/57/ctl/Edit/mid/381/ItemID/11/language/en-US/Default.aspx
AbsoluteURL: /Intranet/Default.aspx
AbsoluteURLReferrer: http://srvintr/intranet/Documenten/tabid/57/ctl/Edit/mid/381/ItemID/11/language/en-US/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: bc2852c3-b9d6-4d1b-adc0-ddca6767bcf4
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.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Documents.SqlDataProvider.UpdateDocument(Int32 moduleId, Int32 ItemId, String Title, String URL, Int32 UserId, Int32 OwnedByUserID, String Category, Int32 SortOrderIndex, String Description) at DotNetNuke.Modules.Documents.DocumentController.UpdateDocument(DocumentInfo objDocument) at DotNetNuke.Modules.Documents.EditDocs.Update(Boolean Override) --- End of inner exception stack trace ---
Source: 
Server Naam: SRVINTR

 

 
New Post
1/16/2010 1:32 PM
 

There appears to be a mismatch in the versions of the Documents module assembly (DotNetNuke.Modules.Documents.dll) in the site's /bin folder and the stored proceedure (UpdateDocument) in the database.

Please check Host --> Module Definitions or Host --> Extensions to see what version of the document module is installed and also check the version of the DotNetNuke.Modules.Documents.dll in the \bin folder. The most recent version should be 04.0.0.0 for the dll file and 04.01.00 for the module definition. NOTE: I was surprised to see 04.0.0.0 for the dll but checked both the install and source module packages as well as those included in the 5.01.04 DNN framework packages to confirm the dll version number.

If you find an earlier Documents module version number is installed,  I would suggest installing the most recent 04.01.00 version. If the the Documents module version number installed is already 04.01.00, I would also suggest installing the most recent 04.01.00 version but with the "Repair" option checked.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/18/2010 2:58 AM
 

 i've checked the dll version, this was already 04.0.0.0, the version of the module is 04.01.00.
i've reinstalled the module with the option 'repair' checked.

but it didn't work, the problem is still there... 

 

 
New Post
1/18/2010 9:20 AM
 

If you have access to the database via MS SQL Server Management Studio or similar tool, please post the SQL code for the UpdateDocument stored proceedure.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/18/2010 9:27 AM
 

 I have acces to the database,

this is the sql code i've found:


 



USE [DotNetNuke]

GO

/****** Object:  StoredProcedure [dbo].[UpdateDocument]    Script Date: 01/18/2010 15:25:27 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

 

 

ALTER PROCEDURE [dbo].[UpdateDocument]

 

@ItemId           INT,

@Title            nvarchar(150),

@URL              nvarchar(250),

@UserId           INT,

@Category         nvarchar(50),

@OwnedByUserID    INT,

@SortOrderIndex   INT, 

@Description      nvarchar(255)

AS

UPDATE dbo.Documents

SET    Title             = @Title,

       URL               = @URL,

       Category          = @Category,

       OwnedByUserID     = @OwnedByUserID,

       ModifiedByUserID  = @UserId,

       ModifiedDate      = getdate(),

       SortOrderIndex    = @SortOrderIndex,

       Description       = @Description

WHERE  ItemId = @ItemId

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsedit documents in document moduleedit documents in document 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