Problem migrating database diagram from JDeveloper 10 to Jdeveloper 11

Hi List,
I have database diagrams created by use of JDeveloper 10 (files *.oxd_db), but (after automatic migration) they are not displayed as diafram in JDeveloper 11 (they are displayed as xml).
If I create new diagrams from JDeveloper 10 I get *.db_diagram files.
Anybody knows how to migrate JDeveloper 10 diagrams to JDeveloper 11?...
Best regards
Francesco

Hi,
>>>SAP BASIS 7.11 SWC, after importing it from the SLD
you don't import that from SLD
import it from TZP file from PI installation DVD
then it will work
Regards,
Michal Krawczyk

Similar Messages

  • Problem connecting DataBase Link from windows oracle to oracle on Linux

    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

    1005745 wrote:
    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

  • Problem with Database diagram

    Not exactly a newbie but not a pro,
    Started getting this error when dragging tables from the connections folder to a database diagram. Instead of the "Specify Location" dialog I am getting a "Create as " dialog with
    Business Components Entity Objects
    Business Components Read Only View Objects
    EJB 3.0 Entities
    Java Classes (TopLink persistence)
    as choices with a message that "Some of the objects you have selected can be used to create related objects. Choose the precise set of objects you want to appear on your diagram.
    All selections end in the error.
    Any help appreciated.
    Performing action Visual Properties...[ from oracle.modeler.addin.ModelerEditor ]
    java.lang.NullPointerException
    o.jbo.dt.bcmodeler.bridge.Utils.findOrCreatePackage(Utils.java:187)
    o.jbo.dt.bcmodeler.dragdrop.DBTableSubDropHandler.createJboObjects(DBTableSubDropHandler.java:57)
    o.jbo.dt.bcmodeler.dragdrop.BaseSubDropHandler.dropObjects(BaseSubDropHandler.java:88)
    o.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.dropSelected(DelegateChooserDropHandler.java:386)
    o.modeler.dnd.ModelerTCDropHandler.access$001(ModelerTCDropHandler.java:69)
    o.modeler.dnd.ModelerTCDropHandler$3.run(ModelerTCDropHandler.java:288)
    o.modeler.dif.GraphicAdder.addImpl(GraphicAdder.java:387)
    o.modeler.dif.GraphicAdder.addAndLayoutImpl(GraphicAdder.java:372)
    o.modeler.dif.GraphicAdder.addSelectAndLayout(GraphicAdder.java:348)
    o.modeler.dnd.ModelerTCDropHandler.dropSelected(ModelerTCDropHandler.java:284)
    o.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.drop(DelegateChooserDropHandler.java:150)
    o.diagram.framework.dragdrop.DefaultDropPlugin.drop(DefaultDropPlugin.java:115)
    o.modeler.dnd.ModelerDropPlugin.drop(ModelerDropPlugin.java:100)
    o.diagram.framework.dragdrop.DropTargetHelper.drop(DropTargetHelper.java:188)
    o.diagram.framework.dragdrop.ManagerViewDragAndDropController$MyDropTargetListener.drop(ManagerViewDragAndDropController.java:802)
    j.a.dnd.DropTarget.drop(DropTarget.java:434)
    sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:519)
    sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:832)
    sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:756)
    sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
    j.a.Component.dispatchEventImpl(Component.java:4487)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processDropTargetEvent(Container.java:4312)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4163)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    I saw this problem and I know the solution.
    Delete your Database Connection.
    Then recreate your database connection via Application Navigator...
    Application Resources | Connections | Right Click | New Connection | Database.
    Related thread...
    Re: Oracle JDeveloper 11g Handbook: A Guide to Fusion Web Development

  • Problem in Database convertion from US7ASCII to UTF8

    Hi,
    We are facing the following problem while converting the database from US7ASCII to UTF8:
    We have recently changed the database character set from US7ASCII to UTF8 for the internationalization
    purpose. We ran the Character set scanner utility and it did report that some data may pose problems.
    We followed the the below mentioned process to convert into UTF8 -
    1) alter database character set utf8
    2) alter database national character set utf8.
    Now we find some problem while working with the old data in our application which is java based.
    We are getting the following error "java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv".
    We further analyzed our data and found some interesting things :
    e.g.
    DB - UTF8.
    NL_LANG also set to UTF8.
    Select name from t1 where name like 'Gen%';
    NAME
    Genhve
    But when we find out the length of the same data it show like this
    NAME LENGTH(NAME) VSIZE(NAME)
    Genhve 4 6
    The question is why is it showing length as 4 only and when we try to use a substr function
    its extracting like the following :-
    select name,substr(name,4,1) from t1 where name like 'Gen%';
    NAME SUB
    Genhve hve
    We have execute the above queries on US7ASCII DB and it is working fine, length it shows 6
    and using SUBSTR it extracts just 'h' as well.
    We also used dump function on the UTF8 Db for the above query,,this is the result :-
    select name,length(name),vsize(name),dump(name) from t1 where name like 'Gen%';
    NAME LENGTH(NAME) VSIZE(NAME) DUMP(NAME)
    Genhve 4 6 Typ=1 Len=6: 71,101,110,232,118,101
    We checked a lot with the data and it seems 'h' (accented e) is posing the problem.
    We want to know where is the problem and how to overcome this.
    Further, we tried all of the following :
    1)
    Export Server: US7ASCII
    Export Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Server: UTF8
    RESULT: Acute e became h
    2)
    Export Server: US7ASCII
    Export Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Server: UTF8
    RESULT: IMP 00016 error
    3)
    Export Server: US7ASCII
    Export Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Server: UTF8
    RESULT: Acute E became h
    4)
    Export Server: US7ASCII
    Export Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Server: UTF8
    RESULT: Acute e became h
    5)
    Tried using Update sys.props$
    set value$='UTF8'
    where name='NLS_CHARACTERSET'
    RESULT: Acute e shows properly but it gives problem in the application
    "java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv"
    Looking further it was observed the following:
    when you try this command on a column 'city' in a table which contains 'Genhva' (note the acute e after n), it shows
    command: select length(city), vsize(city),substr(city,4,1),city from cities
    Result: 4 6 hva Genhva
    if you see the value of substr(city,4,1) , you will see the problem. Also note that the length shows 4 and size shows 6. Moreover, when these records are selected through JDBC Driver, it starts giving problems.
    6)
    Actually the above (point no. 5) is similar to changing the character set of the database with 'ALTER DATABASE CHARACTER SET UTF8'. Same problem is observed then too.
    7)
    We have also tried to with another method, that is by changing the third byte of the export file which specifies the character set, to the UTF8 code by editing the export file with a Hexdecimal editor. After import the same problem has been observed as defined in (5) and (6) above.
    We have no more ideas how to migrate without corrupting the data. Of course we have known the records where these characters occur through the Oracle's cssacn utility but we do not want to manually rectify each and every record by replacing it with an ASCII character. Any other idea as to how this can be accomplised?
    Thanx
    Ashok

    The problem you have is that although your original database is defined as US7ASCII, the data it contains is more than is covered by this code page (as the reply on Sept 4 to the previous posting already said).
    This has probably happened because the client was also defined as US7ASCII, and when the DB and client are defined as having the same character set no conversion (or checdking) takes place when data is passed between them. However if you are using a Windows client then it will in fact be using Windows code page 1252 (Latin-1) or similar, and this allows many more characters, including h (accented e). So a user can enter all these characters and store them in the database, and similarly read them from the database, because data transfer is transparent.
    When you did ALTER DATABASE CHARACTER SET UTF8 this will only change the label on the database, but not affect the contents. However only part of the contents are valid UTF8, any character above 7F (like h) is invalid. If your original client now uses the database, code page transformation will take place because the client and DB have different character sets defined. The invalid codes can then cause problems.
    Without being able to explain what has happened in detail, it may help to see what your h (dec 232, x'E8') looks like. The actual data has not changed (you can see this as it is reported as 232). However the binary code there (11101000) is invalid UTF8. UTF8 encodes a character in 1 to 4 bytes, and the first bits in a UTF8 character tell how many bytes it uses. 0xxx tell it is one byte (same as the corresponding USASCII character), 110x that it uses 2 bytes, 1110 that it uses 3 bytes etc. So if you interpret what is there as UTF8 it looks like the first byte of a 3-byte character, which explains why the substringing is giving you the other 2 bytes as well.
    Can you fix this without losing data? I believe yes. First you should check what other characters are being flagged by the scan. See if these are contained in another standard character set. If they are only Western European accentet characters then WE8ISO8859P1 is probably ok, but watch out for the euro sign which Windows has at x'80', an undefined character in ISO8859-1.
    You can see the contents of the Microsoft Windows Codepage 1252 at: http://www.microsoft.com/globaldev/reference/sbcs/1252.htm
    For a listing of the US-ASCII defined characters see http://czyborra.com/charsets/iso646.html and for ISO 8859-1 see http://czyborra.com/charsets/iso8859.html#ISO-8859-1
    If all is well, you can first ALTER DATABASE CHARACTER SET to WE8ISO8859P1. This will not change any data, but ensure that all the data gets exported. Then export the DB and import it to a UTF8 DB. This will convert the non-US-ASCII characters to Unicode. You will also have to change the clients character set to something other than USASCII or they will just see ? for the other characters.
    Good Luck!

  • Problem publishing database contents from non-unicode to unicode system

    Hello everyone!
    We just set up a new SAP WAS based on Netweaver 2004 as a unicode system. Out problem now is that we have a content management system on our non-unicode system and that we are publishing the contents via rfc to the WAS unicode system to display the contents online. the contents are stored in our own database tables.
    The problem thereby is that many texts pasted from microsoft word contain special characters like bullets, long minus or low-9 quotation marks which are not correctly displayed in the unicode system / on the website. we already found out that it has something to do with the codepage. the sap notes say we should use 1160 instead of 1100 and that the transaction SPUMG would be helpful. but we are not able to select any tables there.
    so now we do not know what to do exactly. do we have to change something in our non-unicode system or do we have to conversion in our unicode system. and what happends if content containing special microsoft word characters is published after the spumg conversion? do we have to to this frequently?
    We would be glad if anyone could help.
    Thanks a lot!

    Hi Martin,
    thanks for your quick answer.
    You got me right. We have a local non-Unicode SAP HCM Netweaver 2004 system running a self-developed web based content management system / wiki. The texts entered in the bsp application are stored in a string field in our database table. Actually we publish the contents to a WAS 6.20 non-Unicode system with the same database tables to provide the content via BSP for the public. Everything is working fine including the special characters.
    Now we want to replace the WAS 6.20 non-Unicode system by a new WAS 7.0/2004 Unicode system. But when publishing the contents via the same RFC function module to the new system the special characters seem to be damaged. We are not able to replace them with abap commands and when they are displayed on the website we only see "boxes".
    If I get you right we have to run SPUMG on our nw 2004 non-unicode productive hcm system, right? but isn't there a danger to damage existing contents?
    Best regards,
    Stefan

  • Problem migrating database with charsetset ZHT16MSWIN950 to WE8MSWIN1252

    Hello everybody,
    I have a database in Oracle 8.1.7 with characterset ZHT16MSWIN950, and I need to migrate this database to Oracle 11.2.0.2 with characterset WE8MSWIN1252. I use EXP (ver. 8.1.7) to export and IMP (ver. 8.1.7) to import and it seems to work fine, but in the source database I store spanish characters (characters with accents, for example "Organización"), and the target database these characters are not imported correctly (for example "Organizaci?n").
    These are the parameters to database level:
    Oracle 8.1.7 (source)
                   NLS_LANGUAGE = AMERICAN
                   NLS_TERRITORY = AMERICA
                   NLS_CHARACTERSET = ZHT16MSWIN950
                   NLS_NCHAR_CHARACTERSET = ZHT16MSWIN950
                   NLS_RDBMS_VERSION = 8.1.7.0.0
    Oracle 11.2.0.2 (target)
                   NLS_LANGUAGE = AMERICAN
                   NLS_TERRITORY = AMERICA
                   NLS_CHARACTERSET = WE8MSWIN1252
                   NLS_NCHAR_CHARACTERSET = AL16UTF16
                   NLS_RDBMS_VERSION = 11.2.0.2.0
    To export the database I've tried to use NLS_LANG parameter to session level with the following values:
                   NLS_LANG = AMERICAN_AMERICA.ZHT16MSWIN950
                   NLS_LANG = AMERICAN_AMERICA.WE8MSWIN1252
                   NLS_LANG = SPANISH_SPAIN.WE8MSWIN1252
                   NLS_LANG = TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950
    But everytime the import was with those errors (the accents were not migrated propertly).
    If I connect to the source database (8.1.7) from PowerBuilder I can see the accents correctly, but when I connect with SQL Plus I can't see the accents, it is very rare.I think for this reason that it is no considering the accents.
    I appreciate any help.
    Best regards.
    Antonio.

    Hello,
    I have a database in Oracle 8.1.7 with characterset ZHT16MSWIN950, and I need to migrate this database to Oracle 11.2.0.2 with characterset WE8MSWIN1252.
    I think there's something wrong.
    The character set ZHT16MSWIN950 is for Traditional Chinese and is encoded in Multibytes (I think 2 Bytes), while WE8MSWIN1252 is encoded in 1 Byte.
    So you cannot do this conversion without loosing characters.
    You should migrate to UNICODE (AL32UTF8), this link may help you:
    http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#NLSPG011
    You'll have also some interesting reference here:
    https://forums.oracle.com/thread/1056444
    Hope this help,
    Best Regards,
    Jean-Valentin Lubiez

  • Problems with Database connection from a servlet

    Hi everybody:
    I got the following message:
    java.lang.ClassNotFoundException: weblogic/jdbc/oci/Driver
    when I try to connect to a Database.
    public Connection getConnection()
    Connection con = null;
    Driver myDriver = null;
    try
    Properties props = new Properties();
    props.put("user", "fangc");
    props.put("password", "fangc");
    myDriver = (Driver) Class.forName("weblogic.jdbc.oci.Driver").newInstance();
    con = myDriver.connect("jdbc:weblogic:oracle:occd01", props);
    catch(Exception e)
    System.out.println("Connection failed! - " e);
    finally
    return con;
    What am I doing wrong? I try the code without problem for a simple Java Client

    Cristina Fang wrote:
    >
    Hi everybody:
    I got the following message:
    java.lang.ClassNotFoundException: weblogic/jdbc/oci/DriverYou won't get that unless your code has:
    myDriver = (Driver) Class.forName("weblogic/jdbc/oci/Driver").newInstance();
    Make sure your servlet code is just like the right way that you have it
    below:
    myDriver = (Driver) Class.forName("weblogic.jdbc.oci.Driver").newInstance();
    Joe
    >
    when I try to connect to a Database.
    public Connection getConnection()
    Connection con = null;
    Driver myDriver = null;
    try
    Properties props = new Properties();
    props.put("user", "fangc");
    props.put("password", "fangc");
    myDriver = (Driver) Class.forName("weblogic.jdbc.oci.Driver").newInstance();
    con = myDriver.connect("jdbc:weblogic:oracle:occd01", props);
    catch(Exception e)
    System.out.println("Connection failed! - " e);
    finally
    return con;
    What am I doing wrong? I try the code without problem for a simple Java Client

  • Is there any patch for migrating database server from oracle to sql server

    we have very large application build using oracle forms 6i
    (release 2) & reports 6i & Oracle Database as back-end server.
    Now we want to port our application on sql server. Is there any
    patch available , so that we don't have to change anything at
    application level except connection string.
    currently I am using :
    oca 6.0.5.35.0
    sql server 2000
    odbc 3.5xxx
    d2k 6i(release 2)
    But we have to make lot of changes at application level.
    So any one can tell me about any tool, or patch for converting
    without changing too much at application level.
    Thanks
    yogesh

    refresh

  • Problems migrating project in JDeveloper

    Hello OraclALL,
    I am having problems migrating my project from JDeveloper 10.1.2 to version 10.1.3.
    Actualyl the problem is specific to the UML diagramas. It was able to correctly convert the Class Diagram and ER Diagram, but did not work with Use Case Diagram neither with Activity Diagrams.
    Is there something I can do to import, convert or migrate my project with all diagrams included?
    Thanks

    There is nothing special to be done to migrate those uml diagrams. The migration which succeeded in migrating your other diagrams should also have migrated the use case and activity diagrams.
    You say that it did not work for use case and activity, could you describe what the problem is with those diagrams ?
    If there was some error dialogs, exceptions during the migration process or when you try to open those diagrams ... could you also describe/paste them ?
    Alternatively you can send all this information to me.
    Thanks very much.
    Dominique

  • How to make tables fully sized in a database diagram?

    Hi,
    This is my first time using JDeveloper. I have been asked to make a database diagram from a database schema for the purposes of printing the diagram out to stick on the office wall, yay Smile
    There are a huge number of tables (100+) and I have got them on the screen, but the problem is that all the tables are the same size and many don't show all their fields. I could manually resize all the tables and shift them around but it would take forever. As I'm being paid for this I thought I should try and find an easier way.
    I tried selecting all the tables and choosing Model->Optimize Shape Size but it didn't work, and I can't see anything else that would do it.
    Thankfully, someone else is going to worry about how to print it out.
    Can anyone help?
    thx
    Adam

    Hi,
    It should be showing the cardinalities unless you've turned the preferences off! You may find that the cardinalities aren't positioned as close to the lines due to the redrawing. If you select one of the FKs you should see two grey lines going from the line to where the cardinalities are, you can then either move them manually or try one of the 'Layout Shapes' options which will relayout your diagram and hopefully move the cardinalities closer to the Fks.
    You can check whether the 'Show Cardinality' property is set to 'True' by selecting one FK and then invoking the context menu and selecting 'Select All This Type' and then in the Property Inspector ensure that the value is set to True.
    Regards,
    Lisa
    You can ignore this I was typing this while you were posting that you had done it!
    Message was edited by:
    Lisa Sherriff

  • Business Components diagram to Database Diagram AUTOMATICALLY Please.

    Hello,
    We are using Jdev 10.1.2 and we have a beautiful business components diagram with all the entities and associations and would like to generate automatically a database diagram from that beauty, without effectively creating the tables. We wish to have a look at the data definition language script to be sure that we get what we expect, when we generate the tables.
    Does anyone have any idea how to proceed ?
    Thanks a lot for your co-operation.
    Peace and Love to all of you !!!
    Jacques

    Jacques,
    In JDeveloper 10.1.2, you will need to generate tables from your Entity Objects to the database first and then either drag and drop the tables from the Connections Navigator to the diagram, or import them to the Offline Database, and then drag them to the diagram from the Applications Navigator.
    We are working on better integration between Business Components and the Offline Database/Database Modeling in future versions of JDeveloper.
    - John.

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
    I have installed, uninstalled, and repaired many dozens of times.  I am currently using VS2013 ultimate with SQL2014 express.
    I have tried every related 'workaround' that I can find on the internet.  Still the problem persists.
    Any help would be deeply appreciated.
    Here are the relevant details with file versions:
    In SSMS, I right-click on a database and choose New Database Diagram.  A Blank diagram window appears with the SSMS error dialog:
    ===================================
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    Program Location:
       at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
       at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
       at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
       at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
       at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
    con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
       at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
    Version info taken from Sql Server  Management Studio/Help/About dialog:
    Microsoft SQL Server Management Studio      12.0.2000.8
    Microsoft Analysis Services Client Tools    12.0.2000.8
    Microsoft Data Access Components (MDAC)     6.1.7601.17514
    Microsoft MSXML                             3.0 4.0 5.0 6.0
    Microsoft Internet Explorer                 9.11.9600.17358
    Microsoft .NET Framework                    4.0.30319.18444
    Operating System                            6.1.7601
    DLL versions
    c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
    dsref80.dll  version 12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
    msdds.dll    12.0.21005.1
    msddsf.dll   12.0.21005.1
    msddslm.dll  12.0.21005.1
    msdds.mp.dll 12.0.21005.1
    msddsp.dll   12.0.21005.1
    c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
    msddsui.dll 12.0.21005.1

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Problem opening old Diagrams in JDeveloper 10.1.3.0.4

    Hi,
    I have UML and Database diagrams done in JDeveloper 10.1.2.1 and older versions.
    When I try to open the diagram in 10.1.3.0.4 version the the ide doesn't open it and gives the message error:
    oracle.bm.persist.VersionMigrationFailureException: Unable to migrate DBDiagram in /tmp/xslttmp27211xml from
    0.0 to 1.1
    at oracle.bm.persist.diagram.impl.DiagramStructureReader.reparse(DiagramStructureReader.java:119)
    at oracle.bm.persist.diagram.impl.DiagramStructureReader.reparse(DiagramStructureReader.java:113)
    Do you know if there is a problem compatibility in this JDeveloper version?
    -Cleber

    Hi Cleber,
    Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
    My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
    Regards,
    Lisa
    JDev QA

  • Errors encountered using Database Diagram in JDeveloper 11g

    Tried to bring an existing MySQL 5.0 database schema into Database Diagram in JDev. Several problems encountered as listed below:
    1. For any columns that are with VARCHAR type and the length is greater than 255, I got "Display Width must be less than or equal to 255". Why JDeveloper sets such limitation even the DBMS allows? What I can do with it? I only want to do the ER modeling or do the reverse engineering here.
    2. I also got "A Foreign key constraint must define at least one column" for some tables that do have FK defined properly. The message seems suggest there is FK defined on NO column. It's not possible to create any constraint without specifying corresponding column(s) in the first place. So I feel this is a misleading message. But what's the really problem behind?
    Has anybody run into this? Any input is highly appreciated! Thanks.

    The details of the error code is like this:
    java.lang.ArrayIndexOutOfBoundsException: 4
         at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:233)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:156)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:372)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:142)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:633)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:560)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1083)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
         at java.lang.Thread.run(Thread.java:595)
    I'm using JDeveloper 11g Technology Preview 3 to connect and got this error. I've try Jdeveloper 10g version 10.1.2, it can connect successfully.

  • JDeveloper 12c getting error after migration my Apps from JDeveloper 11.1.2.3

    Hi, I have migrated my application from JDeveloper 11.1.2.3 to JDeveloper 12c(12.1.2.0). My application cleaned and compiled successfully. Application Module tested successfully. But when i am running my application (ViewController)weblogic started but application not deployed, i am getting below error in JDeveloper Console.
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    roxy$ProcessorImpl.processImpl(ProjectDependenciesJLibraryProxy.java:141)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    rocessor.processImpl(ProjectDependenciesJLibraryProcessor.java:62)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    roxy$ProcessorImpl.processImpl(ProjectDependenciesJLibraryProxy.java:141)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    rocessor.processImpl(ProjectDependenciesJLibraryProcessor.java:62)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    roxy$ProcessorImpl.processImpl(ProjectDependenciesJLibraryProxy.java:141)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP
    rocessor.processImpl(ProjectDependenciesJLibraryProcessor.java:62)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process
    (DefaultStatefulProcessor.java:158)
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135)
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default
    Processor.java:61)
    Maroof

    Hi Timo, This application developed in 11.1.2.3, Now i am opened this application in JDev 12.1.2.0, This application is successfully compiled. But when i am running this apps in JDeve 12c(Integrated WLS) then Integrated WLS  started but Application not deployed, and i am getting below error.
    Jan 19, 2014 8:17:11 AM oracle.security.jps.util.JpsUtil disableAudit
    INFO: JpsUtil: isAuditDisabled set to true
    Jan 19, 2014 8:18:10 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: Resource META-INF/adf-config.xml not found on the classpath.
    Jan 19, 2014 8:18:10 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: A default implementation of ADFConfig is being created for application.
    This can lead to unexpected results in some cases. Please add a basic META-INF/adf
    -config.xml to your classpath to avoid functional errors.
    Jan 19, 2014 8:18:55 AM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
    WARNING: SelectionModel has no selected items
    Jan 19, 2014 8:19:02 AM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
    WARNING: SelectionModel has no selected items
    Jan 19, 2014 8:19:21 AM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
    WARNING: SelectionModel has no selected items
    Processor.java:61) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process 
    (DefaultStatefulProcessor.java:158) 
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib 
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default 
    Processor.java:61) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process 
    (DefaultStatefulProcessor.java:158) 
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP 
    roxy$ProcessorImpl.processImpl(ProjectDependenciesJLibraryProxy.java:141) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default 
    Processor.java:61) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process 
    (DefaultStatefulProcessor.java:158) 
            at oracle.jdevimpl.deploy.contrib.processor.ProjectDependenciesJLibraryP 
    rocessor.processImpl(ProjectDependenciesJLibraryProcessor.java:62) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default 
    Processor.java:61) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultStatefulProcessor.process 
    (DefaultStatefulProcessor.java:158) 
            at oracle.jdevimpl.deploy.contrib.processor.ProjectProjectDependencyJLib 
    raryProcessor.processImpl(ProjectProjectDependencyJLibraryProcessor.java:135) 
            at oracle.jdeveloper.deploy.contrib.spi.DefaultProcessor.process(Default 
    Processor.java:61) 
    Maroof

