PL/SQL COMWRAP.SQL COM Automation in Windows

Hello All,
Mike here. I'm not sure which forum this should go in so I put it here.
I'm writing a pl/sql procedure that calls ordcom (create by comwrap.sql) which uses orawpcom11.dll to work with com automation objects on windows. It appears that there is a limit on the amount of data that can be passed back to Oracle (approx. 34kb stored as a file). My best guess is that comwrap.sql doesn't provide for returned text steams that are larger than that provided by varchar2 in pl/sql. I tried adding to the comwrap.sql to have clob as a return type but that does not work.
I am attempting to get back XML from a Windows component (SDK to Quickbooks) that I can then store in an XMLType table. This works when all of the returned XML (from the SDK com object) stays under 34kb (stored as a file). If I remember correctly, 33950 characters are returned at the maximum. Of course, when the XML should be longer, I can't store it because it is not correctly formed XML (incomplete).
Does anyone know what is occuring and a way to get around this? Any help is appreciated.
Thanks,
Mike

The actual size is 32767 bytes Mike. And I'm not sure what happened to the last byte to make it 32768 and exactly 32KB. ;-)
You cannot change a varchar2 data type for a clob data type. These two types are quite different when it comes to memory allocation and management of variables of that type. These methods are incompatible. Essentially a clob variable is a "locator variable" (aka lob locator). Just another word for a pointer.
Declaring a clob variable is simply defining a pointer variable that, as yet, points to nothing. The clob needs to be created, memory allocated, and the point/locator must be set to this chunk of clob memory allocated.
Declaring a varchar2 variable results in the compiler doing the actual work at compilation time - reserving space for that variable and setting that variable's address to this preallocated space.
In terms of client-server, this a tad more complex. The data sits in the client. The data must be passed to the server. So there is a client variable. There is a server variable. And the content of one needs to be copied/pushed/transferred somehow from client variable to server variable.
Windows supports a set of data types. Oracle supports a different set. Why? Despite Oracle on Windows, Oracle also runs on something like a 100 other operating systems too. There are endian issues. CPUs dealing differently with reals and floats and integers. Oracle has thus its own abstraction layer and implement is own consistent set of data types - across all platforms.
So when pushing data from a client variable (like a COM object var) into a server variable (like a CLOB), it is not as simple as "copy-and-paste".
PL/SQL "understand" basic Windows data types like zero terminated strings - which it can accept into varchar2 variables. But as PL/SQL has a 32KB (less one byte) varchar2 limit, it cannot accept a huge Windows string (or data stream). And getting that to work via a clob, very likeky requires changes in the interface between client and server that does this transfer of data.
It requires more than just changing the server variable's data type from varchar2 into a clob, unfortunately. You will need to read up on Oracle's EXTPROC interface (I expect this is what is being used to interface with COM objects?) to see how to deal with LOB data types in this respect.

