New user with an  massive array/string headache

Working with a large (365 source files, 65 mxml files) SDK 3.6.0 project in FB 4.5 and continually get :
Resource
Path
Location
Description
Type
TB4.mxml
/the0bot_1/src/the0bot/gui
line 1
1067: Implicit coercion of a value of type String to an unrelated type Array.
Flex Problem
TB4.mxml
/the0bot_1/src/the0bot/gui
line 1
1184: Incompatible default value of type String where Array is expected.
Flex Problem
It is a very strange error, as you can see, line #1 is my language declaration!
<?xml version="1.0" encoding="utf-8"?>
This error is virtually non-removable.  It usually attaches to a component, or an ArrayCollection, and even if I delete the accused violator, the error will find a new point of attachment.?  This is the only page in the project that involves two-way data binding.  I had at first attributed the error to a yahoo.astra.com timestepper drop-in, but even rebuilding the page without that component does not remedy the trouble....
Any help at this point would be appreciated, There are countless hours invested in the project and this has been a hold-up for several days now. 
Thank you.

Nothing had changed project-wise originally. I am simply adding a new mxml component to a perfectly good runnable project. I have since moved my workspace twice to a clean folder, and if  I remove the module everything is back to normal.
I do notice that it won't show up if I have a normal error (i.e add a visual component but have not added code yet or forget a brace or such) but then when I clear the last error and validate, the cursor will jump to the top of the page mmediately.
currently the errors are
Resource
Path
Location
Description
Type
TB4.mxml
/the0bot_1/src/the0bot/gui
line 296
1067: Implicit coercion of a value of type String to an unrelated type Array.
Flex Problem
TB4.mxml
/the0bot_1/src/the0bot/gui
line 296
1184: Incompatible default value of type String where Array is expected.
Flex Problem
(they have moved off the header to the reinstalled numberformatter)
the code:
Some may seem a little unconventional, but I have been getting strange errors like 
Resource
Path
Location
Description
Type
TB4.mxml
/the0bot_1/src/the0bot/gui
line 222
1105: Target of assignment must be a reference value.
Flex Problem
which is why the 2 " tbean(t) = n; " lines are commented out.     ( tbean = object, t = string, n = number)???
(all the bindings are an attempt at elimination....)
<?xml version="1.0" encoding="utf-8"?>
     <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
                         xmlns:gui="the0bot.gui.*"
                         width="418" height="289">
          <mx:Script>
                    <![CDATA[
                              import com.evony.common.beans.*;
                              import com.evony.common.constants.*;
                              import com.google.analytics.debug._Style;
                              import flash.events.*;
                              import flash.utils.*;
                              import mx.collections.ArrayCollection;
                              import mx.controls.Button;
                              import mx.events.*;
                              import mx.events.ItemClickEvent;
                              import mx.events.PropertyChangeEvent;
                              import mx.utils.ObjectUtil;
                              import the0bot.common.*;
                              import the0bot.event.CityManagerUpdateEvent;
                              import the0bot.management.*;
                              import the0bot.management.CityManager;
                              import the0bot.player.*;
                              import the0bot.scripts.*;
                              private var cityManager:CityManager;
                              private var city:CityState;
                              public var _THE0BOT:String = "the0bot";
                              public var the0bot:Boolean;
                              public static const yes:Boolean = true;
                              public static const no:Boolean = false;
                              public static const zero:int = 0;
                              public static const resource:Array = ("food", "wood", "stone", "iron", "gold");
                              [Bindable]public var text:String;
                              [Bindable]public var value:Number;
                              [Bindable]public var tb2Heroes:ArrayCollection;
                              [Bindable]public var tb2Troops:ArrayCollection;
                              [Bindable]public var tb3Queue:ArrayCollection;
                              [Bindable]public var tb2Resources:ArrayCollection;
                              [Bindable]public var tb2Cities:ArrayCollection;
                              [Bindable]public var selectedIndex:int;
                              [Bindable]public var selectedCity:String;
                              [Bindable]public var selectedHero:String;
                              [Bindable]public var selectedtb3:String;
                              // Rom
                              public function init(citymanager:CityManager,City:CityState) : void {
                                        cityManager = citymanager;
                                        city=City;
                                        the0bot = (this.cityManager.getConfig(_THE0BOT, 0));
                                        resettb2Data();
                                        listCities;
                                        cityManager.addEventListener(CityManagerUpdateEvent.TYPE, onUpdate);
                                        Context.getInstance().addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, onContexthandler);
                                        Context.getInstance().addEventListener(CityManagerUpdateEvent.TYPE, onUpdate);
                                        Refresh();
                              public function unInit() : void {
                                        if (cityManager.hasEventListener(CityManagerUpdateEvent.TYPE))
                                                  cityManager.removeEventListener(CityManagerUpdateEvent.TYPE, onUpdate);
                                        if (Context.getInstance().hasEventListener(CityManagerUpdateEvent.TYPE))
                                                  Context.getInstance().removeEventListener(CityManagerUpdateEvent.TYPE, onUpdate);
                                        cityManager = null;
  public function Refresh() : void {
                                        this.callLater(updateHeroes);
                              [Bindable]private var travelTime:Number;
                              [Bindable]private var campTime:Number;
                              private function onContexthandler(event:PropertyChangeEvent) : void
                                        campTime = (Number(campMinutes.text)* 60000) + campSeconds.value * 1000;
                                        var t =(Utils.getServerTime() + travelTime + campTime)as Date;
                                        _arriveClock.text = TFseconds.format(t);
                                        (xSpin.value >= 800)? xSpin.value=0 : (xSpin.value <= -1)? xSpin.value = 799 :t=null;
                                        (ySpin.value >= 800)? ySpin.value=0 : (ySpin.value <= -1)? ySpin.value = 799 :t=null;
                              private function onUpdate(event:CityManagerUpdateEvent) : void {
                                        if (event.CastleId == cityManager.id || event.CastleId == -1) {
                                                  switch (event.UpdateType) {
                                                            case CityManagerUpdateEvent.TROOPS:
                                                            case CityManagerUpdateEvent.PRODUCTION:
                                                                      Refresh();
                                                                      break;
                              private function updateHeroes():void
                                        if (heroMenu.selectedIndex != zero) return;
                                        tb2Heroes.disableAutoUpdate();
                                        tb2Heroes = new ArrayCollection;
                                        for each (var hero:HeroBean in cityManager.heroes){
                                                  if (hero.isIdle == yes){
                                                            var obj:Object = new Object;
                                                            obj.label = hero.name;
                                                            tb2Heroes.addItem(obj);
                                        obj = {label:"any"};
                                        tb2Heroes.addItemAt(obj, 0);
                                        obj = {label:"none"};
                                        tb2Heroes.addItemAt(obj, 0);
                                        tb2Heroes.enableAutoUpdate();
                                        heroMenu.selectedIndex = zero;
                              public function resettb2Troops() : void
                                        var tb2:Array = new Array();
                                        for (var t:int = 0; t < TroopType.justTroopIntNames.length-1; t++ )
                                                  tb2[t].label = TroopType.justTroopAbbr[t];
                                                  tb2[t].data = 0;
                                                  tb2[t].type = TroopType.justTroopIntNames[t];
                                        tb2Troops = new ArrayCollection(tb2);
                              private function resettb2Resources():void
                                        var tb2:Array = new Array;
                                        for (var i:int = 0; i < resource.length-1; i++);
                                                  tb2.label = resource[i].charAt(0) + ":";
                                                  tb2.data = 0;
                                                  tb2.type = resource[i];
                                        tb2Resources = new ArrayCollection(tb2);
                              private function listCities():void{
                                        tb2Cities = new ArrayCollection;
                                        for each (var gcity:CityState in Context.getInstance().cities){
                                                  var obj:Object = new Object;
                                                  obj.label = gcity.cityManager.castle.name;
                                                  obj.id = gcity.cityManager.castle.fieldId;
                                                  (obj.id == this.cityManager.castle.fieldId) ? tb2Cities.addItemAt(obj, zero) : tb2Cities.addItem(obj);
                              private function resettb2Data():void
                                        resettb2Troops()
                                        resettb2Resources()
                                        updateHeroes();
                                        listCities();
                              public function doesHaveEnsign(): Boolean {
                                        var player:* = Context.getInstance().Player;
                                        for each (var item:* in player.itemsArray) {
                                                  if (item.id == null) continue;
                                                  if (item.id == "player.troop.1.a") return true;
                                        return false;
                              protected function campSwitchClick(event:MouseEvent):void
                                        /* if (campSwitch.selected = yes) arriveSwitch.selected = no;
                                        else {campMinutes.text = "0";
                                                  campSeconds.value=0;
                              protected function arriveSwitchClick(event:MouseEvent):void
                                        if (arriveSwitch.selected = yes){
                                                  campSwitch.selected = no;
                                                  travelTime=0;
                                        else travelTime = getArmyMarchTime();
                              public function tb2troopsToBean():TroopBean{
                                        var tbean = new TroopBean;
                                        var tb2:Array = tb2Troops.toArray()
                                        for (var i:int = 0; i < tb2.length-1; i++ )
                                        var n:Number = tb2[i].data;
                                        var t:String = tb2[i].type;
                                        //tbean(t) = n;
                                        return tbean;
                              public function tb2resToBean():ResourceBean{
                                        var tbean = new ResourceBean;
                                        var tb2:Array = tb2Resources.toArray();
                                        for (var i:int = 0; i < tb2.length-1; i++ )
                                                  var n:Number = tb2[i].data;
                                                  var t:String = tb2[i].type;
                                                  //tbean(t) = n;
                                        return tbean;
                              private  function spinCoordsString():String
                                        return xSpin.value + "," + ySpin.value;
                              private  function missionTypeIndex():int
                                        var s:int=marchMenu.selectedIndex+1;
                                        if (s==4)s++;
                                        return s;
                              private  function spinnersToFieldID():int{
                                        return (int(ySpin.value)*800 + int(xSpin.value));
                              private  function fieldIDtoSpinners(fieldID:int):void
                                        xSpin.value = Map.getX(fieldID);
                                        ySpin.value = Map.getY(fieldID);
                              public function getArmyMarchTime():Number{
                                        return cityManager.getAttackTravelTime(this.cityManager.id, spinnersToFieldID(), tb2troopsToBean(), missionTypeIndex());
                              protected function xySpin_changeHandler():void
                              protected function sendSwitchClick(event:MouseEvent):void
                                        var t:TroopBean = tb2troopsToBean();
                                        var r:ResourceBean = tb2resToBean();
                                        var camp:String = "";
                                        var time:String = campMinutes.text + ":" + campSeconds.textSnapshot;
                                        camp += (arriveSwitch.selected) ? "@:" + time : (campSwitch.selected) ? "c:" + time : "";
                                        if (!useEnsignSwitch.selected == yes)
                                                  this.city.sendTroops(spinCoordsString(), TroopType.troopBeanToString(t,","), missionTypeIndex(), heroMenu.text, r, camp);
                                        else this.city.sendBigTroops(spinCoordsString(), TroopType.troopBeanToString(t,","), missionTypeIndex(), heroMenu.text, r, camp);
                                        heroMenu.selectedIndex = zero;
                                        updateHeroes();
                              protected function citycloseHandler(event:FlexEvent):void
                                        for each (var gcity:CityState in Context.getInstance().cities){
                                                  if (gcity.cityManager.castle.name == cityMenu.selectedLabel){
                                                            fieldIDtoSpinners(gcity.cityManager.castle.fieldId);
                              private function herocloseHandler(event:Event):void {
                                        selectedHero = ComboBox(event.target).selectedItem.label;
                    ]]>
          </mx:Script>
          <mx:DateFormatter id="TFseconds" formatString="J:NN:SS"/>
          <mx:HBox width="415" height="288" horizontalGap="5" horizontalScrollPolicy="off" paddingTop="5"
                               verticalScrollPolicy="off">
                    <mx:VBox width="277" height="280" horizontalAlign="center" horizontalScrollPolicy="off"
                                         verticalGap="4" verticalScrollPolicy="off">
                              <mx:HBox x="0" y="0" height="276" horizontalGap="5" paddingLeft="5" paddingTop="3">
                                        <mx:VBox height="267" horizontalScrollPolicy="off" paddingTop="5" verticalGap="4"
                                                             verticalScrollPolicy="off">
                                                  <mx:HBox id="troopCountBox" width="125" height="25" borderColor="#2B1296"
                                                                       borderStyle="solid" borderThickness="2" cornerRadius="5"
                                                                       horizontalAlign="center" horizontalGap="0" horizontalScrollPolicy="off"
                                                                       verticalScrollPolicy="off">
                                                            <mx:Label width="37" paddingTop="2" text="Army" textAlign="center"/>
                                                            <mx:Text width="70" paddingTop="2" text="125,000" textAlign="left"/>
                                                  </mx:HBox>
                                                  <mx:DataGrid id="table1" width="125" height="226" backgroundAlpha=".1"
                                                                                 backgroundColor="#EADFF2" borderColor="#400AAF" borderStyle="solid"
                                                                                 borderThickness="2" dataProvider="{tb2Troops}"
                                                                                 lockedColumnCount="2" lockedRowCount="12"
                                                                                 resizableColumns="false" rowHeight="20" selectionMode="singleCell"
                                                                                 showHeaders="false" sortableColumns="false"
                                                                                 variableRowHeight="false">
                                                            <mx:columns>
                                                                      <mx:DataGridColumn width="35" dataField="abbr" editable="false"
                                                                                                                  fontSize="10"/>
                                                                      <mx:DataGridColumn width="90" dataField="data" editable="true"
                                                                                                                  editorDataField="value" fontSize="10"
                                                                                                                  formatter="{nf}"
                                                                                                                  itemEditor="mx.controls.NumericStepper"/>
                                                            </mx:columns>
                                                  </mx:DataGrid>
                                        </mx:VBox>
                                        <mx:VBox width="131" height="268" horizontalAlign="center" paddingTop="5" verticalGap="4">
                                                  <mx:HBox width="125" height="25" borderColor="#2B1296" borderStyle="solid"
                                                                       borderThickness="2" cornerRadius="5" horizontalAlign="center" horizontalGap="0"
                                                                       horizontalScrollPolicy="off" verticalScrollPolicy="off">
                                                            <mx:Label width="31" paddingLeft="0" paddingRight="0" paddingTop="2" text="Res."
                                                                                  textAlign="right"/>
                                                            <mx:Text width="80" paddingTop="2" text="999,999,999" textAlign="left"/>
                                                  </mx:HBox>
                                                  <mx:DataGrid id="table2" width="125" height="139" allowMultipleSelection="false"
                                                                                 backgroundAlpha=".1" backgroundColor="#DBE4F5" borderColor="#400AAF"
                                                                                 dataProvider="{tb2Resources}" lockedColumnCount="2" lockedRowCount="5"
                                                                                 resizableColumns="false" rowHeight="20" selectionMode="singleCell"
                                                                                 showHeaders="false" sortableColumns="false" variableRowHeight="false">
                                                            <mx:columns>
                                                                      <mx:DataGridColumn width="35" dataField="abbr" editable="false"
                                                                                                                  fontSize="10" headerText="Type" textAlign="right"/>
                                                                      <mx:DataGridColumn dataField="data" editable="true"
                                                                                                                  editorDataField="value" fontSize="10" formatter="nf"
                                                                                                                  headerText="Amt." textAlign="right">
                                                                                <mx:itemEditor>
                                                                                          <mx:Component>
                                                                                                     <mx:NumericStepper doubleClickEnabled="true"
                                                                                                                                                maximum="{resMax()}"
                                                                                                                                                stepSize="1"/>
                                                                                          </mx:Component>
                                                                                </mx:itemEditor>
                                                                      </mx:DataGridColumn>
                                                            </mx:columns>
                                                  </mx:DataGrid>
                                                  <mx:HBox horizontalScrollPolicy="off" verticalAlign="middle"
                                                                       verticalScrollPolicy="off">
                                                            <mx:Label width="33" height="19" text="Arr:" textAlign="right"/>
                                                            <mx:Text id="_arriveClock" width="76" height="21" paddingLeft="2" paddingTop="1"
                                                                                 text="00:00:00" textAlign="left"/>
                                                  </mx:HBox>
                                                  <mx:HBox width="84" horizontalGap="0" horizontalScrollPolicy="off" verticalScrollPolicy="off">
                                                            <mx:TextInput id="campMinutes" width="23" fontWeight="bold" maxChars="3"
                                                                                             restrict="0-9" text="00" textAlign="right"/>
                                                            <mx:Text width="7" fontWeight="bold" selectable="false" text=":"
                                                                                 textAlign="right"/>
                                                            <mx:NumericStepper id="campSeconds" width="49" fontWeight="bold" maximum="59" value="" textAlign="left"/>
                                                  </mx:HBox>
                                                  <mx:ComboBox id="marchMenu" width="100" editable="false" fillColors="black,blue"
                                                                                 textAlign="center">
                                                            <mx:dataProvider>
                                                                      <mx:Array>
                                                                                <mx:String>transport</mx:String>
                                                                                <mx:String>reinforce</mx:String>
                                                                                <mx:String>scout</mx:String>
                                                                                <mx:String>attack</mx:String>
                                                                      </mx:Array>
                                                            </mx:dataProvider>
                                                  </mx:ComboBox>
                                        </mx:VBox>
                              </mx:HBox>
                    </mx:VBox>
                    <mx:HBox width="125" height="280" borderColor="#400AAF" borderStyle="solid"
                                         borderThickness="2" cornerRadius="5" horizontalGap="3" horizontalScrollPolicy="off"
                                         paddingLeft="4" paddingTop="4" verticalScrollPolicy="off">
                              <mx:VBox width="115" height="269" horizontalAlign="center" horizontalScrollPolicy="off"
                                                   verticalGap="5" verticalScrollPolicy="off">
                                        <mx:RadioButton id="useEnsignSwitch" width="65" label="Ensign"/>
                                        <mx:HBox width="100%" height="27" borderColor="#3F2AC1" borderStyle="solid"
                                                             borderThickness="2" cornerRadius="5" horizontalAlign="center"
                                                             verticalAlign="middle">
                                                  <mx:Button id="editSwitch" width="45" height="20" label="Edit" enabled="false"
                                                                         paddingLeft="1" paddingRight="1" toggle="true"/>
                                                  <mx:Button id="FMJSwitch" width="45" height="20" label="F.M.J."
                                                                         click="campSwitchClick(event)" enabled="false" paddingLeft="1"
                                                                         paddingRight="1" selected="true" toggle="true"/>
                                        </mx:HBox>
                                        <mx:ComboBox id="tb3Menu" width="100" dataProvider="{tb2Heroes}" editable="false"
                                                                       close="tb3closeHandler(event)" fillColors="black,blue" selectedIndex="0"
                                                                       textAlign="center">
                                        </mx:ComboBox>
                                        <mx:ComboBox id="cityMenu" width="100" dataProvider="{tb2Cities}" editable="false"
                                                                       close="citycloseHandler(event)" fillColors="black,blue" selectedIndex="0"
                                                                       textAlign="center">
                                        </mx:ComboBox>
                                        <mx:ComboBox id="heroMenu" width="100" dataProvider="{tb2Heroes}" editable="false"
                                                                       close="herocloseHandler(event)" fillColors="black,blue" selectedIndex="0"
                                                                       textAlign="center">
                                        </mx:ComboBox>
                                        <mx:HBox width="100" height="28" horizontalAlign="center" horizontalGap="0" paddingBottom="0"
                                                             paddingLeft="0" paddingRight="0" paddingTop="0" verticalAlign="middle">
                                                  <mx:Label text="X:"/>
                                                  <mx:NumericStepper id="xSpin" width="55" change="xySpin_changeHandler(event)"
                                                                                              maximum="800" minimum="-1" value="0"/>
                                        </mx:HBox>
                                        <mx:HBox width="100" height="28" horizontalAlign="center" horizontalGap="0"
                                                             horizontalScrollPolicy="off" paddingBottom="0" paddingLeft="0" paddingRight="0"
                                                             paddingTop="0" verticalAlign="middle" verticalScrollPolicy="off">
                                                  <mx:Label text="Y:"/>
                                                  <mx:NumericStepper id="ySpin" width="55" change="xySpin_changeHandler(event)"
                                                                                              maximum="800" minimum="-1" value="0"/>
                                        </mx:HBox>
                                        <mx:HBox width="108" height="26" borderColor="#3F2AC1" borderStyle="solid"
                                                             borderThickness="2" cornerRadius="5" horizontalAlign="center"
                                                             horizontalScrollPolicy="off" verticalAlign="middle" verticalScrollPolicy="off">
                                                  <mx:Button id="sendSwitch" width="45" height="22" label="Send" borderColor="#60C592"
                                                                         click="sendSwitchClick(event)" paddingLeft="1" paddingRight="1"/>
                                                  <mx:Button id="clearSwitch" width="54" height="22" label="Clear"
                                                                         click="clearSwitch_clickHandler(event)"/>
                                        </mx:HBox>
                                        <mx:HBox width="100%" height="27" borderColor="#3F2AC1" borderStyle="solid"
                                                             borderThickness="2" cornerRadius="5" horizontalAlign="center"
                                                             verticalAlign="middle">
                                                  <mx:Button id="arriveSwitch" width="45" height="20" label="Arrive" enabled="true"
                                                                         paddingLeft="1" paddingRight="1" toggle="true"/>
                                                  <mx:Button id="campSwitch" width="45" height="20" label="Camp"
                                                                         click="campSwitchClick(event)" enabled="true" paddingLeft="1"
                                                                         paddingRight="1" selected="true" toggle="true"/>
                                        </mx:HBox>
                              </mx:VBox>
                    </mx:HBox>
          </mx:HBox>
</mx:Canvas>

Similar Messages

  • How can i create a new user with only read rights ?

    How can i create a new user with only read rights ?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • How to create new user with more than one default folder

    hi
    A new user created in OCS has only one default folder(Inbox).
    I want to create new user with customized default folder.
    for example:
    a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
    And also I want to automaticly enable the functions:
    When sending messages, place a copy in Outbox
    Keep message drafts in Draft
    Move deleted messages to Dustbin
    who know that?
    thanks

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • Create a new user with Privileges to execute Seeded API's

    Hi,
    We have a requirement from our client, they want to create a new user with Privileges to execute Seeded API’s,
    So they dont want to execute using APPS user.
    We want to know is it possible to have a new user for executing seeded API's and if so what all priveleges we need to have.
    We are on 12.1.3 with 11.2.0.3  two node RAC Database on Exadata and Exalogic servers.
    Waiting for your suggestions and replies.
    Thanks

    Hi,
    Plz update this forum,
    and give me a suggestion at the earliest,
    Waiting for your valuable advice.
    Thanks

  • Create New user with ...

    Hi all
    I need to create new user with the following privileges :
    1- access any table data (read only)
    2- access the tables structure (read only)
    3- access the tables relations (read only)
    thanx in advance

    Hi,
    giggs11 wrote:
    I did the following :
    create user youruser identified by yourpassword;
    grant connect to youruser;
    grant SELECT_CATALOG_ROLE to username;
    but I cann't see my tables
    there is no erroExample :-
    Step 1:-
    sql> Conn system/manager@orcl;
    connected.
    step 2:-
    SQL> create user trial identified by trial;
    User created.
    Step 3:-
    SQL> grant connect to trial;
    Grant succeeded.
    SQL>grant SELECT_CATALOG_ROLE to trial;
    Grant succeeded.
    SQL> grant select any table to trial;
    Grant succeeded.
    Step 4:
    SQL> conn trial/trial@orcl;
    Connected.
    SQL> select * from tab;
    no rows selected
    Step 5:
    SQL> select * from scott.dept;
    DEPTNO DNAME LOC
    10 ACCOUNTING NEW YORK
    20 RESEARCH DALLAS
    30 SALES CHICAGO
    40 OPERATIONS BOSTON
    Step 6:
    SQL> desc scott.dept;
    Name Null? Type
    DEPTNO NOT NULL NUMBER(2)
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    you must read about privileges..
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm
    Regards
    S.Azar
    DBA
    "Question is Unquestionable"
    Edited by: azarmohds on Aug 15, 2009 6:28 AM
    Edited by: azarmohds on Aug 15, 2009 6:32 AM

  • How to create full new user with all privileges

    how to create full new user with all privileges?
    and how to delete existing users?
    Thanks in advance..

    Common solution is probably to use sudo for privilege elevation, wiki should help

  • I am a new user with i pad, I have an i phone with the app account tracker on it, I cannot get the information off my phone onto my i pad why?

    I am a new user with i pad, I have an i phone with the app account tracker on it, I cannot get the information off my phone onto my i pad why?

    iTunes: About iOS backups - Support - Apple

  • How do you change an used ipad to a new user with a new itunes account?

    How do you cange a used ipad to a new user with a new itunes account?

    plug your ipad to your computer, open your itunes, click on the ipad icon, at the first page there is an option to "restore" ipad to its factory settings, click it. Don't remove USB connection, wait until it finishes wiping the data and it should place a new window that asks you to register the ipad.
    There you go, your iPad is sync with your itunes account under your name, its best to also use "Find my iPad" just in case it gets lost, you can track it from your computer. Very handy tool and its free!
    But if you want the data that is in the iPad, back up it first and sync the content to your library before restoring it to its factory settings
    Have a great day and enjoy your iPad

  • New user with strange font problem

    I created a user account for my girlfriend...when she brought up the safari the google homepage had a strange grafiti font for all the text. (I say strange, but it's one of my many fonts in the collection) I opened up firefox and had the same problem...this morning I realized it was doing it in mail as well. Under my account (the admin and original account) there isn't an issue, but I've looked all over and can't find a setting to fix it for her account.
    It's driving me nuts. Any help would be greatly appreciated.
    15" Titanium Powerbook   Mac OS X (10.4.8)  

    ..."I say strange, but it's one of my many fonts in the collection"...
    Since it sounds like you know the name of the font, you could try to see if anything turns up with the command below, which searches through user preferences for a given string:<pre>defaults find "font name"</pre>A partial font name should be fine. Enter the command using "/Applications" > "Utilities" > "Terminal.app".
    Also, the caches (associated with a user by the 'uid') don't appear to be cleared when an account is deleted. So if a new user is created and gets assigned a previously used 'uid', they may inherit the old cache files. For starters, try clearing out any file or folder whose name contains the user's 'uid', such as the "/Library/Caches/com.apple.IntlDataCache.###" file or the "/Library/Caches/com.apple.ATS/###" folder belonging to the affected user. Then log out and back in. To determine the user's 'uid', try:<pre>id -u username</pre>

  • How to create new user, with same personal files, for troubleshooting?

    I cannot find this answer in "Finder Help", nor in the Community discussions thus far. What I must do to troubleshoot the spinnign beach ball: My next step: I must troubleshoot my friend's iMac running Mac O.S 10.6.8 by setting up a new user, called "Test". This I can do easily. However, what I am unsure of is this: as this "new user", actually just me as a tester, I must be able to access the same email, Word files, Desktop, photos, etc. that I used to access. How, then? Copy all into a shared folder or what? There must be a less cumbersome way. I do NOT wish to delete anything. Of course, I have justmade a perfect backup of everything on my hard drive. Please advise re my next step: sharing the "User" little house files, with myself, as the new, possilbly temporary, user. Thank you so much, anyone and everyone!

    You shouldn't do any of that for troubleshooting. The test user account should be pristine. If you copy stuff from the old account, then you also copy whatever is causing a problem.
    Just use the Accounts/Users & Groups preferences to create a second user called, "test." Make this user an admin user. Then log out of the old account and log into the new one. That's it. You can still access and use applications in the Applications folder if you need to test third-party applications.
    We could be more helpful if you explain just what you need to troubleshoot. If just the spinning beachball is your issue, then visit The XLab FAQs and read the FAQ on resolving the SBOD problem.
    If the computer is simply running slowly then read the following:
    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Auto-provisioning new users with GRC 10.1

    There is some lack of clarity at my client on auto-provisioning new users into SAP systems with GRC 10.  Here's what they want and I'm telling them they need SAP IdM.
    The client will regularly have upwards of 500 new users on an on-going basis.  These users are approved and created in Active Directory.  The client believes that GRC 10 can now pick up these new users from Active Directory and then go ahead and provision them into ECC and CRM automatically, as soon as they're created, with no further approval required.
    To the best of my knowledge, the easiest way to do this would be for IdM to do this, and have IdM trigger GRC for certain users, and to provision users who fall into this group of 500 users.
    These users are different from regular users, who need to go through the approval workflows.  Regular users will have managers and roles that need approval.  These 500 or so users are approved to be created in the system and don't need to get caught up in the approval workflow.
    Am I wrong in saying that IdM 7.2 is the best way to do this, or am I missing something about what GRC 10 can do?
    Thanks for your help.  I really appreciate it.

    Hi Santosh,
    In AC 10.1, I created one brf plus initiator rule.Although I saved it in GRAC_ACCESS_REQUEST package.Transport button is not available(Not greyed).
    Dis you faced this issue..How to get this change in transport??
    PS:Application are activated.
    Thanks,
    Mamoon

  • New users with Global Password Policy requiring password "reset on first user login" are still prompted to reset password after entering incorrect password

    The setup:
    We have the option "Password must: be reset on first user login" enabled in the Global Password Policy on our 10.9 / Mavericks server. We import new user accounts into Open Directory via a delimited text file and include a default password for each user.
    What I've observed and tested:
    When a user attempts to log into a computer that's bound to our Open Directory for the first time, they can enter anything in the password field and still receive the prompt to reset their password. They are never notified that they entered their default password incorrectly. The password reset will then fail (as it should), but they still aren't notified that this is the reason for the password reset failure. To put it another way: Seeing the prompt to reset your password would reasonably imply that you entered the default password correctly, but that's not the case at all.
    The question:
    Is this expected behavior? If it is, it doesn't seem logical. If this was the case in OS X Server 10.3 through 10.7 I never noticed it. Can anyone corroborate this with their own setup? Thanks in advance.
    -- Steve

    Some follow up questions:
    - How did you migrate (dsmig ldif or binary import)
    - Did the accounts in .x have any custom password policies set?
    For a "new" and a migrated entry, can you check if a passwordpolicysubentry is configured?
    (search as directory manager and fetch the attribute)

  • Create new user with objectclass

    I've extended our schema to include an objectclass "lfcouser" with a parent of inetorgperson. We are running 4.12. I'd like this objectclass to become part of any new user that is created, how do I do this? I've researched the documentation any many websites and can't find an answer.

    If creating a user from the console, from the Object menu, select New and Other. Scroll down the list to find lfcouser.

  • Why siri dont work in order to dial a phone number? I am new user with a ipphone 4s

    I cant dial with siri a any phone numbers, i am a new user, i have a iphone 4s
    and in Itunes do not appear in my library photos why?
    I tried to transfer my contacts fro sony satio to iphone 4s via blootooh, but nothing, How can I transfer my contacts from sony satio to iphone 4s,
    I tried to transfer from my computer library photos but nothing,
    I need someone who can help me.
    THANK YOU...
    Message was edited by: pedroOOOOOOOOOO

    Firstly make sure you have enabled Siri. Go to settings>general>Siri and turn on, may sure you complete the My Info etc.  Also go to settings>general>restrictions and turn Siri on there. 
    To use Siri press the home button to speak, you can also 'raise to speak' but be sure you enable that in settings>general>Siri>Raise to Speak and turn on.
    Finally, have a look here for more help http://support.apple.com/kb/HT4992

  • New user with query about hands free kit

    Hi, new user to the forum so please bear with me.
    I have recently got a Nokia 6303 Classic  'phone and was thinking about buying a CK-100 hands free unit.
    Questions are:
    1/ Are they compatible?
    2/ Do you have to use the external speaker supplied or can you use the car stero's speakers?
    3/ Is the hands free unit easy to fit?
    4/ Does the hands free unit automatically mute the car stero, or, is it necessary to buy a piece of equipment to do this?
    5/ When fitting the hands free kit do any other connectors have to be brought to connect to the car stero? If so, are they readilly available?
    The car the kit would be fitted into is a Mondeo ST220 with standard Sony 6 CD head unit.
    Thank you - Steve

    The issue was all around Mobilme syncs and the solution to stop duplicates by choosing "all contacts" solved the problem here.

Maybe you are looking for

  • Need to parse Japanese Full Date Format

    Hi, Locale japanLocale = Locale.JAPAN; SimpleDateFormat fullDateFormat = (SimpleDateFormat) SimpleDateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, japanLocale); String dateValue = 2010'?'09'?'12'?' 1'?'15'?'45'?'GMT // Here Japanese c

  • Regarding ABAP program.....

    Se38 editor......... tables: qamr. data: prueflos, mittelwert, pruefbemkt. select querry.... O/p will come: For ex: prueflos      PRUEFBEMKT    MITTELWERT 40000000764   R             9.2 40000000764   Y             7.5 40000000764   B             4.8

  • Execute in background

    Hi! I have a program after 20-30 minutes die for Run Time Exceded. The program consists in a selection screen and then we call a function. I have thought to call this function in background. CALL FUNCTION 'ZBAPI_00001' IN BACKGROUND TASK But the prog

  • Column View Preview hogs RAM

    I've posted in the past about my issues with the Finder crashing/relaunching and I never did find the likely cause....until this week. I do a heavy amount of browsing audio files on my drives using the Finder, and I finally decided to run Activity Mo

  • Java wont work on my Macbook Pro

    Hi, Ive recently purchased a Macbook Pro and am totally GREEN! I need to view lectures online and its stating that in order to do this I need to enable javascript or download the latest version of adobe flash. So I downloaded the latest version of ad