Issue with Generate Create Script in new ODT 11.1.0.5.10 beta

So I'm trying to determine if there's an issue with the Generate Create Script option in the new ODT 11.1.0.5.10 beta (when you right click on a table in Server Explorer).
The SQL create script that it generates lacks the slash between lines. For example I generated the create script for my User table and this is what was generated:
CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
BEFORE
INSERT
ON "DEV"."SYSTEM_USER_TB"
FOR EACH ROW
begin
     select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
end;
In my new Oracle Database Project, if I right click on the script and select "Run" or "Run On", the script fails saying:
Connected.
CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
ERROR at line 2:
ORA-00922: missing or invalid option
If I then add, a slash between lines, the script runs successfully and creates the table/trigger and whatever else just fine. For example, I changed the above generated code to look as follows:
CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
BEFORE
INSERT
ON "DEV"."SYSTEM_USER_TB"
FOR EACH ROW
begin
     select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
end;
So, does anyone know if this is a bug? Could I be missing an option to add in the slashes to the generated code? Is there an option to not require the slashes? Could there be another way to execute these scripts?
Seriously, I think I'm having deja vu from the last release of the Dev Tools: Generate Create Script creates scripts that won't run: ORA-00922: missing..
...except this time the documentation says I should be able to use the "Run" and "Run On" commands in the Oracle Database Project (see page 8): http://www.oracle.com/technology/tech/dotnet/pdf/ODT11_whatsnew.pdf
null

There are 2 issues in the generated script :
1. Missing semicolons at the end of the create stmts
2. Missing slashes
Both of these fixes will be available in the ODT 11.1 release.