Maybe you are looking for

  • How to set up automatic back up of an internal storage drive?

    I am using Time Machine in conjunction with Time Machine Editor to perform scheduled back ups of my boot disk to an internal hard drive. However, I have two additional hard drives in my Mac Pro that I wish to use for (1) media libraries and (2) a bac

  • Error in while running a query in SAP B1

    Hi All, I am creating one Q-PLD so i have to run the following query. Query is working fine in SQL Server But while running with SAP B1 showing error 'Cant convert into varchar to small int' Query is Select (select M1.[GroupName] from OCRG M1 where M

  • Idoc for customer payment advice

    Hi all, We receive Idoc for payment advice from customer. Can some body tell me how can I read this information to match the invoice.I mean how can I map Idoc field to SAP internal tables. How do I know which Idoc field will hit which SAP table & whi

  • Check your SBRS Scores after upgrading to 8.5.6-092!

    I upgraded my ESA from 8.5.6-073 to 8.5.6-092 on the 26th September. Today I noticed a lot of malicious e-mails coming through our IronPort and when I checked the message tracking logs I saw the message: SBRS Score: unable to retrieve Phoned support

  • Can you dynamically resize a graphic

    In AW 7, can you dynamically resize a graphic (jpg, or whatever) that's already on the screen, with some sort of code. Need help. Trying to build a piece, but having issues w/ space. Thanks for any help.