[mapguide-users] [ZS1] Re: [ZS1] Re: FDO Provider for Postgis
ERROR
nasp
nspitilli at hotmail.com
Wed Apr 22 09:24:08 EDT 2009
Thank you very much for your replies.
On the left pane of the preview there is:
Invalid Stream Header Exception, and a message box with javascript error
"Object Required"
(also, IIS chashes)
This is the error log
<2009-04-22T15:17:57> fe80::f571:f9c9:55c5:4e1c%8 Administrator
Error: Resource was not found:
Session:5f4f9b12-0000-1000-8003-0016d4c283ac_it_7F0000010AFC0AFB0AFA//f6aa6044-483e-427e-b324-b27a7072fb65.FeatureSource
StackTrace:
- MgResourceServiceHandler.ProcessOperation line 80 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceServiceHandler.cpp
- MgOpGetResourceContent.Execute line 120 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\OpGetResourceContent.cpp
- MgServerResourceService.GetResourceContent line 863 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ServerResourceService.cpp
- MgApplicationRepositoryManager.GetResourceContent line 378 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ApplicationRepositoryManager.cpp
- MgResourceDefinitionManager.GetResource line 320 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
- MgResourceContentManager.GetDocument line 590 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceContentManager.cpp
- MgResourceDefinitionManager.GetDocument line 476 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
Resource was not found:
Session:5f4f9b12-0000-1000-8003-0016d4c283ac_it_7F0000010AFC0AFB0AFA//f6aa6044-483e-427e-b324-b27a7072fb65.FeatureSource
Naspi
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> Ok, thanks for clarifying.
>
> What happens if you press "Preview" on the FeatureSource?
> What entries are in the error log?
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> nasp skrev:
>> Hi,
>> I don't think that it is correct.
>> unittest is the database
>> public is the schema
>>
>> 'unittest' database may have many tables each of one with one or more
>> columns of type geometry.
>>
>> I added extra tag with Maestro, editing XML of data connection.
>>
>>
>> Naspi
>>
>>
>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>
>>> I assume that "unittest" is a table, and "DataStore" is the database, is
>>> this correct?
>>> If so, I will update Maestro to include the DataStore field.
>>>
>>> How did you add the extra tag, through Maestro or throug the MapAgent?
>>>
>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>> nasp skrev:
>>>
>>>> I don't know why Maestri didn't add Datastore tag.
>>>> I manually added Datastore tag. Data connection test is ok.
>>>>
>>>> When I create a layer on that data Connection I get
>>>> MgInvalidStreamHeaderException
>>>>
>>>> Attached to this message you can find the print screen error.
>>>>
>>>> Naspi
>>>> http://n2.nabble.com/file/n2675832/InvalidStreamHeaderException.jpg
>>>>
>>>>
>>>>
>>>>
>>>> Bruno Scott wrote:
>>>>
>>>>
>>>>> Yes my test platform is on windows
>>>>>
>>>>> I don't see your Datastore tag!
>>>>>
>>>>> This is my connection
>>>>> <Provider>OSGeo.PostGIS</Provider>
>>>>> <Parameter>
>>>>> <Name>Username</Name>
>>>>> <Value>postgres</Value>
>>>>> </Parameter>
>>>>> <Parameter>
>>>>> <Name>Password</Name>
>>>>> <Value>root</Value>
>>>>> </Parameter>
>>>>> <Parameter>
>>>>> <Name>Service</Name>
>>>>> <Value>unittest at beaufix:5432</Value>
>>>>> </Parameter>
>>>>> <Parameter>
>>>>> <Name>DataStore</Name>
>>>>> <Value>public</Value>
>>>>> </Parameter>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>>
>>
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/FDO-Provider-for-Postgis-ERROR-tp2674319p2676127.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list