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 ...Issue with send mail after registration!Issue with send mail after registration!
Previous
 
Next
New Post
10/8/2012 3:14 AM
 

Anyone facing an issue with registration. I'm getting an error has occurred after registration, but the user is being registered.

I have seen the log it seems it has something to do with send mail  in manageusers. I have tested the smtp setting and they seem to be working fine. I'm using dnn 6.2.3.

The following is the error log:

<LogProperties><LogProperty><PropertyName>ModuleId</PropertyName><PropertyValue>6277</PropertyValue></LogProperty><LogProperty><PropertyName>ModuleDefId</PropertyName><PropertyValue>75</PropertyValue></LogProperty><LogProperty><PropertyName>FriendlyName</PropertyName><PropertyValue>User Registration</PropertyValue></LogProperty><LogProperty><PropertyName>ModuleControlSource</PropertyName><PropertyValue>DesktopModules/Admin/Security/ManageUsers.ascx</PropertyValue></LogProperty><LogProperty><PropertyName>AssemblyVersion</PropertyName><PropertyValue>6.2.3</PropertyValue></LogProperty><LogProperty><PropertyName>PortalID</PropertyName><PropertyValue>8</PropertyValue></LogProperty><LogProperty><PropertyName>PortalName</PropertyName><PropertyValue>Abu Dhabi Education Council</PropertyValue></LogProperty><LogProperty><PropertyName>UserID</PropertyName><PropertyValue>-1</PropertyValue></LogProperty><LogProperty><PropertyName>UserName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>ActiveTabID</PropertyName><PropertyValue>2854</PropertyValue></LogProperty><LogProperty><PropertyName>ActiveTabName</PropertyName><PropertyValue>User Profile</PropertyValue></LogProperty><LogProperty><PropertyName>RawURL</PropertyName><PropertyValue>/UserProfile/tabid/2854/language/en-US/Default.aspx?returnurl=http%3a%2f2fMainPage%2ftabid%2f1436%2flanguage%2fen-US%2fDefault.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURL</PropertyName><PropertyValue>/Default.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>AbsoluteURLReferrer</PropertyName><PropertyValue>mysite/UserProfile/tabid/2854/language/en-US/Default.aspx?returnurl=mysite%2fMainPage%2ftabid%2f1436%2flanguage%2fen-US%2fDefault.aspx</PropertyValue></LogProperty><LogProperty><PropertyName>UserAgent</PropertyName><PropertyValue>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1</PropertyValue></LogProperty><LogProperty><PropertyName>DefaultDataProvider</PropertyName><PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue></LogProperty><LogProperty><PropertyName>ExceptionGUID</PropertyName><PropertyValue>0bfca4ec-27b1-4292-9023-12ec796513be</PropertyValue></LogProperty><LogProperty><PropertyName>InnerException</PropertyName><PropertyValue>Object reference not set to an instance of an object.</PropertyValue></LogProperty><LogProperty><PropertyName>FileName</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>FileLineNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>FileColumnNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>Method</PropertyName><PropertyValue>DotNetNuke.Services.Mail.Mail.SendMail</PropertyValue></LogProperty><LogProperty><PropertyName>StackTrace</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>Message</PropertyName><PropertyValue>DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings)

   at DotNetNuke.Entities.Modules.UserModuleBase.CompleteUserCreation(UserCreateStatus createStatus, UserInfo newUser, Boolean notify, Boolean register)

   at DotNetNuke.Modules.Admin.Users.ManageUsers.UserCreateCompleted(Object sender, UserCreatedEventArgs e) in e:\wwwroot\Acknowledgev3\DesktopModules\Admin\Security\ManageUsers.ascx.cs:line 1044

   --- End of inner exception stack trace ---</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>

 

 

 
New Post
10/8/2012 9:33 AM
 

come on people, no one knows where this error is coming from?

The strange thing is, this appeared after i batch loaded some users using UserImporter. 

I checked this post but it doesn't seem like my case, although the userImporter sets the ProfileDefinitionIDs to the default instead of using the specified Portal ProfileDefinitionIDs, Which i rectified in my db.

But what could be causing this problem???

I'm also seeing this in my event log , which query is returning more than one result???

AssemblyVersion 6.2.3 PortalID -1 PortalName UserID -1 UserName ActiveTabID -1 ActiveTabName RawURL AbsoluteURL AbsoluteURLReferrer UserAgent DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID 5cb26fe4-de13-4625-84e1-d3d96c4b0b7e InnerException Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

The statement has been terminated. FileName FileLineNumber 0 FileColumnNumber 0 Method System.Data.SqlClient.SqlConnection. StackTrace Message System.Data.SqlClient.SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

The statement has been terminated.

   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)

   at System.Data.SqlClient.SqlInternalConnection. (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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)

   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)

   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues)

   at DotNetNuke.Security.Membership.Data.SqlDataProvider.DeleteUsersOnline(Int32 timeWindow)

   at DotNetNuke.Security.Membership.AspNetMembershipProvider.DeleteUsersOnline(Int32 timeWindow)

   at DotNetNuke.Entities.Users.UserOnlineController.UpdateUsersOnline()

   at DotNetNuke.Entities.Users.PurgeUsersOnline.UpdateUsersOnline()

   at DotNetNuke.Entities.Users.PurgeUsersOnline.DoWork() Source

 

 
New Post
10/13/2012 5:29 PM
 
PortalID -1 PortalName UserID -1 UserName ActiveTabID -1

The values are empty or not well set. I think on some tables are missing the values of PortalID, PortalName, UserID, UserName and the ActiveTabID.

It will be come hard to find out what caused the error, about we get not enough Information. e.g. we missing the URL that is also logged on the error message. What was going on before the first time the issue caused. Did you done a upgrade before? It Looks not as a fresh install, so we Need to know what was done before the first time the issue comes up.

 
New Post
10/15/2012 1:50 AM
 

yes i have done an upgrade to 6.2.3 recently like about 3 weeks ago but the error didn't show then. I've also installed a new module for user imports which is forDNN.UsersImporter and imported some users to a few portals i have. I have also changed the settings for AD Provider (added IP 127.0.0.1) on DNN to fix the issue with the error on the first load.

These are the actions i've completed, i actually suspect it is forDNN.UsersImporter issue but what is it i cannot figure out yet.

 
New Post
10/16/2012 12:25 AM
 
Can you check your Event Viewer on your DNN instance for a error log related to your issue and post its complete Content here?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Issue with send mail after registration!Issue with send mail after registration!


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