Applying Geocortex security in 4.0 introduces “initialization error”,
Applying Geocortex security in 4.0 introduces “initialization error”,
In 4.0, I have created Q1 site and R1 viewer. It works fine
http://jamal-hp/M7/Viewer.html?ViewerConfig=http://jamal-hp/Geocortex/Essentials/REST/sites/Q1/viewers/R1/virtualdirectory/Config/Viewer.xml
/customer/servlet/servlet.FileDownload?file=00P6000000elzSkEAI
Three users are added to the “geocortex identity server”: Ahmed, Ali and Jamal.
/customer/servlet/servlet.FileDownload?file=00P6000000em1HlEAI
As “Jamal” (Gecortex identity server) is configured for the Q1 site, the “initialization error” is introduced as the viewer is started
/customer/servlet/servlet.FileDownload?file=00P6000000em229EAA
/customer/servlet/servlet.FileDownload?file=00P6000000elzeREAQ
What might be the issue here?
Thank you
Best
Jamal
-
Hi Jamal,
If the error occured prior to the user being challenged for their credentials then one of two things is happening: either the site/viewer initialization failed immediately, or you have already logged in as someone else (who's credentials are temporarily cached) that doesn't have permissions on the site.
If it's the first case, then the viewer.xml, the viewer.defaults.xml, or the Site's JSON response couldn't be downloaded, or the Site failed to initialize on the server (perhaps due to an underlying map service being unavailable, for example).
It's difficult to know what the exact cause might be without the full error message. I would encourage you to see what the error message says, and also use a tool like Fiddler (http://www.telerik.com/fiddler) to watch the web traffic and see if there are any clues as to which responses aren't being loaded correctly.
Drew.
0 -
Thanks Drew for the input.
Anyone who is used to work in 3.15 and migrates to 4.0 will be facing this error if he/she has set Geocortex security users in the 3.15.
I never encountered in such issue as I migrated from ArcGIS Desktop\Server (from 10.1 to 10.2) or SQL Server (from 2008 to 2012). In the Geocortex the story is different, the migration from 3.15 to 4.0 will cause errors where there is no clear instructions to solve it.
By the way, have you migrated from 3.15 to 4.0 where Geocortex security (usernames\passwords) are already set in 3.15?
0 -
Hi Jamal,
Yes, we have done testing with upgrading 3.15 sites that have Geocortex XML-based security user and roles to 4.0. Once you do the upgrade, and you visit the Permissions tab there is a dialog that prompts you to map your XML-based membership and role providers to claims. From your screenshots, it is apparent that you must have done this (otherwise, you wouldn't be able to create new users like "jamal" in 4.0).
Therefore, I'm not convinced that the issue you are experiencing has to do with the upgrade of XML-based security. As mentioned before, I think that the most insight can be gained by consulting a tool like Fiddler to see the exact reason why your site/viewer isn't loading.
Drew.
0 -
Thanks Drew for the input.
I have attempt to upgrade from 3.15 to 4.0 in 4 test machines before applying this in the production machine. I failed to avoid the “initialization error”. After “trial and error” approach, this error is solved.
I think, for the upgrade, one shouldn’t face such very frustrating error. Working fine in 3.15 should ensure that it should work fine in 4.0 too.
Fiddler says nothing.
0 -
Hi Jamal,
I appreciate that your upgrade was frustrating, and for that I apologize. Certainly our goal is to avoid upgrade complications wherever possible. Unfortunately, it can be difficult to ensure that all upgrades on all environments go a smoothly as we have experienced in our test environments. I appreciate your patience in working through this issue.
With that said, I'm glad to hear you have things working now. Can you please explain what it was that caused your problem, and how you fixed it after trial and error?Thank you!
0 -
Hi Drew,
For me I gave up. I contacted our reseller and they did their best to solve the issue. What is confusing me the most is that there is no precise instructions that let the application work when upgrading from 3.15 to 4.0.
Some tips that I noted:
- The viewer (Silverlight) must be upgraded from 1.1 to 2.0
- The Geocortex security must be cleared
- The browser cache must be cleared
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare