Lun & path no longer available???

Aloha,
i've been getting these errors for the past couple of days... things are still working okay... im thinking this is related to my MDC and LUN???? here is the error i recieve through the system admin email notification!!!
Fibre channel activity and failures:
11:36:18: Path 00:00:00:00:00:00:00:00 is no longer available
11:36:18: LUN 00:00:00:00:00:00:00:000 is no longer available
11:36:18: LUN 00:00:00:00:00:00:00:000 is no longer available
i tested read & write from this computer and it works just fine... what am i looking at here??? PLEASE HELP!!!
Dan808

Do you use zoning in your FC switch, and are the settings of the FCports on the FCswitch as described in the reference manual:
For hosts:
- I/O streamguard: enabled
- Device Scan : disabled
For targets (xraids):
- I/O streamguard: disabled
- Device Scan: enabled
Each client/MDC should be in a seperate zone which include:
- the host
- the luns of the xsan volumes it sould see (excluding the MD and journal lun)
Hope this helps.
Donald
Macbook   Mac OS X (10.4.9)  

Similar Messages

  • New LUN Takes A long Time To Format and Errors Out

    Good afternoon,<o:p></o:p>
    I have a Hyper-V Cluster composed of 4 nodes and these nodes are able to access multiple CSVs (14 in total). I recently requested a new LUN (LUN 15)to be provisioned
    to my Hyper-V cluster in the size of 500GB. Here is my problem:<o:p></o:p>
    1. Formatting of a 500GB LUN (with quick format selected) should not take more than a few seconds. Instead, the quick format takes about 2hrs if not longer. I have actually
    seen it go for half the day.<o:p></o:p>
    2. Once the formatting has completed (no errors), taking the formatted LUN offline freezes the Computer Management screen and shows the status (Not Responding). This
    will take place for 30 minutes or less and show that the LUN has been taken offline.<o:p></o:p>
    3. In the Failover Cluster Manager, detecting the disks takes about 15 minutes. Once the available LUNs have been detected I can add the 500GB LUN to the Disks screen
    without any problems.<o:p></o:p>
    4. While in the Disks screen, adding the LUN to the Clustered Shared Volumes takes about 5 minutes (too long).<o:p></o:p>
    Already seeing that there is a problem, I went ahead and used the Hyper-V Manager to create a 200GB vhd on the new LUN which has been added to the CSV. The bar indicating
    the progress of the vhd creation does not display any progress (no green progress bar appears, not even a tiny bit of it) and after 3 hours (more or less) I receive an error, stating that the creation of the vhd failed.
    <o:p>NOTE: The vhd shows up in Volume 9 (LUN 15) but I can only bet that it will not work, plus I would not want to work with a vhd file which failed during the
    creation process.</o:p>
    <o:p>Long story short, I repeated the above steps to see if that was a temporary problem, but it is not. The same problem occurs no matter which Hyper-V cluster
    node the operations are performed on. I would like to add, that I tested the creation of a vhd on an already configured LUN and the creation was completed successfully, and within a n expected time frame.</o:p>
    NOTE: When LUN 15 errors out, it's status shows "Failed" in the Failover Cluster Manager. This in turn, causes the re-scanning of available disks to take forever (in Computer Management) and it keeps searching. Pretty
    much, the fail of one LUN affects the entire functionality of the entire Hyper-V Cluster. 
    Errors Listed In Event Details For LUN 15:
    1. Cluster Shared Volume 'Volume9' ('Cluster Disk 5') is no longer accessible from this cluster node because of error 'ERROR_TIMEOUT(1460)'. Please troubleshoot this node's connectivity to the storage device and
    network connectivity.
    Event ID: 5142; Source: Microsoft-Windows Failover Clustering;Task Category: Cluster Shared Volume
    2. Cluster Shared Volume 'Volume9' ('Cluster Disk 5') is no longer available on this node because of 'STATUS_IO_TIMEOUT(c00000b5)'. All I/O will temporarily be queued until a path to the volume is reestablished.
    Event ID: 5120; Source: Microsoft-Windows Failover Clustering;Task Category: Cluster Shared Volume
    3.Cluster resource 'Cluster Disk 5' of type 'Physical Disk' in clustered role '4530acc9-8552-4696-b6c3-636ff8d58c46' failed.
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover
    Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet. 
    Event ID: 1069; Source: Microsoft-Windows Failover Clustering;Task Category: Resource Control Manager
    4.
    Cluster resource 'Cluster Disk 5' (resource type 'Physical Disk', DLL 'clusres.dll') did not respond to a request in a timely fashion. Cluster health detection will attempt to automatically recover by terminating the Resource Hosting Subsystem (RHS)
    process running this resource. This may affect other resources hosted in the same RHS process. The resources will then be restarted. 
    The suspect resource 'Cluster Disk 5' will be marked to run in an isolated RHS process to avoid impacting multiple resources in the event that this resource failure occurs again. Please ensure services, applications, or underlying infrastructure
    (such as storage or networking) associated with the suspect resource is functioning properly.
    Event ID: 1230; Source: Microsoft-Windows FailoverClustering;Task Category: Resource Control Manager
    Any and all help will be appreciated!

    Hi AquilaXXIII,
    What server edition you are using? If you are using 2012r2 as cluster node, please install Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
    update first,
    Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
    http://social.technet.microsoft.com/Forums/en-US/f9c1a5f7-4fcf-409a-8d7e-388b85512bfe/new-lun-takes-a-long-time-to-format-and-errors-out?forum=winserv
    Before you install the new shared storage please first validation this storage first, you can refer the following KB to validation the new LUN.
    Understanding Cluster Validation Tests: Storage
    http://technet.microsoft.com/en-us/library/cc771259.aspx
    I’m glad to be of help to you!
    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.

  • Large number VSS errors "The specified network resource or device is no longer available."

    I have a 2 node Hyper V Cluster backed up via Veeam Off-Host Proxy. I've already logged, without answer, a thread about the Off-Host Proxy server randomly (I guess) creating new duplicate iSCSI connections.
    Today I have a single VM that won't backup. On inspection through the hosting servers Application Log I see a high amount of VSS errors being logged which I believe is possibly related to the iSCSI issue being logged by the SAN.
    I'm not sure how to "show" the issue without a giant wall of the events but there is like half a dozen different events being logged when whatever this is is happening. For instance as well last night 60/61 VMs backed up find, but these errors
    were logged constantly while the backup ran...
    The question as well is is this a Windows/VSS issue, a Veeam issue or a Equallogic issue?
    Also how do I find what '\\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}\'. actually is?
    In order of how they come I guess:
    Log Name:      Application
    Source:        VSS
    Date:          6/01/2015 7:28:19 AM
    Event ID:      8229
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    A VSS writer has rejected an event with error 0x800423f3, The writer experienced a transient error.  If the backup process is retried,
    the error may not reoccur.
    . Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer. 
    Operation:
       PrepareForSnapshot Event
    Context:
       Execution Context: Writer
       Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
       Writer Name: Microsoft Hyper-V VSS Writer
       Writer Instance ID: {881f5207-f769-4b40-986a-c6bd56d8aa1e}
       Command Line: C:\Windows\system32\vmms.exe
       Process ID: 3268
    Log Name:      Application
    Source:        VSS
    Date:          6/01/2015 7:29:31 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine Error calling CreateFile on volume '\\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}\'.  hr = 0x80070037, The specified network resource or device is no longer available.
    Operation:
       Check If Volume Is Supported by Provider
    Context:
       Execution Context: Coordinator
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Volume Name: \\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}\
    Log Name:      Application
    Source:        EqualLogic
    Date:          6/01/2015 7:29:43 AM
    Event ID:      4001
    Task Category: VSS
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    iSCSI logout error 0xEFFF0040 from target NULL.
    Log Name:      Application
    Source:        VSS
    Date:          6/01/2015 7:29:43 AM
    Event ID:      12293
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}. Routine details OnLunStateChange(\\?\mpio#disk&ven_eqlogic&prod_100e-00&rev_7.0_#1&7f6ac24&0&363846433631363644434545463233334146344141353632363038303136#{53f56307-b6bf-11d0-94f2-00a0c91efb8b})
    failed with error 0xefff0040 [hr = 0xefff0040]. 
    Operation:
       Notifying hardware provider to free a drive
       Break with LUN mask
       Delete Shadow Copies
       Processing PostFinalCommitSnapshots
       Executing Asynchronous Operation
    Context:
       Volume Name: \\?\mpio#disk&ven_eqlogic&prod_100e-00&rev_7.0_#1&7f6ac24&0&363846433631363644434545463233334146344141353632363038303136#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
       Volume Name: \\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}
       Snapshot ID: {3091377b-2e26-43ed-a11b-f31adbde0b1f}
       Execution Context: Provider
       Provider Name: Dell EqualLogic VSS HW Provider
       Provider Version: 4.7.1
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Snapshot Context: 4194336
       Provider Name: Dell EqualLogic VSS HW Provider
       Provider Version: 4.7.1
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Current State: DoSnapshotSet
    Log Name:      Application
    Source:        VSS
    Date:          6/01/2015 7:29:43 AM
    Event ID:      12293
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    Volume Shadow Copy Service error: Error calling a routine on a Shadow Copy Provider {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}. Routine details could not free LUN [hr = 0x8004230f, The shadow copy provider had an unexpected error while trying to process the
    specified operation.
    Operation:
       Break with LUN mask
       Delete Shadow Copies
       Processing PostFinalCommitSnapshots
       Executing Asynchronous Operation
    Context:
       Volume Name: \\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}
       Snapshot ID: {3091377b-2e26-43ed-a11b-f31adbde0b1f}
       Execution Context: Provider
       Provider Name: Dell EqualLogic VSS HW Provider
       Provider Version: 4.7.1
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Snapshot Context: 4194336
       Provider Name: Dell EqualLogic VSS HW Provider
       Provider Version: 4.7.1
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Current State: DoSnapshotSet
    (Below logged 3 times)
    Log Name:      Application
    Source:        VSS
    Date:          6/01/2015 7:29:49 AM
    Event ID:      8193
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HOST02.domain.private
    Description:
    Volume Shadow Copy Service error: Unexpected error calling routine Error calling CreateFile on volume '\\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}\'.  hr = 0x80070037, The specified network resource or device is no longer available.
    Operation:
       Check If Volume Is Supported by Provider
    Context:
       Execution Context: Coordinator
       Provider ID: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Volume Name: \\?\Volume{06fba49e-9519-11e4-80cc-000af75dc050}\

    This is the issue having with redundant iSCSI connections being created:
    Not sure this is a Veeam issue, just that it's occurring with Veeam backup process.
    We have a server configured as an Off-Host Proxy with Veeam; it connects to the SAN storage via iSCSI same as the other hosts but accesses the storage as read only.
    Randomly we will get alerts from the SAN as below:
    iSCSI login to target '172.16.0.50:3260, iqn.2001-05.com.equallogic:8-661fc6-e612eedc6-32600005c9254a75-arcvmstore1-2015-01-03-14:13:37.2774.1' from initiator '172.16.0.44:64108, iqn.1991-05.com.microsoft:arcbackproxy.domain.local' failed for the following reason:
    Requested target not found.
    On inspection of the Off-Host Proxy's iSCSI configuration additional iSCSI connections are present as inactive, with an existing connections name amended with the date at the end. For instance (and in the example error above) there will be:
    iqn.2001-05.com.equallogic:8-661fc6-e612eedc6-32600005c9254a75-arcvmstore1
    and
    iqn.2001-05.com.equallogic:8-661fc6-e612eedc6-32600005c9254a75-arcvmstore1-2015-01-03-14:13:37.2774.1
    Not really causing an issue, the backups are running OK, or any issues we have aren't related. But getting annoying getting the alerts from the SAN of the Off-Host Proxy trying to connect to an incorrect iSCSI target.
    Any ideas why this is occurring?
    Obvious is we delete the extra connection, which stops the alert, but the issue will reoccur within a day or two usually.
    Today I found twice the alert as above and sure enough the iSCSI on the Off-Host Proxy is as below:
    Maybe these redunandant connections being created is related? Maybe that's the where the "The specified network resource or device is no longer available." is coming from or something?

  • BMR-SS backup fails with error "the specified network name is no longer available"

    We are running DPM 2012 SP1 on a Windows Server 2008 R2 system, backing up a Windows Server 2012 system that is a DC.  The agent version is 4.1.3417.0.  Both the DPM server and the DC are physical systems - brand new HP Proliant 360's.
    When creating the replicas for the 2012 server the first time, the backups work fine, and then for a day or so after that.  After a couple of days, the BMR-SS backups fail with the error "the specified network name is no longer available".  
    I can watch the backup happening in the Windows Server Backup console on the protected server - the BMR backup goes up to 99% and then fails.  BMR backups on all the other servers are working - we have a mix of Win2008R2 and Win2012. 
    Here is what I have tried:
    I can connect to the UNC path on the backup server without a problem during and after the backup is happening. 
    Tried reinstalling the DPM agent.
    Tried backing up directly from the protected server to another server's network share, which worked.
    I can copy multiple gigabyte files directly from the protected server to the DPM file share without a problem (the same one that DPM uses for the replica)
    Tried turning off the SCEP real-time protection during the backup.
    Any help would be appreciated - thanks.
    KW

    llo Boudewijn
    I followed Boudewijn's suggestion. 
    The Windows 2012R2 servers had no recovery partition in disk C. I created one (400MB) following http://support.microsoft.com/kb/2930294/en-us and
     DPM system restore worked. But just once. 
    So this is not the solution to the problem......
    Is no one else having issues with DPM bare metal protection of Windows 2012R2 servers? 

  • [svn:bz-trunk] 21393: Excluding all tests for bug 184631 as required webservice is no longer available and no bug information exists .

    Revision: 21393
    Revision: 21393
    Author:   [email protected]
    Date:     2011-06-16 08:03:16 -0700 (Thu, 16 Jun 2011)
    Log Message:
    Excluding all tests for bug 184631 as required webservice is no longer available and no bug information exists.
    Modified Paths:
        blazeds/trunk/qa/features/excludes.properties

    It has solved itself today. After making a -Syu today and installing a newer kernel then reinstalling catalyst-dkms from AUR it is working again!! )))) Marking as solved.
    Kernel: 3.9.5-1-ARCH
    Catalyst-dkms: 13.1-2 (instead of newest 13.4-1)
    Last edited by szebenyib (2013-06-14 12:02:42)

  • Uninstalling iTunes when network is no longer available

    How do I uninstall iTunes completely when it used to have a network drive as a path for the music? I have removed that network and now can't re-install iTunes because it tries to check back in with the network drive. It's no longer available and I cannot completely remove iTunes so I can re-install it. ITunes is no longer on my add/remove programs list in the control panel.
    Someone please help!

    Thanks for the reply although I'm not too happy to hear it.  What's awesome about the cloud is no longer having to keep up with any physical media.  The promise of that is realized with everything else (my work, music, books) besides movies and TV.
    I wonder how Google Play will handle movies/tv that becomes unavailable?  Google Play does allow you to download media in some circumstances (on Android and iOS) but is generally intended  for streaming.  Maybe relying on a physical copy as I do with iTunes should make me more comfortable with it and not less. 
    I will come back to mark your reply as the solution as it becomes clear there is not a contrary position.  Thank you.

  • How do I retrieve photo's from Adobe Photoshop Starter edition now that it is no longer available?

    I have photo's that have downloaded into adobe photoshop starter edition which is now no longer available and I am unable to register to unlock it!  Getting very stressed as the programme automatically deleted the photo's from my memory card so the only copies I have are now locked in the catalogue of adobe photoshop!  I tried the online help, followed instructions only to get error messages.  I downloaded a new version of photoshop which took all evening and still cannot retrieve my photos!  Does anyone have any advice on how I may get my photo's back?

    I dunno PS Starter Edition, but I doubt the images exist in self-contained catalogs only. Certainly there is some very big folder ful lof JPEGs on your hard drive. The default path for Adobe stuff is always My Files\My Images\Adobe, so search there. and of course, if you know the name of one of the images, a conventional Windows search will turn it up...
    Mylenium

  • Feature to disable touch screen when pen is detected is no longer available in windows 7

    In N-trig drivers  with windows vista there was an option where one could select the option to disable the touch input when pen in near the screen.  That feature is no longer available when I installed new n-trig drivers in win7.
    I use my tablet a lot to take notes. But with dual mode on it detects input where I rest my palm on the screen to write. Every time I have to go and disable touch input completely before I start writing and enable after I finish. 
    I there any way to enable auto mode with Windows 7 n-trig drivers?
    This question was solved.
    View Solution.

    Thanks for your reply.
    I talked about this with HP tech support and they don't know anything about it. I don't even know whether they are qualified enough to provide support. They were just blaming the problems on Microsoft and N-Trig. I knew the problem is with the drivers and I wanted them to let N-Trig know that people like us are waiting to the Auto feature. But instead of considering my complaint they hung up on me not once but twice.

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • I did not deactivate a photoshop cs6 before there was a new hard drive installed with a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be

    I did not deactivate a photoshop cs6 before there was a new "C" hard drive installed on my computer and a Win7 Pro fresh install too. How can I activate photoshop on the new hardware if I can't deactivate it on the old hardware that is no longer available? Any help will be appreciated.

    If it's the same machine (same CPU) there should not be any need to activate.  The actiovation is tied to your CPU.
    If you run into problems, then:
    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option. 1 (800) 833-6687
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • Error msg,please help :) "The item you tried to buy is no longer available"

    Hi there, I am using a Macbook pro with Leopard with the newest version of iTunes. Many, many times when I have tried to purchase the newest episode of LOST, I click 'purchase' and type in my information and click 'yes', and for an instant it says 'purchasing' and shows the striped purchasing par across the top for only an instant, and then that disappears and an error message comes up, saying
    "The item you tried to buy is no longer available.
    The availability of the item changed while you were using the store.
    The same item may be available with a different price or elsewhere
    on the store."
    In past weeks, I have been eventually able to purchase the episode, after trying to purchase and receiving the same error literally hundreds of times. Why do I try hundreds of times? Because I want to see LOST! And I will have to face the wrath of my disappointed housemates if I fail to present the episode in time. But this is very, very, very, very frustrating! Please help, iTunes! Or anyone, any help will be greatly appreciated. But this glitch has been going on literally for weeks/months! I expected it to be ironed out and fixed completely by now, but it is not at all, it is just as bad as it was when I first noticed it shortly after the beginning of LOST season 4, a few months ago.
    Also, when I try to email iTunes, I am sure that I can email iTunes if I finally pick a subject that does not apply, but I do not want to do that.
    It is also very, very, very frustrating, whenever trying to email iTunes, to be forced into picking a subject from a very, very limited menu. Many questions, such as this question, do not fit at all into any of the choices presented, from which a person is forced to choose a subject, before being allowed to type an email to iTunes.
    I look forward to any help anyone can give regarding this error message, so that I will be able to purchase the new LOST episode from iTunes. Thanks for your help!

    I had the same issue this morning downloading a pre-order of Alanis, Flavors of Entanglement . I noticed that the only thing that had changed fro me was that I had some song credits for purchasing ticketmaster tickets over the past few weeks. When I went ahead and spent my remaining credits... it downloaded with no prompting or trouble. Maybe the credits issues hangs it up?

  • Data no longer available when SALV_WD_TABLE GET_MODEL called

    Hello
    I created a view that retrieves data from one table to select a row in the table and proceed to the second view but I get an error like this:
    Data no longer available when SALV_WD_TABLE GET_MODEL called
    I did check the mapping between my view and the componentcontroller
    thank you

    There are several possiblities for this error.
    1) In your table, is there any field name starts with Number?
    2) Is your application 2 level process?( i mean two views? based on alv another alv)
    and Please check the below note.
    1528254
    and below
    Data no longer available when SALV_WD_TABLE GET_MODEL called
    error while testing a sample web dynpro
    If youare binding dynamically check this thread
    Assigning data to Dynamic ALV
    Regards
    Srinivas
    Edited by: sanasrinivas on Dec 14, 2011 11:51 AM

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    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.

  • Error this object is corrupt or is no longer available while trying to open a embedded files in word 2007 or 2013

    Hi All
    Word 2007 and 2013 always show this error
    This object is corrupt or is no longer available while clicking a embedded files( like pdf, doc and xls). I tried reinstall office 2007, and office 2013. But still have same problems.
    I surf internet, find out solution like turnning  off the add-on,  but not working for me, and I do not install Norton AntiVirus.
    Does anyone know what the solution of this issue is, I do not have any idea right now.
    Thanks in advance!!!!!

    I notice there is a cross post on Answer Forum:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/error-the-object-is-corrupt-or-is-no-longer/fde2160e-fc19-4f90-81db-4f569fac7b95
    Is Dinel's suggestion helpful?
    Tony Chen
    TechNet Community Support

  • I am trying to download words with friends app and it says it is no longer available from itunes.  I had already downloaded it and did a update in my I phone 4 and it is still not letting me download it?

    I am trying to download words with friends and itunes is saying it is no longer available for purchase.  What is going on??I

    First you need to research all the problems people are having with the higher OSX versions, & make sure you have a bootable clone of what you have just in case.
    then you must get 10.6 if they still have it, install it & update to 10.6.8 so you have the App Store to buy & download the huge 10.8 Installer.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 4GB at least, more if you can afford it)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It's been pulled from the online store & Apple Stores, so you have to call Apple to buy it, last I heard.
    Call Apple Sales...in the US: 1-800-MY-APPLE. Or Support... 1-800-275-2273
    Other countries...
    http://support.apple.com/kb/HE57

