Lab view database conect to an exist db in SQL server

Hi
How can I connect my LV  8.5 with database connectivity to an existing DB in SQL server 2005 platform ?
thanks
ziv

1. Create a .udl pointing to your database.
2. Open Database Connection with the .udl as path.
3. Do your query/List tables
4. Close database connection
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Database link between Oracle 11g and MS Sql Server 2005 EE

    Hi everybody,
    I trying to create database link from Oracle 11g to MS Sql and I'm not succesful.
    I found tutorial for Oracle 10g, but it does't work.
    I created odbc data source, then I modified tnsnames.ora and listener.ora, then I created initkw.ora in HS directory and then I created dabase link, but it does't work.
    Can you help me please? Thanks for help ... ondra
    Tnsnames.ora:
    KW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = oracle_ip)(PORT = 1521))
    (CONNECT_DATA =
    (SID = KW)
    (HS = OK)
    listener.ora:
    (SID_DESC =
    (SID_NAME = KW)
    (ORACLE_HOME = C:\oracle\product\11.1.0\db_1)
    (PROGRAM = hsodbc)
    initkw.ora
    HS_FDS_CONNECT_INFO = kw
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = kw.trc
    create public database link KW connect to "user" identified by "pass" using 'KW';
    Message was edited by:
    user598176

    Hi, I get two errors.
    ORA-28545 - NET8 mistake Unable to restrieve textof NEWTWORK/NCR message 65535
    and then ORA-02063
    zenda
    I resolved one of error, I have wrong ip.
    But now I have another error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name
    not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    I have ODBC data source in system DSN
    PS: Our Oracle 11g database is 64 bit version
    Message was edited by:
    user598176

  • To view database Java Source and Class code in SQL Developer - Do this...

    I've wanted something like this for a while.. Hope this helps someone else...
    Make a master detail report...
    1. Click the reports tab.
    2. Right click on "user defined reports" and select "add report"
    3. Type "Java Source Object and Class Code" into the name field.
    4. Make sure "Style" is set to "Table".
    5. Paste this code into the "SQL" window.
    select OBJECT_NAME, OBJECT_TYPE, to_char(created,'DD-MON-YYYY HH24:MI:SS') Created, to_char(LAST_DDL_TIME,'DD-MON-YYYY HH24:MI:SS') "Last DDL", STATUS
         from user_objects
        where object_type in ('JAVA SOURCE')
        order by object_name6. Click "Add child"
    7. Make sure "Style" is set to "Code" in the child.
    8. Paste the following code into the SQL window of the child.
    select text from user_source where name = :OBJECT_NAME order by line9. Click Apply..
    10. Enjoy...
    no semicolons after the sql....
    Message was edited by:
    slugo

    Mark,
    Thanks Check this out people can now subscribe to the public reports out no the exchange.
    http://krisrice.blogspot.com/2007/10/marks-post-on-forums-got-me-to-do.html
    -kris

  • Lync 2013 sql database on existing lync 2010 sql server

    Dear All,
    I have query regarding the SQL server requirement for Lync 2013 enterprise,when there is a co-existence or migration from lync 2010 to 2013, it it possible to use the same Lync 2010 enterprise  sql server with different instance name or we have to create
    a new sql server for lync 2013, please advice me.
    Thanks and regards,
    sarma kumar

    No it is not possible. Topology builder won't allow it, it needs to be a completely different server name. 
    When you input the server into Topology builder you enter the server name and instance in two separate fields, it will give you a red X as soon as you try to put the server name in if it's already in the topology.
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
    www.lynced.com.au | Twitter
    @imlynced

  • Cannot edit an existing table in sql server 2012

    Exception has been thrown by the target of an invocation. (SQLEditors)
    ADDITIONAL INFORMATION:
    The 'DbProviderFactories' section can only appear once per config file. (System.Configuration)
    I was trying to design a table and it threw this exception.
    Exception has been thrown by the target of an invocation. (SQLEditors)
    ADDITIONAL INFORMATION:
    Unable to find the requested .Net Framework Data Provider.  It may not be installed. (System.Data)
    What am I missing? Do I need to download something?

    Hi Geoff33,
    According to the error messages, it might be caused by that there are duplicate <DbProviderFactories> tags in the machine.config files. As Satish’s post, please remove empty element DbProviderFactories in the following files.
    C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
    However, if the error still occurs after that, it might be caused by that the SQL Server Management Studio (SSMS) is not installed properly. I recommend you to design the table via Transact-SQL. Alternatively, you can reinstall the client tools from installation
    media.
    Thanks,
    Lydia Zhang

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

  • Contained Database Users are now available in Azure SQL Database Update preview

    Contained Database Users should be of particular help for people migrating to Azure SQL Database. At the moment, this is a preview release but you can start testing. Here is the announcement of the
    preview with links to more information.
    New SQL Database public preview with new Standard-tier performance level
    Previously announced in November 2014 and now available for customers to try, the
    new
    public preview of SQL Database improves the compatibility of SQL Server applications for Azure SQL Database. Details of this preview are available on the
    SQL
    Database documentation webpage, including the following key enhancements: easier management of large databases to support heavier workloads with parallel queries
    and online indexing, support for programmability functions like CLR and XML index to support more robust application design, improved monitoring and troubleshooting with XEvents and 100 new Dynamic Management Views (DMV), and more performance in the Premium
    tier.
    To try this preview, please sign up via the Preview
    features webpage. Only SQL Database servers with a mix of one or more Basic, Standard, or Premium (not Web or Business) databases are compatible and eligible to
    upgrade to the preview. Please note that any move of an existing Basic, Standard, or Premium database into this preview is irreversible; we recommend that you create a database copy or leverage test databases on any server enrolled in this preview.
    A new Standard-tier performance level, S3, is also available in this preview which gives you more pricing flexibility between Standard and Premium. S3 will deliver 100 Database Throughput Units (DTU) and all the features available in the Standard tier. Please
    note that S3 will appear on your bill as a multiple of S2 until further notice.
    For more information, please visit the SQL
    Database webpage and the
    Microsoft
    Azure Blog. For a comprehensive look at pricing, please visit the
    SQL
    Database pricing webpage.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

    Hello Rick
    That is great, one thing I'd like to ask, does it support SSMS,SSDT?
    No sign of that yet, that I’ve seen.....
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Server 2008 R2 - Adding Replication Components to an Existing Installation

    Hi All
    I have a SQL Server 2008 R2 instance that I need to install Replication components on. 
    I've been going through the appropriate wizard and selecting to upgrade an existing instance, the wizard recognizes the SQL Server that we have installed so that one is selected. On the next screen, I'd expect to see the feature selector with everything
    we currently have installed selected and greyed out, however nothing is selected (except for BOL).
    So in order to select Replication Components, I'd have to also select Database Engine, suggesting that a new SQL Instance would be installed. Not wanting to do this, I'm having to abort.
    I've tried a number of different ISOs now (one I found lying around on the server), but I haven't had any luck. My only option now seems to be to recreate the instance entirely, but that being a last resort, I was wondering if anyone may have had some experience
    with this problem?
    I am running the installer with the highest level of Windows and SQL access, if that helps.
    Thank you

    Just to confirm when you try to install you select the option "Add features to an existing Instance of SQL" and below you see the instance name and you *Dont* see replication.
    Now when you click next in the feature selection page you see replication as greyed out is that correct?
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
    To confirm, the steps I'm taking are as follows:
    Once all the Setup Support files have been installed, and the Setup Support rules have been checked (with no errors)
    - At the Installation Type screen I select Add features to an existing instance of SQL Server 2008 R2. My server appears in the drop down as the only instance on this server. I see the list of installed instances too, and can confirm that Replication does
    not appear in the Features column. I click next.
    - At the Feature selection screen, the only items that are selected are Books Online, SQL Client Connectivity and Microsoft Sync Framework. No other features are selected and greyed out, where I would expect Database Engine Services, Analysis Services and
    Reporting Services (among others) to be selected. Selecting SQL Server Replication at this stage results in Database Engine Services also being ticked, suggesting the wizard will add a new instance on this machine.
    The only peculiarity that I've noticed is with the version number reported on the Installation Type screen, which shows 10.51.2500. Not the same as the version that is reported if I inspect object browser or I user the @@Version command. In fact, I believe
    this version relates to MDS instead? This being said, our other production server reports the same version here, and I was able to install replication components here with no problem.
    I hope this helps, I don't know if I can attach some images to my post to make it more clear? It's quite a difficult and unusual problem to explain!

  • Run Reporting services 2005 with databases housed on SQL Server 2012?

    Hi, I have a RS 2005 install in which the ReportServer and ReportServerTempDB databases reside on a different SQL Server 2005 server. I am planning to upgrade DB server to 2012 and would like to keep SSRS as 2005.As a second phase I will upgrade SSRS2005
    to SSRS 2008. So I would be running something like this:
    Server A: SQL 2005 Reporting Services
    Server B: SQL 2012 database engine - housing ReportServer and ReportServerTempDB
    Is this configuration supported? 

    Hello,
    According to the
    BOL, Report Server service checks the database version at startup. If the report server is connected to a database that is an earlier version, the report server will update the database during startup.If you have a newer report server database, you
    cannot use it with an earlier version of a report server instances.
    In that case, the earlier versions of SQL Server Database Engine that can be used to host the SSRS report server databases. For example, In SQL Server 2005 Reporting Services, we can use either SQL Server 2000 or SQL Server 2005 to host the databases, for
    SSRS 2012, we can use SQL Server 2012,2008 R2,2008,2005.
    Based on my test, In the Reporting Services 2005 Configure Manager, we can create a new database on a remote SQL Server 2012 database engine and the Initialization is successful.
    In this way, the databases are created from the script file which installed with the Reporting Services instance, you can find the Catalog.sql and CatalogTempDB.sql  under folder C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer.
    However, when upgrade the existing ReportServer database and ReportServerTempDB database on the SQL Server 2012 by restore from a backup, we cannot use this existing database for Reporting Services 2005 and get the following message:
    The database version (162) does not match your reporting serivces installation.And the initialization failed.
    In your case, you can host the ReportServer database and ReportServerTempDB database of SSRS 2005 on SQL Server 2012 database enginer by create a new database from Reporting Services 2005 Configure Manager. But you cannot use the existing
    database which upgrade to SQL Server 2012.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Upgrading SQL Server from 2008 to 2012 doesn't respect existing install / instance paths

    Basic Information : Running Microsoft Windows Server 2008 with MS SQL Server 2008 (version 10.0.5869), trying to upgrade to SQL Server 2012. Currently working in a cloned
    VM of our production server (so I can try things and not worry about affecting our production system).
    Current server setup:
    C Drive: Operating System (About 7 GB of 50 GB free)
    J Drive: Program Files (About 65 GB of 78 GB free)
    F Drive: SQL Databases (About 120 GB of 195 GB free)
    Issue: I am trying to do an upgrade of our existing MS SQL Server 2008 install. I am using the GUI method, and choosing "Upgrade from SQL Server, 2005, SQL Server
    2008, or SQL Server 2008 R2" in the Setup GUI:
    All the checks & rules run with no issues. When I get to the "Instance Configuration" screen in the setup GUI, it is not respecting where my SQL Server instance is already installed (which is on the J drive). Instead it wants to install EVERYTHING
    (including Instance Directory, which should be on the F drive, and the install folder, which should be on the J drive) on the C drive under C:\Program Files\ and there is no option in the GUI to change that, as it's grayed out.
    I tried using a Configuration File to do the upgrade, but when I tried to specify the specific paths, it says those variables are not allowed to be used in an upgrade. If I allow the install to go through, it seems to install fine, but only leaves me with about
    1.5 GB free on the OS drive (Drive C) and all of SQL Server is now installed on Drive C, which is not what I want or need.
    Looking in the Registry Editor, I can see that under HKLM\SOFTWARE\Microsoft\Microsoft
    SQL Server\MSQL11.MSSQLSERVER\ that the SqlProgramDir key
    has changed from "F:\" to "C:\Program Files\Microsoft SQL Server\" and that the SQLPath and SQLDataRoot have
    changed from "F:\MSSQL10.MSSQLSERVER\MSSQL" to "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL". SQLBinRoot has
    also been changed "F:\MSSQL10.MSSQLSERVER\MSSQL\Binn" to "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Binn".
    It doesn't seem to want to follow where the existing Install and Instance Directories are. Am I missing something here? I've done a decent amount of research, but can't find anything that talks about this. So I'm at a loss as to what to do from here.

    I haven't touched the registry. Here is the ConfigurationFile.ini from the original install (I've scrubbed sensitive info out of it) showing the paths:
    ;SQLSERVER2008 Configuration File
    [SQLSERVER2008]
    ; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will reflect the instance ID of the SQL Server instance.
    INSTANCEID="MSSQLSERVER"
    ; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
    ACTION="Install"
    ; Specifies features to install, uninstall, or upgrade. The list of top-level features include SQL, AS, RS, IS, and Tools. The SQL feature will install the database engine, replication, and full-text. The Tools feature will install Management Tools, Books online, Business Intelligence Development Studio, and other shared components.
    FEATURES=SQLENGINE,AS,RS,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS
    ; Displays the command line parameters usage
    HELP="False"
    ; Specifies that the detailed Setup log should be piped to the console.
    INDICATEPROGRESS="False"
    ; Setup will not display any user interface.
    QUIET="False"
    ; Setup will display progress only without any user interaction.
    QUIETSIMPLE="False"
    ; Specifies that Setup should install into WOW64. This command line argument is not supported on an IA64 or a 32-bit system.
    X86="False"
    ; Specify if errors can be reported to Microsoft to improve future SQL Server releases. Specify 1 or True to enable and 0 or False to disable this feature.
    ERRORREPORTING="False"
    ; Specify the root installation directory for native shared components.
    INSTALLSHAREDDIR="J:\Program Files\Microsoft SQL Server"
    ; Specify the root installation directory for the WOW64 shared components.
    INSTALLSHAREDWOWDIR="J:\Program Files (x86)\Microsoft SQL Server"
    ; Specify the installation directory.
    INSTANCEDIR="F:"
    ; Specify that SQL Server feature usage data can be collected and sent to Microsoft. Specify 1 or True to enable and 0 or False to disable this feature.
    SQMREPORTING="False"
    ; Specify a default or named instance. MSSQLSERVER is the default instance for non-Express editions and SQLExpress for Express editions. This parameter is required when installing the SQL Server Database Engine (SQL), Analysis Services (AS), or Reporting Services (RS).
    INSTANCENAME="MSSQLSERVER"
    ; Agent account name
    AGTSVCACCOUNT="NT AUTHORITY\SYSTEM"
    ; Auto-start service after installation.
    AGTSVCSTARTUPTYPE="Automatic"
    ; Startup type for Integration Services.
    ISSVCSTARTUPTYPE="Automatic"
    ; Account for Integration Services: Domain\User or system account.
    ISSVCACCOUNT="NT AUTHORITY\SYSTEM"
    ; The name of the account that the Analysis Services service runs under.
    ASSVCACCOUNT="NT AUTHORITY\SYSTEM"
    ; Controls the service startup type setting after the service has been created.
    ASSVCSTARTUPTYPE="Automatic"
    ; The collation to be used by Analysis Services.
    ASCOLLATION="Latin1_General_CI_AS"
    ; The location for the Analysis Services data files.
    ASDATADIR="F:\MSAS10.MSSQLSERVER\OLAP\Data"
    ; The location for the Analysis Services log files.
    ASLOGDIR="F:\MSAS10.MSSQLSERVER\OLAP\Log"
    ; The location for the Analysis Services backup files.
    ASBACKUPDIR="F:\MSAS10.MSSQLSERVER\OLAP\Backup"
    ; The location for the Analysis Services temporary files.
    ASTEMPDIR="F:\MSAS10.MSSQLSERVER\OLAP\Temp"
    ; The location for the Analysis Services configuration files.
    ASCONFIGDIR="F:\MSAS10.MSSQLSERVER\OLAP\Config"
    ; Specifies whether or not the MSOLAP provider is allowed to run in process.
    ASPROVIDERMSOLAP="1"
    ; Specifies the list of administrator accounts that need to be provisioned.
    ASSYSADMINACCOUNTS=""
    ; Startup type for the SQL Server service.
    SQLSVCSTARTUPTYPE="Automatic"
    ; Level to enable FILESTREAM feature at (0, 1, 2 or 3).
    FILESTREAMLEVEL="0"
    ; Set to "1" to enable RANU for SQL Server Express.
    ENABLERANU="False"
    ; Specifies a Windows collation or an SQL collation to use for the Database Engine.
    SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS"
    ; Account for SQL Server service: Domain\User or system account.
    SQLSVCACCOUNT="NT AUTHORITY\SYSTEM"
    ; Windows account(s) to provision as SQL Server system administrators.
    SQLSYSADMINACCOUNTS=""
    ; The default is Windows Authentication. Use "SQL" for Mixed Mode Authentication.
    SECURITYMODE="SQL"
    ; Provision current user as a Database Engine system administrator for SQL Server 2008 Express.
    ADDCURRENTUSERASSQLADMIN="False"
    ; Specify 0 to disable or 1 to enable the TCP/IP protocol.
    TCPENABLED="1"
    ; Specify 0 to disable or 1 to enable the Named Pipes protocol.
    NPENABLED="0"
    ; Startup type for Browser Service.
    BROWSERSVCSTARTUPTYPE="Disabled"
    ; Specifies which account the report server NT service should execute under. When omitted or when the value is empty string, the default built-in account for the current operating system.
    ; The username part of RSSVCACCOUNT is a maximum of 20 characters long and
    ; The domain part of RSSVCACCOUNT is a maximum of 254 characters long.
    RSSVCACCOUNT="NT AUTHORITY\SYSTEM"
    ; Specifies how the startup mode of the report server NT service. When
    ; Manual - Service startup is manual mode (default).
    ; Automatic - Service startup is automatic mode.
    ; Disabled - Service is disabled
    RSSVCSTARTUPTYPE="Automatic"
    ; Specifies which mode report server is installed in.
    ; Default value: “FilesOnly”
    RSINSTALLMODE="DefaultNativeMode"

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Linked Server to Access Database in SQL Server 2012 is working perfectly.But, All of sudden it is showing SQL Error Code:7303

    Linked Server to Access Database in SQL Server 2012 is working perfectly.But, All of sudden it is showing SQL Error Code:7303  
    Unable to connect to the database type that is created with earlier versions type. But the same Linked Server in another SQL Server instance is working perfectly. I am unable to rectify what is the problem please help.

    All of sudden it is showing SQL Error Code:7303  
    Error 7303 = "Cannot initialize the data source object of OLE DB provider "%ls" for linked server "%ls"."?
    Check the data Provider on the machine, e.g. using ODBC Admin by creating a DSN
    Olaf Helper
    Hi Olaf Helper,
    I don't now how to add a DSN for the Access Database using ODBC Admin. Can you Please help me with that one. as the solution to above problem i Have added a startup parameter -g512 to SQL Server is it effects my existing Assemblies in SQL Server. I am replacing
    the startup parameter as -g500 to -g512 here.
    Thank you
    Regards,
    AyubKhan M

  • How uninstall WSUS server role from Windows Server 2008 R2 with database hosted on remote SQL server?

    Hello, 
    I'm looking to uninstall the WSUS server role 3.0 from Windows Server 2008 R2 SP1. The thing is the database is hosted on a remote MS SQL server. I want to remove the database as well. I would like help for figuring out what I need to do to completely remove
    WSUS and its database.
    Any kind of help is appreciated! Thanks  

    Hi,
    WSUS offers limited support for running database software on a computer that is separate from the computer where the rest of WSUS is installed. This section offers step-by-step
    instructions for how to install WSUS in this configuration.
    If you meet the uninstall issue with the normal uninstall, please post the detail information for us but if you just want to manage the WSUS related SQL data, you can refer
    the following KB then delete corresponding database.
    In the general procedure, you will create the related WSUS database as below::
    Run WSUS Setup from the command line, using the SQLINSTANCE_NAME=servername\instancename command-line option, where servername is the name of the remote computer, and instancename
    is the name of the SQL Server instance that you will use for WSUS.
    More information:
    Choose the Database Used for WSUS 3.0
    http://technet.microsoft.com/en-us/library/cc708452(v=ws.10).aspx
    Appendix B: Configure Remote SQL
    http://technet.microsoft.com/en-us/library/cc708595(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for