Similar Messages

  • How to enable high availability on SQL Server 2005 with Windows Server 2008 Enterprise R2

    Dear Folks,
    I would like to ask you about this thing. I'm working for IT department for bank in Myanmar. Our bank have up to 96 branches across all of Myanmar including H.O. We are using Microsoft SQL Server 2005 with Windows Server 2008 for our banking
    information system. My main problem is having to backup and restore the database backup files every time the servers in branches goes down for whatever reasons. I want to deploy this feature of high availability and failover cluster using Windows Server 2008
    and SQL Server 2005. Our branches have 2 Servers. One is for Primary and other is for Backup. What I want to do is that, I want to change Backup Server to Primary Server whenever the Primary Server goes down for whatever reasons. All the working data and databases
    from Primary will immediately replicated into Backup Server along with all the IP information of Primary Server. Please give me step by step guide for this process.

    Try below
    http://blogs.msdn.com/b/cindygross/archive/2009/10/23/checklist-for-installing-sql-server-2005-as-a-clustered-instance.aspx
    I will recommend you to upgrade SQL server to newer version for support as well as flexibility.
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • Installing sql server 2014 in windows 7 ent

    Trying to install sql server 2014 in windows 7 ent.  getting this error msg,  can some one help me to install sql server on my local m/c

    Hi,
    The problem is not with SQL Server but either with Windows client OS or you have missed installing .Net framework 3.5 SP1. I am not so sure about this issue but below links can help
    http://codeketchup.blogspot.sg/2012/07/how-to-correct-side-by-side.html
    http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/this-application-failed-to-start-because-side-by/7673bf12-87c2-48ca-b5ae-b8aa85e295dc
    http://blogs.msdn.com/b/junfeng/archive/2006/04/14/576314.aspx
    You have to be patient and check each link
    PS: Make sure you meet all hardware and software requirements as pointed by Bodo. If at %programfiles%\Microsoft SQL Server\120\Setup Bootstrap\Log\ you can find any relevant log file please post
    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

  • Problem: VSS error with 'SQL Server Backup to Windows Azure Tool' installed

    When 'SQL Server Backup to Windows Azure Tool' is installed, shadow copies cannot be enable and backups fail.  When attempting to enable shadow copies, we get a "volsnap" error:  "The shadow copies of volume X were aborted because
    of a failed free space computation".  After uninstalling the "Tool", VSS works.  Reinstalling "Tool" causes the problem to return.
    While the error suggests a space issue, there is plenty of space on the server's two volumes.  Additionally, another 100GB volume was added and VSS storage was allocated to it; still received the error.
    Issue seems to point to 'SQL Server Backup to Windows Azure Tool'.
    Environment:  Hyper-V guest:  "Windows Server 2012 R2 Standard" with "SQL Server 2008 R2 Standard".  Using "Azure Storage" for SQL backups.
    Suggestions?

    Hello,
    Yes, we have a confirmed interference between the tool and the VSS Framework. This was identified very recently and is under investigation by the product group. Since the issue is within the filter driver shipped by the tool, that unfortunately means that
    you currently need to choose between the tool and a working VSS Framework. If the latter is more important, then uninstall the tool (that will require a restart).
    We apolologize for the inconvenience. I'm going to try to get the home page of the tool updated to avoid other situations like yours. Hopefully we should see a new version of the tool soon.
    As a side note, recent versions of SQL Server can directly use Azure Storage as backup target, see
    http://msdn.microsoft.com/en-us/library/jj919148(v=sql.110).aspx.
    Regards,
    Guillaume Fourrat - Microsoft France

  • SQL Server installation on Windows 8

    I am planning to buy a hybrid laptop/tablet device, to be specific – LENOVO IdeaPad Yoga 13 13.3" Touchscreen Ultrabook. This device comes with Windows 8 OS. It has so many things that are appealing to me. Now, my dilemma is that I’m not sure if it
    is possible to install SQL Server 2008 (or above) on this device. Can someone please kindly help me understand if it is possible to install SQL Server 2008 and above on Windows 8 regardless whether it is Pro or not; or I need to get the Pro versions like Surface
    Pro 2 or Lenovo Yoga 2 Pro?
    Many thanks,
    Mpumelelo

    Hi Mpumeleo S,
    According to your description, you can install SQL Server on the Lenovo Yoga with Windows 8 Pro. And Surface Pro supports installing SQL server. You can only install Windows Store Apps on Windows RT, and the SQL Server Compact will never be made available
    on that platform. Porting a .NET WPF app to Windows Store App is sadly not trivial. If your device comes with Windows RT, you’d better host the database elsewhere and access via REST or similar, or use SQLite.
    For more information about Lenovo Yoga with Windows 8 Pro, you can review the following post.
    https://forums.lenovo.com/t5/Idea-Windows-based-Tablets-and/Lenovo-Yoga-with-Windows-8-Pro-Office-2013-and-Visual-Studio/td-p/939305
    You can check the requirements in the below link for installing SQL 2008.
    http://msdn.microsoft.com/en-us/library/ms143506(v=sql.100).aspx
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Navigation Issue on HC 91, Tools 8.51, SQL Server 2008 on Windows 2008

    Hi Guys,
    I installed HCM 91 -Tools 851-SQL Server 2008 on Windows 2008 server. App server running perfectly, initiated web server fine.
    When I login in n-tier/web via PS userid, navigation to Panels are fine but when I try to click on any page, it gives error IE exception at the bottom – “Error on the page”, page does nothing, no searches and does not display the page.
    I tried installation from ground zero the 3rd time last night, followed all the steps and stuck at this point.
    I am wondering if anyone has encountered these issues.
    I appreciate any pointers.
    Thanks in advance.
    Cheers
    -Vinay

    Same question, same answer :
    http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/navigation-issue-on-hc-91-tools-851-sql-server-2008-on-windows-2008-server-3837147
    Nicolas.

  • ERROR AL INSTALAR SQL SERVER 2014 EN WINDOWS 10 X 64

    Tengan un cordial saludo, e tenido problemas al instalar sql server 2014 en windows 10 y no e podido implementarlo y desarrollar aplicaciones en el trabajo con asp + sql server 2014 y queriamos migrar aplicaciones para el win 10 pero no se a podido desarrollar
    en el ya que dice que sql no se puede instalar sobre versiones preview
    mi correo es [email protected]

    Hello,
    The Spanish development forums are on
    http://social.msdn.microsoft.com/Forums/es-ES/home?category=generaldeves&filter=alltypes&sort=lastpostdesc
    Hola,
    Los foros de desarrollo Español están enhttp://social.msdn.microsoft.com/Forums/es-ES/home?category=generaldeves&filter=alltypes&sort=lastpostdesc
    Please ask in the SQL Server forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/es-ES/home?category=devdataes&filter=alltypes&sort=lastpostdesc
    Por favor pregunte en el foro de SQL Server:
    http://social.msdn.microsoft.com/Forums/sqlserver/es-ES/home?category=devdataes&filter=alltypes&sort=lastpostdesc
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Error 1406 while installing SQL server 2005 on windows 2003 64 bit standard

    Hi Gurus,
    When I am trying to install SQL SERVER 2005 on Windows Serevr 2005 i get the error code 1406
    I tried using the script sql4sap.vbs. and tried to set the named instance.
    please suggest
    Please find the contents of the Summary.txt
    Microsoft SQL Server 2005 9.00.1399.06
    ==============================
    OS Version      : Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
    Time            : Mon Apr 14 14:51:07 2008
    Machine         : UKSAPTEST02
    Product         : .NET Framework 2.0
    Product Version : 2.0.50727
    Install         : Failed
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST02_.NET Framework 2.0.log
    Last Action     : InstallFinalize
    Error String    :Could not write value  to key \Software\Classes\.appref-ms
    Error Number    : 1406
    UKSAPTEST02 : There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information.
    SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt.
    Time            : Mon Apr 14 14:52:26 2008
    List of log files:
         C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST02_Core.log
    Many thanks
    Sreeram
    Edited by: sreeram kaki on Apr 14, 2008 6:12 PM

    Hi Clas,
    Thanks for the valuable suggestions,
    I tried to install the database (sql server 2005) using the local admin password on another server which do not have the antivirus installed. I started the installation at 3:15 PM today and the installation is still in progerss
    please see the log below from Summary.txt.
    Microsoft SQL Server 2005 9.00.1399.06
    ==============================
    OS Version      : Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
    Time            : Tue Apr 15 15:04:28 2008
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLSupport_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLNCLI_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server VSS Writer
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SqlWriter_1.log
    Machine         : UKSAPTEST01
    Product         : MSXML 6.0 Parser
    Product Version : 6.00.3883.8
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_MSXML6_1.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLSupport_2.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_SQLNCLI_2.log
    Machine         : UKSAPTEST01
    Product         : Microsoft SQL Server 2005 Books Online (English)
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_BOL_1.log
    Machine         : UKSAPTEST01
    Product         : MSXML 6.0 Parser
    Product Version : 6.00.3883.8
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_UKSAPTEST01_MSXML6_2.log
    Also see the last few lines of the log file
    SQLSetup0001_UKSAPTEST01_SQL.log
    Action start 17:10:43: Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!50) [17:10:43:815]: PROPERTY CHANGE: Deleting Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '1 0 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    Action ended 17:10:43: Rollback_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <Func Name='ScheduleActionX'>
    <Func Name='SetCAContext'>
    MSI (s) (C0!50) [17:10:43:815]: PROPERTY CHANGE: Adding Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its value is '1 1 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    MSI (s) (C0!50) [17:10:43:815]: Doing action: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Action start 17:10:43: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!50) [17:10:43:830]: PROPERTY CHANGE: Deleting Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '1 1 0 Installing Local Groups 50000 SQLServer2005MSFTEUser$UKSAPTEST01$RDE NT AUTHORITY\SYSTEM '.
    Action ended 17:10:43: Do_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <EndFunc Name='Write_sqlGroupMember' Return='0' GetLastError='0'>
    PerfTime Stop: Write_sqlGroupMember : Tue Apr 15 17:10:43 2008
    <EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
    MSI (s) (C0:F0) [17:10:43:830]: Doing action: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    Action ended 17:10:43: Write_sqlGroupMember.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    MSI (s) (C0:50) [17:10:43:830]: Invoking remote custom action. DLL: C:\WINDOWS.0\Installer\MSI1D8.tmp, Entrypoint: Write_sqlUserSecurity
    Action start 17:10:43: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    <Func Name='LaunchFunction'>
    Function=Write_sqlUserSecurity
    <Func Name='SetCAContext'>
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Doing Action: Write_sqlUserSecurity
    PerfTime Start: Write_sqlUserSecurity : Tue Apr 15 17:10:43 2008
    <Func Name='Write_sqlUserSecurity'>
    <Func Name='ScheduleActionX'>
    <Func Name='SetCAContext'>
    MSI (s) (C0!34) [17:10:43:924]: PROPERTY CHANGE: Adding Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its value is '0 1 0 Setting User Security 50000 SQLServer2005SQLBrowserUser$UKSAPTEST01 SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeChan
    MSI (s) (C0!34) [17:10:43:924]: Doing action: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Action start 17:10:43: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    MSI (s) (C0!34) [17:10:43:924]: PROPERTY CHANGE: Deleting Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B property. Its current value is '0 1 0 Setting User Security 50000 SQLServer2005SQLBrowserUser$UKSAPTEST01 SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005SQLAgentUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeChangeNotifyPrivilege SQLServer2005MSSQLUser$UKSAPTEST01$RDE SeIncreaseQuotaPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeServiceLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeBatchLogonRight SQLServer2005MSFTEUser$UKSAPTEST01$RDE SeAssignPrimaryTokenPrivilege SQLServer2005MSFTEUser$UKSAPTEST01$
    Action ended 17:10:43: Do_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    <EndFunc Name='ScheduleActionX' Return='0' GetLastError='0'>
    <EndFunc Name='Write_sqlUserSecurity' Return='0' GetLastError='0'>
    PerfTime Stop: Write_sqlUserSecurity : Tue Apr 15 17:10:43 2008
    <EndFunc Name='LaunchFunction' Return='0' GetLastError='0'>
    MSI (s) (C0:F0) [17:10:43:940]: Doing action: Write_sqlFileSDDL.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B
    Action ended 17:10:43: Write_sqlUserSecurity.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B. Return value 1.
    MSI (s) (C0:10) [17:10:43:940]: Invoking remote custom action. DLL: C:\WINDOWS.0\Installer\MSI1D9.tmp, Entrypoint: Write_sqlFileSDDL
    Action start 17:10:43: Write_sqlFileSDDL.3EA9D9BF_D9D2_4023_B2A7_9E2137B2FB1B.
    <Func Name='LaunchFunction'>
    Function=Write_sqlFileSDDL
    <Func Name='SetCAContext'>
    <EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
    Doing Action: Write_sqlFileSDDL
    PerfTime Start: Write_sqlFileSDDL : Tue Apr 15 17:10:43 2008
    Thanks & Regards,
    Sreeram
    Edited by: sreeram kaki on Apr 15, 2008 6:45 PM

  • Connect SQL Server 2012 from Windows Server 2003 with native client 9.0

    Hi,
    I currently have a setup where ETL tool Ab Intio, running on a Linux server, connects to the SQL Server 2005 through a passthrough Wintel server with Windows Server 2003 OS using SQL server native client 9.0
    Now I have the requirement to upgrade the SQL server from 2005 to 2012.
    My question is, will it be possible to connect to SQL server 2012 through Windows Server 2003 with native client 9.0?
    As per the specs, I need native client 11.0+ to fully support SQL Server 2012, but then, as per specs, native client 11.0 doesnot run on Windows server 2003. OS upgradation is currently not on the cards.
    So will it be possible to the run the basic queries we use currently, if we can connect SQL server 2012 through Windows Server 2003 with native client 9.0/10.0, without updgrading the OS of the Wintel server?
    Thanking you in advance! 

    Hi Soumya,
    Yes, you can use the SQL Server Native Client shipped with SQL Server 2005 to connect to a SQL Server 2012 instance, and there is no need to upgrade the operating system.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to install SQL Server Express in Windows 10

    Windows 10 x64.
    Windows 10 running on VirtualBox 4.3.18.
    Setup in not started without any messages.
    There is no Setup.exe in Task Manager.
    There is no errors in Windows Logs (Event Viewer).
    There is no any SQL Server folders in Program Files or Program Files (x86).
    Compatibility with Windows 7, 8 doesn't help.
    Was tested english versions:
    SQL Express 2008 R2 SP1 x64, SQL Express 2008 R2 SP1 with Tools x64,
    SQL Express 2014 x64, SQL Express 2014 with Tools x64.
    How to install any version of SQL Express?
    Thanks in advance.
    So, I can reproduce this problem.
    By default windows have not .Net 3.5 installed, but SQL Server tools need it.
    When I run sql setup on fresh windows it started normally.
    If run .net setup when sql setup already running it's OK.
    But if you exist from sql setup (or not run it) and install .net in Windows Components it's impossible to run SQL setup.

     Do
    you read me?
    I can reproduce this problem.
    By default windows have not .Net 3.5 installed, but SQL Server tools need it.
    When I run sql setup on fresh windows it started normally.
    If run .net setup when sql setup already running it's OK.
    But if you exist from sql setup (or not run it) and install .net in Windows Components it's impossible to run SQL setup.
    to install .net framework 3.5,
    just go to control panel -> programs and features -> turn windows features on and off -> check .net framework 3.5

  • Windows 7 64-bit Pro not connecting to SQL Server on domain Windows Server 2008 R2 Standard

    I am upgrading computers from Windows XP Professional to Windows 7 Professional but I have a problem getting one of the stock control software programs we use to connect to our SQL Windows Server 2008 R2 Standard from the new Windows 7 computers.
    Our computers are connected to a domain and so is the SQL Server. The Windows XP computers allows each standard domain user to log on and connect to the SQL Server via the stock control software program.
    But on the Windows 7 Pro computers standard domain users can't connect to the SQL Server but the domain administrator accounts on the same Windows 7 Pro computers can connect to the SQL Server via the stock control program.
    I have setup the server alias, server name and port number via the SQL Server Client Network Utility (cliconfg.exe) so I know this isn't the problem as it works when I am logged on as domain administrator.
    It seems to be something to do with domain user permissions and Windows 7 Pro. There seems to be a change from Windows XP Pro to Windows 7 Pro that doesn't allow standard domain users to connect to an SQL Server. But I can't find anything about this and
    can't workout how to fix it except to make all the users domain administrators which is obviously not a good thing to do. So basically I I think I need to create a group policy that allows the users to connect to the SQL Server but I have no experience doing
    this and don't know where to begin.
    Thanks for all you guys help and I hope someone can provide me with the solution to this problem.

    Hi,
    Was there any message?
    Please run the stock control software as Administrator to check if it was caused by UAC.
    If it could run as administrator, please add the standard domain user to local administrator.
    Karen Hu
    TechNet Community Support

  • How to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)

    I have a scenario with the three nodes with server 2012 standard, each running an instance of SQL Server 2012 enterprise, participate in a
    single Windows Server Failover Cluster (WSFC) that spans two data centers.
    If the nodes in the primary data center are unavailable due to data center outage. Then how I can able to access node in the WSFC (Windows Server Failover Cluster) in the secondary disaster recovery data center automatically with some script.
    I want to write script that can be able to check primary data center by pinging some IP after every 5 or 10 minutes.
    If that IP is unable to respond then script can be able to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)
    Can you please guide me for script writing for automatic failover in case of primary datacenter outage?

    please post you question on failover clusters in the cluster forum.  THey will explain how this works and point you at scipts.
    You should also look in the Gallery for cluster management scripts.
    ¯\_(ツ)_/¯

  • How to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster) with scrpiting

    I have a scenario with the three nodes with server 2012 standard, each running an instance of SQL Server 2012 enterprise, participate in a
    single Windows Server Failover Cluster (WSFC) that spans two data centers.
    If the nodes in the primary data center are unavailable due to data center outage. Then how I can able to access node in the WSFC (Windows Server Failover Cluster) in the secondary disaster recovery data center automatically with some script.
    I want to write script that can be able to check primary data center by pinging some IP after every 5 or 10 minutes.
    If that IP is unable to respond then script can be able to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)
    Can you please guide me for script writing for automatic failover in case of primary datacenter outage?

    You are trying to implement manually what should be happening automatically in the cluster. If the primary SQL Server becomes unavailable in the data center, it should fail over to the secondary SQL Server automatically.  Is that not working?
    You also might want to run this configuration by some SQL experts.  I am not a SQL expert, but if you have both hosts in the data center in a cluster, there is no need for replication between those two nodes as they would be accessing
    the database from some form of shared storage.  Then it looks like you are trying to implement Always On to the DR site.  I'm not sure you can mix both types of failover in a single configuration.
    FYI, it would make more sense to establish a file share witness in your DR site instead of placing a third node in the data center for Node Majority quorum.
    . : | : . : | : . tim

  • SQL*Loader command in window

    What is the command for executing the SQL*Loader at the windows command prompt? Thanks.

    It may not be there. It depends on how you installed the client software. There's a separate option to install "Other Oracle Utilities" (or something like that). You need to select that in order to get SQL*Loader.

  • SQL Developer / JDK On Windows Server 2008 64 bit R2

    Does anyone have the recipe to fix the annoying message:  "Cannot find a J2SE installed at path:  C:\Program Files\Java\jre6"?  I get the same message, when trying to set up and run SQL Developer on a Windows 2008 server with SQL Developer 32 bit, Java 1.6 and Java 1.7 32 bit, and now trying with SQL Developer 64-bit with JDK 64 bit.  Thank-you.

    SQL Developer requires a JDK, not a JRE.  When you are asked to select the path you need to into "C:\program files\jdk1.6.0_35\bin" (or whatever) rather the the jre6 directory.
    If you are using SQLDeveloper 3.2, then you need to be using the latest JDK 1.6 release.  The bittage of the JDK should match your SQL Developer (and your oracle client if you are using one).