Maybe you are looking for

  • My not nice story with Nokia Booklet 3G, polish st...

    Dear Sir/Madam, I would like to present my story brieflywith NOKIA service- Regenersis Company (Warsaw). I have bought netbook Nokia Booklet 3G on 08/08/2010.I was fascinated with this machine (due to the advertisement, what later turned to be my cur

  • IPhone 6 Plus IOS v8.1 Slow Motion BROKEN

    Film in either of the two slow motion speeds and plays back ok on phone.  I put the files in the computer (grab the raw file via explorer), on Win 7 Professional, and played with both windows media player AND Quicktime player (up to date players) and

  • People are receiving my iPhone texts as MMS instead of SMS.

    Many of my friends have non-smartphones which cannot open or receive MMS texts. This is a pain when communication is crucial. Sometimes they will receive my text as SMS, but 48 hours late. Others will receive a text from me, only to find it is what a

  • How to Provide Zoom-in/out Facility in SmartForms Report?

    hi all, can someone tell me how to provide Zoom-in/out facility in a smartforms report? We have a report with very small font and we hardly read contents in preview screen. can someone provide some help on this? thanks in advance, sid

  • "Fast Change of" function in VA02

    One of our Customer Order Center people asked if this is possible... Add the following to the "fast change of" function in VA02 so we can change several lines at a time.  - billing date - product hierarchy - router.