Database diagram error

Hi,
Viewing SQL Server 2000 tables, when I try to create a database diagram, I get the following error when dragging a table onto the diagram : "columns of type int cannot have a size specified". I can create java classes by dragging the tables across but not an ERD.
Any suggestions?
Using 10g on XP. Project is using JDK1.3.2
Cheers
Eddie

Hi Eddie,
Unfortunately the Database Diagrammer is only supported with Oracle Databases in the current release. The support will be increased in the future to support non-Oracle Databases.
Thanks,
Lisa Sherriff
JDev QA

Similar Messages

  • JDEV 10.1.3 build 3565 database diagram error

    The cardinality is inverted on the diagram when a table is referenced from an another schema.
    To reproduce
    1) create a table with a primary key
    2) change the schema by your own
    3) don't change the default schema for the project !
    4) create an another table with a primary key too
    5) add a foreign using the control palette between first and second table
    6) check the not null option
    the relationship is inverted in the diagram * 0..1 instead of 0..1 *
    just change the schema to your own for the second table and the relationship is correctly displayed !

    Thanks, I have filed bug 4923919 for this issue.
    Regards,
    Lisa
    JDev QA

  • Error when creating a database diagram

    Hi, this is the error that I receive when I try to create a database diagram with aprox. 20 tables:
    BME-99003: An error occurred, so processing could not continue.
    Cause:
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jdeveloper.dbmodeler.diagram.shape.DBBaseShape.notifyChange(DBBaseShape.java:226)
         at oracle.bm.diagrammer.shape.BaseDiagramShape.initShape(BaseDiagramShape.java:367)
         at oracle.bm.diagrammer.shape.BaseDiagramNode.initShape(BaseDiagramNode.java:291)
         at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6921)
         at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:6846)
         at oracle.bm.diagrammer.BaseDiagram$1ShapeCreator$1.performAction(BaseDiagram.java:5494)
         at oracle.bm.diagrammer.DistributableLockMonitor.performLockedAction(DistributableLockMonitor.java:70)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramResizeLockedAction(BaseDiagram.java:2521)
         at oracle.bm.diagrammer.BaseDiagram$1ShapeCreator.doIt(BaseDiagram.java:5471)
         at oracle.bm.diagrammer.BaseDiagram.createShapesFromInfo(BaseDiagram.java:5729)
         at oracle.bm.diagrammer.registry.RCompositeDiagram.dropList(RCompositeDiagram.java:1258)
         at oracle.bm.addinUtil.IDEAppContext$4$2$2.run(IDEAppContext.java:4643)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at oracle.ide.controls.progress.AbstractProgressDialog.dispatchThisEvent(AbstractProgressDialog.java:463)
         at oracle.ide.controls.progress.AbstractProgressDialog.showDialog(AbstractProgressDialog.java:318)
         at oracle.bm.addinUtil.IDEAppContext$4$1.performAction(IDEAppContext.java:4735)
         at oracle.bm.diagrammer.DistributableLockMonitor.performLockedAction(DistributableLockMonitor.java:70)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramResizeLockedAction(BaseDiagram.java:2521)
         at oracle.bm.addinUtil.IDEAppContext$4.performAction(IDEAppContext.java:4730)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2437)
         at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(IDEAppContext.java:4395)
         at oracle.bm.addinUtil.IDEAppContext$5.run(IDEAppContext.java:4374)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    funny thing is that it worked with bigger diagrams but for some reason when I select these tables it crashes.

    Don't know the cause, but my advice would be to try and create the diagram in small steps.
    In similar situations I always found that a problem like this occurred when adding some specific table or other component and when investigating found out that there was a problem with that specific component. So it would be interesting to know when this error exactly occurs and review the corresponding component.
    Jan Kettenis

  • 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.

  • Schema Diagram error when drop new database objects

    Hi All,
    I am following the document to ad database objects to the Schema Diagram using JDeveloper 11.1.1.4. But when I drag a view to the diagram, it gives me this error.
    An error was encountered
    CAR_REFERENCE_CODES_V.CODE
    Name CODE is already in use.
    Here CAR_REFERENCE_CODES_V is the name of my view and CODE is the column name in the view.
    What should I do?
    Thanks

    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

  • [bug 10.1.3 EA1 Database Diagram]  edit error after schema change

    If you change the schema of a table definition in a Database Diagram and then attempt to edit the table definition, you get the following error:
    Editing is disabled.
    Error opening <table_name> - duplicate object definitions exist on the database path.
    The current node is: <path to .table file in old schema folder>
    Operations are diabled on all but the first object found on the database path: <path to .table file in new schema folder>
    Workaround is to close JDeveloper and re-open. Table definitions are then editable.
    Johnny Lee

    Thanks for reporting this Johnny.
    I was able to reproduce the problem in the EA1 release but it is working correctly in the latest build.
    Thanks again,
    Lisa
    JDev QA

  • Error creating database diagram

    Jdeveloper 10.1.3.04
    Oracle database 9.2.0.6.0
    I create a database diagram. I go to the database connection and drag a table onto the database diagram. JDeveloper asks me what I want to create. I select 'offline database object' and click 'OK'.
    I get a popup that says "The following Foreign Keys were not imported because the Constraint they reference was not accessible:"
    "On Tablename:
    TABLE1_TABLE2_OID_FK
    TABLE1_TABLE3_OID_FK"
    The table gets created in the diagram, but the foreign keys don't show up.
    Both foreign keys reference the same constraint, but I can't see why the constraint would not be accessible. Has anyone else seen this error message? Can someone tell me what it means?

    Actually, I can drag in all the tables in the schema, and I get a number of errors. All errors are the same one I listed, but in reference to different tables and foreign keys.
    The interesting thing is that all the foreign keys that are complained about reference the exact same constraint.
    Yet, the table and constraint involved seem fine. I am at a loss to understand what is going on.
    What else can I tell you to help with figuring this out?

  • 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 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

  • JDev 10g : Database Diagram exception while dragging table to diagram

    I added a new "Database Diagram" to my project. Then i try to drag a table on it from a database connection node in the "Connections - Navigator".
    the following exception occurs:
    Message
    Character literals must be enclosed in single quotes
    Cause
    Action
    I have this problem with all tables in the schema. When i use tables from another schema it works.

    I've logged bugs 3580537 - error message needs to identify erroneous object; 3580690 - single word character literals do not need to be quoted

  • Where are my database diagrams - 10g - 11g migration ???

    Hi all,
    Can anyone please HELP me in locating/recovering my tables in my database diagrams.
    I had my tables designed in JDeveloper 10g (10.1.3.10.3984 build JDEVADF_10.1.3.1.0_NT_061009.1404.3984) and had 11g Studio 111 installed yesterday day.
    When started 11g I was prompted to migrate my existing projects, I clicked yes. The migration returned with a couple of errors which I didn't quite understand.. Sorry I forgot to make a note.
    Now I open my database diagrams all I have got left are the "note" items. What have happend to my tables and sequences? I went back to 10g I saw the same thing.
    Is possible to recover the 10g diagrams in 10g/11g? Please advise
    Thanks in advance
    Hien

    Hello Hien,
    There is a specific forum for 11g issues (JDeveloper and OC4J 11g Technology Preview ); however, it's documented in the release notes for the 11 technology preview that migration from 10g is not supported IN THE PREVIEW.
    Regards,
    John

  • 10g: Database Diagram "Unable to Locate Elements For ..."

    Hello,
    In experimenting with JDeveloper 10g Diagram feature (IDE version 9.0.5.13.88), I experienced a rather vexing problem. I wondered if anyone could shed some light onto the issue for me and perhaps even help get it corrected.
    I started off by Upgrading/Converting an existing 9.0.3 project up to 9.0.5. I then created a new Database Diagram (File | New..., General -> Diagrams -> Database Diagram). I then dragged 1 unconstrained view and 2 constrained views onto the diagram. It automatically drew the view links. I arranged the views on the diagram and then closed JDeveloper. I then closed the diagram and the workspace. When I attempted to reopen the diagram, I received the following error:
    Unable to Locate Elements for Adhoc Reporting Model
    In the list were the 3 views and associated viewlinks. Pressing continue yielded a blank diagram, much to my chagrin.
    Any ideas?
    Thanks,
    Sean

    When you mention views, I presume that you mean View Objects, if this correct. I also presume that you dragged and dropped these View Objects from the navigator, and that the View Link that you mention was already visible in the navigator, is this also correct?
    Did you see your view objects in the navigator, when you re-opened JDev? Are they in the same project, as your diagram? The diagrammer should have been able to find the objects, if they are visible in your current project.
    You state that you first shutdown JDeveloper, and then closed your diagram, and workspace, did your diagram re-appear as expected when you opened up JDeveloper, and it was only after closing the diagram, and workspace, and then re-opening the workspace and diagram that you ran into problems?
    Did you save everything, before you shutdown JDeveloper?
    There is no known bug on this, so it would be good to get very specific test steps for this, to enable us to log a bug. Incidentally, why did you chose to create a Database diagram, rather than a Business Components Diagram?

  • Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012 SQL Express

    Hi,
    I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
    Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
    TITLE: Microsoft SQL Server Management Studio
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    BUTTONS:
    OK
    I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
    Installed the following fixes:
    1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
    2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
    These files was installed successful.
    How can I solve the problem?
    BR
    Jan Nilsson

    Hi Jan,
    Have you installed Visual Studio in your machine?
    The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
    The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
    C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
    See also the following for further details:
    http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • Database Connection Error:BAPI Error #0

    I have a problem when I preview a report in Crystal Reports 2008 using BW MDX Query I had recieved the following messages:
    1.Failed to retrieve data from database
    and then when I click ok
    2.Database Connection Error:BAPI Error #0
    Error occurred  when starting the parser:timeout during allocate / CPIC-CALL'ThSAPCMRCV'
    I copied the query of crystal report and I execute it inside the transaction of mdxtest
    SELECT  NON EMPTY EXCEPT([0CALMONTH].MEMBERS, {[0CALMONTH].[All]}) ON ROWS FROM [USD_SD_C0/RPT_1] SAP VARIABLES [!V000001] INCLUDING [0CALMONTH].[200401]
    I found the debugger had stopped in the line Break when I click on F8
    I recieve the following error
    Error occurred when starting the parser: timeout
    during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Please anybody can help me

    Dear Ingo
    I had read this note
    I applied the following:
    1.I didn't found the lrfc32.dll in the windows/system32 in my BW server so I asked my basis administrator to upgrade the kernel
    2.after this step I didn't find it again so I had copied the file from the new kernel and copied it to system32 and sysWow
    3.I register successfuly the lrfc32.dll using the commanf regsvr c:/windows/system32/lfrc32.dll
    (note: this step didn't succeed until I had installed SAP GUI in BW server because as I observed that there is a need for C++ compiler which is installed by default when you install GUI)
    after all of this I cannot run any crystal report based on any BW query
    So Please anyboday can help

Maybe you are looking for