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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackInstall problemInstall problem
Previous
 
Next
New Post
3/18/2007 5:31 PM
 

I upgraded to DNN version 4.1.1 last week, everything went swimmingly however i got this error when i tried to install the new feedback module (04.04.01):

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_ModuleSettings'. Cannot insert duplicate key in object 'ModuleSettings'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) declare @countitems int select @countitems = count(SettingName) from dbo.[ModuleSettings] where SettingName = 'rows' if @countitems > 0 begin update dbo.[ModuleSettings] set SettingName = 'Feedback_Rows' where SettingName = 'rows' end

The error occurs during the Info Executing 04.04.01.SqlDataProvider
StartJob Start Sql execution: 04.04.01.SqlDataProvider file phase of installation,
When i use the new module an email is sent to the administrator but not the user. I guess this is something to do with the installation error?

Cheers, Ben

 
New Post
3/26/2007 8:44 PM
 

Seem to have cured my installation woes. However, when i test the form an email gets sent to the admin but not the user still.

Any suggestions would be appreciated.

Ben

 
New Post
3/28/2007 2:36 PM
 

What options have you checked on the administration page of the feedback module? Do you have an email address setup to which the feedback is supposed to be sent? Have you checked the option to send the feedback to the submitter too?
Sanjay

PS - what fixed your installation woes? It would be helpful to others if they come across the same issue

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
3/28/2007 5:51 PM
 

Hey Guys,

Sorry i didn't explain my problem before. Let me shed some light. Basically there were two stages i went through in order to get the module working.

My first problem occured during the installation (error above), to remedy this i uninstalled the module, and hunted for every instance in the ModuleSettings table for the feedback module and in particular "Feedback_Rows", i found there were references to older versions that i had already uninstalled and references to old wrapper modules that i had long since deleted that contained the feedback module.

With all references of the module now deleted i installed the module again and hey presto...installed fine with no SQL error. .

Moving on, the second problem i had was the module was sending an email to the administrator but not to the user after the form was submitted. All admin settings were correct i.e. Sendto had the right address and the Send Copy box was ticked, but still no luck. I thought i had exhausted all paths when i decided to investigate my SMTP server configuration (Host Settings > Advanced Settings > SMTP Server Settings).

I have direct access to the SMTP server (through IIS) as well so i verified the server wasn't blocking 'relayed' messages from my web site...all was good. Then i checked that the port was open...again all good. Finally i replaced the mail server address (smtp.domain.co.nz) with "localhost" in the SMTP Server text box and now it all works fine, emails now get sent to both admin and the user.

Hope this helps...i know i have gone round the houses abit but its working now!!

Ben

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackInstall problemInstall problem


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