Failed to set security on SQL Server registry key. Error: 2

Hi,
I have a Primary site (mixed mode) running SCCM 2007 SP1 for many months now with no issues.
This site is made up of two Win 2008 sp2 servers sharing the SCCM roles:-
SCCM01 - Site server, DP, RP, PXE and SQL2005 hosting the SCCM database
SCCM02 – SUP, MP, FSP, SLP
The SQL2005 on SCCM01 is running under a domain service account called
domain\service_sccm which is also a sysadmin in SQL as is the SCCM02 server.
In an effort to resolve the isse I have made this account a Domain Admin.
I have also used this account to log onto SEC01 to run the Secondary Site installation and to be the SQL Service account.
I'm now trying to add a Secondary Site on a Domain Controller called SEC01 (also Win2008 sp2) and on the same LAN as the SCCM01/02.
This is where I get problems.
I run the installation locally on the Sec Site server (DC) as a Domain Admin and the installation completes OK (all green ticks),
the ComponentSetup.log and Pre-Reqs are all good as well however when I check the ConfigMgrSetup.log I see the below -
Failed to set security on SQL Server registry key. Error: 2.
<11-09-2010 22:46:59> SMS Setup full version is 4.00.6221.1000
<11-09-2010 22:46:59> Successfully set security on Setup registry key.
<11-09-2010 22:46:59> Failed to set security on SQL Server registry key. Error: 2
<11-09-2010 22:46:59> Successfully set security on Identification registry key.
<11-09-2010 22:46:59> Creating SMS Inbox Source registry key ...
<11-09-2010 22:46:59> Installing SMS Site Component Manager ...
<11-09-2010 22:46:59> Installing Site Component Manager under acct <NT AUTHORITY\SYSTEM> path <C:\Program Files (x86)\Microsoft
Configuration Manager\bin\i386\sitecomp.exe>
<11-09-2010 22:47:01> Started Site Component Manager service
<11-09-2010 22:47:01> SMS Site Component Manager installation completed.
<11-09-2010 22:47:01> Done with service installation
Adding the PMP role to SEC01 also fails to install and no MPSetup or MPControl logs are created.
WebDav and win2008 roles, features all added and server fully patched.
Despooler.log on SCCM01 seems good and passing keys.
Tried installing to default path and to shortened path such as C:\SCCM
The new secondary site is listed in the console and an address can be added for the Secondary Site
BITS Server Extensions and Remote Differential Compression Features are enabled.
The Group memberships all appear ok:-
SCCM01
Local Admins    
contains the sec site server SEC01, SCCM01, installation accounts
SMS_SiteToSiteConnection_001              
SEC01 (the sec site server)
SMS_SiteSystemToSiteServerConnection_001                 
SCCM02
SEC01
No Local Admins as a DC
SMS_SiteToSiteConnection_002              
SCCM01
SMS_SiteSystemToSiteServerConnection_002     
empty
SQL 2005
This has the account logged in during installation as a sysadmin
SCCM02 is also sysadmin
The fundamental issue appears to be that the SEC01$ server account is not being added to SQL Logins (and therefore SCCM database Roles)
therefore the installation cannot complete.
I have tried to manually add the SEC01 account to SQL Logins before installation of Sec Site but this did not work.
Not sure if the fact that SEC01 is a DC may be a factor.
Appreciate any help if anyone has seen this before or can suggest a resolution.
Thanks

After a lot of digging around and head scratching I eventually found the resolution.
The original thread title Error turned out to be a bit of a red herring in that my failure to deploy Sec Sites came down to two separate issues seemingly unrelated to the error message of the thread title.
The first part of the resolution was to manually create the SQL Server accounts for the Sec Site Servers and assign them to the smsdbrole_MP DB role to
let the SQL side of the SCCM install complete a s these were not being created automatically.
This then left the fact that that the installation of the Sec Site completed successfully according to the install logs in C:\ however the DP and MP would
never install.
The big clue was eventually contained in the mpfdm.log errors relating to
**ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
and
**ERROR: Cannot find path for destination inbox Asset Intelligence KB Manager on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
Thankfully the errors led me to these two blogs:
http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx
and
http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/5fcc53d4-8629-4b34-9eaa-6cb020eedc13/
As it turned out the SCCM installation registry and folder creation does not complete and I had to manually enter the reg settings as detailed in the
links above to complete the installation. Once I did as described everything worked a treat – all my MPs and DPs are 100% now.
Solutions
Add the following reg keys to each of your effected secondary sites.
Inbox Fix
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\MPFDM\Inboxes]
"Asset Intelligence KB Manager"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\AIKbMgr.box"
"SMS_AMT_PROXY_COMPONENT"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\amtproxy.box" 
 Asset Intelligence fix:
 Note: you will need to identify the next largest key value. 
In my example it was key 49
 Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\49]
"Inbox Name"="Asset Intelligence KB Manager"
"Relative Path"="inboxes\\AIKbMgr.box"
"NAL Path"=""
"User Rights"=dword:00000000
"Service Rights"=dword:00000004
"Monitoring Enabled"=dword:00000001
"Location Type"=dword:00000001
"Guest Rights"=dword:00000001
AMT registry Fix.
  Note: you will need to identify the next largest key value. 
