Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 12728

SecurityTokenService error when signing in with forms-based authentication

$
0
0

I'm running SharePoint Server 2010 on a server 2008R2 box the SQL server is behind a firewall. I have setup FBA for a external document site but am unable to login. I can see my users in the membership DB in CA and was able to add them without problems. As I test I replicated this on a server inside the firewall and had no problems at all, which would lead me to think that it is a permissions issue. Any insight would be greatly appreciated. Here's the error I'm getting after sign-on:

The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ServiceActivationException: The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.]

 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +10258154

 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +539

 Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message) +0

 Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +61

 Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) +36

 Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) +26062081

 Microsoft.SharePoint.SPSecurityContext.SecurityTokenForFormsAuthentication(Uri context, String membershipProviderName, String roleProviderName, String username, String password) +172

 Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.GetSecurityToken(Login formsSignInControl) +188

 Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.AuthenticateEventHandler(Object sender, AuthenticateEventArgs formAuthenticateEvent) +123

 System.Web.UI.WebControls.Login.AttemptLogin() +152

 System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +124

 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70

 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29

 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

 

 and here is what I'm seeing in the log file:

 

06/29/2010 11:29:49.38  w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Logging Correlation Data       xmnv Medium   Name=Request (POST:https://192.168.0.120:443/_forms/default.aspx?ReturnUrl=%2f_layouts%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F) 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.38  w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Logging Correlation Data       xmnv Medium   Site=/ 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.41  w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.77  w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Claims Authentication          fsq7 High     Request for security token failed with exception: System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)     at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChann... 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.77* w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Claims Authentication          fsq7 High     ...elBinder.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message)     at Microsoft.IdentityModel.Protocols.WSTru... 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.77* w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Claims Authentication          fsq7 High     ...st.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) 367e7875-a387-4ec9-b549-eb7847c0db6b
06/29/2010 11:29:49.77  w3wp.exe (0x1810)                        0x19E0 SharePoint Foundation         Claims Authentication          8306 Critical An exception occurred when trying to issue security token: The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' could not be activated. See the server's diagnostic trace logs for more information.. 367e7875-a387-4ec9-b549-eb7847c0db6b

Thanks in advance for any help,

Chris

 


Viewing all articles
Browse latest Browse all 12728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>