YAFLogo

Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
I have had several new members email me saying they cannot get on site after they register. They never get the registration email to verify. I first thought it was just a few that may have missed it in spam. I have had the last few users check the spam and verify and they have received nothing. I tried creating a new user and did not get one either. What can I check to see whats going on?
Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

I have had several new members email me saying they cannot get on site after they register. They never get the registration email to verify. I first thought it was just a few that may have missed it in spam. I have had the last few users check the spam and verify and they have received nothing. I tried creating a new user and did not get one either. What can I check to see whats going on?

Originally Posted by: Hawk 

First Check the Event log if it shows any error messages. Then Check The (SMTP) Sending Test Form on the Install/Upgrade Wizard (You dont have to run trough the whole upgrade Process) this test should show you if there is an problem or not with your mail.config.

Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
I am getting alot of these:

System.Web.HttpParseException (0x80004005): The ID 'PopMenu1' is already used by another control. ---> System.Web.HttpParseException (0x80004005): The ID 'PopMenu1' is already used by another control. ---> System.Web.HttpException (0x80004005): The ID 'PopMenu1' is already used by another control.
   at System.Web.UI.TemplateParser.ProcessError(String message)
   at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at YAF.Forum.Forum_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
And I see this:

System.Web.HttpParseException (0x80004005): c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\forum\89fbd465\69a8688b\App_Web_topicline.ascx.38e61b89.u688chtk.0.cs(529): error CS1519: Invalid token '(' in class, struct, or interface member declaration ---> System.Web.HttpCompileException (0x80004005): c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\forum\89fbd465\69a8688b\App_Web_topicline.ascx.38e61b89.u688chtk.0.cs(529): error CS1519: Invalid token '(' in class, struct, or interface member declaration
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)
   at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)
   at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)
   at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
   at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at YAF.Forum.Forum_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Nothing specific about mail that I see.

I am able to reset the password and email it to them no problems, so I would think the mail was setup correctly.

Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
Did the SMTP test and it was successful.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
Are you using an older Version or Modified version the errors which are not Mail related does look like an Modification.

To the Mail problem there is a problem in the current code which could lead to send duplicated Mails, maybe the fix will help you to, but thats just a guess.

http://forum.yetanotherforum.net/yaf_postsm54755_Multiple-notification-emails.aspx#post54755 

Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
I am on version 1.9.5.6 RC1

As far as it being modified, I am unsure. I paid for the upgrade through Jaben's support. Not sure if it was modified or not. Wouldn't think so, but not sure.

Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago

Are you using an older Version or Modified version the errors which are not Mail related does look like an Modification.

To the Mail problem there is a problem in the current code which could lead to send duplicated Mails, maybe the fix will help you to, but thats just a guess.

http://forum.yetanotherforum.net/yaf_postsm54755_Multiple-notification-emails.aspx#post54755 

Originally Posted by: tha_watcha 

Also tried running that code and get SQL errors. I know the code in the box was not all, and I have to view source to get the entire code, and it still gives errors. I am not a coder, so it is hard for me to figure out what is wrong. I get the following:

SQL ERROR: System.Data.SqlClient.SqlException (0x80131904): An expression of non-boolean type specified in a context where a condition is expected, near ';'.
The identifier that starts with '>
.[yaf_Mail]
SET
            SendTries = SendTries + 1,
            SendAttempt = DATEADD(n,5,@UTCTIMESTAMP),
            ' is too long. Maximum length is 128.
Unclosed quotation mark after the character string '>
.[yaf_Mail]
SET
            SendTries = SendTries + 1,
            SendAttempt = DATEADD(n,5,@UTCTIMESTAMP),
            P'.
   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()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader()
   at YAF.Classes.Data.LegacyDb.InnerRunSqlExecuteReader(SqlCommand command, Boolean useTransaction)
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
Here is a repost of the code, maybe there was something wrong copied over from the source...


ALTER PROCEDURE [{databaseOwner}].[{objectQualifier}mail_list]
(
	@ProcessID int
)
AS
BEGIN
	DECLARE @UTCTIMESTAMP datetime
	
	SET @UTCTIMESTAMP = GETUTCDATE()
	
	BEGIN TRANSACTION TRANSUPDATEMAIL
		UPDATE [{databaseOwner}].[{objectQualifier}Mail]
		SET 
			ProcessID = NULL
		WHERE
			ProcessID IS NOT NULL AND SendAttempt > @UTCTIMESTAMP

		UPDATE [{databaseOwner}].[{objectQualifier}Mail]
		SET 
			SendTries = SendTries + 1,
			SendAttempt = DATEADD(n,5,@UTCTIMESTAMP),
			ProcessID = @ProcessID
		WHERE
			MailID IN (SELECT TOP 10 MailID FROM [{databaseOwner}].[{objectQualifier}Mail] WHERE SendAttempt < @UTCTIMESTAMP OR SendAttempt IS NULL ORDER BY SendAttempt, Created)
	COMMIT TRANSACTION TRANSUPDATEMAIL

	-- now select all mail reserved for this process...
	SELECT TOP 10 * FROM [{databaseOwner}].[{objectQualifier}Mail] WHERE ProcessID = @ProcessID ORDER BY SendAttempt, Created desc	
END
Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
Okay, I got No Results Returned after that one. So I am assuming that it worked. I will see what happens. Thanks.
Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
I created a new user, no email. I then went to that user and had the password reset and emailed and I receive that email. Something is off.
Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
Any suggestions?
Hawk
  • Hawk
  • 88.4% (Honored)
  • YAF Lover Topic Starter
12 years ago
Do you think an upgrade would fix this? Anyone?