Can't view secure site, error: "object reference not set to an instance of an object"
I just installed Geocortex Essentials 3.7 and I'm using the Silverlight Viewer 1.4.
I'm trying to enable security for a site.
I've set up a user and a role, and I've given both the user and role permission to the site. I've used the default security provider.
When I try to log in to the viewer, I get an error message:
"[Arg_NullReferenceException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10111.0&File=mscorlib.dll&Key=Arg_NullReferenceException"
That translates to:
"Object reference not set to an instance of an object."
Here's what I know:
1) I can successfully view the site if I disable security
2) The user and password I enter work, because if I enter an incorrect user and password, I get re-prompted for the user and password.
Here's what my security settings look like:
Use Windows Authentication: False
Membership Provider: AspNetSqlMembershipProvider
Role Provider: AspNetSqlRoleProvider
SSL is Not Required : False
Does anyone have any insight into the problem?
-
I was able to fix this problem for our site. The problem was that tokens weren't being generated.
We previously had a different domain name for our site and we switched to a new one. However, that switch was not reflected in the configuration files for ArcGIS Server. I had to fix the TokenServiceURL key in three files:C:\inetpub\wwwroot\ArcGIS\Tokens\web.config
C:\inetpub\wwwroot\ArcGIS\Services\web.config
C:\inetpub\wwwroot\ArcGIS\rest\web.config0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar