Unable to save project
Using GE 3.9, SLV 1.5, Windows 2008R2
The project save function from the Silverlight viewer gives an error when trying to save a new project. Has anyone a clue what can be wrong?
Already tried:
-Set all security settings to Modify on complete REST directory for user ESSENTIALS and ESSENTIALSADMIN ( applicationpool identities)
-Reinstall new instance of Essentials
-Looked in projects directory: no files saved at all.
-Looked with processmonitor ( microsoft ): the REST webapplication does write a projectfile , but deletes it in the end of the process
Log from REST:
<Event Timestamp="2013-01-30T12:25:14.0060713+01:00" Level="DEBUG" Identity="Guest"><Message>Creating temp stream for 7ea3363d-3ecc-4514-96d5-734fc6500d7f.</Message></Event>
<Event Timestamp="2013-01-30T12:25:16.4446415+01:00" Level="ERROR" Identity="Guest"><Message>Could not create a project from the given file. The file was not a zip file.</Message></Event>
<Event Timestamp="2013-01-30T12:25:16.4456181+01:00" Level="ERROR" Identity="Guest"><Message>Could not create a project from the given file. The file was not a valid project file.</Message></Event>
<Event Timestamp="2013-01-30T12:25:16.4465947+01:00" Level="DEBUG" Identity="Guest"><Message>InvalidOperationException: Could not create a project from the given file. The file was not a valid project file.
at Geocortex.Essentials.Rest.Resources.ProjectManagement.ProjectDirectory.CreateNewProject(Stream inputStream)
at Geocortex.Essentials.Rest.Resources.ProjectResource.Init()
at Geocortex.Rest.Handling.RestController.InitResource(RequestContext context, RestContext restContext)
at Geocortex.Essentials.Rest.EssentialsRestController.InitResource(RequestContext context, RestContext restContext)
at Geocortex.Rest.Handling.RestRequestDispatcher.InitResource()
at Geocortex.Essentials.Rest.EssentialsRestRequestDispatcher.DispatchRequestUsingEssentialsSecurity()
at Geocortex.Essentials.Rest.EssentialsRestRequestDispatcher.ProcessRequestUnderContext()
RestException: Could not create a project from the given file. The file was not a valid project file.
</Message></Event>
-
Hi,
After further investigation the issue here seems to be that we have security turned on for the site. As soon as I turn security off the Save Project works. This is quite a dilemma as the straight forward security setup seems to be one of the benefits of the product and I would hate to have it be a choice of one feature or the other.
0 -
Hi,
Thanks for the report, I have filed this and we hope to address this issue in a future version of the Viewer.
Jonathan
0 -
This sounds a bit like a known issue where if you have two layers in your mapservice in different group layers with the same name _and_ they use a different case, project files cannot be saved.
For example, if I had a layer named 'lakes' and a layer named 'Lakes' in a mapservice I would not be able to save project files.
Unfortunately the only workaround right now is to rename one of the layers and re-serve the mapservice.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare