Error "You may only define methods within "CLASS class IMPLEMENTATION"

We have code in LMIGOSMC so that the vendor batch number appears in the MIGO transaction for certain movement types.  We have created another, custom movement type in which this functionality should be available so I need to add it to LMIGOSMC.  When I go in and try to make the modification I am getting the following error:
"You may only define methods within "CLASS class IMPLEMENTATION ...ENDCLASS".
What am I doing wrong?

Hi,
You are not doing anything wrong with regard to the syntax error you are getting.  During the syntax check of include program LMIGOSMC, the system is not aware of the CLASS... ENDCLASS statements within the program LMIGOSM4.  Try the syntax check at the LMIGOSM4 program level (or even better, at the SAPLMIGO level) and you will see that the error is not given.
Regards,
Jamie

Similar Messages

  • Cannot resolve symbol error while trying to define methods in a class

    Well, I'm fairly new to java and I'm trying to write a simple program that will take user input for up to 100 die and how many sides they have and will then roll them and output the frequencies of numbers occuring. I have overloaded the constructor for the Die class to reflect different choices the user may have when initializing the Die.
    Here is my code:import java.util.*;
    import java.io.*;
    public class Die
         private final int MIN_FACES = 4;
         private int numFaces;
         private int i = 0;
         private int faceValue;
         private Die currentDie;
         private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         private String line = null;
         public Die()
              numFaces = 6;
              faceValue = 1;
         public Die (int faces)
              if (faces < MIN_FACES) {
                   numFaces = 6;
                   System.out.println ("Minimum number of faces allowed is 6.");
                   System.out.println ("Setting faces to 6... . . .  .  .  .   .   .   .");
              else
                   numFaces = faces;
              faceValue = 1;
    //Returns an array of Die Objects
         public Die (int num_die, int faces)
              numFaces = faces;
              Die[] protoDie = new Die[num_die];
              for (i = 0; i <= num_die-1; i++)
                   Die currentDie = new Die(numFaces);
                   protoDie = protoDie.initMultiDie(currentDie, i);
         public Die (double num_die)
              int numberOfDie = (int) num_die;
              Die[] protoDie = new Die[numberOfDie];
              System.out.print ("Enter the number of sides for die #" + i);
              for (i=0; i <= protoDie.length; i++) {
              do {
                   try {
                        line = br.readLine();
                        numFaces = Integer.parseInt(line);
                   catch (NumberFormatException nfe) {
                        System.out.println ("You must enter an integer.");
                        System.out.print ("Setting number of dice to 0, please reenter: ");
                   if (numFaces < 0) {
                        System.out.println ("The number of sides must be positive.");
                        numFaces *= -1;
                        System.out.println ("Number of sides is: " + numFaces);
                   else
                      if (numFaces = 0) {
                        System.out.println ("Zero dice is no fun. =[");
                        System.out.print ("Please reenter the number of sides: ");
                   numFaces = 0;
              while (numFaces == 0);
              Die currentDie = new Die(numFaces);
              protoDie[i] = protoDie.initMultiDie(currentDie, i);
              i = 0;
         public Die[] initMultiDie (Die[] protoDie, Die currentDie, int i)
              protoDie[i] = currentDie;
              return protoDie;
         public Die reInit (int sides)
              currentDie.roll();
              return currentDie;
         public int roll()
              faceValue = (int) (Math.random() * numFaces) + 1;
              return faceValue;
    }When I compile I get 2 errors at lines 42 and 73 saying:
    Cannot resolve symbol | symbol: method initMultiDie(Die, int) | location: class Die[] | protoDie[i] = protoDie.initMultiDie(currentDie, i)
    I've tried mixing things up with invoking the method, such as including protoDie in the parameter liist, instead of invoking the initMultiDie method thru the protoDie Die[] object. I'm a little confused as to what I can and cannot do with defining arrays of Objects like Die. Thank you for any input you may be able to provide.
    ~Lije

    I may as well just replace Die with Dice and allow
    Dice to represent a collection of 1 die.. I just like
    to cut on bloat and make my programs be as efficient
    as possible.Efficiency and avoiding code bloat are good goals, but you don't necessarily achieve it by creating the smallest number of classes. If you have N algorithms in M lines, then you have that many, regardless of whether they're in one class or two. A really long source file can be a worse example of bloat than two source files of half the size -- it can be harder to read, less clear in the design, and thus with more bugs...
    The important thing is clarity and a strong design.
    The weird thing is, that initMultiDie is
    what seems to be throwing up the error, but I don't
    see why. Meh, I'm sure I'll figure it out.Refactoring a class to make the design more transparent often helps you figure out bugs.

  • ActionScript 2.0 class scripts may only define class or interface constructs.

    This is driving me nuts. I have an old AS1 project which I
    upgraded to AS2. It uses an include file, settings.as, which has
    stuff like this:
    settings = new Object();
    settings.property = 'some value';
    Then I include it on the main timeline like this:
    #include "settings.as"
    Every time I render, I get a million and one Compile Errors
    stating:
    "ActionScript 2.0 class scripts may only define class or
    interface constructs."
    But it isn't an ActionScript 2.0 class! It's just a regular
    include. How do I avoid the bogus Compile Errors?

    Okay, I found why the compiler is getting confused.
    In my settings.as file I create an object named 'settings' as
    mentioned. Later in my code elsewhere on the timeline, I refer to
    settings.property. When Flash sees that, I guess it sees that I
    refer to an object 'settings' and that there's a .as file called
    'settings' and it erroneously assumes it should be a class or
    something. I concluded this because if I change the object or .as
    name so that they do not match, the compile errors go away. As far
    as I know there's no way to tell the compiler that settings.as is
    not a class, despite the fact I'm not telling Flash that it is a
    class.

  • Upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy

    Hi All,
    upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy button.
    This is the issue which I am facing while working with SharePoint 2010. In a sharePoint 2010 document library I am having an excel file and I am trying to open it from Windows 7 and is office 2010.
    I cam e across few suggestion as mentined below but unable to find the location where to do
    Go to Resource Policies > Web >
    Rewriting > Custom Headers > (if 'Custom Headers' is not visible, click
    Customize on the right top to enable the view).
    Create a new policy with the Resource as <fully qualified domain name of the SharePoint server:*/*> (for example https://sharepoint.juniper.net:*/* ).
    Create the action as Allow Custom Headers.
    Apply the settings to the required roles.
    Please suggest.

    Hi rkarteek
    All things you have to do is as follows:
    1. Open regedit.exe
    2. Naviagate to following key:
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
    3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff"
    (without quotes)
    4. Click on "FSSHTTPOff" and enter value of 1
    5.
    Close any Office Applications and browser sessions
    6. Try to reopen your document (no more read only or failure to upload)
    have a nice day!

  • I am trying to reinstall Dreamweaver CS3 from the CD after having computer issues.  Now getting error "You can only install one Adobe product at a time.  Please complete the other installation before attempting to install ......."  There is no other Adobe

    I am trying to reinstall Dreamweaver CS3 from the CD after having computer issues.  Now getting error "You can only install one Adobe product at a time.  Please complete the other installation before attempting to install ......."  There is no other Adobe product installing.  I have used the Adobe Cleaner Tool many times and uninstalled other Adobe Products but neither has worked.  I have uninstalled/reinstalled this CD version of Dreamweaver several times when changing computers and after having computer issues. A google search of the problem suggested it may be an error related to the number of times I can reinstall this product due to licensing issues.  Please help.

    A google search of the problem suggested it may be an error related to the number of times I can reinstall this product due to licensing issues.
    Absolutely not. You are misinterpreting things. The activation check never happens when just running the installer, only much later. It means what it says - there is another "install" pending/ active on your system, meaning somewhere there is an (invisible) process still blocking things. Either way, since you haven't provided any real technical info, we can't advise specifically. if you are on Windows, you may want to check your task manager and terminate any setup.exe and msiexec.exe processes plus potentially may need to manually fix/ delete some registry keys. For anything beyond that you will have to be much more specific.
    Mylenium

  • Message "You may only enter amounts up to" creating document in FB60

    Hi
    We are facing this message "You may only enter amounts up to VEF 10.000.000,00" when user is creating document in FB60, where do we check in SPRO to change the amount.
    Thanks in advance.

    Hi,
    That is probably the document tolerance for employees.
    Check the tolerance groups are maintained per company code in tx OBA4. Tolerance group <blank>  is used if you have not assigned specific tolerance groups to users.
    The 'Amount per document' is probably the issue here. System checks this againts total debits of the document.
    You may have assigned users to specific tolerance groups. Check that with OB57.
    You can find this in the IMG by searching for searching for  ''Define Tolerance Groups for Employees" and "Assign User/Tolerance Groups".
    Regards,
    Rob

  • Error - You may display spool list from your own jobs..

    Hi Team,
    I have created a SAP_ALL Display role for our maintainence members and whenever they are trying to view the spool log in sm37 they are getting the Error - You may display spool list from your own jobs..
    I have checked the following objects :S_SPO_ACT and S_SPO_DEV all those have full authorizations and regenerated and done a user compare and then checked ..getting the same error..
    Could you pls provide your vauable suggestions..
    Regds,
    Satyanarayana N.

    Hello Satya,
    Normal users hardly need access to s_btch_adm with value *. I wonder if your security auditors would agree to it.
    Also 3 is not a valid value for s_btch_adm. Either it can be Yor N. Y mean that the user is batch administrator while N means the user is not. Of course * encompasses all. Try first with N and see if the users are able to see the spool.
    If not then do you have mutiple clients in your system? If so make sure users are trying to see the spool in the correct client i.e they are trying to check a spool generated in client X after logging into client X only.
    Regards.
    Ruchit.

  • After Effect: The licensing library encountered an error; you may need to reinstall.

    hi, I use creative cloud to download, and others are fine but After Effects and AI. After i got this info which is 'The licensing library encountered an error; you may need to reinstall.' , i uninstilled, and redownload and then reinstill, however, it is not working.
    please help

    if that's the exact error message, you'll need to troubleshoot the install logs, http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html
    if that's not the exact error message, attach a screenshot of it, http://forums.adobe.com/message/4209263#4209263

  • Help with creating a method within a class

    I need help creating another method within the same class.
    Here is part of my progam, and could anyone help me convert the switch statement into a seperate
    method within the same class?
    import javax.swing.JOptionPane;
    public class Yahtzee
         public static void main (String[] args)
              String numStr, playerStr, str, tobenamed;
              int num, times = 13, roll, x, y, maxRoll = 3, z = 0, t;
              int firstDie, secondDie, thirdDie, fourthDie, fifthDie, maxDie = 5, reroll;
              int rerolling = 0, categoryChoice, score, nextDie1, nextDie2, nextDie3, nextDie4;
              Die die1, die2, die3, die4, die5;
              do
              numStr = JOptionPane.showInputDialog ("Enter the number of player: ");
              num = Integer.parseInt(numStr);
              while (num < 1 || num > 6); //end of do loop
              String [] player = new String[num];
              // boolean //finsih later to make category choice only once.
              for (x = 0; x < num; x++)
                   playerStr = JOptionPane.showInputDialog ("Name of Player" + (x + 1) + " :");
                   player[x] = playerStr;  
              } //end of for loop
              die1 = new Die();
               die2 = new Die();
               die3 = new Die();
               die4 = new Die();
               die5 = new Die();
              int scoring [][] = new int [num][13];//scoring aray
              int[] numDie = new int[maxDie];
              String[][] usedCategory = new String [num][times];
              for (x=0; x < 13; x++)
                   for (y = 0; y < num; y++)
                      usedCategory[y][x] = " ";
              for (int choices = 0; choices < times; choices++)
                   //player turns for loop.
                   for (x = 0; x < num; x++)
                        //rolls the die;
                          for (y = 0; y < maxDie; y++)
                               numDie[y] =  die1.roll();
                     numStr = JOptionPane.showInputDialog (player[x] + "\n~~~~~~~~~~~~~~~~~~~~~~~"
                                                                            + "\nDie1: " + numDie[0]
                                                                                + "\nDie2: " + numDie[1]
                                                                                + "\nDie3: " + numDie[2]
                                                                                + "\nDie4: " + numDie[3]
                                                                                + "\nDie5: " + numDie[4]
                                                                                + "\nWhich dice do you want to reroll");
                    reroll = numStr.length();
                    if (reroll == 0)
                        t = maxRoll;
                   else{                                                      
                    //reroll
                         for(t = 0; t < maxRoll; t++ )
                             for (y = 0; y < reroll; y++)
                                    rerolling = numStr.charAt(y);
                                 //create another mwthod later.
                                    switch (rerolling)
                                         case '1':
                                              numDie[0] =  die1.roll();
                                              break;
                                         case '2':
                                              numDie[1] =  die1.roll();
                                              break;
                                         case '3':
                                              numDie[2] =  die1.roll();
                                              break;
                                         case '4':
                                              numDie[3] =  die1.roll();
                                              break;
                                         case '5':
                                              numDie[4] =  die1.roll();
                                              break;
                                         default:
                                         t = maxRoll;//to be changed
                                    } //end of switch class
                              }//end of reroll for loop
                                   JOptionPane.showMessegeDialog (player[x] + "\n~~~~~~~~~~~~~~~~~~~~~~~"
                                                                                      + "\nDie1: " + numDie[0]
                                                                                          + "\nDie2: " + numDie[1]
                                                                                          + "\nDie3: " + numDie[2]
                                                                                          + "\nDie4: " + numDie[3]
                                                                                          + "\nDie5: " + numDie[4]
                                                                                          + "\nWhich dice do you want to reroll"
                                               switch (rerolling)
                                         case '1':
                                              numDie[0] =  die1.roll();
                                              break;
                                         case '2':
                                              numDie[1] =  die1.roll();
                                              break;
                                         case '3':
                                              numDie[2] =  die1.roll();
                                              break;
                                         case '4':
                                              numDie[3] =  die1.roll();
                                              break;
                                         case '5':
                                              numDie[4] =  die1.roll();
                                              break;
                                         default:
                                         t = maxRoll; //not really anything yet, or is it?
                                    } //end of rerolling switch class
                                       //categorychoice = Integer.parseInt(category);
                              }//end of t for loop            
                   }//end of player for loop.

    samuraiexe wrote:
    well, i should have said it is a yahtzee program, and i ask the user what they want to reroll and whatever number they press, the switch will activate the case and the array that it will reroll.
    HOw would i pass it as an argument?You put it in the argument list. Modifying your original code a bit:
    public static void switchReroll (int[] dice, int position) {
         switch (position) {
         case '1':
                 dice[0] =  die1.roll()
                 break;
         case '2':
                 dice[1] =  die1.roll();
                 break;
         case '3':
                 dice[2] =  die1.roll();
                     break;
         case '4':
                 dice[3] =  die1.roll();
                 break;
         case '5':
                  dice[4] =  die1.roll();
                 break;
         default:
                 t = maxRoll;//to be changed
        } //end of switch
    }which you could then call as this:
    switchReroll(numDie, reroll);Note that your code still isn't done; the above won't compile. This is just an example of how you could pass the stuff as an argument (and note how the values have different names in the main method than in the switchReroll method -- this works, but also note that it's the same array of ints in both).
    By the way -- you really don't need a switch statement for this. You can do the same thing with a couple lines of code, which would lessen the advantage for a separate method. But I'd suggest continuing down this path, and then you could change the implementation of the method later.

  • Trying to understand methods - calling methods within own class - help

    I'm trying to write a simple program to search for letters in a string. I'm having a ton op problems; java seems so complicated with a lot of rules.
    The main problem I'm having (for now) is calling a method within the same class as main.
    import java.io.*;
    class LookForLetters{
        public static void main(String[] args)
         int i = 0;     
         int j = 0;
         int l = 0;
         int m = 0;
         String question1 = "Enter the line to be searched"; 
         String question2 = "Enter the line to be searched";       
         returnResponse stringtosearch = new returnResponse(question1); // here's where my problem is
            char[] chartosearch = stringtosearch.toCharArray();
         returnResponse letterstofind = new returnResponse(question2);
            char[] chartofind = letterstofind.toCharArray();     
         int findlength = chartosearch.length();
         int searchlength = chartofind.length();
         int[] k = new int[searchlength];
         for(i = 0; i < findlength; i++)
             for(j = 0; j < searchlength; j++)   
              if(chartosearch[i] == chartofind[j])
                  k[l] = i;
                  l++;
                  System.out.print("T");
             System.out.print(i + " " + l);
                if(l == 0)
                    System.out.print(chartofind[i] + " is the not in the sentence.");
                    System.out.println();       
                else
                    System.out.print(chartofind[i] + " is the ");
                 for(m = 0; m < l; m++)
                     System.out.print(k[l] + " ");
                    System.out.print("letter of your sentence");
                    System.out.println();
                    l = 0;
        public String returnResponse(String question){
         String response = " ";
         System.out.print(question);
         try
             InputStreamReader isr = new InputStreamReader(System.in);
                BufferedReaderbr = new BufferedReader(isr);
             response = br.readLine();            
         catch(IOException e)
             System.out.print("error");
         return response;
    }The compiler says that it can't find the returnResponse method. when I try to instantiate the whole class, it says the package is not included. Please help.

    JoachimSauer wrote:
    DaneWKim wrote:
    thank you very much for your response. I'm sure it's obvious that I'm really confused. I'm used to C and assembly programming, so the OO concepts are really foggy.That particular line doesn't even deal with any OO concept. But the fact that you already know C helps me give a (hopefully) more useful answer:
    What is the return type of the method you're trying to call?
    What is the type of the variable you want to assign the return value to?
    Are those compatible? Or even more general: do they both exist?I changed it to:
            String stringtosearch = returnResponse(question1);
            char[] chartosearch = stringtosearch.toCharArray();
         String letterstofind = returnResponse(question2);
            char[] chartofind = letterstofind.toCharArray();I guess I'm getting confused with medthods, class and types. There's a whole host of new vocabulary and rules with OO and java that have me a bit confused. I appreciate your help.

  • ERROR : You can only work in client 900

    Hi,
    There are 2 clients in the BI environment.
    Client 200 & Client 900.
    Client 900 is used for testing.
    Client 200 is used for development environment.
    We are able to use Client 900 without any problem.
    But when we login in client 200 and execute t-code RSA1"
    following error occurs.
    "You can only work in client 900
    Message no. BRAIN009
    Diagnosis
    Your SAP BW system can only operate in client 900.
    Procedure
    Log on in client 900."
    Can someone suggest solution for this.
    rgds
    Prashant

    hi,
    check oss note 522569-BW: Working in several clients (especially APO 4.x/SCM 4.x)
    and thread
    Re: Is it posible to work with multiple clients in BW?
    hope this helps.
    522569
    Symptom
    You cannot work in several clients in the BW system or in a system that uses BW as a basis (for example: APO Demand Planning).
    Other terms
    MANDT, client, source system, APO, SCM, ERP, Bank Analyzer
    Reason and Prerequisites
    In BW, master data IDs and dimension IDs are taken from number ranges. The BW objects against which the number range intervals are client-specific are cross-client objects. As the IDs must be unique, these may only be determined in one client. This means that BW can only operate in one client.
    The BW objects are cross-client. They can be accessed and changed to the same extent in all clients. BW is displayed identically in all clients. In particular, there is only one Myself source system as this is used to generate the change log for ODS objects. Therefore, when the Administrator Workbench is started, the system checks to see whether you are working in the same client in which the Myself source system was created.
    Some extractors from the APO system only work in the client in which the data was created (this is due to the fact that the LiveCache is used). As the Myself connection does not change the client, the extraction of this data must be started in the same client in which the APO data was generated.
    For more information about client-dependencies for SAP APO and SCM 4.x, refer to the paper "SAP APO 3.x & SAP SCM 4.0 Multiclient Capabilities" in http://service.sap.com/scm -> mySAP SCM Technology -> "Installation, Upgrade, Migration, System Copy, Client Dependencies". The direct link for the paper is: http://service.sap.com/~sapidb/011000358700006688312002.
    Solution
    Particularly in SCM/APO it can make sense to use several clients for BW in the SCM/APO system, because the SCM/APO Customizing is client-specific. CAUTION, this note only applies to SCM Releases as of 4.0. For Releases below SCM 4.0, see note 384057.
    In SCM as of 4.0 (BW 3.0), it is possible without a BW modification to log on in several clients and to also use the BW functions in these. In addition to this note, you must also take some restrictions and other information into account. This information is maintained centrally in the paper mentioned at the beginning of the note.
    BW 3.0B
               Import Support Package 2 for Release 3.0B (BW3.0B patch 02 or SAPKW30B02) into your BW system. The Support Package will be available once Note 493971 "SAPBWNews BW 3.0B Support Package 02", which describes this Support Package in more detail, has been released for customers.
    Proceed as follows:
    The default client must still appear in the BWMANDT field in the RSADMINA table. Under no circumstances must this entry be changed. Otherwise it may be impossible to use the data in all InfoCubes and all master data tables. Numbers are taken and only created in this client.
    Using transaction SM59, create an RFC destination for this default client with the following attributes:
    RFC destination (name)
    Connection type:         R/3 connection
    Client:                  Default client from the RSADMINA-BWMANDT table
    The connection must have a password or it must be set as a Trusted System. It must be possible to log on using this connection without additional passwords being requested.
    Enter this RFC connection in the BWMANDTRFC field of the RSADMINA table.
    When you work in different clients, you must take the following restrictions into account:
    BW releases lower than 3.5
    BW does not support the connection of new source systems (also file source systems) outside the BW standard client. Only one "myself" source system can be created.
    It is considered possible to connect a client other than the BW standard client to an external BW as a source system. Although you can do this using note 609167, this involves restrictions that are mentioned below in the "BW Release as of 3.5" section.
    Proceed as follows if you want to upload data into your new client (also ODS update and file source systems). This is not valid if note 609167 has been implemented):
                         In your new client for all source systems, from which you wish to upload data into non-BW standard clients, create partner connections as an IDENTICAL copy (including names) of the partners in the BW standard client.  If you are setting up the new client for the first time, you can use the client copier (transaction SCCL).
                         Create the BW background user (generally, BWREMOTE) with the S_BI-WHM_RFC and S_BI-WX_RFC profiles. Make sure that the name is the same as the name in the BW standard client.
    BW releases as of 3.5
    BW does not support the connection of new source systems (also file source systems) outside the BW standard client. Only one "myself" source system can be created.
    The Administrator workbench can only be called in the BW standard client.
    You cannot upload data into a client other than the BW standard client.
                        As of BW 3.5 with PI BASIS 2004.1 or higher, you can connect another source system besides the BW standard client as a separate source system to BW (extraction from another client within the system), provided the BW standard client and BW background user have been entered in the Myself destination. See note 538052.
    Authorizations/roles
    Like users, authorizations are also client-specific. If you work in several clients, you must ensure that the necessary authorizations and roles exist in the other clients.
    Client copy
    No client copy may be performed in the BW standard clients. This would destroy the versions of the number range intervals and thereby make the BW data inconsistent.

  • Calling a method within a class form another class(ViewController)

    I am creating an SQL project in XCODE. I have one view. My main view controller is loading the database to a table/array. I want to add another class (with no NIB) just to handle the display of the table in a UITableView. So, I added a skeleton cocoa touch class file to my classes folder to handle this function when parameters change.
    So, in my app delegate, the "applicationdidFinishLaunchingWithOptions" method loads my mainViewController and NIB.  On the "viewDidLoad" method in my mainViewController, I read a URL into an SQLite database and close the database.  Herein lies the problem: I want to call my new class (TableViewHandler) and pass it the array created in the mainViewController and use the array to populate the UITable.
    How do I call a class from within another class (which has no NIB) to populate the table?  Especially if my TableViewHandler has no "viewDidLoad", "viewDidAppear", etc.
    Regads,
    -Kevin

    This is what my exact problem.
    i've created a bean (DataBean) to access the database. i'm having a servlet program (ShopBook). now to check some details over there in the database from the servlet i'm in need to use a method in the DataBean.
    both ShopBook.java and DataBean.java lies in the package shoppack.
    in ShopBook i tried to instantiate the object to DataBean as
    DataBean db = new DataBean();
    it shows the compiler error, unable to resolve symbol DataBean.
    note:
    first i compiled DataBean.java, it got compiled perfectly and the class file resides inside the shoppack.
    when i'm trying to compile the ShopBook its telling this error.
    hope i'm clear in explaining my problem. can u please help me?
    thank u in advance.
    regards,
    Fazli

  • LAN Networking / UUID error - "You may need to enter the name and password"

    I'm having an issue with networking via ethernet cable. I'm connecting to Windows Vista via ethernet from my macbook pro.
    Everything was going hunky dory until today when I connected and tried to copy a folder over from my desktop to a folder on my vista machine.
    The error is a three tier one, as follows:
    1. +"You may need to enter the name and password for an administrator on the computer to change the item name "..." - stop or continue"+
    2. +"The item "..." contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?" - stop or continue+
    3. +"The operation cannot be completed because you do not have sufficient privileges for some of the items."+
    This happens with all files and folders that I try to transfer over. I have full permissions on both ends to do this and the folders have full permissions.
    I've done a bit of trawling and have found out that if you goto: system prefs - accounts (click unlock) - right click on the user in question - advanced options, you can click on the "create new" button under UUID and create a new UUID digit, then restart. This works!!!!... But...
    ...it only works for a little while. After transferring a few folders or files accross, it comes up with the three tiered warning: "you may need to enter the name and... etc etc."
    This is really annoying.
    I've found my initial answers on this thread: http://discussions.apple.com/thread.jspa?threadID=1823835&tstart=45, but this issue seems to go one step further by constantly not allowing me access
    Has anyone got any thoughts about what I can do? I've also tried running applejack on startup, but this doens't work either...

    Actually I get some other errors as well:
    "You may need to enter the name and password..."
    Then I click continue...
    "The item "filename" contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?"
    I click continue...
    "The operation cannot be completed because you do not have sufficient privileges for some of the items."
    I am copying a text file made from textedit. I have logged into the shared drive on my iMac. I get the same errors coying to my own user folder. Same account on both machines.
    But it does copy a blank version of the file to the drive and adds the .txt extension to it. Then I can delete it from the share.

  • PHOTOSHOP SETUP FAILURE- SAYS 'YOU MAY ONLY INSTALL ONE PRODUCT'

    I have downloaded the trial version of Adobe Photoshop, when I ever I run the exe, it successfully creates the folder for CS3.
    Upon doing this, I access the setup.exe file and run it.
    It completes on 100%, and then says;
    'You can only install one Adobe product at a time. Please complete the other installation before attempting to install Adobe Setup.'
    I only have reader and flash on my computer, I have searched for this other incomplete installation and have found nothing.
    The system is in error as there is no other program installing or running.
    What then, is the solution to this issue? How do I get photoshop to complete it's installation?
    http://img514.imageshack.us/my.php?image=adobefailpr7.jpg
    There is a screenshot of the fail screen.

    This was reported a few times after CS3 came out.
    I can only suggest the various steps that were recommended then, which included a full removal from the Control Panel applet followed by a deletion of all folders (in several directories) related to CS3, then running the Adobe clean-up script, then re-installing.
    There were other problems related to AV, Flash, IE and registering a DLL too.
    All in all, it makes you long for the day when an installation routine worked properly. This is another example of Adobe rushing an incomplete, buggy program out to meet marketing time-scales rather than engineering ones. As long as they go on making obscene profits things are not likely to change either.

  • Exchange Edge clone config import in Exchange Management shell throws error "You cannot call a method on a null-valued expression"

    Hi All,
    During the Coexistence of Exchange 2007 to 2010 Migration..
    I have create new Edge Scubscription in Edge Server 1 and Export the Edge Configuration File from Edge Server 1.
    While trying to Import Edge configuration to Edge Server 2 in Exchange Management Shell, I am getting the below Error.
    I have tried importing on both Exchange 2007 and 2010 Edge Servers, getting the same error.
    "Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression."
    Please help in resolving this issue...

    Also found the CloneLogFile as below : I masked my domain name as xxx for security reason..
    Get-TransportServer -Identity:xxx | Set-TransportServer -AntispamAgentsEnabled:$true -ConnectivityLogEnabled:$false -ConnectivityLogMaxAge '30.00:00:00' -ConnectivityLogMaxDirectorySize '250MB' -ConnectivityLogMaxFileSize '10MB' -ConnectivityLogPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Logs\Connectivity' -DelayNotificationTimeout '04:00:00' -ExternalDelayDsnEnabled:$true -ExternalDNSAdapterEnabled:$true -ExternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -ExternalDNSProtocolOption
    'Any' -ExternalDNSServers:$null -ExternalIPAddress:$null -ExternalDsnDefaultLanguage 'en-US' -ExternalDsnLanguageDetectionEnabled:$true -ExternalDsnMaxMessageAttachSize '10MB' -ExternalDsnSendHtml:$true -InternalDelayDsnEnabled:$true -InternalDNSAdapterEnabled:$true
    -InternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -InternalDNSProtocolOption 'Any' -InternalDNSServers:$null -InternalDsnDefaultLanguage 'en-US' -InternalDsnLanguageDetectionEnabled:$true -InternalDsnMaxMessageAttachSize '10MB' -InternalDsnSendHtml:$true
    -MaxConcurrentMailboxDeliveries '7' -MaxConcurrentMailboxSubmissions '20' -MaxConnectionRatePerMinute '1200' -MaxOutboundConnections '1000' -MaxPerDomainOutboundConnections '20' -MessageExpirationTimeout '2.00:00:00' -MessageRetryInterval '00:01:00' -MessageTrackingLogEnabled:$true
    -MessageTrackingLogMaxAge '30.00:00:00' -MessageTrackingLogMaxDirectorySize '1GB' -MessageTrackingLogMaxFileSize '10MB' -MessageTrackingLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\MessageTracking' -MessageTrackingLogSubjectLoggingEnabled:$true
    -OutboundConnectionFailureRetryInterval '00:30:00' -IntraOrgConnectorProtocolLoggingLevel 'None' -PickupDirectoryMaxHeaderSize '64KB' -PickupDirectoryMaxMessagesPerMinute '100' -PickupDirectoryMaxRecipientsPerMessage '100' -PickupDirectoryPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Pickup' -PipelineTracingEnabled:$false -ContentConversionTracingEnabled:$false -PipelineTracingPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\PipelineTracing' -PipelineTracingSenderAddress:$null
    -PoisonMessageDetectionEnabled:$true -PoisonThreshold '2' -QueueMaxIdleTime '00:03:00' -ReceiveProtocolLogMaxAge '30.00:00:00' -ReceiveProtocolLogMaxDirectorySize '250MB' -ReceiveProtocolLogMaxFileSize '10MB' -ReceiveProtocolLogPath 'C:\Program Files\Microsoft\Exchange
    Server\TransportRoles\Logs\ProtocolLog\SmtpReceive' -RecipientValidationCacheEnabled:$true -ReplayDirectoryPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Replay' -RoutingTableLogMaxAge '7.00:00:00' -RoutingTableLogMaxDirectorySize '50MB' -RoutingTableLogPath
    'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\Routing' -SendProtocolLogMaxAge '30.00:00:00' -SendProtocolLogMaxDirectorySize '250MB' -SendProtocolLogMaxFileSize '10MB' -SendProtocolLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpSend'
    -TransientFailureRetryCount '6' -TransientFailureRetryInterval '00:10:00'
    New-AcceptedDomain -DomainName 'xxx' -DomainType 'Authoritative' -Name 'xxx'
    Set-AcceptedDomain -DomainType 'Authoritative' -AddressBookEnabled:$true -Name 'xxx'
    Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression.

Maybe you are looking for