Maybe you are looking for

  • How to make a good menu!!!

    Hi!!! How can I make a good menu that it executes at runtime? Also this menu has to read a .txt file, which has the user permissions to display the menu according the connect user. I try to do with javascript, but I don't know to read a file.txt with

  • Font probs transferring iweb to a new computer?

    I transferred my iweb site to a new computer and a lot of the fonts are messed up? (note, I used standard ariel fonts) I copied over the entire domain folder. the original site was made on version 1.1.2 and i am now running iweb 2.0.3 could someone t

  • Use of semantic groups to aggregate data

    In a number of threads - e.g. Semantic Groups in DTP it is stated that you cannot use semantic groups to aggregate data. In others, there are statements that this is only for handling the error stack. This I find puzzling, as the SAP Help says: +Choo

  • Trying to upgrade N95 from Maps v2.0 to Maps v3.0

    I have an N95 with device software v31.0.017 and I the latest update to the Nokia PC Suite v7.1.30.9. I have downloaded Setup_Nokia_Maps_Updater_1.0.8.exe and installed it on my PC. When I run the program it cannot find the N95 connected via USB.  PC

  • T42 want to change the XGA (1024X768) screen to a XSGA+ (1400X1050)

    I am a newbee to the Lenono forum. I would like to change the display on my t42 2373 J3U from a XGA(1024X768)  to a XSGA+  (1400X1050) are they compatable with the video chips ATI Radeon 7500 and cabling? I expect to buy the whole top with the invert