Multiple WUA client fails if server delays in sending response.

Hi,
I have implemented my own minimal WSUS server which provides updates to wua client using MS-WUSP protocol. I have used Sqlite as back end database to store update metadata(size of metadata is apprx. 4-5 GB). I have implemented multi- threaded web service,
each thread handle a separate request from WUA client.
When I tried to scan with more than 20 clients at the same time, then some of them fails with error 0x80072ee2 -
ERROR_INTERNET_TIMEOUT The request has timed out.
Is there any solution to avoid this kind of failure? Can I change the WUA client's timeout period? How can I speed up my server application to handle multiple requests?
Thnaks in advance.
Vivek.

Hi,
What are the operating systems of your clients? Please update the latest version of Windows Update agent:
https://support.microsoft.com/kb/949104?wa=wsignin1.0
In addition, please check if multiple un-declined/superseded updates in the WSUS server's catalog.If yes, you can declining superseded updates to eliminate such performance issues.
Furthermore, the performance depends on several factors. You can check the task manager to check if any process has a high usage of the CPU, memory or disk. Or you can use performance monitor to diagnose disk/network/memory/process/processor bottleneck on
the server and clients:
https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
Best regards,
Susie
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

  • Handle Received data of Multiple TCP clients on TCP Server by displaying them into Datagrid

    Hello All,
    I have developed a C# based TCP server GUI application which is accepting the data from multiple TCP clients on TCP server.
    The data i am receiving from TCP clients is a 32 bit data. In my application multiple TCP client data goes like this:
    00012331100025123000124510321562
    01112563110002512456012451032125 and so on...
    Now i want those data of the TCP clients to be parsed into 4 bits first and display it in 8 columns (32/4=8) of (say) datagrid as each 4 bit represents some characteristics of the TCP client. The same thing
    should work for next TCP client on second row of datagrid.            
    Can you give me some suggestion or an example how to go about this? Any help would be appreciated.
     Thank you in advance.
    Here is my code for receiving data from multiple TCP clients.
    void m_Terminal_MessageRecived(Socket socket, byte[] buffer)
    string message = ConvertBytesToString(buffer, buffer.Length);
    PublishMessage(listMessages, string.Format("Sockets: {0}", message));
    // Send Echo
    // m_ServerTerminal.DistributeMessage(buffer);
    private string ConvertBytesToString(byte[] bytes, int iRx)
    char[] chars = new char[iRx + 1];
    System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
    d.GetChars(bytes, 0, iRx, chars, 0);
    string szData = new string(chars);
    return szData;

    Now i want those data of the TCP clients to be parsed into 4 bits first and display it in 8 columns (32/4=8) of (say) datagrid as each 4 bit represents some characteristics of the TCP client. The same thing
    should work for next TCP client on second row of datagrid
    If mean it's a Windows Forms application and you want to display those bits in a DataGridView control, then please see these threads:
    Add row to datagridview
    Programmatically add new row to DataGridView
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multiple vpn clients fail

    When i try to run the vpn client on more than one computer to connect to a remote network, both connections fail. Everything works fine when i have a single computer connected with the vpn client, but as soon as i try to connect the other, both of them fail. any ideas?

    Enable isakmp nat-traversal on the ASA on the client. It will open UDP port 4500 on the NAT device. so multiple clients can communicate.

  • Driver's SQLSetConnectAttr failed/SQL Server 2005/ODBC Native Client

    I have an ODBC application that I am writing in VS 2008 C++. I freely admit to not being an ODBC expert. I am having trouble with SetConnectAttr failures. I've got them down to one specific case that I will describe here. The environment is 64-bit Windows
    7 (client) and SQL Server 2005 running on Win Server 2003. I am using a 32-bit ODBC connection. For the most part the application is working: I am successfully using the connection to do multiple INSERTs into multiple tables. I get lots of hits when I
    search on the above error message but they are so "all over the map" (Oracle, packaged applications, specific situations) that I have not been able to find one that seems to apply. Connection Pooling is not turned on in the connection.
    I make the following call
    SQLUINTEGER timeout = 10;
    // seconds
    retCode = SQLSetConnectAttr(ConnectionHandle, SQL_ATTR_LOGIN_TIMEOUT, &timeout, 0);
    I receive a zero in retCode.
    However when I subsequently issue the SQLConnect() I receive
    [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    I was setting three different connection attributes and getting the above message twice, but I have for debugging purposes commented out two of the set's. The above call is the only attribute I am setting so it is apparently the one that is failing. Any
    help would be appreciated.
    Charles

    In case anyone else runs into this, here is the real problem with the original code:
        retCode = SQLSetConnectAttr(ConnectionHandle, SQL_ATTR_LOGIN_TIMEOUT,
    &timeout, 0);
    The SQL_ATTR_LOGIN_TIMEOUT attribute takes an integer by value, not a pointer to an integer.  This is a confusing aspect of this API.  If you pass a pointer, ODBC is really "seeing" a large integer value, which causes the
    code to effectively behave as though there were an infinite timeout.
    Instead, just pass the value of the timeout:
        retCode = SQLSetConnectAttr(ConnectionHandle, SQL_ATTR_LOGIN_TIMEOUT,
    (SQLPOINTER) timeout, SQL_IS_UINTEGER);
    Then the timeout value should be respected.  Using SQLSetConnectOption(SQL_LOGIN_TIMEOUT) seems to be equivalent to the above, provided you pass the timeout by value and not via a pointer.

  • Connection fails if server and clients are in different subnets

    Hello,
    our Volume License Manager (v2.1) is running in another subnets than the clients (All machines are running under Windows XP-SP2 without Domains or ADS, just workgroups).
    The server is in subnet A (192.168.42.0/24), all clients are located in another subnet  B (192.168.50.0/24).
    Routing is properly configured and is working fine, traffic to the specific hosts is not blocked by a firewall. We can ping every machine,
    open telnet connections to the NILM, everything works.
    But if the clients try to connect to the remote NILM (both local client NI License Manager and VLM port settings are correct)  their connection attempt always
    times out with error code "NILM10"
    (I already read the mentioned KBs, no solution has helped so far). This is true if clients and server are separated.
    For testing purposes, i plugged one client into the server's subnet (server's IP: 192.168.50.250, client 192.168.50.10)
    and it worked perfectly. Is there a reason why  server and client have to be on the same subnet or is it some other kind of problem that I am not aware of?
    Thank you.
    Thorsten

    Hello Thorsten,
    Did you add the server's domain to the client computer's DNS settings. To do this, complete the following steps on the client computer:
    1. Open Local Area Network Settings from the Control Panel (Start»Control Panel»Network Connections»Local Area Connection)
    2. Click the Properties button
    3. Select Internet Protocol (TCP/IP) from the list of network components
    4. Click the Properties button
    5. Click the Advanced button
    6. Change to the DNS tab
    7. Ensure Append these DNS suffixes is selected
    8. Click the Add button
    9. Enter the domain suffix of the license server and click Add
    10. Close any open dialog boxes, choosing OK and Close as necessary.
    (http://digital.ni.com/public.nsf/allkb/3AAF37CD7B89A2CD86257070005A075A?OpenDocument)
    Further you should check this KBs.
    Why is My NI License Manager Slow or Not Responsive with a Configured Network Server on Another Domain?
    http://digital.ni.com/public.nsf/allkb/27D6BD8116EF257A862572F2005C2181?OpenDocument
    How Can I Access NI Volume License Manager from a Different Network or Behind a Firewall?
    http://digital.ni.com/public.nsf/websearch/54E52C3F348B929786256DCD0056B19B?OpenDocument
    Regards,
    WolfgangZ

  • Windows Update fails on Server 2012 R2 Virtual Machine

    I have set up a virtual network with two virtual machines. The first VM is Server 2008 R2 and is set up as a domain controller. The second VM is Server 2012 R2, and has been joined to the domain.  The DC (TestVM1) is also set up as a DNS server. 
    From TestVM2 (Server 2012 R2), I am able to log in using a domain login, and I am able to browse to a public website.
    I was able to run Windows Updates from TestVM1, but when I attempt to run Windows Updates from TestVM2, it fails.
    The Windows Update client shows "Error(s) found:" and "Code 8024402F". 
    Errors in WindowsUpdate.log include
    2014-10-17 18:26:14:235  800 950 Setup FATAL: GetClientUpdateUrl failed, err = 0x8024D009
    2014-10-17 18:26:26:238  800 950 Misc WARNING: Send failed with hr = 80072ee7.
    2014-10-17 18:26:26:238  800 950 Misc WARNING: Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <None>
    2014-10-17 18:26:26:238  800 950 Misc WARNING: Send request failed, hr:0x80072ee7
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://v4.download.windowsupdate.com/c/msdownload/update/others/2014/08/13518740_b1b71791444e5dec0018bcd60303445108442c12.cab>.
    error 0x8024402c
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: WinHttpQueryHeaders(WINHTTP_QUERY_CONTENT_TYPE) for X-CID failed. error 0x80072ef3
    2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: DownloadCabFile: failed to get CDN Provider for error reporting, hr = 0X80072EF3
    2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: WinHttpQueryHeaders(WINHTTP_QUERY_CONTENT_TYPE) for X-CCC failed. error 0x80072ef3
    2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: DownloadCabFile: failed to get CDN Country for error reporting, hr = 0X80072EF3
    2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: Failed to download cab file from
    http://download.windowsupdate.com/c/msdownload/update/others/2014/08/13518740_b1b71791444e5dec0018bcd60303445108442c12.cab with error 0x8024402c
    2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: This roundtrip contained some optimized updates which failed. New Update count = 34, Old Count = 60
    2014-10-17 18:26:26:317  800 950 PT   + SyncUpdates round trips: 1
    2014-10-17 18:26:26:317  800 950 PT WARNING: Sync of Updates: 0x8024402f
    2014-10-17 18:26:26:317  800 950 PT WARNING: SyncServerUpdatesInternal failed: 0x8024402f
    2014-10-17 18:26:26:317  800 950 Agent   * WARNING: Failed to synchronize, error = 0x8024402F
    2014-10-17 18:26:26:317  800 950 Agent   * WARNING: Exit code = 0x8024402F
    This is blocking further work.  Assistance would be greatly appreciated.

    I am having the exact same issue. Fresh build of Server 2012 R2 from the Microsoft Volume Licensing ISO. I tried before and after joining to the domain. Same error every time.  Firewall is turned off. No AV. We do have a cloud proxy service, but I bypassed
    that as a test and got the same error message.  I also tried to stop wuauserv and cleaning out the folder and starting it back up.  No joy as well.  This is a VM server running on ESXi 5.1.  Server 2008 servers dont seem to have
    an issue.  Server 2012 server don't seem to have an issue.  Only this new Server 2012 R2 server.  My logs are below:
    2014-10-28 14:28:46:104  696 4a4 AU ###########  AU: Uninitializing Automatic Updates  ###########
    2014-10-28 14:28:46:104  696 4a4 WuTask Uninit WU Task Manager
    2014-10-28 14:28:46:198  696 4a4 Service *********
    2014-10-28 14:28:46:198  696 4a4 Service **  END  **  Service: Service exit [Exit code = 0x240001]
    2014-10-28 14:28:46:198  696 4a4 Service *************
    2014-10-28 14:29:24:198  696 5c8 Misc ===========  Logging initialized (build: 7.9.9600.17092, tz: -0400)  ===========
    2014-10-28 14:29:24:198  696 5c8 Misc   = Process: C:\Windows\system32\svchost.exe
    2014-10-28 14:29:24:198  696 5c8 Misc   = Module: c:\windows\system32\wuaueng.dll
    2014-10-28 14:29:24:198  696 5c8 Service *************
    2014-10-28 14:29:24:198  696 5c8 Service ** START **  Service: Service startup
    2014-10-28 14:29:24:198  696 5c8 Service *********
    2014-10-28 14:29:24:214  696 5c8 Agent   * WU client version 7.9.9600.17092
    2014-10-28 14:29:24:214  696 5c8 Agent   * Base directory: C:\Windows\SoftwareDistribution
    2014-10-28 14:29:24:214  696 5c8 Agent   * Access type: No proxy
    2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
    2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2014-10-28 14:29:24:214  696 5c8 Agent   * Network state: Connected
    2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
    2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2014-10-28 14:29:24:510  696 5c8 DtaStor Default service for AU is {00000000-0000-0000-0000-000000000000}
    2014-10-28 14:29:24:510  696 5c8 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77}
    2014-10-28 14:29:24:542  696 5c8 DtaStor Data store successfully created
    2014-10-28 14:29:24:542  696 5c8 Agent ***********  Agent: Initializing global settings cache  ***********
    2014-10-28 14:29:24:542  696 5c8 Agent   * Endpoint Provider: 00000000-0000-0000-0000-000000000000
    2014-10-28 14:29:24:542  696 5c8 Agent   * WSUS server: <NULL>
    2014-10-28 14:29:24:542  696 5c8 Agent   * WSUS status server: <NULL>
    2014-10-28 14:29:24:542  696 5c8 Agent   * Target group: (Unassigned Computers)
    2014-10-28 14:29:24:542  696 5c8 Agent   * Windows Update access disabled: No
    2014-10-28 14:29:24:542  696 5c8 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
    2014-10-28 14:29:24:542  696 5c8 WuTask WuTaskManager delay initialize completed successfully..
    2014-10-28 14:29:24:542  696 5c8 Report WARNING: Failed to initialize event uploader for new server {9482F4B4-E343-43B6-B170-9A65BC822C77} with hr = 8024043d.
    2014-10-28 14:29:24:542  696 5c8 Report CWERReporter::Init succeeded
    2014-10-28 14:29:24:542  696 5c8 Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2014-10-28 14:29:24:542  696 5c8 DnldMgr Download manager restoring 0 downloads
    2014-10-28 14:29:24:557  696 5c8 AU ###########  AU: Initializing Automatic Updates  ###########
    2014-10-28 14:29:24:557  696 5c8 AU AIR Mode is disabled
    2014-10-28 14:29:24:557  696 5c8 AU   # AU disabled through User preference
    2014-10-28 14:29:24:557  696 5c8 AU   # Will interact with non-admins (Non-admins are elevated (User preference))
    2014-10-28 14:29:24:557  696 5c8 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
    2014-10-28 14:29:24:557  696 5c8 AU AU finished delayed initialization
    2014-10-28 14:29:24:557  696 234 DnldMgr Asking handlers to reconcile their sandboxes
    2014-10-28 14:29:35:776  696 578 IdleTmr Incremented idle timer priority operation counter to 1
    2014-10-28 14:29:37:307  696 52c AU Triggering AU detection through DetectNow API
    2014-10-28 14:29:37:307  696 52c AU Triggering Online detection (interactive)
    2014-10-28 14:29:37:323  696 5c8 AU #############
    2014-10-28 14:29:37:323  696 5c8 AU ## START ##  AU: Search for updates
    2014-10-28 14:29:37:323  696 5c8 AU #########
    2014-10-28 14:29:37:323  696 5c8 SLS Retrieving SLS response from server...
    2014-10-28 14:29:37:323  696 5c8 SLS Making request with URL
    HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: Proxy List used: <172.25.7.9:80> Bypass List used : <(null)> Auth Schemes used : <None>
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: Send request failed, hr:0x80072ee2
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092>.
    error 0x80072ee2
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072ee2
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072ee2
    2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072ee2
    2014-10-28 14:29:58:339  696 5c8 SLS FATAL: SLS:CSLSDownloader::GetUrlContent: DoFileDownload failed with 0x80072ee2.
    2014-10-28 14:29:58:339  696 5c8 SLS FATAL: GetResponse failed with hresult 0x80072ee2...
    2014-10-28 14:29:58:339  696 5c8 EP FATAL: EP: CSLSEndpointProvider::GetWUClientDataAndInitParser - failed to get SLS data, error = 0x80072EE2
    2014-10-28 14:29:58:339  696 5c8 EP FATAL: EP: CSLSEndpointProvider::GetEndpointFromSLS - Failed to get client data and init parser, error = 0x80072EE2
    2014-10-28 14:29:58:339  696 5c8 EP FATAL: Failed to obtain 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL, error = 0x80072EE2
    2014-10-28 14:29:58:339  696 5c8 Agent WARNING: Failed to obtain the authorization cab URL for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0
    2014-10-28 14:29:58:339  696 5c8 Agent FATAL: Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80072EE2
    2014-10-28 14:29:58:339  696 5c8 IdleTmr WU operation (CSearchCall::Init ID 1) started; operation # 7; does use network; is not at background priority
    2014-10-28 14:29:58:339  696 5c8 IdleTmr Incremented PDC RefCount for Network to 1
    2014-10-28 14:29:58:339  696 5c8 IdleTmr Incremented idle timer priority operation counter to 2
    2014-10-28 14:29:58:385  696 5c8 Report ***********  Report: Initializing static reporting data  ***********
    2014-10-28 14:29:58:385  696 5c8 Report   * OS Version = 6.3.9600.0.0.196880
    2014-10-28 14:29:58:385  696 5c8 Report   * OS Product Type = 0x00000007
    2014-10-28 14:29:58:401  696 5c8 Report   * Computer Brand = VMware, Inc.
    2014-10-28 14:29:58:401  696 5c8 Report   * Computer Model = VMware Virtual Platform
    2014-10-28 14:29:58:401  696 5c8 Report   * Platform Role = 1
    2014-10-28 14:29:58:401  696 5c8 Report   * AlwaysOn/AlwaysConnected (AOAC) = 0
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Revision = 6.00
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Name = PhoenixBIOS 4.0 Release 6.0    
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Release Date = 2013-08-16T00:00:00
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Sku Number unavailable.
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Vendor = Phoenix Technologies LTD
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Family unavailable.
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Major Release = 4
    2014-10-28 14:29:58:401  696 5c8 Report   * Bios Minor Release = 6
    2014-10-28 14:29:58:401  696 5c8 Report   * Locale ID = 1033
    2014-10-28 14:29:58:401  696 5c8 Agent *** START ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-10-28 14:29:58:401  696 5c8 AU <<## SUBMITTED ## AU: Search for updates  [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2014-10-28 14:29:58:432  696 b0c Agent ***  END  ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-10-28 14:29:58:432  696 b0c Agent *************
    2014-10-28 14:29:58:432  696 b0c Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-10-28 14:29:58:432  696 b0c Agent *********
    2014-10-28 14:29:58:432  696 b0c Agent   * Online = Yes; Ignore download priority = No
    2014-10-28 14:29:58:432  696 b0c Agent   * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1
    or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
    2014-10-28 14:29:58:432  696 b0c Agent   * ServiceID = {9482F4B4-E343-43B6-B170-9A65BC822C77} Windows Update
    2014-10-28 14:29:58:432  696 b0c Agent   * Search Scope = {Machine & All Users}
    2014-10-28 14:29:58:432  696 b0c Agent   * Caller SID for Applicability: S-1-5-21-600452275-980750782-2124898778-9669
    2014-10-28 14:29:58:432  696 b0c SLS Retrieving SLS response from server...
    2014-10-28 14:29:58:432  696 b0c SLS Making request with URL
    HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092
    2014-10-28 14:29:59:135  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\sls.cab with dwProvFlags 0x00000080:
    2014-10-28 14:29:59:135  696 b0c Misc  Microsoft signed: NA
    2014-10-28 14:29:59:135  696 b0c Misc  Infrastructure signed: Yes
    2014-10-28 14:29:59:135  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\TMP3958.tmp with dwProvFlags 0x00000080:
    2014-10-28 14:29:59:135  696 b0c Misc  Microsoft signed: NA
    2014-10-28 14:29:59:135  696 b0c Misc  Infrastructure signed: Yes
    2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "117cab2d-82b1-4b5a-a08c-4d62dbee7782"
    2014-10-28 14:29:59:135  696 b0c SLS FATAL: SLS:CSLSRequest::RetrieveAdditionalAttributesIfRequired: CoCreateInstance failed with 0x80040154.
    2014-10-28 14:29:59:135  696 b0c Agent WARNING: Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
    2014-10-28 14:29:59:135  696 b0c Agent FATAL: Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154
    2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir Client/Server URL: "https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx"
    2014-10-28 14:29:59:135  696 b0c Setup Checking for agent SelfUpdate
    2014-10-28 14:29:59:135  696 b0c Setup Client version: Core: 7.9.9600.17092  Aux: 7.9.9600.17031
    2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SelfUpdate URL: "https://fe2.update.microsoft.com/v10/3/windowsupdate/selfupdate"
    2014-10-28 14:30:00:151  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2014-10-28 14:30:00:151  696 b0c Misc  Microsoft signed: NA
    2014-10-28 14:30:00:151  696 b0c Misc  Infrastructure signed: Yes
    2014-10-28 14:30:00:151  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\TMP3D51.tmp with dwProvFlags 0x00000080:
    2014-10-28 14:30:00:167  696 b0c Misc  Microsoft signed: NA
    2014-10-28 14:30:00:167  696 b0c Misc  Infrastructure signed: Yes
    2014-10-28 14:30:00:167  696 b0c Setup FATAL: GetClientUpdateUrl failed, err = 0x8024D009
    2014-10-28 14:30:00:167  696 b0c Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
    2014-10-28 14:30:00:167  696 b0c Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2014-10-28 14:30:00:323  696 b0c PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2014-10-28 14:30:00:323  696 b0c PT   + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL =
    https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
    2014-10-28 14:30:01:104  696 b0c PT WARNING: Cached cookie has expired or new PID is available
    2014-10-28 14:30:01:104  696 b0c PT WARNING: PTWarn: Anonymous plug-in skipped for WU
    2014-10-28 14:30:01:198  696 b0c Agent Reading cached app categories using lifetime 604800 seconds
    2014-10-28 14:30:01:198  696 b0c Agent Read 1 cached app categories
    2014-10-28 14:30:40:917  696 b0c PT WARNING: ECP: Failed to validate cab file digest downloaded from
    http://download.windowsupdate.com/d/msdownload/update/others/2013/09/9242543_a77d372b9c8b13c599a3daf4b321ea1903da9a72.cab with error 0x80091007
    2014-10-28 14:30:40:917  696 b0c PT WARNING: ECP: This roundtrip contained some optimized updates which failed. New Update count = 57, Old Count = 60
    2014-10-28 14:30:41:151  696 b0c PT   + SyncUpdates round trips: 14
    2014-10-28 14:30:41:151  696 b0c PT WARNING: Sync of Updates: 0x8024402f
    2014-10-28 14:30:41:151  696 b0c PT WARNING: SyncServerUpdatesInternal failed: 0x8024402f
    2014-10-28 14:30:41:151  696 b0c Agent   * WARNING: Failed to synchronize, error = 0x8024402F
    2014-10-28 14:30:41:151  696 b0c Agent   * WARNING: Exit code = 0x8024402F
    2014-10-28 14:30:41:151  696 b0c Agent *********
    2014-10-28 14:30:41:151  696 b0c Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-10-28 14:30:41:151  696 b0c Agent *************
    2014-10-28 14:30:41:151  696 b0c Agent WARNING: WU client failed Searching for update with error 0x8024402f
    2014-10-28 14:30:41:151  696 b0c IdleTmr WU operation (CSearchCall::Init ID 1, operation # 7) stopped; does use network; is not at background priority
    2014-10-28 14:30:41:151  696 b0c IdleTmr Decremented PDC RefCount for Network to 0
    2014-10-28 14:30:41:151  696 b0c IdleTmr Decremented idle timer priority operation counter to 1
    2014-10-28 14:30:41:151  696 6fc AU >>##  RESUMED  ## AU: Search for updates [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2014-10-28 14:30:41:151  696 6fc AU   # WARNING: Search callback failed, result = 0x8024402F
    2014-10-28 14:30:41:151  696 6fc AU #########
    2014-10-28 14:30:41:151  696 6fc AU ##  END  ##  AU: Search for updates  [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2014-10-28 14:30:41:151  696 6fc AU #############
    2014-10-28 14:30:41:151  696 6fc AU All AU searches complete.
    2014-10-28 14:30:41:151  696 6fc AU   # WARNING: Failed to find updates with error code 8024402f
    Derek
    Systems Engineer
    Derek Desktop Engineer

  • Lync 2013 android client fails to login bug when ISP overrides DNS

    Hello all,
    I've noticed an issue occurring in the latest Android client (as of 3/9/2015) with internet networks where the provider resolves all DNS queries to an IP address (e.g. T-Mobile, Cox Cable, and lots of others).
    Essentially, sometimes I have noticed my android client stuck on "Signing in".  The diagnostic logs show that the client is attempting to resolve http://lyncdiscover.contoso.com (which is not resolvable
    externally), but T-Mobile is sending it into a search engine.  The app continues to try to connect despite not realizing that it really did not resolve properly.  See below logs.
    <html><head><meta http-equiv="refresh" content="0;url=http://lookup.t-mobile.com/index.php?origURL=http://lyncdiscoverinternal.contoso.com/"/></head><body><script type="text/javascript">window.location="http://lookup.t-mobile.com/index.php?origURL="+escape(window.location)+"&r="+escape(document.referrer);</script></body></html>
    </ReceivedResponse>
    Mar 9, 2015 8:26:50 AM ERROR LYNC: ERROR TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/1874:Accept-types (application/vnd.microsoft.rtc.autodiscover+xml;v=1) not found in Content-Type response from server (text/html). Not decoding.
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/requestprocessor/private/CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x9a306048)
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CTransportRequestRetrialQueue.cpp/822:Req. completed, Stopping timer.
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUrlRedirectAndTrustResolver.cpp/610:UrlRedirectAndTrustResolver complete with url = http://lyncdiscoverinternal.contoso.com/, Hops = 1, status = E_ResponseUnknown (E2-1-5)
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CTransportRequestRetrialQueue.cpp/725:Response received for req. UrlTrustResolver(0x9a306048): E_ResponseUnknown (E2-1-5) (RemoteNetworkPermanentError); Done with req.; Stopping resend timer
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/393:CUcwaAutoDiscoverGetUserUrlOperation::onEvent received. Status = E_ResponseUnknown (E2-1-5), url = http://lyncdiscoverinternal.contoso.com/
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation completed with url = http://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected], userUrl = , status = E_ResponseUnknown (E2-1-5)
    Mar 9, 2015 8:26:50 AM DEBUG SigningInActivity: onStop()
    Mar 9, 2015 8:26:50 AM DEBUG SigninActivity: onStop()
    Mar 9, 2015 8:27:20 AM DEBUG HubActivity: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG MyStatusFragment: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG ContactsFragment: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG HubActivity: onStop()
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/objectmodel/private/CApplication.cpp/944:CApplication::serialize() called
    Mar 9, 2015 8:27:20 AM VERBOSE LYNC: VERBOSE APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/privateandroid/CCredentialStore.cpp/90:storing credentials for service:0
    Mar 9, 2015 8:27:20 AM VERBOSE LYNC: VERBOSE APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/privateandroid/CCredentialStore.cpp/90:storing credentials for service:1
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/objectmodel/private/CBasePersistableEntity.cpp/179:Storing 1 out-of-sync Object Models took 32ms
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO UTILITIES /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/platform/persistentstorage/private/CBasePersistableComponent.cpp/245:Storing 3 out-of-sync components took 1ms
    Mar 9, 2015 8:27:20 AM INFO PreferencesManager: commit is called on
    Mar 9, 2015 8:27:20 AM DEBUG MyStatusFragment: onStop()
    Mar 9, 2015 8:27:20 AM DEBUG ContactsFragment: onStop()
    Mar 9, 2015 8:27:27 AM ERROR HttpConnection: org.apache.http.conn.HttpHostConnectException: Connection to https://lyncdiscoverinternal.contoso.com refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    at com.microsoft.office.lync.platform.http.HttpEngine.execute(HttpEngine.java:502)
    at com.microsoft.office.lync.platform.http.HttpConnection$1.run(HttpConnection.java:219)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to /198.105.244.104 (port 443) after 180000ms: isConnected failed: ECONNREFUSED (Connection refused)
    at libcore.io.IoBridge.isConnected(IoBridge.java:238)
    at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    at libcore.io.IoBridge.connect(IoBridge.java:122)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
    at java.net.Socket.connect(Socket.java:882)
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
    ... 12 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    ... 19 more
    Since DNS overrides by ISPs are a common occurance, I believe the app should properly handle this situation.  I installed an app to override my DNS and use Google's DNS servers, and the client connects fine.

    Hi,
    Did you login Lync 2013 mobile client internal or external the company?
    Did the issue also happen for IOS/Windows Phones or just happen for Android Phones?
    Please try to check if the issue only happen for your mobile Lync client or also happen for other Android mobile clients.
    If the issue only happen for your Android mobile, please try to uninstall Lync client and install the latest version from Android Market and test the issue again.
    If the issue happen for multiple mobile clients, please double check the Reverse Proxy settings, if you use IIS ARR for Reverse Proxy, you can troubleshooting with the help of the link below:
    http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
    Best Regards,
    Eason Huang
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
    Eason Huang
    TechNet Community Support
    Ok, I figured out that I had a partial misconfiguration, but the existing client behavior still leads to long delays on a variety of networks.  I had the reverse proxy forwarding into port 80 instead of 8080, which seemingly caused problems
    during the second autodiscovery phase after the first timed out.   I have since confirmed that it's not just T-Mobile, but any such provider (e.g. Cox Cable, see below) that resolves all DNS entries.
    Essentially, the following is happening:
    1) Client attempts to resolve lyncdiscoverinternal first.
    2) DNS record resolves to ISP's website, because they resolve everything and will return their own page if the entry really doesn't exist.
    3) Lync client continues to try to connect to the ISP's address, and sits for at least a minute until it eventually falls to the lyncdiscover record.
    From the below log entries, you can see that the login process is delayed a full minute due to the client being stuck on the lyncdiscoverinternal record!  Again, this does not occur on ISPs that do not catch all DNS resolution
    attempts, regardless of validity.
    Mar 9, 2015 8:10:04 PM INFO HttpConnection: originalurl is
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected] method Get
    Mar 9, 2015 8:10:04 PM INFO HttpConnection: decodedurl is
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected]
    Mar 9, 2015 8:10:04 PM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/689:<SentRequest>
    GET
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected] 9, 2015 8:10:05 PM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation
    completed with url =
    http://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected], userUrl = , status = E_ResponseUnknown (E2-1-5)
    GET http://lyncdiscoverinternal.contoso.com/
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html><head><meta">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta
    http-equiv="refresh" content="0;url=http://finder.cox.net/main?InterceptSource=0&ClientLocation=us&ParticipantID=96e687opkbv4scrood8k84drs6gw5duf&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Flyncdiscoverinternal.contoso.com%2F&AddInType=4&Version=2.1.8-1.90base&Referer=&Implementation=0&method=GET"/><script
    type="text/javascript">url="http://finder.cox.net/main?InterceptSource=0&ClientLocation=us&ParticipantID=96e687opkbv4scrood8k84drs6gw5duf&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Flyncdiscoverinternal.contoso.com%2F&AddInType=4&Version=2.1.8-1.90base&Referer=&Implementation=0&method=GET";if(top.location!=location){var
    w=window,d=document,e=d.documentElement,b=d.body,x=w.innerWidth||e.clientWidth||b.clientWidth,y=w.innerHeight||e.clientHeight||b.clientHeight;url+="&w="+x+"&h="+y;}window.location.replace(url);</script></head><body></body></html>
    </ReceivedResponse>
    Mar 9, 2015 8:10:21 PM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaDataSynchronizer.cpp/799:Mode 0
    timed out
    Mar 9, 2015 8:11:08 PM ERROR HttpConnection: org.apache.http.conn.HttpHostConnectException:
    Connection to https://lyncdiscoverinternal.contoso.com refused
     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
    Mar 9, 2015 8:11:08 PM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/1032:<ReceivedResponse>
    GET http://lyncdiscover.contoso.com/

  • Connection Failed: The server "name" may not exist or it is unavailable...

    So I think I know what caused this problem, but I can't figure out how to make it stop...
    When I go to print, if I try to click on the pop-up to change the default printer setting, there's a LONG delay, then I get a dialog that says:
    Connection Failed
    The server "name" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, then try again.
    Then there's another delay and I get the message a second time. I can then select any of my printer settings and print fine, it's just an annoying delay if I click on that pop-up accidentally or need to change it.
    I have a new iMac and I migrated from my old G5. The "name" of the server it is seeking is my old G5, so that must be in the settings somewhere, but I can't find it. I tried going into the Print & Fax settings in System Preferences, deleting the printer there, and then re-adding, but that didn't clear it up.
    Thanks for any insight you can provide!
    --John

    Hmm, well, this stopped working again for me. I tried swapping ethernet and re-installing the Airport client update - to no avail. I could always see my Mac shares from PCs though. However, I have (for now) managed to connect to the PC using ip address rather than name even though finder quite clearly sees the name. Does your printer connection work by ip rather than name ? I'm going to play name lookup detective for a bit now - it's some kind of Netbios name lookup issue I guess as I've no local DNS service. resolv.conf is apparently not used so a bit of learning to do! ...
    ... nmblookup seems to work but nslookup doesn't. Looks like SL connect via Finder isn't using nmblookup properly and I can't see how to make that work. When this gets reported enough it should get a publicised work-round or a fix. If only I can get dig/nslookup to slave out to nmblookup ...must be something I can configure for that ??

  • How can I force TestStand to create multiple instance of an activex server instead of share the same reference?

    Hi, All:
         I am trying to migrate a application coded by VC++ to TestStand+CVI. This application opens multiple serial com ports and send commands to test targets, and get responses from these targets. The VC++ application creates multiple thread, and every thread create an activeX server instance which is responsible for opening serial port,sending test commands ,and getting response. It works fine as every thread has itsown activeX instance, so data and commands can be handled in the right serial port successfully.
         Yet when I works on TestStand, I got problems. I choose parallel model as the process model. I create a activeX object reference with AxtiveX/COM Adapter, and store the reference in a sequence local varialbe. If there is only 1 testsocket, It is OK. But if there are multiple test sockets, and communication between the application and test targets will be directly to the last test target. I try to popup a message within a execution to indicate the value of the activeX object reference, and all of them are identical. But this is not the behavior I want.
        So, is it possible to force TestStand to create independent instances of an activeX server? How can I make it work?
    Thanks

    Thanks for your comment, Dan.
          Yet I do get problems as none of us know how to program an activeX server so that it can be forced to be a single-instance or multiple-instance.
    As I mentioned earlier, there is existing application which is written by VC++ can create multiple instances of this activeX server, all I have to do is to create multiple threads, and initiate an instance of this server to contrl multiple test targets.
         My colleague said he creates the server with VC++ ATL, and cofigure it to be dual-interface and STA. And in the VC++ application side(client side), I use smart-pointer in threads to create an instance of the server:
     IMySerialServer pIMySerialServer;
      HRESULT hr = pIMySerialServer.CreateInstance("UUTCmd.MySerialServer");
      if(FAILED(hr))
       AfxMessageBox("Fail to create instance.");
    And then I got multple instances of the activeX server. Every thread can have itsown com port, can send/receive commands indepently. I have no idea how can I make it work on TestStand. Would you show me some reference documents or sample codes?
    Thank you
    Cipher

  • Wireless Clients failing to authenticate via the RADIUS

    Hi friends
    I am trying to use Radius server (NPS) to authenticate my wireless users using 1941W router.
    For some reason it cannot authenticate successfully. I checked the radius server is reachable but still I dont see any luck.
    the config is like this:
    ***************Config snap shot*********************
    aaa new-model
    aaa group server radius group1
    server 10.32.0.154 auth-port 1812 acct-port 1813
    aaa authentication login EAP group group1
    aaa session-id common
    dot11 syslog
    dot11 ssid CORP
       vlan 320
       authentication open eap EAP
       mbssid guest-mode
    interface Loopback1
    ip address 10.51.240.1 255.255.255.255
    no ip route-cache
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption vlan 320 mode ciphers aes-ccm
    ssid CORP
    antenna gain 0
    mbssid
    station-role root
    interface Dot11Radio0.1
    encapsulation dot1Q 320 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface GigabitEthernet0
    description the embedded AP GigabitEthernet 0 is an internal interface connecting AP with the host router
    no ip address
    no ip route-cache
    interface GigabitEthernet0.1
    encapsulation dot1Q 320 native
    no ip route-cache
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface BVI1
    ip address 10.51.246.2 255.255.255.0
    no ip route-cache
    ip default-gateway 10.51.246.1
    ip radius source-interface Loopback1
    radius-server host 10.32.0.154 auth-port 1812 acct-port 1646 key V3rv3@mc0m
    bridge 1 route ip
    *********************End of config snap shot*********************
    When i run the debug i see the following messages which I am still trying to understand thought it would be worthwhile mentioning here:
    *******************Debug**********************
    AP1#
    *Mar  1 01:04:41.951: AAA/BIND(0000001E): Bind i/f
    *Mar  1 01:04:41.951: dot11_auth_add_client_entry: Create new client 2477.037e.22d4 for application 0x1
    *Mar  1 01:04:41.951: dot11_auth_initialize_client: 2477.037e.22d4 is added to the client list for application 0x1
    *Mar  1 01:04:41.951: dot11_auth_add_client_entry: req->auth_type 0
    *Mar  1 01:04:41.951: dot11_auth_add_client_entry: auth_methods_inprocess: 2
    *Mar  1 01:04:41.951: dot11_auth_add_client_entry: eap list name: EAP
    *Mar  1 01:04:41.951: dot11_run_auth_methods: Start auth method EAP or LEAP
    *Mar  1 01:04:41.951: dot11_auth_dot1x_start: in the dot11_auth_dot1x_start
    *Mar  1 01:04:41.951: dot11_auth_dot1x_send_id_req_to_client: Sending identity request to 2477.037e.22d4
    *Mar  1 01:04:41.951: EAPOL pak dump tx
    *Mar  1 01:04:41.951: EAPOL Version: 0x1  type: 0x0  length: 0x002F
    *Mar  1 01:04:41.951: EAP code: 0x1  id: 0x1  length: 0x002F type: 0x1
    030017B0: 0100002F 0101002F 01006E65 74776F72  .../.../..networ
    030017C0: 6B69643D 56434F52 502C6E61 7369643D  kid=VCORP,nasid=
    030017D0: 4B414C2D 30322D41 50312C70 6F727469  KAL-02-AP1,porti
    030017E0: 643D30                               d=0
    *Mar  1 01:04:41.955: dot11_auth_send_msg:  sending data to requestor status 1
    *Mar  1 01:04:41.955: dot11_auth_send_msg: Sending EAPOL to requestor
    *Mar  1 01:04:41.955: dot11_auth_dot1x_send_id_req_to_client: Client 2477.037e.22d4 timer started for 30 seconds
    *Mar  1 01:04:41.955: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
    *Mar  1 01:04:41.955: EAPOL pak dump rx
    *Mar  1 01:04:41.955: EAPOL Version: 0x1  type: 0x1  length: 0x0000
    033E86E0:          01010000                        ....
    *Mar  1 01:04:41.955: dot11_auth_dot1x_run_rfsm: Executing Action(CLIENT_WAIT,EAP_START) for 2477.037e.22d4
    *Mar  1 01:04:41.955: dot11_auth_dot1x_send_id_req_to_client: Sending identity request to 2477.037e.22d4
    *Mar  1 01:04:41.959: EAPOL pak dump tx
    *Mar  1 01:04:41.959: EAPOL Version: 0x1  type: 0x0  length: 0x002F
    *Mar  1 01:04:41.959: EAP code: 0x1  id: 0x2  length: 0x002F type: 0x1
    03001A20: 0100002F 0102002F 01006E65 74776F72  .../.../..networ
    03001A30: 6B69643D 56434F52 502C6E61 7369643D  kid=VCORP,nasid=
    03001A40: 4B414C2D 30322D41 50312C70 6F727469  KAL-02-AP1,porti
    03001A50: 643D30                               d=0
    *Mar  1 01:04:41.959: dot11_auth_send_msg:  sending data to requestor status 1
    *Mar  1 01:04:41.959: dot11_auth_send_msg: Sending EAPOL to requestor
    *Mar  1 01:04:41.959: dot11_auth_dot1x_send_id_req_to_client: Client 2477.037e.22d4 timer started for 30 seconds
    *Mar  1 01:04:41.963: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
    *Mar  1 01:04:41.963: EAPOL pak dump rx
    *Mar  1 01:04:41.963: EAPOL Version: 0x1  type: 0x0  length: 0x0012
    *Mar  1 01:04:41.963: EAP code: 0x2  id: 0x1  length: 0x0012 type: 0x1
    033603C0:                            01000012              ....
    033603D0: 02010012 01564552 56455C47 30373532  .....VERVE\G0752
    033603E0: 3736                                 76
    *Mar  1 01:04:41.963: dot11_auth_parse_client_pak: id is not matching req-id:1resp-id:2, waiting for response
    *Mar  1 01:04:41.963: dot11_auth_parse_client_pak: Received EAPOL packet from 2477.037e.22d4
    *Mar  1 01:04:41.963: EAPOL pak dump rx
    *Mar  1 01:04:41.963: EAPOL Version: 0x1  type: 0x0  length: 0x0012
    *Mar  1 01:04:41.963: EAP code: 0x2  id: 0x2  length: 0x0012 type: 0x1
    033AEE90:                   01000012 02020012          ........
    033AEEA0: 01564552 56455C47 30373532 3736      .VERVE\G075276
    *Mar  1 01:04:41.963: dot11_auth_dot1x_run_rfsm: Executing Action(CLIENT_WAIT,CLIENT_REPLY) for 2477.037e.22d4
    *Mar  1 01:04:41.963: dot11_auth_dot1x_send_response_to_server: Sending client 2477.037e.22d4 data to server
    *Mar  1 01:04:41.963: AAA/AUTHEN/PPP (0000001E): Pick method list 'EAP'
    *Mar  1 01:04:41.963: dot11_auth_dot1x_send_response_to_server: Started timer server_timeout 60 seconds
    *Mar  1 01:04:41.963: %AAA-3-BADSERVERTYPEERROR: Cannot process authentication server type *invalid_group_handle*
    *Mar  1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: Received server response: FAIL
    *Mar  1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: found eap pak in server response
    *Mar  1 01:04:41.963: Client 2477.037e.22d4 failed: EAP reason 2
    *Mar  1 01:04:41.963: dot11_auth_dot1x_parse_aaa_resp: Failed client 2477.037e.22d4 with aaa_req_status_detail 2
    *Mar  1 01:04:41.963: dot11_auth_dot1x_run_rfsm: Executing Action(SERVER_WAIT,SERVER_FAIL) for 2477.037e.22d4
    *Mar  1 01:04:41.963: dot11_auth_dot1x_send_response_to_client: Forwarding server message to client 2477.037e.22d4
    *Mar  1 01:04:41.963: EAPOL pak dump tx
    *Mar  1 01:04:41.963: EAPOL Version: 0x1  type: 0x0  length: 0x0004
    *Mar  1 01:04:41.963: EAP code: 0x4  id: 0x2  length: 0x0004
    03001DC0:                   01000004 04020004          ........
    03001DD0:
    *Mar  1 01:04:41.963: dot11_auth_send_msg:  sending data to requestor status 1
    *Mar  1 01:04:41.967: dot11_auth_send_msg: Sending EAPOL to requestor
    *Mar  1 01:04:41.967: dot11_auth_dot1x_send_response_to_client: Started timer client_timeout 30 seconds
    *Mar  1 01:04:41.967: dot11_auth_dot1x_send_client_fail: Authentication failed for 2477.037e.22d4
    *Mar  1 01:04:41.967: dot11_auth_send_msg:  sending data to requestor status 0
    *Mar  1 01:04:41.967: dot11_auth_send_msg: client FAILED to authenticate 2477.037e.22d4, node_type 64 for application 0x1
    *Mar  1 01:04:41.967: dot11_auth_delete_client_entry: 2477.037e.22d4 is deleted for application 0x1
    *Mar  1 01:04:41.967: %DOT11-7-AUTH_FAILED: Station 2477.037e.22d4 Authentication failed
    *Mar  1 01:04:41.967: dot11_auth_client_abort: Received abort request for client 2477.037e.22d4
    *Mar  1 01:04:41.967: dot11_auth_client_abort: No client entry to abort: 2477.037e.22d4 for application 0x1
    Any Idea where the problem could be?
    Regards,
    Mohit

    Just to add here, i ran another command on the AP/Router which indicates to me that there was no response from the Radius server.
    KAL-02-AP1#sh radius statistics
                                      Auth.      Acct.       Both
             Maximum inQ length:         NA         NA          1
           Maximum waitQ length:         NA         NA          2
           Maximum doneQ length:         NA         NA          1
           Total responses seen:          0          0          0
         Packets with responses:          0          0          0
      Packets without responses:         12          0         12
      Access Rejects           :          0
    Average response delay(ms):          0          0          0
    Maximum response delay(ms):          0          0          0
      Number of Radius timeouts:         48          0         48
           Duplicate ID detects:          0          0          0
    Buffer Allocation Failures:          0          0          0
    Maximum Buffer Size (bytes):        186          0        186
    Source Port Range: (2 ports only)
    1645 - 1646
    Last used Source Port/Identifier:
    1645/12
    1646/0
      Elapsed time since counters last cleared: 1h52m

  • ConfigMgr 2012 R2 Client Failes to Install on HP EliteBook laptops with Synaptics Touchpad drivers

    I've come across a fairly frustrating issue that has been taking up way too much of my time that past week or so. The issue started a little after some of our larger sites were migrated from SCCM 2007 to SCCM 2012. I started getting complaints that one of
    our technical workstations (HP 8770w) was not deploying properly. I started investigating the issue and the problem involved the removal of the old ConfigMgr 2007 client and install of the new SCCM 2012 R2 client.
    The Windows 7 x64 OS WIM that I am using is one that was migrated from the 07 to 2012 environment and it has been working fine. During the Setup Windows and ConfigMgr step the old client is removed and the new one for the 2012 environment installs. There
    has not been any issues with this, but I feel something has changed now that we are deploying the 2012 R2 client.
    Back to the issue, what happens is that the ConfigMgr client fails to uninstall the old client. Looking in the client.msi_uninstall file you will see that it is unable to locate a couple of SCCM 2007 configmgr client patches that were installed so it can
    uninstall it. I get the "Couldn't find local patch ''. Looking for it at its source." line in the uninstall file. When I look for that under HKEY_CLASSES_ROOT\Installer\Patches the ENTIRE directory structure is empty. There is not a single item
    listed under patches.
    Since the only thing that happens in between the pushing down of the WIM and installing the configmgr client is the drivers that is where I started to look. I started over with the basics (disk and network driver) and it was able to complete the OSD process
    (like the other 30+ models we currently support). I added drivers one by one having the system re-image each time. When I got to the Synaptics TouchPad drivers the issue would return. I've tried around 5 different drivers offered from the vendor and they
    all result in the same behavior.
    I'm still actively troubleshooting how to FIX this issue, but I have no idea why this is going on. I thought I would share with the community on this issue and see if anyone else has observed this VERY odd behavior.
    Here is a snippet from the client.msi_uninstall log:
    === Verbose logging started: 1/15/2014  22:59:34  Build type: SHIP UNICODE 5.00.7601.00  Calling process: D:\_SMSTaskSequence\OSD\GAS000EF\ccmsetup.exe ===
    MSI (c) (6C:BC) [22:59:34:264]: Resetting cached policy values
    MSI (c) (6C:BC) [22:59:34:264]: Machine policy value 'Debug' is 0
    MSI (c) (6C:BC) [22:59:34:264]: ******* RunEngine:
               ******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
               ******* Action:
               ******* CommandLine: **********
    MSI (c) (6C:BC) [22:59:34:264]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (6C:BC) [22:59:34:264]: Grabbed execution mutex.
    MSI (c) (6C:BC) [22:59:34:264]: Cloaking enabled.
    MSI (c) (6C:BC) [22:59:34:264]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (6C:BC) [22:59:34:264]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (00:80) [22:59:34:264]: Running installation inside multi-package transaction {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
    MSI (s) (00:80) [22:59:34:264]: Grabbed execution mutex.
    MSI (s) (00:D4) [22:59:34:264]: Resetting cached policy values
    MSI (s) (00:D4) [22:59:34:264]: Machine policy value 'Debug' is 0
    MSI (s) (00:D4) [22:59:34:264]: ******* RunEngine:
               ******* Product: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}
               ******* Action:
               ******* CommandLine: **********
    MSI (s) (00:D4) [22:59:34:264]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (00:D4) [22:59:34:405]: SRSetRestorePoint skipped for this transaction.
    MSI (s) (00:D4) [22:59:34:405]: End dialog not enabled
    MSI (s) (00:D4) [22:59:34:405]: Original package ==> C:\Windows\Installer\b8ba.msi
    MSI (s) (00:D4) [22:59:34:405]: Package we're running from ==> C:\Windows\Installer\b8ba.msi
    MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall Flags override found.
    MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall VersionNT override found.
    MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: Uninstall ServicePackLevel override found.
    MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: looking for appcompat database entry with ProductCode '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}'.
    MSI (s) (00:D4) [22:59:34:405]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (00:D4) [22:59:34:420]: MSCOREE not loaded loading copy from system32
    MSI (s) (00:D4) [22:59:34:420]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
    MSI (s) (00:D4) [22:59:34:420]: Couldn't find local patch ''. Looking for it at its source.
    MSI (s) (00:D4) [22:59:34:420]: Resolving Patch source.
    MSI (s) (00:D4) [22:59:34:420]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (00:D4) [22:59:34:420]: User policy value 'DisableMedia' is 0
    MSI (s) (00:D4) [22:59:34:420]: Machine policy value 'AllowLockdownMedia' is 0
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Media enabled only if package is safe.
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Looking for sourcelist for product {D478B8EE-EE0A-4004-980B-4D55533EE3C2}
    MSI (s) (00:D4) [22:59:34:420]: Note: 1: 1706 2: {D478B8EE-EE0A-4004-980B-4D55533EE3C2} 3: 
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Failed to resolve source
    MSI (s) (00:D4) [22:59:34:420]: Searching provided command line patches for patch code {D478B8EE-EE0A-4004-980B-4D55533EE3C2}
    MSI (s) (00:D4) [22:59:34:420]: Could not find source for missing patch {D478B8EE-EE0A-4004-980B-4D55533EE3C2} -- orphaning this patch
    MSI (s) (00:D4) [22:59:34:420]: Couldn't find local patch ''. Looking for it at its source.
    MSI (s) (00:D4) [22:59:34:420]: Resolving Patch source.
    MSI (s) (00:D4) [22:59:34:420]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Media enabled only if package is safe.
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Looking for sourcelist for product {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE}
    MSI (s) (00:D4) [22:59:34:420]: Note: 1: 1706 2: {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE} 3: 
    MSI (s) (00:D4) [22:59:34:420]: SOURCEMGMT: Failed to resolve source
    MSI (s) (00:D4) [22:59:34:420]: Searching provided command line patches for patch code {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE}
    MSI (s) (00:D4) [22:59:34:420]: Could not find source for missing patch {599B62C0-F1BE-4FE8-80D9-36937D5DDBFE} -- orphaning this patch
    MSI (s) (00:D4) [22:59:34:420]: SequencePatches starts. Product code: {2609EDF1-34C4-4B03-B634-55F3B3BC4931}, Product version: 4.00.6487.2000, Upgrade code: {252DA259-82CA-4177-B8D0-49C78937BA3E}, Product language 1033
    MSI (s) (00:D4) [22:59:34:420]: SequencePatches returns success.
    MSI (s) (00:D4) [22:59:34:420]: Final Patch Application Order:
    MSI (s) (00:D4) [22:59:34:420]: Other Patches:
    MSI (s) (00:D4) [22:59:34:420]: Internal Exception during install operation: 0xc0000005 at 0x000007FEFDBF35E1.
    MSI (s) (00:D4) [22:59:34:420]: WER report disabled for silent install.
    MSI (s) (00:D4) [22:59:34:420]: Internal MSI error. Installer terminated prematurely.
    MSI (s) (00:D4) [22:59:34:420]: MainEngineThread is returning 1603
    MSI (s) (00:80) [22:59:34:420]: No System Restore sequence number for this installation.
    Unexpected Termination
    MSI (s) (00:80) [22:59:34:420]: User policy value 'DisableRollback' is 0
    MSI (s) (00:80) [22:59:34:420]: Machine policy value 'DisableRollback' is 0
    MSI (s) (00:80) [22:59:34:420]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (00:80) [22:59:34:420]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (00:80) [22:59:34:420]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (00:80) [22:59:34:420]: Restoring environment variables
    MSI (c) (6C:BC) [22:59:34:420]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (6C:BC) [22:59:34:420]: MainEngineThread is returning 1603
    === Verbose logging stopped: 1/15/2014  22:59:34 ===

    @Narcoticoo
    I've not used the tool. This issue has also expanded since the original title as I'm getting the same behavior with the driver package that does not include the Touchpad driver anymore. I'm currently going back to just the network and storage driver to see
    if it works or not.
    However, this is the bigger issue I have:
    I have an older build called Build 5.7 internally. Using that WIM and the same driver package (original one that has the Touchpad driver included) it works without issue. Never had a problem.
    The new build is called Build 6.0 internally. This WIM and the same driver package has not been working at all.
    We support about 35 models with our current Windows 7 x64 image and I am having the same failure issue on four different HP models. They are the 8770w, ZBook 17, Z600 and Z820. The majority of the other systems are Dell devices. Just for transparency sakes,
    nothing Dell specific is in the core WIM that is captured.
    So, Build 5.7 can deploy just fine on all pieces of hardware with their old driver packages. The new Build 6.0 intalls on almost every platform fine with their old driver packages. These four HP systems are nothing but trouble though. I've opened a case
    with HP to see if they have noticed anything internally. I'm not too hopeful, but at least it is something. Maybe there is some odd conflict with a newer Windows patch or some odd dependency on older HP drivers. The new image has .NET 4.5.1, IE 10 and so forth.

  • Copy file from client PC to server in a web deployed application

    I have developed one application using Oracle forms 6i, which is deployed on the web server.
    I run this application from a client PC in Internet Explorer using internet.
    I want to copy one file from the client PC to the web server.
    I have done following things
    - Created a shared folder on the server and given full rights to every one on this folder
    - I use 'net use' command in my program to connect to this shared folder
    - I use copy command to copy file from local client pc to server. This copy command I am executing using host command of my programming (PL/SQL: eg. host('copy abc.txt \\server\share\') )
    But this does not work.
    When I do the same thing in command window, it works.
    (ie. Start-Run cmd to open command window and then type the above copy command)
    Can you please tell me, how to copy a file from client PC to the sever in Web deployed application?
    Thanks

    I downloaded D2KWUtil from the link suggested by you. It has very nice example demo form. But the documentation provided says following
    Using D2KWUTIL in Web Deployed Applications
    The use of this library is not supported with Web deployed applications.
    In a web deployment scenario not all functions within D2KWUTIL will work. Any function that interacts with the User Interface (such as those in the WIN_API_DIALOG package) will fail.
    Any interaction with the O/S by other functions will all be executed on the NT server and will act within, or return information pertinant to, the environment on that machine. For instance GET_COMPUTER_NAME will return the Server’s name, not the name of the computer that the Client browser is running on. Likewise COPY_FILE will copy files in the Forms Server not on the Client.
    Functions such as those in WIN_API_BITOP will continue to work without change.
    so this will not work in web deployed application.
    Any other suggestion?
    Thanks

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed

    Hello,
    I am trying to install Microsoft SQL Server 2008 R2. I get the error bellow (Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed). I already have a copy of SQL Server 2008 R2 on the machine.
    I want to create a new named instance of SQL Server for some software I'm installing.
    The error is below.
    Any help would be much appreciated, thanks!
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Exit code (Decimal):           -595541211
      Exit facility code:            1152
      Exit error code:               49957
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Start time:                    2014-02-06 09:14:09
      End time:                      2014-02-06 11:18:16
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0x44D4F75E%400xDC80C325
    Machine Properties:
      Machine name:                  BAHPBZ52TY
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      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
      Sql Server 2008 R2   SQLEXPRESS           MSSQL10_50.SQLEXPRESS          Database Engine Services                
    1033                 Express Edition      10.50.1600.1    No        
      Sql Server 2008 R2                                                      
    Management Tools - Basic                 1033                 Express Edition     
    10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      Installation location:         c:\c7ced2c86d6b9813b28186cc831c2054\x64\setup\
      Installation edition:          EXPRESS_ADVANCED
      Slipstream:                    True
      SP Level                       1
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      True
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             
      CUSOURCE:                      
      ENABLERANU:                    True
      ENU:                           True
      ERRORREPORTING:                False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,RS,SSMS,SNAC_SDK,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              c:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           c:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    aedt2bSQL
      INSTANCENAME:                  AEDT2BSQL
      ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     c:\c7ced2c86d6b9813b28186cc831c2054\PCUSOURCE
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           BAH\568385
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Full-Text Search
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Reporting Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Management Tools - Basic
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync Framework
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\SystemConfigurationCheck_Report.htm

    Hello,
    If you see error descriptioon it gives access denied so basically it is because of some access issue.I guess You must be using some domin account for installation make sure it is  added as local administrator also instead of using NT Authority network
    service  as SQL server service account use local system account .
    Below link would help
    http://serverfault.com/questions/212135/access-is-denied-error-installing-sql-server-2008-on-windows-7
    You can also browse to setup.exe file and RK on it and select run as administrator
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • Using iPhone 3GS Internet Tethering

    Before I change my data plan I want to be sure this works....I have purchased a Acer Iconia A500 Tablet and was wondering if using Internet Tethering on my iPhone 3GS will work. The Acer support site says you can use a smartphone if it is capable of

  • Another Mail question about certificates.

    Hi all I know there have been a lot of posts on that but I didn't find any answer working. I have an IMAP account whose certificate is said to be invalid by Mail.app. I tried ticking the always trust box, it did not change anything. Mail won't trust

  • Two email issues

    I am new to Blackberry so I apologize if these are easy fixes that I have missed. I am having two very annoying messaging problems on my phone. First, I have an icon that tells me I have two new messages at all times -- even when the inbox is complet

  • When I acquired my Mac computer just over one year ago it had the Numbers App. now that has disappeared

    I have an iMac purchased November 2013. When purchased it had Numbers already on. Now that App has disappeared. I last used the App in March 2014.

  • What are the installation steps for Oracle Fusion HCM

    Hi all I will like to ask, what are the installation steps for Oracle Fusion HCM as well as can it work on Windows or only on virtual machine? Thanks