First of all, thank you for your wonderfull work. It help us a lot.
We have a problem with send mail function, have reviewed all post related with no solution by now.
We have deployed this solution in a web server and configured all XSLT relative URL as shown in the documentation. We've tried all those url in the adresses bar of the browser, adding before the web application domain name, and worked correctly.
When we execute the recover password function it generates a generic error. Reviewing Sharepoint log file we find this error:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
connected host has failed to respond 18.104.22.168:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket
s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials c... 3a15bf59-e14f-4070-84cd-44370e55aa6a05/30/2012 10:00:47.29* w3wp.exe (0x1E38) 0x2E34 SharePoint
2010 FBA Pack General 0000 High ...redentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.Compiler.Compile(Object
stylesheet, XmlResolver xmlResolver, QilExpression& qil) at System.Xml.Xsl.XslCompiledTransform.CompileXsltToQil(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object
stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri, XsltSettings settings, XmlResolver stylesheetResolver) ... 3a15bf59-e14f-4070-84cd-44370e55aa6a05/30/2012
10:00:47.29* w3wp.exe (0x1E38) 0x2E34 SharePoint 2010 FBA Pack General 0000 High
...at Visigo.Sharepoint.FormsBasedAuthentication.Email.SendEmail(SPWeb web, String emailTo, String xsltTemplateFile, IDictionary xslValues) 3a15bf59-e14f-4070-84cd-44370e55aa6a05/30/2012 10:00:47.29 w3wp.exe (0x1E38)
0x2E34 SharePoint 2010 FBA Pack General 0000 High SendEmail failed 3a15bf59-e14f-4070-84cd-44370e55aa6a05/30/2012
10:00:47.31 w3wp.exe (0x1E38)
It looks like was unable to get the mail template, and tries to reach it using IP adress instead of domain name.
I think AAM is well configured, associating default zone with hostname and port values and the internet zone with the internet domain name value.
Anyone knows how to solve this issue?