POST
|
Grant privileges using the Change Privileges Tools (ArcToolBox -> Data Management Tools -> Database) to your user and try. but I don't want to give to the user rights to the dataset where layer located. I'll try to explain more clearly. I have two datasets A and B. User, for example, userA granted rights to datasets A and he edits layers from dataset A, but ArcMap says isufficient Permissions[Insufficient privileges to table PPL_AREA the current user lacks full access to table] which is locvated in dataset B.... I didn't made any joins inside database, so i dont't understand what is that.... Yes you're right if I give userA right to dataset B for write, will be fine, but i don't want. Thanks/
... View more
07-10-2012
05:48 AM
|
0
|
0
|
1313
|
POST
|
I have same problem and I don't know what to do with it. I've already post about it to forum but no answer http://forums.esri.com/Thread.asp?c=158&f=2290&t=298974 please help!!! one thing that I know if you give select, delete, update to that dataset, where that layer located then it become to work, but it's not solution.
... View more
07-06-2012
12:58 AM
|
0
|
0
|
1313
|
POST
|
I think I know what the problem is. The problem is not in that domain group but the length of the name of group. If I try to grant privileges to user or group with length more than 32 symbols I get that error. I think it's a bug...
... View more
05-24-2011
06:43 AM
|
2
|
0
|
526
|
POST
|
Iâ??m using ArcSDE 10 with Sql server 2008 R2. I can grant privileges on dataset for sql account¸ for windows user account, but I canâ??t grant for windows authenticated group. ERROR 999999: Error executing function. Invalid parameter value passed to function Failed to execute (ChangePrivileges). Does anyone can help me to figure out what Iâ??m doing wrong? As documentation said: â??There is no difference between creating an individual Windows login and adding a Windows group, so the how-to steps below apply to both.â?� So it must be everything fine, but not for me. Thanks in advance.
... View more
05-23-2011
01:20 AM
|
0
|
3
|
2583
|
POST
|
At last I found what i did wrong. If I use addreferenceValue method, I have to remove this items from values. public override void OnClick() { IMxDocument pMxDoc = (IMxDocument)m_application.Document; IMap pMap = pMxDoc.FocusMap; ILayer player = pMap.get_Layer(0); IUniqueValueRenderer pUVR = new UniqueValueRendererClass(); pUVR = ((IGeoFeatureLayer)player).Renderer as IUniqueValueRenderer; for (int i = 0; i < pUVR.ValueCount; i++) { if (pUVR.get_Value(i) != "Ð?зеÑ?жинÑ�кий") string s = ppFRenderer.get_Value(ii); ppFRenderer.RemoveValue(ppFRenderer.get_Value(ii)); pUVR.AddReferenceValue(s, "Ð?зеÑ?жинÑ�кий"); } IRendererPropertyPage pRPpage = new UniqueValuePropertyPageClass(); ((IGeoFeatureLayer)player).RendererPropertyPageClassID = pRPpage.ClassID; pMxDoc.ActivatedView.Refresh(); pMxDoc.CurrentContentsView.Refresh(null); pMxDoc.UpdateContents(); }
... View more
04-15-2011
12:53 AM
|
0
|
0
|
272
|
POST
|
First of all thanks, James for your answer. I don't see you including any SimpleMarkerSymbol or other symbol as a parameter in the .AddValue method of your renderer. The parameters I've always set for a uniqueval renderer are as such: In my Mxd project, I don't want to use AddValue at all. I'm just want to take existing layer from Mxd, which already have all necessary value with acceptable symbology and group them in one group. it's got to be something like this: 1 - Dim pLayer As ILayer Set pLayer = pMap.Layer(1) - I take existing layer in Mxd project? which already have 16 values for UniqueValueRenderer (valuecount = 16) 2 - in a loop i group all my values in a one group as an example:(AddReferenceValue) pUniqueValueRenderer.AddReferenceValue "Highway", "Freeway" 3 - refresh everything that is how i see situation.
... View more
04-13-2011
05:04 AM
|
0
|
0
|
272
|
POST
|
I have some problems with code: public override void OnClick() { IMxDocument pMxDoc = (IMxDocument)m_application.Document; IMap pMap = pMxDoc.FocusMap; ILayer player = pMap.get_Layer(0); IUniqueValueRenderer pUVR = new UniqueValueRendererClass(); pUVR = ((IGeoFeatureLayer)player).Renderer as IUniqueValueRenderer; for (int i = 0; i < pUVR.ValueCount; i++) { if (pUVR.get_Value(i) != "?????????????") pUVR.AddReferenceValue(pUVR.get_Value(i), "?????????????"); } IRendererPropertyPage pRPpage = new UniqueValuePropertyPageClass(); ((IGeoFeatureLayer)player).RendererPropertyPageClassID = pRPpage.ClassID; pMxDoc.ActivatedView.Refresh(); pMxDoc.CurrentContentsView.Refresh(null); pMxDoc.UpdateContents(); } this code group all unique value by AddReferenceValue method and it shows everything correctly in activeview, but not in TOC. It's still shows in TOC all my unique value and any kind of refresh and update methods doesn't help me. Even in a layer properties - symbology correct representation. Help me please to correct TOC representation.
... View more
04-12-2011
11:42 AM
|
0
|
3
|
744
|
Title | Kudos | Posted |
---|---|---|
2 | 05-24-2011 06:43 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|