AN ERROR OCCURRED WHILE OBTAINING DATABASE SCHEMAS sqlserver stored proc

I have used the documented Oracle procedures for building the necessary wsdl and xsd files for a sql server 2000 and 2005 stored proc. The wsdl files and xsd are generated and incorporated per the tech doc. The process was working for a while and now, when we try to access the dbadapter partner link created using the wsd, we get the following error:
"AN ERROR OCCURRED WHILE OBTAINING DATABASE SCHEMAS. VERIFY THAT THE DATABASE CONNECTION IS VALID AND IS SUPPORTED."
We have tried getting this corrected by using each of the specified jar libraries as part of the project:
sqljdbc.jar
msutil.jar
msbase.jar
mssqlserver.jar
Still, no solution.
Anybody have this happen? Fixes? Help......

If you used a command-line utility to generate your WSDL and XSD that would indicate that your JDev version does not support SQL Server so you can't use the Adapter Configuration Wizard to create partner links that execute stored procedures on SQL Server. Creating the initial partner link using the generated WSDL and XSD file will work fine, but if you try to edit that partner link in JDev it won't work if your JDev doesn't support SQL Server. You'll have to regenerate the WSDL and XSD as needed and recreate the partner link.

Similar Messages

  • Error occured while obtaining stored procedure

    Hi,
    I'm trying to configure a Database adapter to call a stored procedure. When I try to select the procedures in a package I get an error saying:
    "Error occurred while obtaining the stored procedure, Please verify the Database connection"
    The database connection is fine. I can select other stnad alone procedures and it works fine but I get the above error only when trying to select the procedures in a package.
    Any help is appreciated.
    Thanks

    Yes, this is happening when I use the wizard to Browse. I see all the packages but when I click on the package to expand it, I do not see the procedures in the package and I get the error message. And as you said the procedures are on 10g and Olite is for dehydration.
    Any ideas as to why I get this error. When I create standalone procedures or functions I can select those and create the adapter. Its only with packages.
    Thanks

  • WDSclient: an Error Occurred while obtaining an IP from DHCP server

    My WDS has been working for a month now. A few days ago, My WDS service just stop working. I tried everything to get back up an running. Nothing worked. I removed the role and re-add it. It worked for a few more days and then the service just stop working
    again. Tried everything again to try to fix it, But nothing worked. Removed the role again and re-add it. Now when I boot up into PXE and select my Boot option, I am getting an error "WDSclient an Error occurred while obtaining an ip address from the
    dhcp". Plug my laptop into the port and was able to get an IP address. Some of the forums say it's a driver issue. The driver where working just fine before. I did make a new driver package to see if that would work. Nothing. I did try this http://www.broexperts.com/2014/12/solution-dhcp-error-in-wds-server-2008-r2/,
    Didn't work.
    I am on Server 2012 R2 and SCCM is on the same server (I don't know if that has anything to do with it. The PXE has been disabled on it)

    Hi matkat1,
    Some folk meet your similar case when then use NIC driver from DELL, you can try to update the BISO then monitor this issue again, if it not work please removed the Switch and
    monitor whether it able to deploy the image.
    ON the DHCP server, please check to ensure that there is an operational DHCP server network segment and if your DHCP server on your WDS server please reauthorized with the DHCP.
    Please also check whether the event 4101 occurred and indicate the TFTP download failed.
    More information:
    WDS Client DHCP issues… Here is one solution
    http://blogs.technet.com/b/svengruenitz/archive/2008/06/30/wds-client-dhcp-issues-here-is-one-solution.aspx
    WdsClient: An error occurred while obtaining an IP address from the DHCP server
    https://social.technet.microsoft.com/Forums/windows/zh-CN/a5bb3e6d-7602-40e0-b45b-b89578ef64f1/wdsclient-an-error-occurred-while-obtaining-an-ip-address-from-the-dhcp-server?forum=w7itproinstall
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • WdsClient: An error occurred while obtaining an IP address from the DHCP server

    Trying to create and deploy a Windows 7 pro image for Dell optiplex 390s. Getting the dreaded error above when trying to connect to the DHCP. After a couple days of research I've tried injecting drivers, different version of drivers, injecting drivers into
    a different boot image, changing the name and/or deleting the setup.exe file from the image, verified that spanning-tree portfast was enabled on the switch, and edited \windows\system32\startnet.cmd. Everything i've tried results in the error still showing. 
    When running ipconfig it looks like the NIC is not even initializing which leads me to believe it's a driver issue still. I'm out of ideas on this one. Anyone else have any?

    Hi,
    Does the issue occur on other computers? Try to enable the spanning-tree portfast on the Cisco switch.
    Please check out this post:
    http://social.technet.microsoft.com/Forums/en-US/itprovistadeployment/thread/d70a8258-9dd3-4868-9e06-d25de427f3cc
    Tracy Cai
    TechNet Community Support

  • Error occured while create database using orcl1.sh:ORA-0020

    ===========================================================
    Connected.
    SQL> spool /home/oracle/app/oracle/product/9.2/assistants/dbca/logs/CreateDB.log
    SQL> startup nomount pfile="/home/oracle/app/oracle/admin/orcl/scripts/init.ora";
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> CREATE DATABASE orcl
    2 CONTROLFILE REUSE
    3 MAXINSTANCES 32
    4 MAXLOGHISTORY 0
    5 MAXLOGFILES 192
    6 MAXLOGMEMBERS 3
    7 MAXDATAFILES 1024
    8 DATAFILE '/dev/rora9_system' SIZE 512M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    9 EXTENT MANAGEMENT LOCAL
    10 DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/dev/rora9_temp' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 UNDO TABLESPACE "UNDOTBS1" DATAFILE '/dev/rora9_undo1' SIZE 512M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET ZHS16GBK
    13 NATIONAL CHARACTER SET AL16UTF16
    14 LOGFILE GROUP 1 ('/dev/rora9_redo11') SIZE 102400K REUSE,
    15 GROUP 2 ('/dev/rora9_redo12') SIZE 102400K REUSE;
    CREATE DATABASE orcl
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: '/dev/rora9_ctl1'
    ORA-27041: unable to open file
    Additional information: 11
    and the raw device has enough right
    $ ls -l /dev/rora*
    crwxrwxrwx 1 oracle dba 50, 15 Jul 27 10:44 /dev/rora9_ctl1
    crwxrwxrwx 1 oracle dba 50, 16 Jul 27 10:44 /dev/rora9_ctl2
    crwxrwxrwx 1 oracle dba 50, 17 Jul 27 10:44 /dev/rora9_ctl3

    ORA-01081: cannot start already-running ORACLE - shut it down firstYour instance is already running, evidently it's not the first time you're trying this. Shutdown the instance before retrying.
    Paul

  • TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.

    The command TfsAdmin ProjectServer /RegisterPWA causes next error:
    TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
    Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.".
     (type ProvisionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.HandleSoapException(SoapException soapException, String errorResourceString)
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.IsDBSchemaProvisioned()
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionManager.Provision()
    I installed SharePoint 2013 and Project Server 2013 as farm and TFS 2012 and my account has permissions everywhere. I read article
    http://msdn.microsoft.com/en-us/library/gg412653.aspx and gave full permissions for TFS account to SQL and Project, Project app pool account to SQL, but still have an error.
    How can I find out what exactly permissions are not enough???

    The problem was in claims authentication. Changed to Windows and all worked out.

  • Error occurred while processing SAP SQL Tools for SQLServer (Database Copy)

    Hello,
    We are currently running ERP 6 EP4 support stacks 6. Two weeks ago we
    refreshed our sandbox from QAS system and installed support stack 9 for
    testing. Kernel was also upgraded from sp69 to sp137 as a part of the
    support pack installation.
    This week, I was asked to do another refresh of sandbox from the QAS system. As the
    kernel was upgraded before to sp139, I copied back the previous kernel
    file sp69 to the kernel folder and started refresh process as usual.
    When I was running SAP for SQL, it ran successfully thorugh all the
    steps but failed in the final steps with the following error logs:
    =======================================================================
    An error occurred while processing option SAP Toools for MS SQL Server
    > Database Copy Completion( Last error reported by the step: System
    call failed. Error 2 (The system cannot find the file specified. ) in
    execution of system call 'CreateProcessAsUser' with parameter ( ,
    NULL, Program Files/sapinst_instdir/MSS/CPY, &StartupInfo,
    &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64
    \ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450:
    EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178:
    EJS_Installer::invokeModuleCall() synxcchapp.cpp: 228:
    CSyChildApplicationImpl::start(false) synxcchapp.cpp: 252:
    CSyChildApplicationImpl::doStart() .). You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.

    I looked at the logs, very similar error to the one that I already posted:
    ERROR      2011-07-08 09:29:49.861
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESyException in Modulecall: At line 631 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    TRACE      2011-07-08 09:29:49.861 [iaxxejsbas.hpp:488]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-07-08 09:29:49.875 [sixxcstepexecute.cpp:971]
    FCO-00011  The step doLI with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|MssSysLI|ind|ind|ind|ind|7|0|doLI was executed with status ERROR ( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    TRACE      2011-07-08 09:29:49.886
      Call block:CallBackInCaseOfAnErrorDuringStepExecution
        function:CallTheLogInquirer
    is validator: true

  • BIB-16613 Database access error occurred while connecting to the OLAP insta

    I am trying to connect to the database using the BI Beans sample bootstrap.jpr
    I am getting the BIB-16613 error.
    oracle.dss.security.BISecurityException: BIB-16613 Database access error occurred while connecting to the OLAP instance.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The bi_checkconfig utility gives me:
    C:\utils\JDev903\bibeans\bin>bi_checkconfig -h pavelr -po 1521 -sid LOCAL -u BIBDEMO -p BIBDEMO
    BI Beans Diagnostics(v1.0.0.0) 17/03/03
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\utils\JDev903
    JAVA_HOME .................................... = C:\OraHome1\jdk
    JDeveloper version ........................... = 9.0.3.1035 (Production)
    BI Beans version ............................. = 9.0.3.4.0
    BI Beans internal version .................... = 2.7.0.11.3
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.1.0
    JDBC JAR file location ....................... = C:\utils\JDev903\jdbc\lib
    Database version ............................. = 9.2.0.2.1
    OLAP Catalog version ......................... = N/A
    OLAP AW Engine version ....................... = N/A
    OLAP API Server version ...................... = N/A
    BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\utils\JDev903\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 26
    Number of metadata dimensions ................ = 22
    Metadata output location ..................... = C:\utils\JDev903\bibeans\bin\bi_metadata.txt
    I can connect to OLAP BIBDEMO (and SH) schema using OEM.
    I can connect to BIBDEMO from JDev Connections (Catalog connection to BIBCAT, OLAP connection to BIBDEMO).
    How can I establish the connection from the bootstrap sample?
    Pavel

    Please try follow the steps under "Installing and Configuring the Samples "http://otn.oracle.com/products/bib/htdocs/samples/installing_samples.html - the section titled "Update the samples project settings".

  • ORA-20100: Error occurred while parsing (from xml in custom schema)

    Hi,
    I am using xmlParser and xmlDom to extract information from xml document. My whole process works perfectly in the APPS schema on the Oracle e-Business Suite. The minute I move it to a custom schema (ie new User) I get this error.
    ORA-20100: Error occurred while parsing: Element '' used but not declared.
    This only occures at runtime. I am pretty sure I grant the correct SELECT and EXECUTE privileges to this Schema. If I hadn't then it would not compile. It compiles without errors on the Database.
    Any help will be appreciated.
    Thanks in advance.
    Regards
    Dave

    I just tried this again. I have Oracle9i 9.0.1.1 on my Windows
    2000 laptop.
    I went to OTN and downloaded the XDK 9.0.2D for PL/SQL
    I used loadjava to load the \oracle\ora90\rdbms\jlib\xdb_g.jar
    file into the database (shouldn't have had to do this) into the
    XMLBOOK account. Filed a bug for needing to do this by hand.
    I ran "xdkload.bat" with xmlbook/xmlbook as the username/password
    I made sure the proxy server name was set correctly in the
    example (if you don't need a proxy server, comment out that line
    in the parse_xml_news.sql example, or that could cause your
    error!!)
    I ran the parse_xml_news.sql script, and I get:
    Top Stories on XML from Moreover.com on December 21st, 2001
    ( 1) CEO highlights Mercator Softwares single biggest opportunity
    ( 2) WWRE Chooses webMethods
    ( 3) WebMethods, retail exchange ink deal
    ( 4) Worldwide Retail Exchange Chooses webMethods
    ( 5) Worldwide Retail Exchange Chooses webMethods
    ( 6) WorldWide Retail Exchange choses webMethods for integration
    ( 7) XML: Wherever You Go, There You Are
    ( 8) Chap. 13: Metadata
    ( 9) Enterprise Adoption of XML Made Simple
    (10) XML Databases
    (11) Using CSS2 to display XML documents
    (12) How XML could bring an end to all of your troubles
    (13) Effort Launched To Bring Classic Macs Rich Metadata To Mac
    (14) Sneak attack on Pearl Harbor roused publics anger, resolve
    (15) Drug dogs whiff worth $230,000
    (16) PORTLAND Police target
    (17) 11-year-old cant seem to get out of jury duty
    (18) Another casualty of war: Proposed waterfront museum
    (19) webMethods Establishes Sales Operations in Brussels
    (20) Using Emacs for XML documents
    (21) Gates: XML could be everything we dreamed...
    (22) XML: The end of all your troubles?
    (23) Java XML
    (24) Tool To Compare XML Files
    (25) Fairfax County Sends webMethods to School
    (26) webMethods Embraces Web Services
    (27) WebMethods Supports Web Services
    (28) Accessing metadata through Reflection
    (29) When format is foremost
    (30) Views from Abroad: XML Pipelines and Delta XML

  • Errors in the OLAP storage engine: An error occurred while processing the indexes for the partition of the measure group of the cube from the database.

    Errors in the OLAP storage engine: An error occurred while processing the indexes for the partition of the measure group of the cube from the database.
    I have dropped and recreated a fact table to refresh the data as the table is having identity columns. So not able to directly insert data. After that cube is throwing above error.
    Please suggest.

    Hi Md,
    It hard to analyse the issue base on the limited information, Are there any error message on the log? Under C:\Program Files\Microsoft SQL Server\MSAS11.\OLAP\Log (this could be different for your server), there are 3 log files that are generated:
    msmdrrv.log
    FlightRecorderCurrent.trc
    FightRecorderBack.trc
    The msmdrrv.log simply points to the other two logs. There might be some detail information for this error. Please provide us the detail information about it, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • An error occurred while attempting to update the database

    Hi
    the update from 2.82 to 2.9.0 fails for me with following message
    An error occurred while attempting to update the database.
    the update log ends like this
    [Microsoft][ODBC SQL Server Driver][SQL Server]DELETE failed because the
    following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify
    that SET options are correct for use with indexed views and/or indexes on
    computed columns and/or filtered indexes and/or query notifications and/or XML
    data type methods and/or spatial index operations.
    1> 2> 3> [16:56:20] RunShellCommand: Command: osql exited with code: 1
    [16:56:20] RunShellCommand: Exit code indicates failure.
    [16:56:20] UpdateDatabase: Failed to run database update script.
    hope that anyone can solv this for me

    It seems that my problem is with one of ldapservers.
    When the periodic update runs.
    then there will be error periodic update failed
    log file mdm_error looks like this
    [00:01:46] Failed running query:
    IF NOT EXISTS(SELECT LDAPContainerName FROM LDAPContainers WHERE LDAPContainerName=? AND LDAPServerSAKey = ?)
    BEGIN INSERT INTO LDAPContainers(LDAPContainerName, DisplayName, LDAPContainerType, ParentContainerSAKey,
    LDAPServerSAKey, LDAPMemberType, AllowHandsOffEnrollment) VALUES (?,?, 2,
    (SELECT LDAPContainerSAKey FROM LDAPContainers WHERE LDAPContainerName =? AND LDAPServerSAKey =?) , ?, 1, 1) END
    SQLError:
    I think this is the reason that the upgrade fails.
    How can i solve this?

  • An error occurred while attempting to initialize the Borland Database Engine (error $2108)

    Hello:
    I have recently started getting this error when trying to Hot Sync my device:
    An error occurred while attempting to initialize the Borland Database Engine (error $2108)
    The device is a Symbol scanner with Palm OS v4.17.   It is connected to my computer with a serial cable.  The only relatively recent changes I can think of to my system are:
    1. Installed a Borland software product (StarTeam) that is newer than my Palm software.
    2. Installed MS Office 2007.
    Please let me know if you need any more information.
    Thanks!
    Post relates to: None

    I would have to recommend you contact your vender where you got the scanner from. If a device got this error that we support we would hard reset the device and rename the backup folder under the username for hotsync. With this device I wouldn't know where to start.

  • An error occurred while communicating with the database lightswitch

    Hi
    My Azure project was running just fine. I had made no changes but since yesterday when any user tries to login the get this error message:
    "an error occurred while communicating with the database lightswitch"
    I found a topic posted by "Mr Yossu" on this topic at
    http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/655e4f03-d327-40fc-8d3b-8134e91ec2a4
    but his situation seems slightly different.
    In his case he says "I just updated (ie redeployed) it again, and when I try to log in, I get an error "An error occurred while communicating with the database."
    In my case I haven't updated anything.
    Any ideas will be greatly appreciated because my system is down until I find a resolution.
    Thanks in advance, Mark.
    Mark

    In checking the helpful suggestion "I guess there is something wrong with the authentication database table", this is what I have done so far.
    In the "Database Connections" step of the VS LS Azure publishing wizard, the "Specify the user conection:" is described as:
    "This connection will be used by the application to read and write data from the database"
    I click the "..." button and click to "Test" the connection and I get "Test connection succeeded".
    Next I logged in to SQLAzure and see
    this screen.
    At this point I'm unsure where to go with this.
    If anyone has an idea please let me know.
    Thanks, Mark.
    Mark

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (p

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
    the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

Maybe you are looking for