Missing sites in Manager
I just decided to make a small change in the configuration of one of my sites, so I opened Manager. Four of my six sites are missing from the Site list, although they still seem to be running fine. I'm not sure how long it has been this way, as I haven't been in Manager for a while. Three of them use a custom extension which I recently moved from the Sites folder to the Bin folder when some issues came up, but the fourth site has nothing to do with it. I tried clearing the browser cache and using a different browser, just for fun, but no joy.
How can I get these back? What the heck happened?
-
Hi Heather,
Have you looked in the System.log file?
One of my test sites disappeared from manager after I did a little change in the site.xml directly. It turned out to be a typo that caused the whole site to disappear.
The system log file gave the error message and the file and line number of where the error occurred. Possibly there might be something in there that will help you?
Cheers,
Mick
0 -
Thanks, Mick. I looked in the App_Data\Logs\ SYSTEM logs but I'm not seeing anything very obvious. The only "WARN' message today is:
<Event Timestamp="2013-01-14T12:45:00.6814-07:00" Level="WARN" Identity="Guest"><Message>Authorization failure: Geocortex.ApplicationServices.Security.Enforcement.AuthorizationException: The current user cannot access the desired resource.
at Geocortex.ApplicationServices.Security.Enforcement.AccessResults.Demand()
at Geocortex.Essentials.Rest.EssentialsRestController.GetSite(String siteId, Boolean clone)
at Geocortex.Essentials.Rest.Resources.SiteResource.Init()
at Geocortex.Rest.Handling.RestController.InitResource(RequestContext context, RestContext restContext)
at Geocortex.Essentials.Rest.EssentialsRestController.InitResource(RequestContext context, RestContext restContext)
at Geocortex.Essentials.Rest.EssentialsRestRequestDispatcher.DispatchRequestUsingEssentialsSecurity()
at Geocortex.Essentials.Rest.EssentialsRestRequestDispatcher.ProcessRequestUnderContext()
The Zone of the assembly that failed was:
MyComputer</Message></Event>I have no idea what this means. I haven't manually edited my xml files, and I don't know why only some of them would disappear.
Anyone have any ideas? I'm worried that the sites themselves may cease to function and I have done a bunch of config through Manager I don't want to lose.
0 -
Heather,
can you hit the rest end point of the sites?
http://<GE server>/Geocortex/Essentials/REST/sites
and get a full list? Just thinking out aloud - but you could try an IISRESET on the server, or delete the Cached site file in the C:\inetpub\wwwroot\Geocortex\Essentials\REST\App_Data\SiteCache directory.....
Not sure if it'll help, but can't hurt...
G
0 -
Thanks for the response, Gareth.
The sites are all visible in the REST endpoint.
I deleted the site cache and restarted IIS to no effect.
0 -
I looked back at the log files for the day the custom dll was moved to the bin folder, per LG.
<Event Timestamp="2013-01-10T09:48:48.385-07:00" Level="ERROR" Identity="Super"><Message>Could not create site \SanMiguel\Site.xml: System.InvalidCastException: [A]Geocortex.Projects.SanMiguelCounty.ZoningTransformer cannot be cast to [B]Geocortex.Projects.SanMiguelCounty.ZoningTransformer. Type A originates from 'Geocortex.Projects.SanMiguelCounty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' in a byte array. Type B originates from 'Geocortex.Projects.SanMiguelCounty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' in a byte array.
at Geocortex.Core.DeepCloneHelper.Clone[T](T source, ISurrogateSelector surrogateSelector)
at Geocortex.Projects.SanMiguelCounty.ZoningTransformer.Clone()
at Geocortex.Essentials.Configuration.Models.ExtensionConfig.ToBusinessObject(Site site, IExtensible parent)</Message></Event>Does this mean anything to anyone, or do I need to call Support...?
The custom functionality in the Geocortex.Projects.SanMiguelCounty.ZoningTransformer is working fine on the sites that use it. It appears that all the sites that use this custom dll have stopped showing up in Manager. I commented out the Extensions tab in the site that doesn't actually use it, and now that site shows up in Manager. So I guess I have a reason but no solution.
0 -
Solution was to put the custom dll in the Manager bin folder in addition to the other bin folder. Thanks, Malcolm!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare