I'm having similar issue, except that I am not using SSL. Didn't use it in the previous server.
I moved SM to a new server on a Google Cloud VM.
Copied over XML and domains, etc. I'm able to get to login page, but when I click to login I get the bad data error. It works fine with internal SM webserver.
- AppPool is set to allow 32 bit. It doesn't work if false.
- Tried changing the logon for application pool to local, network, app identity
- Using Version Information: Microsoft .NET Framework Version:2.0.50727.8669; ASP.NET Version:2.0.50727.8653
Seems like it's a permission issue. I'm seeing the error in the event viewer.
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 6/24/2017 6:54:51 AM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: webserver
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/24/2017 6:54:51 AM
Event time (UTC): 6/24/2017 10:54:51 AM
Event ID: 065f821a4ad54923a4a1c8c73dc14e38
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-131427752861314253
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files (x86)\SmarterTools\SmarterMail\MRS\
Machine name: WEBSERVER
Process information:
Process ID: 4044
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: CryptographicException
Exception message: Bad Data.
Request information:
Request URL: ttp://localhost:9998/Login.aspx
Request path: /Login.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 3
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SmarterTools.SmarterMail.Remoting.IMail.Login(String initializationStr, Byte[] emailAddress, Byte[] password, Boolean recordLogin)
at SmarterTools.SmarterMail.Remoting.RemoteMail.Login(String initializationStr, Byte[] email, Byte[] password, Boolean recordLogin)
at SMWeb05.Login.login(String email, String password)
at SMWeb05.Login.DoLoginInternal(String username, String password, Boolean rememberMe)
at SMWeb05.Login.DoLogin(String username, String password, Boolean rememberMe)
at SMWeb05.Login.DoLogin()
at SMWeb05.Login.LoginImageButton_Click(Object sender, EventArgs e)
at SmarterTools.Web.Controls.ButtonBarIcon.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Event Xml:
<Event xmlns="ttp://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-06-24T10:54:51.000000000Z" />
<EventRecordID>1542</EventRecordID>
<Channel>Application</Channel>
<Computer>webserver</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>6/24/2017 6:54:51 AM</Data>
<Data>6/24/2017 10:54:51 AM</Data>
<Data>065f821a4ad54923a4a1c8c73dc14e38</Data>
<Data>2</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/3/ROOT-1-131427752861314253</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\Program Files (x86)\SmarterTools\SmarterMail\MRS\</Data>
<Data>WEBSERVER</Data>
<Data>
</Data>
<Data>4044</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>CryptographicException</Data>
<Data>Bad Data.
</Data>
<Data>ttp://localhost:9998/Login.aspx</Data>
<Data>/Login.aspx</Data>
<Data>127.0.0.1</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>3</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>False</Data>
<Data> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SmarterTools.SmarterMail.Remoting.IMail.Login(String initializationStr, Byte[] emailAddress, Byte[] password, Boolean recordLogin)
at SmarterTools.SmarterMail.Remoting.RemoteMail.Login(String initializationStr, Byte[] email, Byte[] password, Boolean recordLogin)
at SMWeb05.Login.login(String email, String password)
at SMWeb05.Login.DoLoginInternal(String username, String password, Boolean rememberMe)
at SMWeb05.Login.DoLogin(String username, String password, Boolean rememberMe)
at SMWeb05.Login.DoLogin()
at SMWeb05.Login.LoginImageButton_Click(Object sender, EventArgs e)
at SmarterTools.Web.Controls.ButtonBarIcon.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
</EventData>
</Event>
Any assistance is greatly appreciated.