Similar Messages

  • Issue with Generate Create Script in new ODT 11.1.0.6.10 beta

    I've tried this on several tables in my database. I choose Generate Script to ... a file, for a given table it gives me the error message "An error occurred while writing to fil: \nValue was either too large or too smal for an Int32."
    (It doesn't matter if I'm in a Oracle database project or some other project.)
    Trying to Generate Script To Project... when I'm in a Oracle Database Project, Visual Studio (2005) crashes. It appears to be some overflow exception according to crashinfo:
    EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.762 P3 : 45716759
    P4 : mscorlib P5 : 2.0.0.0 P6 : 461eee3d P7 : 407b P8 : a3
    P9 : system.overflowexception
    (With ODT 11.1.0.5.10 beta it worked fine dispite the issue discussed in thread: Re: Issue with Generate Create Script in new ODT 11.1.0.5.10 beta
    /Tomas

    Tried to debug this error and got these exception details. Hope it helps!
    /Tomas
    System.OverflowException was unhandled
    Message="Value was either too large or too small for an Int32."
    Source="mscorlib"
    StackTrace:
    Server stack trace:
    at System.Decimal.ToInt32(Decimal d)
    at System.Decimal.op_Explicit(Decimal value)
    at Oracle.Management.Omo.TableSpaceQuotaDetails.FillTableSpaceQuota(OracleDataReader reader)
    at Oracle.Management.Omo.User.FillTableSpaceQuotas(OracleDataReader reader)
    at Oracle.Management.Omo.Connection.GetUserCollection(Boolean refresh)
    at Oracle.Management.Omo.Connection.GetUsers(Boolean refresh)
    at Oracle.Management.Omo.TableSQLGenerator.GetCreateSQLs(OmoObject obj, ArrayList& typeAndNames, Boolean checkRequired, Boolean appendSchemaName)
    at Oracle.Management.Omo.TableViewBase.GetCreateSQLs(Boolean appendSchemaName)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateCreateScript(OracleUILConnCtx connCtx, String[] objectNames, String objectOwner, OracleUILObjectType objectType)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateCreateScriptAsyncMethod(IntPtr ppvObj, OracleUILConnCtx connCtx, String[] objectNames, String objectOwner, OracleUILObjectType objectType, ICollection& scriptText)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateScriptAsyncMethodDelegate.EndInvoke(ICollection& scriptText, IAsyncResult result)
    at Oracle.VsDevTools.OracleUILDBProjectServices.OnGenerateScriptAsyncCompletion(IAsyncResult ar)
    at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
    at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

  • Previous computer crashed without my Adobe CS3 Design Standard for Macintosh application being uninstalled, I'm having issues with the CS3 on my new Macintosh laptop. Please help!

    Since the previous computer crashed without my Adobe CS3 Design Standard for Macintosh applications being uninstalled, I'm having issues with the CS3 on my new Macintosh laptop. Please help, I've tried using the online "contact us" with no success, unable to get in contact with a tech support agent that can assist me.

    CS3 is too old to run on a new Macintosh laptop, sorry. You'll have to purchase CS6 or a Creative Cloud subscription.

  • Having issues with phone calls on my new phone.

    Having issues with phone calls on my new phone. Other user is hearing echoes or nothing at all. This seems to be a common issue on here. VERY annoying! Anything seem to fix this problem?

    I had similar issues - Turns out it was a hardware problem or bad antennae - Call the tech support number and they can do some testing to determine the issue.  They might be able to give you a replacement if you do it quickly.

  • Generate Create Script creates scripts that won't run: ORA-00922: missing..

    I'm having trouble running a script that I created by using the Generate Create Script tool in Oracle Explorer. I created the following script by running the Generate Create Script on a table called, "ASPNET_APPLICATIONS":
    CREATE TABLE "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" NUMBER,"APPLICATIONNAME" VARCHAR2(256 BYTE),"DESCRIPTION" VARCHAR2(256 BYTE)) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 65536 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."PK_APPS" ON "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" ) TABLESPACE "USERS"
    CREATE UNIQUE INDEX "DEV"."IDX_APPS_APPNAME" ON "DEV"."ASPNET_APPLICATIONS" (LOWER(TRIM("APPLICATIONNAME")) ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004598" CHECK ("APPLICATIONNAME" IS NOT NULL) ENABLE VALIDATE )
    ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004597" CHECK ("APPLICATIONID" IS NOT NULL) ENABLE VALIDATE )
    I then deleted the table in my Oracle 10g database and ran the above script to recreate the table. The result is that I get an error the following error, ORA-00922: missing or invalid option. Does anyone know how to resolve this?
    Is anyone aware of any bugs in the Generate Create Script option of Oracle Explorer?

    Okay, I think I found my problem.
    I was trying to run the script created by Oracle Explorer directly from a Database project I added to my Solution in Visual Studio. Visual Studio is probably using some SQL Server specific tool when I select the Run or Run On option on the script.
    When running the same script directly in the Oracle 10g Home Page (Home > SQL > SQL Scripts), I had no problem. Everything executes correctly.
    Is anyone aware of another way to run Oracle scripts directly from Visual Studio? Do I have my project setup incorrectly? This is the first project I've used .NET and Oracle together, so if anyone has any suggestions, I'd really appreciate the help.
    Thanks,
    Mycole

  • Can't log in with newly created user on new install of Arch [solved]

    Hi all,
    Yesterday I installed Arch anew (because I had a hardware failure that took out my hard drive), but now I'm encountering an issue with logging in.
    After following the installation guide, and creating a new user, I find that I'm unable to log in as said user.
    It complains about wrong password, but it's the exact same password that I entered mere moments before that, when creating the new user.
    I can "log in" as said user by first logging in as root (which does work) and doing "su - <username>" (though then it doesn't ask for a password).
    Can someone point me in the right direction to fix this problem?
    Last edited by madjo (2013-07-03 20:19:43)

    I think cfr meant to say you shouldn't "fix" bash path - as some users did. Unfortunately there's a bit confusion wrt which paths should be used - see this ML thread.
    Some say we should keep /bin/foo for compatibility, others say that we should boldly move to /usr/bin/foo.

  • Issue with WSDL created for sender agreement

    Hi,
    Can you please help me why I am getting the erroe with WSDL that has been created from directory Sener agreement in PI 7.1 EHP1?
    My interface is a SOAP to file ASYNC scenario and we have been given 5 XSDs that are referencing one each other ,5 XSDs are imported successfully and referenced properly,no errors/issues found.
    Created all ESr and directory objects and I tried creating WSDL from sender agreement for my Source/outbound inteface that is created with XSDs in ESR.
    When I try to import WSDL into SOPA UI to validate ,the import process stuck for ever while trying to import "http://www.w3.org/2001/xml.xsd" and finally throws me error.
    After that I tried importing WSDL created in Directory into AltovaXML spy to created the webservice request,I am getting the following error""invalid XML Schema:"xml:lang" is already declared in the schema dcument C:|..my WSDL.
    Even our partner who wants to make Webservice calls using this WSDL,they are not able to develop their Webservices they are getting errors something related to schema not found /not defined etc.
    Please let me know,what might be the issue?I verified several times with my XSD imports and referencing properly and configuration objects.
    Thank you for your help in advance.
    Regards,
    Prem

    Hi Mark,
    I am not getting issue while displaying/Exporting  as WSDL in ESR.I am getting issue while trying import WSDL that is generated out of Service Interface into SOAP UI or Altova XML Spy.
    I don't think PI created the WSDl out of W3 standards.
    This is the error I am getting in XML Spy:
    File C:\Documents and Settings\Prem\Desktop\SI_XYZ_O.wsdl is not valid
         Invalid XML schema: ''xml:lang' is already declared.
              Error location: schema / attribute++
    and in SOAP UI:It is trying to import the WSDL and it stuck for ever while trying to import http://www.w3.org/2001/xml.xsd and never imprts the WSDL into SOAP UI project.
    Please let me know,if you have any ideas.
    Thank you,
    Prem.

  • Photo Book - issue with generating full size picture in PDF file

    Need some assistance here.
    I have created a photo book that I would like to order. In the middle of the book I have 2 pages that contain a full size picture on each of the pages. When I generate the PDF file one of these two pictures do not generate correctly leaving an incorrectly rendered rectangle in the bottom left hand corner. 80% of the time it is on of the 2 large 8x10 pictures, the other 20% it is the other 8x10 picture. Aperture does indicate the dpi is large enough to support a quality 8x10 photo.
    I have exported jpeg files for each of these pictures and there were no problems. I am not sure by I have this problem in creating the PDF. Does any one see a potential issue with the book? When I order the photo book is it done through he PDF file or are the pictures sent in?
    Because of the issue I am cautious to order the Photo Book, but would like to do so.
    Any thought or feedback? Is this something that will come through as problem with the photo book as well?
    Thanks

    Hi ejg999,
    I have a similar problem running 10.5.2/ Aperture 2.0 trial.
    My 15800*4700 pixel (19.8mb) panorama was completely screwed up when printing the book to PDF. I did not span the pict over 2 pages as the center part would not be visible in the book's fold. I created 2 full size pages, resized the frames and adjusted their position.
    The print just shows hundreds of small squares, some seem ok, some are blue, some are rendered partially. Totally unusable.
    The physical memory was not the problem as I had at least 500mb free during the printing operation.
    I printed the book twice: same problem. I thought shutting down Aperture would resolve the error. but all my pics were gone. And the Time Machine did not backup while Aperture was running (still a bug). Aaaaaarghhhh.
    I managed to restore my work. I will try to create a smaller copy of the panorama and try to print.
    BTW, what is the size of your photo creating the problems?
    regards
    FranzMacN

  • Execution time issues with SU01 demo script

    Having worked with Scripting in a Box for a while now I wanted to try out the examples there. I read FM: SO_USER_LIST_READ or another one explaining why my attempt to narrow the returned users failed (Craig, did you find out why the functionality was removed?) and Re: Issue with "Scripting in a Box" seeing that  Harry had the same problems with only ~200 users in his system. However, Craig's original post states he successfully managed with over 400 users. I'm a bit confused...
    I included some simple timing stuff and found out that processing of one user in the loop takes about 1.7 seconds - little surprise then that every script times out. This seems to be due to the additional calls to GetStatus() and GetValid() - by commenting them out I get the whole list rather quickly.
    Unfortunately commenting them out also means no nice icons for 'Status' and 'Valid', which is not desired. I probably could create a Z FM to deliver me the userlist with these two fields already added (which would save on rfc-calls, assuming the operation is much quicker on the server directly), but I hoped to get a solution based purely on PHP, not own ABAP coding (being aware that Craig also used a Z FM anyway, but still...)
    I'm a bit unsure now how easy it is to actually create useful frontends in PHP, with such long execution times. I assume this will happen in other occasions as well, not only for user lists. Is there an alternative? Or a general way to do those things quicker?
    :Frederic:

    Craig: you say it's easy to go from 1.7 seconds per user lookup down to a small fraction of it? Then apparently I'm lacking these skills. Could you please give me a hint what should be done there?
    I though about creating a Z function, but having to write custom wrappers - possibly for about any transaction in this style - I wanted to avoid.
    Bala: the two functions only take one user as input, not a list. So w/o modifying the ABAP side I can't feed the whole list in there. I wonder how much it would improve the result time anyway, so perhaps I'm trying it. It's just not a solution I'd prefer.
    Paging is a good idea, the actual call to get the whole userlist is quite quick. Having like 20 users displayed at a time is manageable - still slow, but the script won't timeout anymore. I think I'll implement this today.
    About AJAX: yes, I want to play around a bit with AJAX, however having the two columns valid and status removed and the information only displayed on mouseover etc is a bit like cheating. And 1.7+ seconds waiting for a hoover info is too long. So I'd like to optimize on the rfc-calling side primarily.
    Craig: surely it was just a demo, and I'm just trying to get it to work for understanding it
    :Frederic:

  • HUGE issues with I Pod Touch and new software

    Christmas Day I opened I tunes to load some new CD's for my hubby and I. It said I needed the new I Tunes, so I downloaded it. Procedeed to get CD's loaded and plugged in hubby's I pod (it's about 6 years old and wheel style) it synced and was done in no time.  I then plugged in my 3 year old I pod Touch, the system said it too needed an update, so I procedeeded with the IPod update.  Towards the end, it said it was unable to complete the update (error 1602 and again later error 1604).  It then locked up the Ipod and wiped it out.  I have spent 2 days doing ALL the various steps I can find ANYWHERE to fix the error. The forums ALL say it's my computer and USB issues.  I have done ALL the steps numerous times to "repair" the issue with NO luck it still says error 37 when I try to install the USB driver ( the port is an "enhanced" 2.0 port).  I took the same cord and I pod downstairs to my daughters comuter that is running a version of Itunes 10.5.1 I think, It restored my I pod to the factory settings and it now turns on and has all the information to start to configure it again.  So, took it BACK to my computer thinking that now the restore/update is complete that my computer should "see" the I pod again.   NOPE!  It still has the SAME problem.  I have tried to install an older version of Itunes and it will not let me as the library has been "created by a newer version of I tunes".  I am NOT a computer person at all and all the items I've tried have NOT worked.  It is obviously NOT my comupter having USB issues as my daughters much older computer not only found the Ipod, but was able to restore/update it.  I HAS to be the new ITunes 11.1 version.  I have over 2500 songs on my I pod and depend on it at work as I have no radio reception.
    I am at my wits end and very angry. 
    I run Windows XP on an older computer, but as I mentioned, my daughters older version of I tunes not only found the I pod, but restored it and updated the software.  I want MY Library back on MY I pod so I need to use MY computer.
    Any SIMPLE easy to follow ideas to fix this once and for all would be greatly appreciated.  I have done all the USB steps and uninstalled/reinstalled and did the recovery mode and all those steps so many times.  It still won't read the "driver" on the I Pod touch.
    Thanks for any help.

    I guess it's 4th Generation, I have no idea, it's a 32G and I've had it 3 years now.
    Her computer runs Windows XP as well.  It's an even older computer, the ONLY difference is that I did NOT update ITunes to her computer.  Problem is, MY library is on MY computer.
    I know it's an issue with I Tunes itself based on the fact my husbands older I pod will sync just fine to our library after th new I Tunes updates.  It is JUST my Ipod touch.
    I cannot go back to an older version of Itunes either because the library was "created in a newer version"

  • Issues with Advance Table Add Row New Row not work in some scenarios.

    Hi,
    Wondering if there's any issue with Advanced Tables where it does not create any rows. I don't know if anyone tried this or not. I have one OA Page with Advanced Table and a button that when clicked open a new OA Page in a POP-UP Window. The pop-up page conatins one textbox where u enter a data and this gets saved in one of the VO's transient attribute. Now on the ase page if you don't click a button to open a pop-up page you can Add New Rows in the Advanced Table by clicking Add Row Button. But as soon as you open a popup window and close it Add New Rows button doesn't work and is not creating any new rows. Basically page stops working. Both the POP-UP and the base page share the same AM but have different controllers.
    POP-UP page is a custom page that I open giving the Destination URI value in the button item and target frame _blank.
    I even tried creating rows programmatically for Advance Table but this too doesn't work once u open a pop-up. Also I have used pageContext.putTransactionValue in the pop-up page and am checking and removing this in the base page.
    Any help is appreciated.
    Thanks

    anyone

  • Issue with running redistributeactivedatabases.ps1 in new-pssession

    Hi,
    I am stuck with the issue to run redistributeactivedatabases.ps1 in new-pssession.
    Is there any best pratice or some other script to redistribute the mailbox databases using new-pssession

    Hi Jrv,
    I am sorry for not being very clear.
    Also i know what i am trying is not very sane but i cannot help it as i got order that i have to achive this.
    Below are the exact suitation.
    We have JP1 server (Automation) which we use to reboot/failover/failback.
    I have to automate failover and failback scripts. I am able to achive failover part as it is simple command
    Move-ActiveMailboxDatabase -server servername
    and it is working.
    For failback and automatic rebalance mailbox database according to the activation preference i am using below script which i have to run using cmd.
    $mbxs =
    Get-MailboxDatabase
    | sort name
    ForEach($mbx
    in $mbxs){
        $MBdb=$mbx.Name
        $ServerHosting=$mbx.Server.Name
        if($mbx.activationPreference.value
    -eq 1)
            If
    ($ServerHosting -ne $ActivationPreference.Key.Name){
                Move-ActiveMailboxDatabase $MBdb
    -ActivateOnServer $ActivationPreference.Key.Name
    -confirm:$False
    But the problem i am getting is that script is not working when i am running this in cmd or in powershell.
    But if i run the same script on Exchange server using Exchange Management shell then there are no issues.
    So, i need your help so that i can run above script using cmd in new-pssession.
    Hopefully i am able to make some sense now.

  • Reader causing issues with dropped underscores in courier new font

    When converting a microsoft word document in 2013 or 2007 to a PDF is causing issues with dropped underscores.  It only seems to happen in courier new.  For instance if I have _someCode, when converting this over to a PDF file I will sometimes see _someCode and sometimes I will see someCode.  If I open this file in a different pdf reader then it looks correct 100% of the time.  If I copy and paste into another application then the underscore shows.  This is a major issue for people putting code into a PDF document as underscores are important and courier new is what we often use.

    I love how quick you are to throw Microsoft under the bus.  Often it is their fault.  In this case I believe you are 100% wrong and absolutely short sighted to ignore this.  As I said in my original email, which you apparently missed, I have tried this in multiple PDF viewers and Adobe Reader is the ONLY reader that misses the underscores.  Foxit, PDF Exchange and Sumatra all render it perfectly.  Adobe reader missed 6 underscores in my document that has 18 underscores.  30% of the time in this document Adobe Reader makes the underscore invisible.  And if I switch the zoom to 100% instead of 148% (which is the default for me for some reason) then Adobe Reader misses 7 of them.  This doesnt occur in the other readers.  Blame Microsoft all you want but the simple fact is that Adobe Reader has issues reading courier new's underscores.  It needs to be fixed.

  • Issues with this MacBook, including a new random shutting off.

    I received a MacBook as a present in late 2008. It served me well until in April 2010, I spilt water on it and it died. I then bought a new one in August of 2010, but I didn't purchase it in the store, I used a friend's discount at Apple and it was shipped to my house days later. From the first day I started having issues with it. I have to constantly be saving my word documents because word freezes all the time & I'm constantly have to force-quit and restart word. This Mac also seems more glitchy than my old one, which is Ironic considering it's the new model. In addition, I had tons of issues with iMovie and uploading to YouTube. It would spend 2 hours trying to upload in HD, then when it was "finished" and error report would pop up.
    And for the latest and greatest issue, It has recently started randomly shutting down. I've been able to cope with the previous bugs but this one scares me. It will randomly shut down (WITH FULL BATTERY) and wont boot up again for a while. I was so sure I'd lost it this morning but luckily it came back up. I also have been getting the grey-screen and pop up that says "please restart your device" and whence I do, the computer asks me, do you want to report this to Apple? And I always do because I want to know whats going on. Does anyone have any ideas/suggestions??
    Also, to my regret, I didn't by the Apple Care with this computer because I spend 4 months saving up for this one and didn't have enough to by the warranty with it... So I'm at a loss for what to do. PLEASE help.

    Welcome to Apple Discussions!
    It sounds like a lemon. Take it in to a store and tell them your experience and financial constraint. We are just end users here, and can't say how they might respond. In the future remember take care of issues in first two weeks or less, and check the store return policy when you buy.

  • Issue with running a script in Oracle test manager

    Tool - Open Script 9.0.1 , OTM
    Hi All
    I am facing issue while executing a open script with Oracle Test Manager , I have a script which was made with open script 9.0.1 and which is running very fine with the Open Script UI ,
    problem occurs once I am trying to run this with OTM.Issue looks that playback was so fast in OTM so that script was not able to recognize some of the objects.
    Is there anyway so that I can control the speed of playback at any particular step when I am using OTM
    Thanks

    Hi Kumar,
    Regarding your query below is the suggestion:
    You have to configure the job server with the repository. While configuring the adapter, you have to configure the job server in management console also..
    Still if you are facing issue then please share Job Server logs available in BODS Job Server Folder and error screenshot to debug the issue.
    Thanks,
    Daya

Maybe you are looking for

  • How to link Sales Order with Service Contract and then with Install Base?

    Hi Friends, 1) I would like to know the integeration process from sales order to Service Contract and then with Install Base. 2) I couldn't see anything enabled in Service Tab in Order Lines, its grayed out. Is there any set up/profile option to get

  • Data recovery from corrupt boot partition

    The boot partition on my MacBook running 10.7.6 has a corrupt volume structure and will not mount, much less boot. The recovery partition boots but really doesn't let me do anything. Disk Utility can't repair nor even complete verification. I have lo

  • Crossover cable needed to connect Switch to Airport?

    I need more ports. I got more stuff to hook up than available ports on the Airport. I picked up a switch but couldn't find anything in the boards on whether a crossover or straight-through cable is required to connect the two. I suspect the Airport p

  • Film transfer from COLOR

    Hi, I'm a student film maker just completed shooting my diploma project on RED ONE and planned the entire workflow on FINAL CUT STUDIO. It's just seemless but the final output should be delivered on FILM. My questions: Which FILM RECORDER should be u

  • Documentation for source code

    Hi, I have just downloaded the source code for the Java 2 SDK v 1.3 Is the documentation for the source code available ? Thanks