In my example it was key 50
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\50]
"Inbox Name"="SMS_AMT_PROXY_COMPONENT"
"Relative Path"="inboxes\\amtproxy.box"
"NAL Path"=""
"User Rights"=dword:00000000
"Service Rights"=dword:00000004
"Monitoring Enabled"=dword:00000001
"Location Type"=dword:00000001
"Guest Rights"=dword:00000001
Big thanks to Shaun Cassells and John Marcum for these blogs

Similar Messages

  • Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Er

    I received the following error when I gave the following  statement in select:
    case when {fn_year(FINANCE_PERIOD.FP_START)} @prompt('Enter Year','N',,mono,free)
    then 1 else 0
    end
    Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Error or access violationState: 42000
    I looked at differnt forums but could not fnd the error.

    Sams Latin
    then try this:
    CASE
    WHEN YEAR(FINANCE_PERIOD.FP_START) = @Prompt('Enter Year','N',here give class/object or LOV's,mono,free) THEN 1 ELSE 0
    END
    Note: In case of Date , you can make it blank (3rd parameter), which gives you calendar at runtime.
    I suggest you try it in step by step like:
    >>  @Prompt('Enter Year','N',here give class/object or LOV's,mono,free)
    Parse it, succeed. Then
    >> YEAR(FINANCE_PERIOD.FP_START)
    Parse it, then
    for each case see LOV's.
    >> at last,  try above CASE WHEN
    Hope it solves you.
    I'm Back
    Merry Christmas

  • Microsoft SQL Server 2014 Setup error: Wait on the Database Engine recovery handle failed

    Hi,
    Having this annoying error trying to install SQL Server 2014 (RTM). I saw it's been asked several times... But each post seems a different cause and no definitive answer...
    I'm not doing an upgrade, so no "sa account" issue.
    Tried different media. Even three different distributions: trial, Standard and Enterprise.
    Tried disabling Microsoft antivirus/firewall.
    Of course tried restarting, updating, installing, uninstalling, repairing, etc., etc.
    I noticed the users folders under C:\Users weren't created. (Maybe something related to permissions?) After playing around, I managed for the users to be created and the service started. Though I couldn't log in.

    Summary for last "repair" attempt:
    Overall summary:
    Final result: Failed: see details below
    Exit code (Decimal): -2068578302
    Start time: 2014-04-27 23:54:21
    End time: 2014-04-27 23:59:48
    Requested action: Repair
    Setup completed with required actions for features.
    Troubleshooting information for those features:
    Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
    Next step for DQ: Use the following information to resolve the error, and then try the setup process again.
    Next step for FullText: Use the following information to resolve the error, and then try the setup process again.
    Next step for LocalDB: Use the following information to resolve the error, and then try the setup process again.
    Machine Properties:
    Machine name: CHARLY13C
    Machine processor count: 4
    OS version: Windows 8
    OS service pack:
    OS region: United States
    OS language: English (United States)
    OS architecture: x64
    Process architecture: 64 Bit
    OS clustered: No
    Product features discovered:
    Product Instance Instance ID Feature Language Edition Version Clustered Configured
    SQL Server 2012 DENALI MSSQL11.DENALI Database Engine Services 1033 Enterprise Edition 11.1.3128.0 No Yes
    SQL Server 2012 LocalDB 1033 Express Edition 11.1.3128.0 No Yes
    SQL Server 2014 HEKATON MSSQL12.HEKATON Database Engine Services 1033 Enterprise Edition 12.0.2000.8 No Yes
    SQL Server 2014 HEKATON MSSQL12.HEKATON Full-Text and Semantic Extractions for Search 1033 Enterprise Edition 12.0.2000.8 No Yes
    SQL Server 2014 HEKATON MSSQL12.HEKATON Data Quality Services 1033 Enterprise Edition 12.0.2000.8 No Yes
    SQL Server 2014 Management Tools - Basic 1033 Enterprise Evaluation Edition 12.0.2000.8 No Yes
    SQL Server 2014 Management Tools - Complete 1033 Enterprise Evaluation Edition 12.0.2000.8 No Yes
    SQL Server 2014 Client Tools Connectivity 1033 Enterprise Evaluation Edition 12.0.2000.8 No Yes
    SQL Server 2014 LocalDB 1033 Express Edition 12.0.2000.8 No Yes
    Package properties:
    Description: Microsoft SQL Server 2014
    ProductName: SQL Server 2014
    Type: RTM
    Version: 12
    SPLevel: 0
    Installation location: F:\x64\setup\
    Installation edition: Enterprise
    User Input Settings:
    ACTION: Repair
    AGTDOMAINGROUP: <empty>
    AGTSVCACCOUNT: <empty>
    AGTSVCPASSWORD: <empty>
    AGTSVCSTARTUPTYPE: Manual
    ASCONFIGDIR: Config
    ASSVCACCOUNT: <empty>
    ASSVCPASSWORD: <empty>
    CLTSTARTUPTYPE: 0
    CLTSVCACCOUNT: <empty>
    CLTSVCPASSWORD: <empty>
    CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140427_235420\ConfigurationFile.ini
    CTLRSTARTUPTYPE: 0
    CTLRSVCACCOUNT: <empty>
    CTLRSVCPASSWORD: <empty>
    ENU: true
    FAILOVERCLUSTERGROUP: <empty>
    FAILOVERCLUSTERNETWORKNAME: <empty>
    FTSVCACCOUNT: NT Service\MSSQLFDLauncher$HEKATON
    FTSVCPASSWORD: <empty>
    HELP: false
    IACCEPTSQLSERVERLICENSETERMS: false
    INDICATEPROGRESS: false
    INSTANCENAME: HEKATON
    ISSVCACCOUNT: NT AUTHORITY\Network Service
    ISSVCPASSWORD: <empty>
    ISSVCSTARTUPTYPE: Automatic
    QUIET: false
    QUIETSIMPLE: false
    SQLSVCACCOUNT: NT Service\MSSQL$HEKATON
    SQLSVCPASSWORD: <empty>
    UIMODE: Normal
    X86: false
    Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140427_235420\ConfigurationFile.ini
    Detailed results:
    Feature: Management Tools - Complete
    Status: Passed
    Feature: Client Tools Connectivity
    Status: Passed
    Feature: Management Tools - Basic
    Status: Passed
    Feature: Database Engine Services
    Status: Failed: see logs for details
    Reason for failure: An error occurred during the setup process of the feature.
    Next Step: Use the following information to resolve the error, and then try the setup process again.
    Component name: SQL Server Database Engine Services Instance Features
    Component error code: 0x84B40002
    Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
    Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
    Feature: Data Quality Services
    Status: Failed: see logs for details
    Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
    Next Step: Use the following information to resolve the error, and then try the setup process again.
    Component name: SQL Server Database Engine Services Instance Features
    Component error code: 0x84B40002
    Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
    Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
    Feature: Full-Text and Semantic Extractions for Search
    Status: Failed: see logs for details
    Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
    Next Step: Use the following information to resolve the error, and then try the setup process again.
    Component name: SQL Server Database Engine Services Instance Features
    Component error code: 0x84B40002
    Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
    Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
    Feature: SQL Browser
    Status: Passed
    Feature: SQL Writer
    Status: Passed
    Feature: LocalDB
    Status: Failed: see logs for details
    Reason for failure: An error occurred during the setup process of the feature.
    Next Step: Use the following information to resolve the error, and then try the setup process again.
    Feature: SQL Client Connectivity
    Status: Passed
    Feature: SQL Client Connectivity SDK
    Status: Passed
    Feature: Setup Support Files
    Status: Passed
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140427_235420\SystemConfigurationCheck_Report.htm

  • How do I set up Azure Sql Server to have multiple instances?

    Hi all;
    We are setting up a new SAAS application on Azure and while we have used Azure before, not at this level of multiple apps, etc.
    We plan to have both a web app and a cloud app in both a US and EU data center. They need to hit a common database because requests will go to the closest data center via traffic manager and a lot of the data works off of the customer table. And a customer
    (company) can have users in both the U.S. and E.U.
    Is there a way to set up Azure Sql Server so it has instances in both data centers, and Azure keeps them synchronized? If I understand sharding right, that is not what we need as someone hitting either data center could be requesting any of the data in the
    DB.
    thanks - dave
    What we did for the last 6 months -
    Made the world's coolest reporting & docgen system even more amazing

    Hi,
    As far as I am aware, when you set the webapp/cloudapp to connect to a database you will have to specify the connection string in the app. The app will hit the database which is mentioned in the  connection string you have specified. So it is not automatic
    or Traffic manager. You have full control over it as you can tell your app to connect whichever database you want.The database could be located in any region, however the you have to keep latency in mind as the app in US Datacenter could be calling the Database
    in EU, if that is  they way it is setup.
    You can have separate databases in each region and use Azure Data Sync
    to have the database synchronized, however please keep in mind that Azure Data Sync is in Preview.
    Regards,
    Mekh.

  • Sql server services give error the remote procedure call failed [0x800706be] in sql server 2008

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.
    So when you tried starting SQL server service it gave the error right  ?  or when you click on SQL server services in SQL server configuration manager(SSCM) you get this error. Can you be more clear.  As far as I read your question it has something
    to do with permission. Close SSCM window and this time  right click on SQL server configuration manager and select run as administrator and check if you can see SQL server services
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Setting up Microsoft SQL Server datasource in Websphere 4.0

    Does anyone know how to setup an SQL Server jdbc driver in Websphere 4.0? I am using jdbc driver from jTurbo. But I am having trouble specifying the proper URL and other datasource settings in Websphere 4.0 (or WTE) server configuration.

    Hi,
    Please find the extract from jTurbo site (http://www.newatlanta.com/support/jturbo/third-party.jsp#WebSphere)
    which will explain the steps to follow for setting up Microsoft SQL Server datasource
    in Websphere 4.0 using jTurbo jdbc driver.
    1.Always make sure the JTurbo.jar is set in your classpath.
    2.Started "WebSphere Admin Server"
    3.Open "WebSphere Administrative Console"
    4.Install the JTurbo Driver into WAS by modifying the following field of "Admin DB Driver"
    Name: JTurbo
    Class Name: com.ashna.jturbo.driver.Driver
    URL prefix: jdbc:JTurbo://localhost/pubs
    JTA Enabled: false
    (apply changes which resulted in the installation of JTurbo Driver)
    5.Selected "Create Data Source" in Console "Wizards" drop down
    6.Selected "Use an already installed JDBC Driver" JDBC Option
    7.Specified "my ds name" as the "Data Source Name"
    Specified "pubs" as the "Database Name" pull down is showing "JTurbo"
    This should sucessfully create a new data source by the name of "my ds name".
    Also there is an excellent document on "Configuring the Merant ConnectJDBC data source for MS SQL Server for the WebSphere Application Server Advanced Single Server Edition" at http://www-4.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/was402/rn112253.4.html .
    Hope this helps. Good luck.
    Best Regards
    Gayam_Slash

  • Failed to Establish connection with SQL Server

    hi I have configured odbc settings and when i connect the sql from essbase i got the error :Failed to Establish connection with SQL Server .please hepl me on this
    and please give me step by step process for how to resolve thi issue.and give me detail step by step from starting onwards.
    appreciate your Help,
    Thank u
    Subbu.

    Steps:
    1. Test database connection from Essbase server through SQL Command. This gives you whether you are able to connect to Database from Essbase server.
    2. Create ODBC Connection: System DSN>Add>Select correct driver (Oracle in ...) >give Datasource (any name), Description (Any), TNS Service Name (user SID name), User name (Database user name)
    3. Test Connection. if successful, you can use this ODBC to get the data.
    4. Open rules file, go to FILE>Open SQL
    5. Provide Essbase server, Application, Database names
    6. Select SQL Data Source from the list (ODBC defined in step2)
    7. Enter tested SQL Query(which is tested at SQL command or "sysdate from dual" ) in select box. NOTE: Remove select word from query. You can ignore from and where clauses, all you can include in select block.
    8.Click OK/Reteive data
    Rao

  • SQL Server sysadmin rights error

    Greetings,
    I am trying to install SCCM using a remote SQL configuration, and cannot get past this “SQL Server sysadmin rights” error. When I run the Prerequisite Checker, I put in the SQL server, since I am trying to connect to the SQL default instance, I am typing
    in the server name only, and I put in LOCALHOST for the SDK server.
    After reading another post that this error is not always accurate, I ran the install option and got as far as the following error.
    Server environment is using the following: SCCM 2007 SP2 on Windows 2008 R2 SP1; SQL 2005 SP3 on Windows 2008 R2 SP1
    I am sure the SQL server is configured accurately, I have done this before and use the following links when preparing the SQL server.
    How to Install Configuration Manager Using a Remote SQL Server
    http://technet.microsoft.com/en-us/library/bb693554.aspx
    Appendix B: Configure Remote SQL for WSUS
    http://technet.microsoft.com/en-us/library/dd939912%28WS.10%29.aspx
    I have already added the machine account of the SCCM server to the local Administrators group of the remote SQL server as described in the first link above. The user account I am using for the install also has the
    sysadmin SQL server role assigned.
    Another test that I did to verify the remote SQL server configuration and my user account sysadmin rights, I ran the Prerequisite Checker from another Windows 2008 server in the domain.
    As you can see from the screen shot above, this means something is messed up on my SCCM server and not the SQL server. The following error is from the ConfigMgrPrereq.log.
    <03-29-2012 09:53:22> <<<RuleCategory: Access Permissions>>>
    <03-29-2012 09:53:22> <<<CategoryDesc: Checking access permissions...>>>
    <03-29-2012 09:53:22> Could not connect to SQL database.
    <03-29-2012 09:53:22> SQL2005;    SQL Server sysadmin rights;   
    Error; Either the user account running Configuration Manager Setup does not have sysadmin SQL Server role permissions on the SQL Server instance targeted for site database installation or the SQL Server instance could not be contacted to verify permissions.
    Setup cannot continue.
    <03-29-2012 09:53:22> <<<RuleCategory: Access Permissions>>>
    <03-29-2012 09:53:22> <<<CategoryDesc: Checking access permissions...>>>
    <03-29-2012 09:53:28> LOCALHOST could connect to SQL server.
    <03-29-2012 09:53:30> LOCALHOST;    SMS Provider Communication;   
    Passed
    I know there are plenty of options for verbose logging after installation, but does anyone know if there is a way to do this with the SCCM Prerequisite Checker, before installation? I checked the setup.exe command line switches and there was no option for
    this.
    Any other suggestions would be appreciated, Thanks.

    Yes, my user account is a member of Domain Admins, Enterprise Admins, and Schema Admins. The SQL Server service is running using a service account, and I have also registered the SPN. Below are copies of the log files.
    Conents of the ConfigMgrPrereq.log.
    <03-30-2012 09:10:03> ********************************************
    <03-30-2012 09:10:03> ******* Start Prerequisite checking. *******
    <03-30-2012 09:10:03> ********************************************
    <03-30-2012 09:10:03> CPrereqManager: - Since Registry values empty, this is for fresh installation.
    <03-30-2012 09:10:15> Executing prereq functions...
    <03-30-2012 09:10:15> <<<RuleCategory: Access Permissions>>>
    <03-30-2012 09:10:15> <<<CategoryDesc: Checking access permissions...>>>
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Administrative rights on site system;    Passed
    <03-30-2012 09:10:15> <<<RuleCategory: System Requirements>>>
    <03-30-2012 09:10:15> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Unsupported site server operating system version for setup;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Domain membership;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Schema extensions;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB911897;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB912818;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB913538;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB914389;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB925903;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Software updates KB932303;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    FAT Drive on Site Server;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Short File Name (8.3) Support (Site system);    Passed
    <03-30-2012 09:10:15> <<<RuleCategory: Dependent Components>>>
    <03-30-2012 09:10:15> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Microsoft Management Console (MMC) version;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Minimum .NET Framework version;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Microsoft XML Core Services 6.0 (MSXML60);    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    WSUS SDK on site server;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    WSUS 3.0 SP1 is required on site server;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Windows Server 2003-based schannel hotfix;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Windows Remote Management (WinRM) v1.1;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    Microsoft Remote Differential Compression (RDC) library registered;    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    MMC updates for Configuration Manager (Software Updates);    Passed
    <03-30-2012 09:10:15> OAGCS-SUV-LDC;    .NET update for Configuration Manager (Software Updates);    Passed
    <03-30-2012 09:10:15> <<<RuleCategory: Access Permissions>>>
    <03-30-2012 09:10:15> <<<CategoryDesc: Checking access permissions...>>>
    <03-30-2012 09:10:15> Could not connect to SQL database.
    <03-30-2012 09:10:15> OAGCS-SAV-WTS1;    SQL Server sysadmin rights;    Error;    Either the user account running Configuration Manager Setup does not have sysadmin SQL Server role permissions on the SQL Server
    instance targeted for site database installation or the SQL Server instance could not be contacted to verify permissions. Setup cannot continue.
    <03-30-2012 09:10:15> <<<RuleCategory: Access Permissions>>>
    <03-30-2012 09:10:15> <<<CategoryDesc: Checking access permissions...>>>
    <03-30-2012 09:10:22> LOCALHOST could connect to SQL server.
    <03-30-2012 09:10:24> LOCALHOST;    SMS Provider Communication;    Passed
    <03-30-2012 09:10:24> <<<RuleCategory: System Requirements>>>
    <03-30-2012 09:10:24> <<<CategoryDesc: Checking system requirements for ConfigMgr...>>>
    <03-30-2012 09:10:24> LOCALHOST;    Domain membership;    Passed
    <03-30-2012 09:10:24> LOCALHOST;    Short File Name (8.3) Support (Site system);    Passed
    <03-30-2012 09:10:24> LOCALHOST;    Installed version of WAIK (SMS Provider);    Passed
    <03-30-2012 09:10:24> <<<RuleCategory: Dependent Components>>>
    <03-30-2012 09:10:24> <<<CategoryDesc: Checking dependent components for ConfigMgr...>>>
    <03-30-2012 09:10:24> ***************************************************
    <03-30-2012 09:10:24> ******* Prerequisite checking is completed. *******
    <03-30-2012 09:10:24> ***************************************************
    <03-30-2012 09:10:24> Updating Prerequisite checking result
    <03-30-2012 09:10:24> Connecting to OAGCS-SUV-LDC registry
    <03-30-2012 09:10:24> Setting registry values
    Contents of the ConfigMgrSetup.log
    <03-30-2012 09:10:03>
    ===================== << Starting SMS V4 SP2 Setup >> =====================
    <03-30-2012 09:10:03> Commandline :
    "E:\CM\CONFIGMGR07SP2_RTM_SELECT_ENU\SMSSETUP\BIN\I386\SETUP.EXE" /prereq /input
    <03-30-2012 09:10:04> This is 64 bit.
    <03-30-2012 09:10:04> Verifying the Reg for AssetIntelligence Installation
    <03-30-2012 09:10:04> Setting the default CSV folder path
    <03-30-2012 09:10:04> SMS Build Number = 6487
    <03-30-2012 09:10:04> SMS Version = 4.0
    <03-30-2012 09:10:04> SMS Minimum Build Number = 800
    <03-30-2012 09:10:04> Verifying SMS Active Directory Schema Extensions.
    <03-30-2012 09:10:04> DS Root:CN=Schema,CN=Configuration,DC=csdtest,DC=csnet,DC=gov
    <03-30-2012 09:10:04> Verifying SMS Active Directory Schema Extensions.
    <03-30-2012 09:10:04> DS Root:CN=Schema,CN=Configuration,DC=csdtest,DC=csnet,DC=gov
    <03-30-2012 09:10:04> The command line options are /PREREQ
    <03-30-2012 09:10:15> IsValidNetBIOSName validation of 'OAGCS-SAV-WTS1' succeeded
    <03-30-2012 09:10:15> IsValidNetBIOSName validation of 'LOCALHOST' succeeded
    <03-30-2012 09:10:15> Registered type OAGCS-SAV-WTS1 MASTER for OAGCS-SAV-WTS1 master
    <03-30-2012 09:10:15> Registered type SMS Master for OAGCS-SAV-WTS1 master
    <03-30-2012 09:10:15> Registered type OAGCS-SAV-WTS1 SMS_ for OAGCS-SAV-WTS1 SMS_
    <03-30-2012 09:10:15> Registered type SMS ACCESS for OAGCS-SAV-WTS1 SMS_
    <03-30-2012 09:10:15> Start prerequisite checking.
    <03-30-2012 09:10:15> Could not connect SQL Server 'master' db.
    <03-30-2012 09:10:15> Could not check if OAGCS-SAV-WTS1 is cluster SQL.
    <03-30-2012 09:10:15> The prereq rules for primary site fresh installation are being run.
    <03-30-2012 09:10:15> Verifying SMS Active Directory Schema Extensions.
    <03-30-2012 09:10:15> DS Root:CN=Schema,CN=Configuration,DC=csdtest,DC=csnet,DC=gov
    <03-30-2012 09:10:15> NtfsDisable8dot3NameCreation is set to 0.
    <03-30-2012 09:10:15> Success in GetMMCVersion. Version is 3.0.
    <03-30-2012 09:10:15> .NET Framework Version: 50727
    <03-30-2012 09:10:15> The current user does not have access right to site OAGCS-SAV-WTS1.
    <03-30-2012 09:10:15> The prerequisite checking stopped on this machine.
    <03-30-2012 09:10:24> NtfsDisable8dot3NameCreation is set to 0.
    <03-30-2012 09:10:27> Completed prerequisite checking.

  • MX7 SQL Server 2005 datasoucre error

    Webserver is Windows 2003 RC2, MX7.02
    SQL Server is Windows 2003 RC2, SQL Server 2005 (9.0.1399)
    CF and SQL are on seperate machines
    [edit: the fix]
    OK, gotta love those netops guys.
    So we were narrowing it down to server -> server
    communication issues...specifically windows authentication.
    We set up a SQL Server user on the SQL Server and set up the
    datasource in coldfusion that used that SQL Server user (not
    DOMAIN\user, just user) and skipped the whole System DSN on the
    webserver and it works.
    So the long and the short of it is that there seems to be
    some network trust issue between our app server (cf) and our db
    server (sql) and we are unable to set up datasources the way we
    used to (from win2k/cf5 -> win2k3/sql2005). Oh well.
    [/edit]
    [Edit: additional info]
    SQL Server logs give this error message:
    Error: 18456, Severity: 14, State: 6.
    I've looked up this error message on msdn (
    http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx)
    and they say it means "Attempt to use a Windows login name with SQL
    Authentication"
    I've made sure that SQL Server is running in "SQL Server and
    Windows Authentication Mode" (and restarted). No change. Of course
    Adobe says that you HAVE to use "SQL Server and Windows
    Authentication Mode" and Microsoft say the fix to the error is to
    chose "Windows Authentication Mode". Grrr.
    I've tried changing the JDBC URL to the IP of the SQL Server
    and I get the same error mesaage. I purposely fudge the IP and I
    get a totally different "time out" error (duh ;^) So something
    about the way Cold Fusion talks to SQL Server isn't quite right.
    I feel dumb asking this, but is there any specific
    documentation about connecting MX7 to SQL Server 2005? The
    documenation on livedocs refers to SQL Server 2000 (I think...but
    I'm sure it's not talking about 2005). I'm beginning to wonder if
    there is some stupid little step that I missed somewhere along the
    way when setting things up...*sigh*
    [/Edit]
    I get the following error when attempting to set up the
    datasource in Coldfusion administrator:
    Connection verification failed for data source: wamaxDS
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed
    for user 'UWT\cfusion2'.
    The root cause was that:
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for
    user 'UWT\cfusion2'.
    Now, I've got our production box which is running CF 5
    connecting to the same database on the same SQL server and does NOT
    get the 'Login failed for user' error...which leads me to believe
    that it's not a simple permissions issue. To be clear my CF5 box
    connects fine to the database. My CF7 box simply will not.
    I've installed the latest JDBC drivers and set up a
    datasource that generates the error above (I get the same error
    when trying to set it up as "Microsoft SQL Server" with the obvious
    exception of the driver in the error being different).
    I've searched the forums and did the TCP/IP fix.
    I've tried setting the ODBC DSN up in windows using "windows
    authentication" and the "mixed mode"...I'm just lost here.
    I've lost track of the combinations of things I've tried to
    get this to work (ya know how you get into "try anything and pray
    mode"?...that was me all day today).
    Hopefully I've provided enough information to get someone
    started on helping me. If I've left anything out, please chastise
    me and then let me know what I need to let you know. Sorry if this
    message is incoherent...my brain is mush *sigh*.

    Hi,
    I presume, this is how you have placed your code
    Code Snippet
    -- Retrive the product archive record
    select * from dbo.api_userArchive where isActive = 1
    Seems just fine. Could you post the error. Also try posting the entire code
    HTH,
    Suprotim Agarwal
    http://www.dotnetcurry.com

  • Java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Unspecified error

    Hi All,
    I am getting the following error when i am running swing program. I have a large volume of data. My resultset is running upto 2 hours. after 2 hours process is stoped and i got the following error on console.I am using Swing and MS SQL Server 2000.
    Exception :java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Unspecified error occurred on SQL Server. Connection may have been terminated by the server.
    Exception :java.sql.SQLException: General error
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    Exception :java.sql.SQLException: General error
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:419)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:424)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:429)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:434)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closedjava.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:439)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:444)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:449)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:454)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:459)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 1 : update tblAudit set     NumberOfBatches = 1078 where AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 12 query2 : select BatchID from     tblAuditBatch where AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.updateAuditBatches(GenerateAuditBatches.java:1427)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:217)
    GenerateAuditBatches.java sql 2 : update tblAudit set     NumberOfAuditedBatches = (     select     count(*)     from     tblAuditBatch     where     AuditID = 10001720     and          NumberOfAuditedTransactions = NumberOfTransactions) where     AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 3 : update tblAudit set     NumberOfAuditedTransactions = (     select     count(*)     from     tblTransaction     where     AuditID = 10001720     and          Audited = 'T') where     AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    Exception :java.sql.SQLException: Connection is closed
    Please give me suitable solution of this issue.
    Thanks
    Rajnish
    Message was edited by:
    rajnishsunjava

    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]File must be opened exclusively.
    In the Visual Foxpro table, I saw no READ ONLY settings.And also, there are
    no delete permission grants and there is no user database sesssion concept.
    The ODBC DSN for MYTABLE is setup as:
    - Free Tables (not database)
    - Null (checked)
    - Deleted (checked)If you're using Visual Foxpro database(.DBC), you should see "Exclusive" option too. You can try check it, but I don't know whether your issue will disappear.

  • Error: [Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream

    hello,
    our application vendors are receving the below errors while running their data load job.I spoke to our networking team member and he said everything looks good on the networking side .Can someone please help me with the below errors.we are using
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Enterprise
    Edition: Core-based Licensing (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1).
    Windows OS:windows server 2008 R2 sp1
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_CONTRACT_SWAM_INIT_LOAD_DF|Loader Key_Generation_DIM_CONTRACT
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <HPWDBOE001> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    Driver][DBNETLIB]ConnectionWrite (send()).
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_EMPLOYER_GROUP_SWAM_INIT_LOAD_DF|Reader TCRdr_9
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <serverName> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Protocol error in
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    TDS stream
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    I googled and found the below link the below link which asked me to enable named pipes.I enabled
    namped pipes in the sql server Network configuration.I havent yet restarted the sql services as this is a prod box.I will do it later in the evening today.
     http://social.msdn.microsoft.com/Forums/sqlserver/en-US/69149a71-3c15-4c95-9f95-a30db458abeb/sql-server-2005-communcations-errors-through-odbc?forum=sqldataaccess 
    Can someone help me with these errors.
    Thanks
    lucky

    Thank you Erland.
    I dont see any crash dumps in sql server.I checked the tcp chimney and its set to automatic.I am not knowing what to look at to resolve this issue.
    if its the issue with the client API can i ask our vendor to check the client? 
    Our networking member gave the following report:
    No problems on vlan 14 or your port   the top is from the switch to your server then bottom is from my pc to your server
    SP_DC_CORE_VSS# ping 10.10.12.228
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.10.12.228, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
    SP_DC_CORE_VSS#
    lucky

  • New install of SQL 2014 Std MSDN. Get "The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging."

    Trying to install a new version of SQL 2014 Std 64 or x86. Installing on Windows 8.1Pro 64bit machine.
    I get:
    "TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging.
    Error code 0x858C0017."
    I looked at the summary log and that is the only error.
    I made sure there were no other instances of SQL on this machine. Uninstalled all VS2013 and sql instances just in case. IF there is somewhere to check if a previous version or license is causing the issue, i would be glad to check.
    Any help would be appreciated.

    Hi,
    Please read this thread with similar issue
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bdd94577-515c-49fa-be44-008eacece057/installing-sql-server-2012-on-a-new-vm-error-code-0x858c0017?forum=sqlsetupandupgrade
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • SQL Server Setup failure (Error code 0x858C001B)

    Hola..
    Vengo con un problema que me esta causando desesperacion, ya he buscado en los hilos y no puedo solucionar este problema.
    Resulta que descargue la version de SQL Server Express 2012 64 bits y al quere instalarlo me muestra el error:
    SQL Server Setup has encountered the following error:
    The SQL Server license agreement cannot be located for the selected edition, EXPRESS. This could be a result of corrupted media or the edition being unsupported by the media.
    Error code 0x858C001B
    Ya he buscado y no encuentro respuesta. 
    SQL Server Setup failure (Error code 0x858C001B)

    Hi,
    Can u have look at this Discussion
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I can not re-install/ update apple iTunes on my HP PC running Win7-64.  I get a registry key error when installing and am asked to make sure I have access.  IT is a home PC with one user and I have admin priveledges.

    When the updater notified me of an iTunes update, I selected the update option.  The update failed and killed the version I was running.  I have tried for a year to fix the problem without sucess.  I can't completely remove all Apple products.  I can not install any apple products especially iTunes which is the only one I am interested in.
    When I install iTunes now I get a registry key error similar to this:
    I am using a machine where I am the only user and am the Admin.   I have looked at the security settings on this key and see nothing wrond with it or the parent keys.  I tried removing all apple products but ran into similar problems.  At this time I still have Bonjour. Mobile Device Support, Software Update, and Application Support installed.

    These ones are tricky. But the following instructions are worth a try.
    First do a complete uninstall of iTunes and related components (but don't reinstall just yet), as per the following document:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    a. Launch regedit (Start >> Search Programs and Files >> type Regedit and open the regedit that comes up.)
    b. Access the following Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData \S-1-5-18\Components
    c. Perform the following actions
    i. Right Click on Components Folder
    ii. Select Permissions
    iii. Select Full Control and Read Permissions options
    iv. Select Advanced Button
    v. Select Owner Tab
    vi. Select to Change Owner to the Administrators
    vii. Check the option “Replace owner on subcontainers and objects”
    viii. Select OK when prompted that it may not change all.
    ix. Select Apply
    x. Select Apply again
    xi. Exit the Registry Editor
    Now try reinstalling iTunes again. Does it go in properly this time?

  • SQL Server Installation failing saying 'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'

    Hi,
    I am trying to install SQL server 2012/SQL Server 2014 and I constantly keep getting this error and the Management Tools fails to install.
     'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'
    Tried installing even SQL Server 2008 and still get the same error.
    Below is the log i get from C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140705_151943\sql_ssms_Cpu64_1.log
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(Name=SQLPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(,,)
    MSI (s) (FC:D8) [15:22:55:746]: Note: 1: 1406 2:  3: SOFTWARE 4: 5 
    MSI (s) (FC:D8) [15:22:59:434]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    MSI (s) (FC:D8) [15:23:03:435]: User policy value 'DisableRollback' is 0
    MSI (s) (FC:D8) [15:23:03:435]: Machine policy value 'DisableRollback' is 0
    Action ended 15:23:03: InstallFinalize. Return value 3.
    Just not able to figure out what the problem is, can someone help?
    Thanks

    Hi,
    Thanks for providing log
    Following is in the log.
    01) 2014-07-09 11:08:53 Slp: Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:58 Slp: Watson bucket for generic failure has been created
    (01) 2014-07-09 11:08:58 Slp: Error: Action "Install_sql_ssms_Cpu64_Action" failed during execution.
    (01) 2014-07-09 11:08:58 Slp: Completed Action: Install_sql_ssms_Cpu64_Action, returned False
    (01) 2014-07-09 11:08:59 Slp: ----------------------------------------------------------------------
    (01) 2014-07-09 11:08:59 Slp: Running Action: Install_sql_tools_Cpu64_Action
    (01) 2014-07-09 11:08:59 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_tools.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_ssms.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Checkpoint: PREINSTALL_SQL_SSMS_CPU64_ACTION
    (01) 2014-07-09 11:07:00 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open SC Manager
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Invoking QueryServiceStatus Win32 API
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close SC Manager
    (01) 2014-07-09 11:07:00 Slp: Target package: "D:\Softwares\SQL2012\DeveloperEdition\x64\setup\sql_ssms.msi"
    (01) 2014-07-09 11:07:57 Slp: MSI Error: 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:38 Slp: InstallPackage: MsiInstallProduct returned the result code 1603.
    (01) 2014-07-09 11:08:38 Slp: Using MSI error code to detect the retry option: 1406
    (01) 2014-07-09 11:08:38 Slp: No retry-able MSI return code detected.
    (01) 2014-07-09 11:08:38 Slp: Watson Bucket 2
     Original Parameter Values
    From above it seems client tools component is missing from Installation or may be problem with Windows installer but I guess this is not issue with windows installer . Can you re download SQL Server package and run again.
    Edit: For further analysis can you also post log from below location on skydrive
    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140709_104804\sql_ssms_Cpu64_1.log
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

Maybe you are looking for

  • Output for dvd player

    I don't use Premiere Pro very often so I would like to ask a question to avoid any problems. I work with Maya and I need to create a regular DVD in order to be played in a DVD player as opposed to a PC.   What settings do I need to be mindful of to a

  • Template header field

    Hello all, I have been trying to get a field into the template header and after reading several other posts I found one that works. <?if@inlines:PARTY_NAME!=''?>For: <?PARTY_NAME?><?end if?> However, when I run it I don't get any of my detail fields.

  • Is it possible to run AM Modulation in LabVIEW PDA Module?

    Hi All,         I would like to ask about AM Modulation vis can run on PDA Module or not?Because as i mention that PDA screen is too small to see all the AM modulation waveforms.So i would like to know whether is it pissible to run AM Modulation on t

  • CRIF_RW_WEB_CALL_REPORT

    Could please let me know how to use the function Module CRIF_RW_WEB_CALL_REPORT. I am trying to get the values of the report writer using this FM however the FM is stopped on the Selection Screen of the report writer - giving a message "Check the Sel

  • Syncing 2 ATV's with one system

    I was wondering if it would be possible to connect 2 ATV's wirelessly to play the same content. My reason for that is that i am using a projector in the back and i have the audio receiver in the front. The 1st ATV would then be sending picture to the