Creating a Coldfusion Data Source that connects to a DB on a different server

Your assistance is appreciated.  I am attempting to create a data source on server #1 that is to connect to a database residing on Server #2.  Thus far, each attempt made results in an error that the database "is already opened exclusively by another user, or you need permission to view its data."  Be advised that I am experienced in working with data sources when the database resides on the same server.

There is no problem creating a datasource on server 1 that references a database on server 2.  But you will have to check the permissions on server 2 to make sure server 1 can connect. I suppose the error message is telling you as much.

Similar Messages

  • Cannot setup data source that connect to the SQL Azure DB from Power BI

    Hi all
    I have setup the powerbi site and i manage to install data mgmt gateway on my local machine
    then i am able to setup data source on powerbi
    however, when i browses the data source table from the powerbi site
    i receive the error from get DataSource Schema.
    And from the event log
    Unable to enumerate tables. Error message: One or more error occurred when accessing the Host Service. Error message: An error occurred while sending the request.
    An error occurred while sending the request.
    The underlying connection was closed: An unexpected error occurred on a send.
    This operation cannot be performed on a completed asynchronous result object..

    Hi Hubery
    thanks for your advice. But i have installed .Net 4.5.1 and then reboot my machine and restart the gateway
    However , I still cannot see table and view schema when i click the following
    on the powerbi -> choose the data source -> edit -> data settings
    And i receive the alter
    Get data source schema - One or more errors occurred in Data Management Gateway. Check Windows Event Log for the gateway errors. Tracing ID: 41582934-e9bf-4ab1-a4c7-53bce895f6f5 - 5:50:11 PM

  • How to create a linked data source with document libraries based on the same template?

    I use SharePoint Foundation 2013, SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get.
    I have a number of libraries which use the same template. I want to create a linked data source, that would contain them all, and if I add a library based on this template, the library would be added to the data sorce. Is it possible?
    I tried creating linked data souces, but the view that it brings by default is limited(no sorting, etc.). How can it be modified?

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

  • Error creating a new Data Source for Oracle connection

    I'm trying to create a new data source connection to our
    Oracle 10gR2 server using ColdFusion Administrator 6.1 Standard on
    a Windows 2003 server.
    I created a System DSN ODBC connection for Oracle. I can use
    the ODBC connection when connecting an Access db to Oracle but when
    I try to use it w/ ColdFusion Admin it generates the following
    error message:
    Connection verification failed for data source: sitest2
    []java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    The root cause was that: java.sql.SQLException:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    Any help or recommendations would be greatly appreciated.
    Tina

    The schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
    As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
    The JDBC is working ... I can test the connection successfully ... just wont save the entry
    Edited by: tread on Oct 17, 2011 11:55 AM

  • Create a ReportingServices data source and upload to a data connection library

    I have installed reporting services 2012 in SharePoint 2013 integrated mode. I need to create a report data source and upload it to a data connection library using
    C#.
    As I know it uses the ReportingServices2010 class but I cannot explore a reporting server url.
    There is a ReportingServices2010.asmx file in the 15 hive though.
    Also it works fine when I manually set the data source.

    Hi,
    The following materials would be helpful:
    Inserting Data Connections into a SharePoint Library
    https://social.technet.microsoft.com/Forums/en-US/df79dce5-fd92-4506-af4e-11127cb0d655/inserting-data-connections-into-a-sharepoint-library?forum=sharepointdevelopment
    Programmatically exporting reports from SQL 2012 Reporting Services
    http://stackoverflow.com/questions/12199995/programmatically-exporting-reports-from-sql-2012-reporting-services
    Report Server Web Service Endpoints
    http://msdn.microsoft.com/en-us/library/ms155398(v=sql.110).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Using different data source and connection name

    Hi,
    We have a requirement where the data source for our application is already configured on the server by name like MyDBDataSource. But the database connection name in our application is like My_DB. So application module is using data source name like My_DBDS. If i change data source name in application module configuration manually to be MyDBDataSource, then it fails at runtime. This has been identified as bug as mentioned in this post
    http://andrejusb.blogspot.in/2009/01/practical-adf-security-deployment-on.html
    Is this still valid? I am using 11.1.1.6 version. Also want to know if there is any workaround for this ? If i change the name in web.xml at deployment time using script, will it work ?
    Thanks

    Hi Ami,
    Is your issue get solved ?
    I would like to mention few things about the database connection in application & data source in Weblogic.
    1. When you create a database connection in Application (for example say connection name as hr) then in the Application Module Database Configurations in the bc4j.xcfg File Custom JDBCDataSource will be set as <Custom JDBCDataSource="java:comp/env/jdbc/hrDS"/> for both ApplnModule shared & Local. So when you create data source in weblogic it is better to create the JNDI Name like jdbc/hrDS ( ie between the '/' and 'DS' you have to specify the name of database connection you created in the application ).What ever the Data source name is no matter.
    2.If you change the JNDI name of data source later like jdbc/hrconnectionDS then it is better to delete the old hr connection from application and recreate a connection as hrconnection. After that you have to edit bc4j.xcfg file in the Application Module--> Configurations and set Custom JDBCDataSource as below for both local & shared config.
    <Custom JDBCDataSource="java:comp/env/jdbc/hrconnectionDS"/>
    I hope this will help you.
    Gijith.

  • Help with Creating a Oracle Data Source

    Hello:
    I am trying to create a Oracle Data source.
    I was successful in creating a JDBC Conection Pool.
    But I am stumped creating a new datasource that uses the Oracle Connection Pool.
    It asks for a JNDI Name and I have no clue what I should enter in this box.
    Can somebody help me?
    Thanks.
    venki

    Enter whatever name suits you. This is the name you will use when looking up your datasource in the JNDI tree, i.e.
    Context ctx = new InitialContext();
    DataSource oracleDS = (DataSource) ctx.lookup("myJNDIName");

  • Error While Creating  The Generic Data Source.

    Hi Gurus,
    I am trying to create a Generic Data Source (ZGG_TEST) on a View (ZV_TEST1)
    View as Follows:
    Table1 has the Following Fields
    Field Type
    MANDT CLNT
    RECNO NUMC
    STATUS CHAR
    LMODF CHAR
    Table2 has Fields
    Fields Type
    MANDT CLNT
    RECNO NUMC
    PHCOS QUAN
    MATNR CHAR
    EQSFS QUAN
    MEINS UNIT
    In Table2 under Currency and Quantity Field tab
    For Field PHCOS The Reference table is MSEG and Reference Field is MEINS
    For Field EQSFS the Reference Table is MSEG and reference field is MEINS
    View Description
    Tables:
    Table1
    Table2
    MSEG
    Join condition For the View is
    TABLE2-MANDT=TABLE1-MANDT
    TABLE2-RECNO=TABLE1-RECNO
    TABLE2-MANDT=MSEG-MANDT
    TABLE2-MATNR=MSEG-MATNR
    The Problem is While saving the Data Source it is Giving an Error as Follows
    Invalid extract structure template ZV_TEST1 of DataSource zgg_test
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure zgg_test. This operation failed, because the template structure quantity fields or currency fields, for example, field PHCOS refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissible fields.
    Please help me In Solving this Issue
    Thanks in advance
    Santosh

    n Table2 under Currency and Quantity Field tab
    For Field PHCOS The change Reference table to  TABLE2   For Field EQSFS the change the Reference Table to TABLE2  
    ref field MEINS ...
    This works ..
    Priya
    Edited by: Priya on Dec 31, 2007 1:30 PM

  • Error when creating a new Data Source

    All, This is on BI Publisher 11g.
    When I create a new data source and supply password and then click "Apply" button on top right corner, i get following error
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    what am i doing wrong?
    Thank you for reading this post.
    Thanks,
    R

    The schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
    As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
    The JDBC is working ... I can test the connection successfully ... just wont save the entry
    Edited by: tread on Oct 17, 2011 11:55 AM

  • Exception occurs while creating a new data source using BIRT RCP desighner!

    Guys,
    Please help me on this !
    I have created a pluin project( BIRT ODA API) using elipse and i have placed it in plug-in folder of BIRT RCP Desighner.
    When i try create a new data source i am getting the below exception and the jars are available in plugin folders :
    org.eclipse.datatools.connectivity.oda.consumer.helper.OdaHelperException: Unable to create the ODA driver's connection factory. (openmrsdb.impl.Driver) ;
    java.lang.ClassNotFoundException: openmrsdb.impl.Driver
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.loadDriverInstance(OdaDriver.java:230)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.init(OdaDriver.java:177)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.<init>(OdaDriver.java:76)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.getOdaDriverHelper(OdaConnectionWrapper.java:236)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.getOdaConnectionHelper(OdaConnectionWrapper.java:225)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.<init>(OdaConnectionWrapper.java:57)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory.createConnection(OdaConnectionFactory.java:26)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.lang.ClassNotFoundException: openmrsdb.impl.Driver
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.loadDriverInstance(OdaDriver.java:208)
         ... 10 more
    Could you please any one help on this.!
    Thanks in advance

    when defining a data source through the admin web page, don't add '!' in front of the password.
    ! is needed only when configuring a data source in the mapViewerConfig.xml file.

  • MAPVIEWER-00011: Error creating a map data source

    Getting the above error when trying to create a data source connection.
    Any ideas?
    I am able to create the JDBC data source on weblogic console but not on Mapviewer console..
    thanks

    The section of mapViewerConfig.xml is as follows :-
    <MapperConfig>
    <map_data_source name="mvdemo"
    jdbc_host="localhost"
    jdbc_sid="orcl45"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="wWsfjzUi+dD2kWQP+PZJHMI7Y0pIey6q"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="false"/>
    </MapperConfig>

  • Failed to acquire DAS with data sources that match the specified OCE

    Please help, Thank you all.
    We are migrating Oracle databases from Windows to Linux servers. Currently, I have no problem to use my desktop Hyperion Intelligence Designer 8.5 with new oce file to connect to Linux. However, I published the same oce file to Hyperion Performance Suite 8.5 then I got “Sever Error [2018]: Failed to acquire Data Access Service with data sources that match the specified OCE”.
    I launched Service Configurator, in the “Local Service Configurator - DAS1_host”, the “Database JDBC URL is point to Linux server. Also, I added ODBC connection to Oracle database on Linux in the “Properties of Data Access Service: DAS1_host’s Data Source”. Database of JDBC URL in BI1_host, AZ1_host, PUB1_host, SM1_host, LS1_host, UT1_host, BPS1_host, AN1_host are also point to Linux server.
    The “Remote Service Configurator” has ES1_host’s” Storage” with JDBC URL point to Linux server. The same for RM1_host’s and NS1_host’s “Storage” with JDBC URL point to Linux server.
    Is there some missing configuration on the server? Thank you in advance.

    You should login to my oracle support to look into this ID.
    This is the solution mentioned
    Solution
    1) In the .profile file, you will find the definition of the LD_LIBRARY_PATH variable. However, the path to 64 bit libraries is probably appended before the path to the 32 bit libraries(%ORACLE_HOME%/lib32). Therefore, please reverse the order in the definition so that the 32 bit libraries get loaded before the 64 bit libraries.
    Then, restart all services.
    2) Oracle 9.2 was the first Oracle release which defaults to using the 64 bit libraries in the 'lib' directory and the 32-bit libraries that we need are in the 'lib32' directory.
    Therefore, please have the%ORACLE_HOME%/lib32 placed in front of the LD_LIBRARY_PATH environment variable definition.Then, restart all services.
    3) Please check that users have read and write access to the files located in the %ORACLE_HOME%/lib32 folder.
    4) Check the permissions of the libclntsh.a file(located in the %ORACLE_HOME%/lib32 folder) are set to rwxr-xr-x
    5) Recreate the OCE connection in DAS and restart DAS in CMC.
    6) Restart all the BIPlus Services and process the query.

  • How to create 3.x data source in bi 7

    Hi Guys,
                 can anyone tell me<b> how to create 3.x data source(emulated) in bi 7.0 </b>
    pls reply  me this is urgent
    ravi

    Ravi,
    Please do not multiply the same question several times. The answer is given in the other replica:
    how to create 3.x filesystem data source(emulated) in bi 7.0

  • How can I create a custom data type that is a 2D array of string by using TestStand API?

    Hi all,
    I'm new in TestStand:
    I'm able to create a custom data type that is a 1D array of string but I cannot find the way to create a 2D array of string.
    Can anyone help me?
    Thank you in advance.
    Federico

    I made it!!
    Indeed my 2D array is an item of a container:
    /*  Create a new container */
    RunState.Engine.NewPropertyObject(Locals.NewDataType,PropValType_Container,False,"",0)
    /*  Create an array of strings as item of the container */
    Locals.NewDataType.NewSubProperty("Array_2D",PropValType_String,True,"",0)
    /*  Reshape the array as an empty 2D array */
    Locals.NewDataType.GetPropertyObject("Array_2D",0).Type.ArrayDimensions.SetBoundsByStrings("[0][0]","[][]")
    being:
    NewDataType a local property (type Object)
    Attachments:
    AddCustomTypeAndCreateFileGlobals.seq ‏11 KB

  • Creating the text data source for 0OI_LIFNR(TD: Carrier (Number of vendor a

    Hi
    Have to create the text data source for this characteristic. Basically it is the same as 0Vendor here.
    I want to make it delta enabled.
    Am creating it on the view BIW_LFA1T(same as 0vendor)
    Can anyone advise what can I use to make it delta enabled without any code.
    Can I use numeric pointer like the 0Vendor_text.
    Many Thanks and regards,
    Kate.

    when defining a data source through the admin web page, don't add '!' in front of the password.
    ! is needed only when configuring a data source in the mapViewerConfig.xml file.

Maybe you are looking for