I am working on SharePoint 2010. I am facing problem as SharePoint stopped unexpectedly. I am working on UAT server on client side. So its urgent.
We are facing the problem since we were fixing the issues to access the OWA (Outlook Web Access). Now we can access the OWA.
We are facing same problem with Administrator account too.
The Main Problem:
- I cant open the Central Administration site. When I am going to open the CA it throws an error page with "Unexpected error". So I cant access the CA and unable to try solutions that I found on the internet.
Facing same when browsing from IIS.
- All the other sites are also not working and giving page with error "404 Page not found".
Facing same when browsing from IIS.
- All the sites are running in IIS.
- All application pools in IIS are running.
- All the required services are running.
Error : Please find the Event log details below.
1) First error is:
WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682 Exception: System.ServiceModel.ServiceActivationException: The service
'/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation. The
exception message is: Exception has been thrown by the target of an invocation.. --->
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.ArgumentNullException: Value cannot be null. Parameter name: certificate at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate, String id, Boolean clone,
Boolean disposable) at System.IdentityModel.Tokens.X509SecurityToken..ctor(X509Certificate2 certificate) at Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials..ctor(X509Certificate2 certificate) at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&
canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object args, CultureInfo
culture, Object activationAttributes) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration
(String constructorString) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString,
Uri baseAddresses) at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString,
Uri baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 4784
Event ID : 3 Task Category : WebHost
2) Second Error is:
An exception occurred when trying to issue security token: The requested service,
'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas' could not be activated. See the
server's diagnostic trace logs for more information..
Event ID : 8306 Task Category : Claims Authentication
3) Third Error is:
Alternate access mappings have not been configured. Users or services are accessing the site
http://server:1111. This may cause incorrect links to be stored or returned to users. If this is expected,
add the URL
http://server:1111 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
Event ID : 8059 Task Category : Configuration
All the errors are coming back to back. I tried to find the solution on the internet and found some solution but all the solutions are related to UI.
What I think:
It looks like it is an authentication problem but unable to find (or resolve) the (exact) problem.
- How to resolve the issue so that SharePoint come again in working?
- Is there any impact of fixing the OWA ? if yes then what?
- Is it permission issue? if yes then how can it be happen because same user and permission were working earlier.
- Why the same problem is coming with the Administrator too?
- Why different error on CA site and other error on other sites?
Please help as it is very urgent.
- Khan Abubakar