iMMAP / OASISClientV4

1 stars 3 forks source link

Can not connect to SQL based layer [4.1.12] #17

Closed ppolphong closed 11 years ago

ppolphong commented 11 years ago

I have seen this problem keep occurring for a machine under a windows domain system. The user has administrator right on the local machine, so I can install the software with no problem. I would need your help to identify the permission that we need, and I will tell the IT department to configure it accordingly.

untitled01

[11:02:58 AM] >>>>>> No proxy detected [11:03:32 AM] OpenServerResponseCompressed_Err: (106) The connection with the server was terminated abnormally

[11:03:32 AM] !!!! OpenServerRSCompressed failed to create a recordset from retval: [11:03:40 AM] >>>> OpenServerResponseCompressed before encryption: ID=SELECT SettingTablePrefix FROM UserGroups WHERE ID IN (SELECT UserGroupID FROM Users WHERE [user] = 'andma' AND [pwd] = '01C5D51C3C3FF95548E2B9DDC13112DE') [11:03:40 AM] >>>>> OpenServerResponseCompressed after encryption: (160)x  [11:03:40 AM] >>>> Data received encrypted: ???aO?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????;????????????????????????????????????????????????????????????????????????????? [11:03:40 AM] >>>> Data received decrypted: /s:AttributeType /s:ElementType /s:Schema rs:data

/rs:data

[11:03:40 AM] >>>> OpenServerRSCompressed created a recordset from retval: /s:AttributeType /s:ElementType /s:Schema rs:data

/rs:data

[11:03:41 AM] >>>> OpenServerResponseCompressed before encryption: user=andma|||01C5D51C3C3FF95548E2B9DDC13112DE [11:03:41 AM] >>>>> OpenServerResponseCompressed after encryption: (64)x@ [11:03:41 AM] >>>> Data received encrypted: ???Ÿ??????????????????????????????????????????'????ห????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????o???????????????????????????????????????????????????????ศ?????????????t??????????????????????????????????????????????????????????????????????????????????ฆ???????????????????????????????????????????????????????????????????????????????????????????????????m????????????????????????????????????????????????????8????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? [11:03:41 AM] >>>> Data received decrypted: /s:AttributeType /s:AttributeType <s:AttributeType name="SettingName" rs:number="3" rs:writeunknown="true" rs:basecatalog="OasisDB-AfghanistanV [11:03:41 AM] >>>> OpenServerRSCompressed created a recordset from retval: /s:AttributeType /s:AttributeType <s:AttributeType name="SettingName" rs:number="3" rs:writeunknown="true" rs:ba [11:03:44 AM] Band [sdToolBar] removed tool: Tool173 [11:03:44 AM] Band [sdToolBar] removed tool: btnSelectTools [11:03:44 AM] Band [sdToolBar] removed tool: mnuSeparatorSel [11:03:44 AM] Band [sdToolBar] removed tool: btnPrint [11:03:44 AM] Band [tbEdit] removed tool: btnAddGeometry [11:03:44 AM] Band [tbEdit] removed tool: btnPoint [11:03:44 AM] Band [tbEdit] removed tool: btnLine [11:03:44 AM] Band [tbEdit] removed tool: btnPoly [11:03:44 AM] Band [tbUtils] removed tool: btnAdvancedDBManagement [11:03:44 AM] Band [tbUtils] removed tool: btnSearchLayers [11:03:44 AM] Band [mnuData] removed tool: Tool181 [11:03:44 AM] Band [mnuData] removed tool: Tool184 [11:03:44 AM] Band [mnuMapProject] removed tool: btnNewProject [11:03:44 AM] Band [popNavBar] removed tool: navBarToolAddRemove [11:03:53 AM] m_oSQLIncLyr.SQLParameter('LAYER'): oincidents [11:03:53 AM] m_oSQLIncLyr.SQLParameter('DIALECT'): MSJET [11:03:53 AM] m_oSQLIncLyr.SQLParameter('ADO'): Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\nhaqmal\Documents\iMMAP - OASIS\OASIS client\Data\Db\OASISClient.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False;

KeithDoyle commented 11 years ago

Please ensure the owner of folder: '......Ddocuments\immap-oasis' is nhagmal

ppolphong commented 11 years ago

yes, all the folder is own by the user, but I still get the error.

KeithDoyle commented 11 years ago

what about the files and subfolders?

On Monday, September 2, 2013, Peachapol Polphong wrote:

yes, all the folder is own by the user, but I still get the error.

— Reply to this email directly or view it on GitHubhttps://github.com/iMMAP/OASISClientV4/issues/17#issuecomment-23651442 .


Keith Doyle Regional Representative (West Africa)

kdoyle@immap.org www.immap.org +221 781 351 493 Skype: keithjohndoyle

ppolphong commented 11 years ago

I tried changing the owner of all the files and subfolders as well

petri2000 commented 11 years ago

This was a bit tricky to test... However, I believe it should work with the changes I made, by some reason it was trying using an exclusive lock on the DB. I will close this ticket until further notice.