Error when trying to view site on host
Site works fine locally, watched video after video on how to deploy, felt like I could do this (been deploying websites for 13 years now) but alas sitefinity has beaten me and I have no idea as to why
I try to navigate to our site and I get the following error
Value cannot be null.
Parameter name: user
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.ArgumentNullException: Value cannot be null.
Parameter name: user
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:
[ArgumentNullException: Value cannot be null.
Parameter name: user]
Telerik.Sitefinity.Security.SitefinityIdentity..ctor(User user, Boolean newLoginDate) +744
Telerik.Sitefinity.Security.Claims.SitefinityClaimsAuthenticationModule.AuthenticateRequest(HttpContext context, User user) +65
Telerik.Sitefinity.Security.Claims.SitefinityClaimsAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args) +569
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
I get the error when I try to browse from the server itself or from my development computer, I am at a complete loss.
Hi Rick,
The error you are getting is related to the claims authentication not being able to authenticate the request properly.
Can you elaborate a bit more on the steps that you took to deploy your website? Also what kind of environment do you use?
Please ensure that you have Anonymous authentication enabled in the authentication modes for the website in IIS.
Additionally, you can review the following blog post, which shows the deployment process in details:
www.sitefinity.com/blogs/joshmorales/posts/11-02-22/installing_sitefinity_4_on_iis_7.aspx
Kind regards,
Victor Velev
the Telerik team