Lync and applying Windows Updates to Mirrored SQL Servers 2012

Hi
I would like to apply windows updates to our mirrored sql servers 2012 for Lync. A consultant installed Lync 2013 and the mirrored environment. According to him he states, 'Lync is actively managing that mirror opposed to standard mirror configuration'.
Can anyone give me insight into what this means when I would like to apply windows updates to these sql servers?
Thanks
Kathy

Hi,
Based on my knowledge, if the Windows Update applys to your system, then you are able to install it without issue, you may follow the KB article for the update, there may be some action we need to do to make the update work.
You may open control panel, find Windows Updates to check your Windows update settings.
And this forum focuses on SCOM related issues, you may also post in Windows Server or SQL server forums.
If there is any misunderstanding, please feel free to let me know.
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • Can't install the Windows Update package KB2674319 (SQL Server 2012 SP1)

    Hi. I need to get the update of my MS SQL Server 2012 installation in order to get the SP1.
    When I run the Windows Update it appears to download well the package.
    Then when it begins to install  I get the error "84C4000E: Se ha producido un error con Windows Update" (our server is in Spanish).
    I have the last updates for Windows Server, a rebooted our server and the issue remains.
    Any idea of what should I do to get the SP1 update?
    Thanks in advance.
    Gustavo.

    Hi Gustavo,
    Based on your description, I suggest you should refer to the following articles. And then check if you can install the update successfully.
    SQL 2012 Server fails in Windows Update with error 84C4000E
    http://techtuxwords.blogspot.in/2013/10/sql-2012-server-fails-in-windows-update.html
    MS SQL Server 2008 R2 SP1 fails with error 84C4000E
    http://techtuxwords.blogspot.in/2011/09/ms-sql-server-2008-r2-sp1-fails-with.html
    If this issue still persists, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Unable to scan and install windows updates on Win 2008 R2 server

    I've encountered some of my win 2008 servers are unable to scan and receive windows updates from SCCM 2012. Browse through the logs and found some error code related to
    0x80244023. Excerpt from the WindowsUpdate and WUAHandler is as below. Searched the net and found some workaround which is to rename the registry key
    WinHTTPSettings to WinHTTPSettingsx (by adding x at the end of the string)
    under HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Internet Settings -> Connections.
    I've did just that on the effected servers and after running again the Software Update Scan Cycle action, it is now able to scan and install the updates. My questions is, based on you guys experience, is there any repercussion (apart from enable to install
    software updates) that I could encounter in changing the registry key value WinHTTPSettings?
    WUAHandler
    <![LOG[Scan results will include all superseded updates.]LOG]!><time="04:04:40.982-480" date="09-20-2014" component="WUAHandler" context="" type="1" thread="872" file="cwuahandler.cpp:2913">
    <![LOG[Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')]LOG]!><time="04:04:40.982-480" date="09-20-2014" component="WUAHandler" context="" type="1"
    thread="872" file="cwuahandler.cpp:2916">
    <![LOG[Async searching of updates using WUAgent started.]LOG]!><time="04:04:40.988-480" date="09-20-2014" component="WUAHandler" context="" type="1" thread="872" file="cwuahandler.cpp:579">
    <![LOG[Async searching completed.]LOG]!><time="04:05:06.262-480" date="09-20-2014" component="WUAHandler" context="" type="1" thread="8112" file="cwuahandler.cpp:2068">
    <![LOG[OnSearchComplete - Failed to end search job. Error = 0x80244023.]LOG]!><time="04:05:06.263-480" date="09-20-2014" component="WUAHandler" context="" type="3"
    thread="872" file="cwuahandler.cpp:3064">
    <![LOG[Scan failed with error = 0x80244023.]LOG]!><time="04:05:06.263-480" date="09-20-2014" component="WUAHandler" context="" type="3" thread="872" file="cwuahandler.cpp:3520">
    WindowsUpdate
    2014-09-20 06:04:03:506  552 634 PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2014-09-20 06:04:03:506  552 634 PT   + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL =
    http://"SCCM Server":8530/ClientWebService/client.asmx
    2014-09-20 06:04:25:166  552 634 PT WARNING:
    GetConfig failure, error = 0x80244023, soap client error = 10, soap error code = 0, HTTP status code = 504
    2014-09-20 06:04:25:166  552 634 PT WARNING:
    PTError: 0x80244023
    2014-09-20 06:04:25:166  552 634 PT WARNING:
    GetConfig_WithRecovery failed: 0x80244023
    2014-09-20 06:04:25:166  552 634 PT WARNING: RefreshConfig failed: 0x80244023
    2014-09-20 06:04:25:166  552 634 PT WARNING: RefreshPTState failed: 0x80244023
    2014-09-20 06:04:25:166  552 634 PT WARNING: Sync of Updates: 0x80244023
    2014-09-20 06:04:25:166  552 634 PT WARNING: SyncServerUpdatesInternal failed: 0x80244023
    2014-09-20 06:04:25:166  552 634 Agent   * WARNING:
    Failed to synchronize, error = 0x80244023
    2014-09-20 06:04:25:170  552 634 Agent   * WARNING: Exit code = 0x80244023
    2014-09-20 06:04:25:170  552 634 Agent *********
    2014-09-20 06:04:25:170  552 634 Agent **  END  **  Agent: Finding updates [CallerId = CcmExec]
    2014-09-20 06:04:25:170  552 634 Agent *************
    2014-09-20 06:04:25:170  552 634 Agent WARNING:
    WU client failed Searching for update with error 0x80244023
    2014-09-20 06:04:25:171 5752 de4 COMAPI >>--  RESUMED  -- COMAPI: Search [ClientId = CcmExec]
    2014-09-20 06:04:25:172 5752 de4 COMAPI   - Updates found = 0
    2014-09-20 06:04:25:172 5752 de4 COMAPI   - WARNING: Exit code = 0x00000000, Result code = 0x80244023
    2014-09-20 06:04:25:172 5752 de4 COMAPI ---------
    2014-09-20 06:04:25:172 5752 de4 COMAPI --  END  --  COMAPI: Search [ClientId = CcmExec]
    2014-09-20 06:04:25:172 5752 de4 COMAPI -------------
    2014-09-20 06:04:25:172 5752 de4 COMAPI WARNING: Operation failed due to earlier error, hr=80244023
    2014-09-20 06:04:25:172 5752 de4 COMAPI FATAL:
    Unable to complete asynchronous search. (hr=80244023)
    2014-09-20 06:04:30:171  552 634 Report REPORT EVENT: {37DD5321-4FD5-4024-9C84-1FB9C04D4A5A} 2014-09-20 06:04:25:169+0800 1 148 101 {00000000-0000-0000-0000-000000000000} 0 80244023 CcmExec Failure Software
    Synchronization Windows Update Client failed to detect with error 0x80244023.

    Hi
    If SCCM is setup correctly and your boundaries are correct then once you deploy updates the agents will pick them up.
    Also make sure you SUP role has the FQDN set. Lastly if you are using port 8530 make sure it is open.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • 1 new update have been added to the project would you like to close the project and apply these updates message in project 2010

    1 new update have been added to the project would you like to close the project and apply these updates message  in project 2010.
    One of the PM is getting above message and not any recent changes happened?

    Hi,
    This message appears when an update has been sent for his approval and is pending. It could happen while opening the project plan, or when clicking on something like "retreive tasks updates" from the backstage menu of MS Project Pro.
    The PM should go to his approval center and check for any approval pending.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Cumulative update 15 for SQL Server 2012 SP1 is released

    Cumulative update 15 for SQL Server 2012 SP1 is released
    http://support.microsoft.com/en-us/kb/3038001
    MDS related fix is:
    FIX: Add three stored procedures to clean up history that is created when you use SQL Server 2012 MDS
    http://support.microsoft.com/en-us/kb/3036601
    After using MDS for a while, the transaction/validation/staging history may grow very large. In this CU we provide 3 store procedure to clean them up manually.
    The fix will be ported over to SQL 2012 SP2 and SQL 2014 CUs in the coming 2 months.
    In next SQL Server release, it will be automated by MDS maintenance job.
    --@ModelID is the model ID that you clean up the log for.
    --@CLeanupOlderThanDate is the date before that the logs or records is deleted.
    DECLARE @CleanupOlderThanDate date = '<Date>', @ModelID INT = <ID>
    --Cleanup Transaction History
    EXEC mdm.udpTransactionsCleanup @ModelID, @CleanupOlderThanDate;
    --Cleanup Validation History
    EXEC mdm.udpValidationsCleanup @ModelID, @CleanupOlderThanDate;
    --Cleanup entity-based staging table
    EXEC mdm.udpEntityStagingBatchTableCleanup @ModelID, @CleanupOlderThanDate;

    Hi SelvaOnline,
    I would recommend to install SP2 and the hotfix that came after it.
    If you don't have a reason to install a CU than don't bother with it.
    SP2:
    http://www.microsoft.com/en-us/download/details.aspx?id=43340
    Hotfix for SP2;
    http://support.microsoft.com/kb/2969896/en-us
    Thanks, 
    Teun

  • Cumulative update 5 for SQL Server 2012 SP2 is released

    Cumulative update 5 for SQL Server 2012 SP2 is released
    https://support.microsoft.com/en-us/kb/3037255
    MDS related fix is:
    FIX: The notification email link is broken when a special character is part of the URL in SQL Server 2012 MDS
    http://support.microsoft.com/en-us/kb/3036201

    Hello,
    The following blog shows the latest builds (updates) available for each version of SQL Server.
    http://sqlserverbuilds.blogspot.com/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Build and capture task sequence stops after apply windows updates

    Hi
    SCCM 2012 SP1 CU4. Deploying Windows 7 SP1.
    Pulling my hair out over this one. I successfully performed a build and capture installing some applications. When I choose to install Windows updates, the updates install, the system reboots then doesn't continue. Applications don't install, image isn't captured.
    I've tired using the default B&C TS and receive the same results. I've amended the TS to as follows, as suggested in a technet forum post: https://social.technet.microsoft.com/Forums/en-US/a535e509-fc6a-483c-bf24-7e2aa064e5b7/deploying-100-of-available-software-updates-during-a-task-sequence?forum=configmanagerosd
    Looking at smsts.log there's errors relating to not accepting the license agreement, but I didn't think this would stop the TS. 
    Can someone point out why the deployment stops?
    https://dl.dropboxusercontent.com/u/23479177/smsts-20141113-182413.log 
    Cheers

    This is very common scenario you´re having! :)
    For OSD and for Capture I always create myown Software Update Group, which lets me totally control, what updates goes to the image and which doesn´t. I then edit membership of update and tag or un-tag update to the group.
    I suggest you do the following:
    1. Create manual Computer record and add it to OSD Capture collection.
    2. Create SUG for OSD Capture and un-tag updates which are listed in KB2894518. But that might not be enough.
    3. Deploy TS to the OSD Capture collection.
    4. Create/modify virtual machine with MAC matching the computer record.
    5. Run PXE and hook Capture TS.

  • Update error of SQL Server 2012 enterprise running on Windows server 2008 standard SP2 (32 bits)

    Hi there;
    I have a windows server 2008 SP2 (32bits) in which I have an instance of SQL Server
    2008 and another of 2012.
    My Windows server 2008 installed the following updates; (see below).
    (KB2898858),(KB2909921),(KB890830),(KB2898869),(KB2911502),(KB2901126),
    (KB2916036),(KB2862973),(KB2901113)
    After the machine was re-started, I was not abble to connect
    to the instance of SQL Server 2012.  I am able
    to connect to the instance of SQL Server 2008.
    The error message I get when I atemp to connect can be found
    at the end of the list of updates below.
    Do I need to uninstall an update? if so, which one and how do I do that?
    Thanks        Gabriel I. Ruiz
    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Vista SP2 and Windows Server 2008 SP2 x86 (KB2898858)
    Installation date: ‎2/‎12/‎2014 11:42 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2898858
    Cumulative Security Update for Internet Explorer 9 for Windows Server 2008 (KB2909921)
    Installation date: ‎2/‎12/‎2014 11:42 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2909921
    Windows Malicious Software Removal Tool - February 2014 (KB890830)
    Installation date: ‎2/‎12/‎2014 11:41 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/890830
    Security Update for Microsoft .NET Framework 4.5.1 on Windows 7, Windows Vista and Windows Server 2008 x86 (KB2898869)
    Installation date: ‎2/‎12/‎2014 11:40 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2898869
    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Vista SP2 and Windows Server 2008 SP2 x86 (KB2911502)
    Installation date: ‎2/‎12/‎2014 11:36 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2911502
    Security Update for Microsoft .NET Framework 4.5.1 on Windows 7, Windows Vista, and Windows Server 2008 x86 (KB2901126)
    Installation date: ‎2/‎12/‎2014 11:36 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2901126
    Security Update for Windows Server 2008 (KB2916036)
    Installation date: ‎2/‎12/‎2014 11:34 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2916036
    Security Update for Windows Server 2008 (KB2862973)
    Installation date: ‎2/‎12/‎2014 11:34 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2862973
    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Vista SP2 and Windows Server 2008 SP2 x86 (KB2901113)
    Installation date: ‎2/‎12/‎2014 11:34 PM
    Installation status: Successful
    Update type: Important
    More information: 
    http://support.microsoft.com/kb/2901113
    ===================================
    Cannot connect to HAVANA\HAVANA_2012_1ST.
    ===================================
    The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following:  the client tried to connect to an unsupported version of SQL Server; the server was too busy
    to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476
    Server Name: HAVANA\HAVANA_2012_1ST
    Error Number: 233
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock)
       at System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate)
       at System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate)
       at System.Data.SqlClient.TdsParser.SendPreLoginHandshake(Byte[] instanceName, Boolean encrypt)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    No process is on the other end of the pipe

    Hi,
    Check if SQL Server service is running fine. I doubt you may have changed the user account password used for SQL Server service. After restarting the machine, you also need to update the user account of SQL Server service in Configuration
    Manager. Re-type the user account name and password under Log on tab and see how it helps.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Print Management Console displays no printers after applying Windows Update for Windows Server 2012 R2 (KB2995388)

    After installing optional Windows Update for Windows Server 2012 R2 (KB2995388) on a print server upgraded from Windows 2012 to Windows 2012 R2, the Print Management Console wouldn't display locally shared or remotely shared printers. Another print server
    could see the printers on this server, but it couldn't see it's own. Removal of the patch resolved the issue.

    Hi,
    à
    Removal of the patch resolved the issue.
    Thanks for sharing in the forum. Your time and efforts are highly appreciated.
    On current situation, would you please let me confirm something more?
    Please check if this update rollup package (KB2995388) install successfully.
    Please run sfc /scannow command to scan all protected system files after installed this update.
    If be possible, please re-install Print Server feature on the server after installed this update. Any find?
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Manually downloading and installing Windows Updates for WinServer 2012

    Hello There,
    I got couple of WinServer 2012 which are in DMZ and doesnt have internet access at all.
    I would like to download Windows updates  on my machine and install these on the servers manually please suggest.
    Regards,
    Maqsood
    Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified

    Hi Maqsood,
    To download the update manually, we can visit the web site below,
    http://catalog.update.microsoft.com/v7/site/Home.aspx
    We can download the updates to a removable disk, then copy the updates to these servers.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Applying Windows updates to UCM servers

    I was trying to find documentation for this but cannot find anything that helps, does anyone know where I could find this documentation.  I've already found the one for Unity.

    CUCM 6.x and onward are Linux based (appliances) and not Windows based.
    For Windows updates, here is the page I daily used:
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/win_os/os_srv_sec/osbios.htm
    Pierre.

  • MDT: deploy a WSUS-server/SCCM and include Windows updates?

    Hi,
    I'd like to deploy an sccm-server which will contain a WSUS-server. However, this SCCM-server itself should go to Internet and download all updates available. How can I achieve this in a tasksequence step?
    Pls advise.
    J.
    Jan Hoedt

    Is this an MDT question or an SCCM question?
    The SCCM server would need the Software Update Point role installed but that doesn't make it a WSUS server, per se. SCCM uses the metadata from WSUS to download updates to packages. It does not function like a standalone, traditional WSUS server.
    -Nick O.

  • I am unable to successfully download and apply any updates to my Apple TV. I have unplugged and restarted my Apple TV but I continue to get the "update unsuccessful" message. Any help would be appreciated.

    I am unable to successfully download updates to my Apple TV. I am stuck on software 5.1. Am I going to just have to buy a new Apple TV or can Apple TV be repaired. Anybody know any tricks. I am connected to Internet with through a power line adapter. All of my other Internet based applications are working fine through this connection so I don't think the power line connection has any bearing on this failure to download and update.

    Restore it using iTunes as described here:
    http://support.apple.com/kb/HT4367?viewlocale=en_US&locale=en_US
    AppleTV does not need a power lead when connected to the computer (AppleTV 3 will for part of the process).
    AC

  • After installed SP1 for SQL Server 2012, can no longer export to csv

    After installing SP1 today via Windows Update, I am no longer able to export data to csv using the SQL Server Import and Export wizard. I get the following error message:
    "Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider."
    "Column "col1": Source data type "200" was not found in the data type mapping file."...
    (The above line repeats for each column)
    The work-around I have to do is to manually map each column in the "Edit Mappings..." option from the "Configure Flat File Destination" page of the wizard. This is an extreme inconvenience to have to have to edit the mappings and change
    each column to "string [DT_STR]" type from "byte stream [DT_BYTES]" type each time I want to export to csv. I did not have to do this before installing SP1; it worked perfectly for months with hundreds of exports prior to this update and
    no need to modify mapping.

    I am running Windows 7 64-bit, SQL Server 2012 Express edition. Again, just yesterday from Windows Update, I installed SQL Server 2012 Service Pack 1 (KB2674319), followed by Update Rollup for SQL Server 2012 Service Pack 1 (KB2793634). This situation was
    not occurring before these updates were installed, and I noticed it immediately after they were installed (and of course I restarted my computer after the updates).
    In SSMS I just now created a test DB and table to provide a step-by-step with screenshots.
    Here is the code I ran to create the test DB and table:
    CREATE DATABASE testDB;
    GO
    USE testDB;
    GO
    CREATE TABLE testTable
    id int,
    lname varchar(50),
    fname varchar(50),
    address varchar(50),
    city varchar(50),
    state char(2),
    dob date
    GO
    INSERT INTO testTable VALUES
    (1,'Smith','Bob','123 Main St.','Los Angeles','CA','20080212'),
    (2,'Doe','John','555 Rainbow Ln.','Chicago','IL','19580530'),
    (3,'Jones','Jane','999 Somewhere Pl.','Washington','DC','19651201'),
    (4,'Jackson','George','111 Hello Cir.','Dallas','TX','20010718');
    GO
    SELECT * FROM testTable;
    Results look good:
    id    lname    fname    address    city    state    dob
    1    Smith    Bob    123 Main St.    Los Angeles    CA    2008-02-12
    2    Doe    John    555 Rainbow Ln.    Chicago    IL    1958-05-30
    3    Jones    Jane    999 Somewhere Pl.    Washington    DC    1965-12-01
    4    Jackson    George    111 Hello Cir.    Dallas    TX    2001-07-18
    In Object Explorer, I right-click on the [testDB] database, choose "Tasks", then "Export Data..." and the SQL Server Import and Export Wizard appears. I click Next to leave all settings as-is on the "Choose a Data Source" page, then on the "Choose a Destination"
    page, under the "Destination" drop-down I choose "Flat File Destination" then browse to the desktop and name the file "table_export.csv" then click Next. On the "Specify Table Copy or Query" page I choose "Write a query to specify the data to transfer" then
    click Next. I type the following SQL statement:
    SELECT * FROM testTable;
    When clicking the "Parse" button I get the message "This SQL statement is valid."
    On to the next page, "Configure Flat File Destination" I try leaving the defaults then click Next. This is where I am getting the error message (see screenshot below):
    Then going to the "Edit Mappings..." option on the "Configure Flat File Destination" page, I see that all columns which were defined as varchar in the table are showing as type "byte stream [DT_BYTES]", size "0", the state column which is defined as char(2)
    shows correctly however with type "string [DT_STR]", size "2" (see screenshow below):
    So what I have to do is change the type for the lname, fname, address and city columns to "string [DT_STR]", then I am able to proceed with the export successfully. Again, this just started happening after installing these updates. As you can imagine, this
    is very frustrating, as I do a lot of exports from many tables, with a lot more columns than this test table.
    Thanks for your help.

  • Cumulative Update 1 For SP2 in 2012

    I am trying to Apply Cumulative Update 1 for SQL Server 2012 From SP2 but for some reason it is not recognizing it. Has anyone else had this issue. Any input
    would be appreciated. Thanks in Advance.

    What is the error can you paste information about CU which you are applying(KB number) and link from which you downloaded the CU. 
    What do you exactly mean by not recognizing ?
    This is CU1 for SQL Server 2012 SP2
    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