Re: [mapguide-users] Error creating Layer using MgResourceService::SetResource method

2008-08-14 Thread wkhattak
Hi, Thanks a lot. It works now :jumping: regards, W Khattak -- View this message in context: http://www.nabble.com/Error-creating-Layer-using--MgResourceService%3A%3ASetResource-method-tp18962546p18978866.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

Re: [mapguide-users] Error creating Layer using MgResourceService::SetResource method

2008-08-14 Thread Kenneth Skovhede, GEOGRAF A/S
It could happen while somewhere else, but the files have a three byte UTF-8 Byte-Order-Marker (BOM). MapGuide does not handle such a BOM correctly, and I have written a bug report for it: http://trac.osgeo.org/mapguide/ticket/233 If you manage to upload the header file with a BOM, all calls to

Re: [mapguide-users] Error creating Layer using MgResourceService::SetResource method

2008-08-14 Thread wkhattak
Hi, The Content & Header files are as follows: regards, W Khattak http://www.nabble.com/file/p18976891/Junction%2BNumber-CONTENT.xml Junction+Number-CONTENT.xml http://www.nabble.com/file/p18976891/Junction%2BNumber-HEADER.xml Junction+Number-HEADER.xml -- View this message in context: h

Re: [mapguide-users] Error creating Layer using MgResourceService::SetResource method

2008-08-13 Thread Kenneth Skovhede, GEOGRAF A/S
Can you post the Xml somewhere for verification? I have seen a similar error once, when I managed to insert a broken xml file as the header. I fixed it by deleting the folder, and inserting the correct Xml. Regards, Kenneth Skovhede, GEOGRAF A/S wkhattak skrev: Hi, I am trying to create a

[mapguide-users] Error creating Layer using MgResourceService::SetResource method

2008-08-13 Thread wkhattak
Hi, I am trying to create a layer using xml schema files (http://localhost/mapguide2009/mapagent/index.html --> SetResource). Although after clicking 'submit', the page doesn't display any error, however, upon viewing the layer's folder within MG Studio (or Maestro), the following error is thrown