Creating instances using a string identifier

Is there a way to create an instance of a class given it's
class name as a string( for example). I know I could do it simply
by using conditional logic, but I'd like this to be extensible and
don't want to have to keep adding conditions as the system grows.
In other languages I've used, this is possible in many ways
and was wondering if there is a way to do this in AS 3.0
Thanks.

Thanks for the heads up Ed!
One way to be ableto get around your issue (not that this
exists in AS 3.0) is to be able to "register" a class so the
compiler/linker can link it into the swf and you get compile time
checking.
This is the way Delphi allows for this. The C# complier is
kind of in between in that you are still liable to get a runtime
error in the case that you creat an instance of a class using (say)
Activator.CreateInstance() which is the equivalent.
One way to get around this in AS 3.0 (I think) would be to
simply declare a variables of the types you intend to create
instances of dynamically. This should force the linker to link in
the class definition.
Of course in both C# and Delphi you can create instances of
classes unknown to you at complie time. From the looks of it, AS
3.0 can't do this.

Similar Messages

  • Unable to connect to Auxiliary instance using connect string

    Hi All
    I am trying to setup Data guard on 11G Release 2 OS : OEL 5.4. I have to connect to the auxiliary instance using rman. But i am getting following error.
    >
    [oracle@vm4dg ~]$ rman
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:25:13 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> connect auxiliary sys/orcl123@melbourne
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
    >
    I have tried the solutions like all service name in listener.ora to be in upper/lower case.
    Thanks
    Ankur

    Here's what you asked for
    On primary
    >
    [oracle@oel54gen ~]$ rman target sys/orcl123@London auxiliary sys/orcl123@melbourne
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:50:09 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: LONDON (DBID=3149285088)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
    >
    for sqlplus on primary
    >
    [oracle@oel54gen ~]$ sqlplus "sys/orcl123@melbourne as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:52:13 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    >
    for sqlplus on Standby
    >
    [oracle@vm4dg dbs]$ sqlplus "sys/orcl123@london as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:53:42 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    SQL>
    >
    One more thing is that i have two oracle homes on each machine. And listener are running from grid home
    Thanks
    Ankur

  • Using PAPI to create instance on Enterpise

    Hi.
    I have deployed my process on Enterprise edition with weblogic and oracle.
    I need to know all the libraries required for writing PAPI program to create instance.
    Also anything i should take care of while writing the java program to create instance using PAPI.
    Like. do i need to have weblogic.jar in the classpath. or any other jars.
    Regards
    Right Chord

    Thanks,
    Maybe I didn't explain exactly what I was expecting with the standby database, these steps are what I did, to resolve the issue
    ENABLE THE STANDBY DATABASE TO STARTUP FROM SPFILE
    Step 1: create a newly spfile from the current pfile
    SQL> CREATE SPFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEORCL.ORA' FROM PFILE='C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA';
    Step 2: Rename the INITORCL.ORA TO SAVE_DATE_INITORCL.ORA
    Example: the C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORCL.ORA became
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SAVE_24072007_INITORCL.ORA
    Step 3: delete the former sid created
    C:\ORADIM -delete -sid orcl
    Instance deleted.
    Step 3: Change the Oracle service to start when the OS start
    C:\ ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -SPFILE
    Instance created.
    Now When I shutdown the whole system and start it up, the standby database startup. the only thing is that the standby database startup a read-only mode, defautl with oracle 10g this is fine for me, because the MRP is stopped but the log shipping is not stopped.
    So eventhough the system admin shutdown the database server at OS level without letting me know, tha standby should continue receiving archived log files.
    I'll just need to monitore the lop apply process and start it to apply archived log files received
    Thanks

  • Using Class and Constructor to create instances on the fly

    hi,
    i want to be able to create instances of classes as specified by the user of my application. i hold the class names as String objects in a LinkedList, check to see if the named class exists and then try and create an instance of it as follows.
    the problem im having is that the classes i want to create are held in a directory lower down the directory hierarchy than where the i called this code from.
    ie. the classes are held in "eccs/model/behaviours" but the VM looks for them in the eccs directory.
    i cannot move the desired classes to this folder for other reasons and if i try to give the Path name to Class.forName() it will not find them. instead i think it looks for a class called "eccs/model/behaviours/x" in the eccs dir and not navigate to the eccs/model/behaviours dir for the class x.
    any ideas please? heres my code for ye to look at in case im not making any sense:)
    //iterator is the Iterator of the LinkedList that holds all the names of the
    //classes we want to create.
    //while there is another element in the list.
    while(iterator.hasNext())
    //get the name of the class to create from the list.
    String className = (String) iterator.next();
    //check to see if the file exists.
    if(!doesFileExist(className))
    System.out.println("File cannot be found!");
    //breake the loop and move onto the next element in the list.
    continue;
    //create an empty class.
    Class dynamicClass = Class.forName(className);
    //get the default constructor of the class.
    Constructor constructor = dynamicClass.getConstructor(new Class[] {});
    //create an instance of the desired class.
    Behaviour beh = (Behaviour) constructor.newInstance(new Object[] {});
    private boolean doesFileExist(String fileName)
    //append .class to the file name.
    fileName += ".class";
    //get the file.
    File file = new File(fileName);
    //check if it exists.
    if(file.exists())
    return true;
    else
    return false;
    }

    ok ive changed it now to "eccs.model.behaviours" and it seems to work:) many thanks!!!
    by the following you mean that instead of using the method "doesFileExist(fileName)" i just catch the exception and throw it to something like the System.out.println() ?
    Why don't you simply try to call Class.forName() and catch the exception if it doesn't exist? Because as soon as you package up your class files in a jar file (which you should) your approach won't work at all.i dont think il be creating a JAR file as i want the user to be able to create his/her own classes and add them to the directory to be used in the application. is this the correct way to do this??
    again many thanks for ye're help:)

  • How to reference the Instance name using Substitution string or SQL

    All:
    We have an Application that will be replicated in multiple Apex instances and would like to display the current Oracle Apex Instance name ( Similar to the &APP_USER. on the Welcome portion of the page ) .
    Is there a substitution string for this ?
    We plan on using a Show/Hide region on the splash page titled [About], that when clicked displays an HTML region with the subsitution strings.
    If no substitution strings, can someone help with an SQL that returns the Instance name ?
    Thanks for all the help.
    Aubrey Fernandes

    Aubrey Fernandes wrote:
    I currently have 3 URLs to get to my Development, QA and Production servers & will have many more production servers with different Application Ids.
    Development = http://canqa101:7777/pls/ngcrmd01/apex
    QA = http://canqa101:7777/pls/ngcrmq01/f?p=100:1
    Production = http://cancs105:7777/pls/ngcrmp01/f?p=100:1
    What I need are the portions before the final forward slash ( canqa101:7777/pls/ngcrmd01 ) which I assumed is the Oracle Apex instance.That information is determined by the web server configuration (e.g. the DADs when using OHS) rather than through APEX itself. There are no built-in substitution strings for this. Create an application item and an On New Instance (new session) computation to set the value using the function<tt>owa_util.get_cgi_env</tt> function to get the CGI environment variables <tt> HTTP_HOST</tt> and <tt>SCRIPT_NAME</tt>. You can then reference the value in the region using substitution string syntax.

  • "Using a CIN to Create an Array of Strings in LabVIEW" example crashes LV on Linux

    Tried to utilize this NI example: "Using a CIN to Create an Array of Strings in LabVIEW" (http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B4B282BE7EF907C8E034080020E74861&p_node=&p_source=External)
    Compiles OK with the makefile made by the LV's lvmkmf utility. Nevertheless when I try to run the VI (with the code loaded into the CIN, of course), LabVIEW 7.1.1 on a SUSE 9.3 Linux machine crashes:
    LabVIEW caught fatal signal
    7.1.1 - Received SIGSEGV
    Reason: address not mapped to object
    Attempt to reference address: 0x0
    Segmentation fault
    Any ideas? Did anybody try this on a Windows machine?

    H View Labs wrote:
    Tried to utilize this NI example: "Using a CIN to Create an Array of Strings in LabVIEW" (http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B4B282BE7EF907C8E034080020E74861&p_node=&p_source=External)
    Compiles OK with the makefile made by the LV's lvmkmf utility. Nevertheless when I try to run the VI (with the code loaded into the CIN, of course), LabVIEW 7.1.1 on a SUSE 9.3 Linux machine crashes:
    LabVIEW caught fatal signal
    7.1.1 - Received SIGSEGV
    Reason: address not mapped to object
    Attempt to reference address: 0x0
    Segmentation fault
    Any ideas? Did anybody try this on a Windows machine?
    This code is badly broken. In addition to resizing the actual handle to hold the number of string handles you also would need to create the string handles itself before attempting to write into them. NumericArrayResize is the fucntion to use as it will either resize an existing handle (if any) or create a new one if the value is uninitialized (NULL).
    /* resize strarr to hold handles to NUMSTRINGS strings */
    err = SetCINArraySize((UHandle)strarr, 0, NUMSTRINGS);
    if (err)
    goto out;
    /* perform this loop once for each element */
    /* of array of strings being created */
    for (i = 0; i < NUMSTRINGS;) {
    LStrHandle handle = (*strarr)->arg1[i];
    /* determine length of string that will be element of strarr */
    strsize = StrLen(str[i]);
    err = NumericArrayResize(uB, 1, &handle, strsize);
    if (err)
    goto out;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    /* moves strsize bytes from the address pointed to */
    /* by str[i] to the address pointed to by the data pointer in the handle */
    MoveBlock(str[i], LStrBuf(*handle), strsize);
    /* manually set size of string pointed to by *strarr */
    (*((*strarr)->arg1[i]))->cnt = strsize;
    /* manually set dimSize of strarr */
    (*strarr)->dimSize = ++i;
    return noErr;
    out:
    return err;
    Rolf KalbermatterMessage Edited by rolfk on 06-30-2005 03:15 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Using a string source to create a filestream

    is there any way 2 use a string source to create a filestream.
    eg string s= " JAVA ";
    now i want a filestream containg this string s.

    You could save the string to a file and then open it. However, that seems a stupid thing to need to do. Why do you need a FileStream rather than an InputStream?

  • How to use create-nodeset-from-delimited-string()

    Hi All,
    I am getting the input data as following
    name rollno sub
    Anu 1 Maths|science|social
    and the output should be as follows:
    name rollno sub
    Anu 1 Maths
    Anu 1 Science
    Anu 1 Social
    I need to implememt this by using oraext:create-nodeset-from-delimited-string() in XSLT Pls help me out in resolving this issue
    Regards,
    Anasuya

    can u elaborate the query with ur input xml and output xml for clear understanding instead of
    name rollno sub
    Anu 1 Maths|science|social
    and the output should be as follows:
    name rollno sub
    Anu 1 Maths
    Anu 1 Science
    Anu 1 Social
    check the following links it might help u
    http://www.soabyte.com/2011/01/delimited-string-to-xml-nodeset.html
    Edited by: olety on Nov 2, 2011 2:29 AM

  • Creating a new web server instance using script

    Hi
    We have to create 10 instances of sun one 6.1 web server again and again. Creating them from GUI and deleting them after testing is going to be a time consuming process. Is there a way to copy an existing instance with the help of some command line tool or shell script (If we know what enteries should be there in each configuration file). Any help will be appreciated.
    Thanks
    Anoop

    6.1 unfortunately does not provide a way to create instances through command line tool. With 7.0 (soon to be released as Beta in the coming weeks) will have a full fledged command line tool for all server administration tasks
    meanwhile, as a temporary work around one could do the following within a shell or perl script.
    [ this approach is totally not supported by Sun. You are on your own ]
    1. cd INSTALL_ROOT
    2. copy https-HOSTNAME to https-test (/bin/cp -Rf https-HOSTNAME https-TEST) - assuming TEST is the new instance name that you want to create.
    3. use a script to edit the following files and replace 'https-HOSTNAME' to https-TEST in all occurrences.
    list of files to change:
    start , stop , reconfig , restart , rotate
    config/magnus.conf
    config/server.xml
    4. finally, you can use 'HttpServerAdmin' to change the listener port, security settings etc
    ./bin/https/bin/HttpServerAdmin -h
    http://docs.sun.com/source/819-0130/agcmdln.html
    for eg ( i would do something like this )
    (to create instance https-TEST from default server instance, assuming you do not have special ACL file configured in the default instance, I would do something like )
    use a perl script to copy https-HOSTNAME to https-TEST
    (/bin/cp -Rf https-HOSTNAME https-TEST)
    /bin/cp httpacl/generated.http-HOSTNAME.acl httpacl/generated.http-TEST.acl
    cd https-TEST
    replace https-HOSTNAME to https-TEST in following files (start, stop, restart, reconfig, rotate, config/magnus.conf, config/server.xml)
    cd ..
    now delete the listener socket id
    ./bin/https-TEST/bin/HttpServerAdmin delete -l -id ls1 -sinst https-TEST -d INSTALL_ROOT (where you server is installed)
    followed by create a new listener socket id
    ./bin/https-TEST/bin/HttpServerAdmin create -l -id ls1 -ip ANY -port NEW_PORT -sname HOSTNAME -defaultvs https-TEST -sinst https-TEST -d INSTALL_ROOT
    [ similarly, you can perform other server admin tasks using this command' ]

  • Got compilation error about 'create instance activity' using file adapter

    Hi,
    I am creating a very simple bpel process using file adapter. in my 'Receive' activity, I selected 'create instance' , as the tutorial says.
    I got this compilation error during deploying.
    'Error(31): [Error ORABPEL-10051]: multiple create instance activity [Description]: in line 31 of "D:\OraBPELPM_1\integration\jdev\jdev\mywork\BPELPractices\FileAdapterTest2\FileAdapterTest2.bpel", Conflicting createInstacne="yes". Instance is already created by another activity. [Potential fix]: Remove createInstance="yes" attribute from this activity. '
    Several people had the same problem in my team. I wonder if this is a common issue. how to fix it?
    Thanks,
    Kate

    You must be having another receive/pick activity within the same process that has "createInstance" set to yes.
    Thats why its complaining.

  • Create Instance passing String

    Hi,
    I have one method which takes up a string parameter.
    I need to create an instance of that string. .
    could you plz. tell me how to do that..
    Thnks in advance.
    regards
    amj

    Err... In your previous postings, you have asked about Weblogic server installation, factories, singletons, Eclipse, Tomcat, HTTP, ...
    And now you have forgotten how to pass a string to a method?
    Start here: http://java.sun.com/docs/books/tutorial/

  • Using a string variable to create an object

    Hi, I just have a quick question. It is probably very simple but I can not seem to find an asnwer anywhere.
    I have a class called Receive, from this class I derrive 12 difference other classes.
    I also have a hashtable with a bunch of Object objects. At run time I get one of these objects according to some hastable key. So once I have this object I need to cast it to the right type (one of the above mentioned 12).
    So I know I can find out which type this object is by doing this: object.getClass()
    This returns a Class object. I then need to somehow use this class object to perform the cast. I tried everything and it doesnt seem to work. Then I thought well I can get the string name of the class : object.getClass().getName()
    So I'm wandering if there is a way to use this string to cast my object. Or maybe there is another way.
    I did see the cast() method in the Class api but I can't figure out the point of it since is returns an Object class object and not my class's object.

    I took your advice and re factored the Receive class so it had all the functionality I needed except two methods which would then be overridden in the derived classes. What I had a hard time understanding is once an object of class say SpecialReceive extends Receive it can be referred to as Receive yet still maintain that it's a SpecialReceive.
    What I mean is if I give a Receive object to some method and this method has no idea that this object is actually SpecialReceive and it calls a method say run() which gets overridden by the SpecialReceive. I thought that since this method has no idea what type of Receive this object is it will execute Receive's run(). But it actually does know what type of class it is and it executes the right run() method (the one that SpecialReceive overrides).
    After I realized this there is no more need for casting.
    Thanks everyone for your contributions.

  • Creating instances of Document subclass

    I have two new classed, one extends Document (call it CustomDoc) and the other extends Folder (call it CustomFolder).
    Is there any way to use the iFS webui to create these instead of the standard Document and Folder objects?

    Do you want all iFS Files to be stored as an instance of Custom-Doc, or only certain kinds of file. In order to redirect a particular kind of file (identified by it's file extension) to a custom content type you can use the ClassSelectionParser.
    See attached an example that maps BMP, JPG and TIF to the SimpleImage type.
    <?xml version="1.0" standalone="yes"?>
    <OBJECTLIST>
    <PROPERTYBUNDLE>
    <UPDATE RefType="valuedefault">ParserLookupByFileExtension</UPDATE>
    <PROPERTIES>
    <PROPERTY ACTION="add">
    <NAME>tif</NAME>
    <VALUE DataType="String">oracle.ifs.beans.parsers.ClassSelectionParser</VALUE>
    </PROPERTY>
    <PROPERTY ACTION="add">
    <NAME>bmp</NAME>
    <VALUE DataType="String">oracle.ifs.beans.parsers.ClassSelectionParser</VALUE>
    </PROPERTY>
    <PROPERTY ACTION="add">
    <NAME>jpg</NAME>
    <VALUE DataType="String">oracle.ifs.beans.parsers.ClassSelectionParser</VALUE>
    </PROPERTY>
    </PROPERTIES>
    </PROPERTYBUNDLE>
    <PROPERTYBUNDLE>
    <UPDATE RefType="valuedefault">IFS.PARSER.ObjectTypeLookupByFileExtension</UPDATE>
    <PROPERTIES>
    <PROPERTY ACTION="add">
    <NAME>tif</NAME>
    <VALUE DataType="String">SimpleImage</VALUE>
    </PROPERTY>
    <PROPERTY ACTION="add">
    <NAME>jpg</NAME>
    <VALUE DataType="String">SimpleImage</VALUE>
    </PROPERTY>
    <PROPERTY ACTION="add">
    <NAME>bmp</NAME>
    <VALUE DataType="String">SimpleImage</VALUE>
    </PROPERTY>
    </PROPERTIES>
    </PROPERTYBUNDLE>
    </OBJECTLIST>
    I do not know of any way to create instances of custom folders except via XML, or the API,
    Here is an example of how to create an an instance of a custom folder using an XML file
    <PressReleaseFolder>
    <NAME>Oracle8i Press Release</NAME>
    <FOLDERPATH>/PublishedPressReleases</FOLDERPATH>
    <ACL reftype="name" classname="SystemAccessControlList">LockedContent</ACL>
    </PressReleaseFolder>
    null

  • Use a String to get data from a variable?

    Hi, I've got a major problem, I need to get data (int []) from a variable, using a String with the name of the variable..
    Does anyone know if this is possible?
    public class Commands {
        private static final int[] deploy_1 = {64,37,73,1};
        private static final int[] deploy_2 = {4,167,6,51};
        /** Creates a new instance of Commands */
        public Commands() {
        public int[] get(String name)
    // what code here?
    }I should be getting the data with
    int[] command = Commands.get("deploy_1");
    or something like that...
    Please help me!
    FYI, a hashtable is not a option!
    Many thanks, Vikko

    java.lang.NoSuchFieldException: deploy_1
    at java.lang.Class.getField(Class.java:1507)
    at dumb_commandstest.Commands.get(Commands.java:30)
    at dumb_commandstest.Main.getData(Main.java:36)
    at dumb_commandstest.Main.<init>(Main.java:21)
    at dumb_commandstest.Main.main(Main.java:28)
    Any ideas why I get a NoSuchFieldException?
    deploy_1 does exist.

  • Trying to access methods from a .class file by creating instance of class

    Hey all,
    I'm hoping you can help. I've been given a file "Input.class" with methods such as readInt(), readString(), etc. I have tried creating instances of this class to make use of it, but I receive the error "cannot find symbol : class Input".
    If you could help at all, I would greatly appreciate it.
    Here's my code. The first is the base program, the second is the driver.
    import java.util.*;
    public class CarObject
         private String makeType = "";
         private String modelType = "";
         private int yearOfRelease = 0;
         private double numOfMiles = 0.0;
         public void setFilmTitle(String make)
              makeType = make;
         public void setMediaType(String model)
              modelType = model;
         public void setYearOfRelease(int year)
              yearOfRelease = year;
         public void setNumOfMiles(double miles)
              numOfMiles = miles;
         public String getMakeType()
              return makeType;
         public String getModelType()
              return modelType;
         public int getYearOfRelease()
              return yearOfRelease;
         public double getNumOfMiles()
              return numOfMiles;
    The program is used by a rental car company and the object takes on desired attributes.
    import java.util.*;
    public class TestCarObject
         static Scanner keyboard = new Scanner(System.in);
         public static void main(String[] args)
              System.out.println("Please answer the following questions regarding your rental car order.");
              Input carinput = new Input();
              String makeType = carinput.readString("Enter your desired make of car: ");          
              String modelType = carinput.readString("Enter your desired model of car: ");
              int yearOfRelease = carinput.readInt("Enter the oldest acceptable year of release to rent: ");
              double numOfMiles = carinput.readDouble("Enter the highest acceptable number of miles: ");
              System.out.println("Make: " + makeType);
              System.out.println("Model: " + makeType);
              System.out.println("Year: " + makeType);
              System.out.println("Mileage: " + makeType);
    }

    No, I don't know the package name....Is there a way
    to import the Input.class by itself without importing
    the entire packge?
    I tried extending the driver program too...It didn't
    work either...
    Message was edited by:
    BoxMan56How do you know you have a class called Input.class ?
    You got a jar file which contains it ? or just a simple .class file ?
    You have to set the classpath in either case.
    But for the former, you should also need to explicitly telling which package containing the class file you looking for (i.e. Input.class)
    e.g. java.util.Vector which is a class called Vector inside java.util package.
    You don't have to import the whole package, but you should tell which package this class belongs to.

Maybe you are looking for

  • How to print from iPhone 3GS with OS 4.2.1?

    Hello, I have searched and read through the discussion forums, but I'm not sure I understand how to print from my iPhone. In reading the manual for the iPhone 3GS, specifically on page 44, it says the following: AirPrint uses your Wi-Fi network to se

  • Error RSAR 245 - Can't activate Transfer Rules in BI 7.0

    Hello SAP community! I'm working with BI 7.0 trying to create an Infosource for loading an InfoObject (Z version of 0MATERIAL but with less attributes) from a Flat File (CSV file). In my Datasource/Transf.Struct fields are of types CHAR, DATS, and NU

  • PO determination from PR

    Hi When I create PO the PR price is getting copied. I want to avoid it. How do I go about it. I've used this procedure: to Go to Spro>MM>Pur>Environment Data>Define Default Values for Buyers here click Settings for Default Values.. and copy 01 & crea

  • IMessage An error occurred during activation.  Try again.

    Can't seem to get iMessage to work on my iPad.  It's working on my Macbook and iPhone.  I have tried every suggestion I can find including completely resetting the iPad.  Any original suggestions?

  • Could not connect to sql server 2008 R2

    TITLE: Connect to Server Cannot connect to SURENDRA-PC\MSSQLSERVER. ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify th