Is there a recommanded way to handle Microsoft.ServiceBus.Messaging.ReceiverDisconnectedException?

In our Cloud Service project, we have 2 instances for work role (deploy to Azure), the work role is consume events from the EventHub using EventProcessorHost(host name is RoleInstance name), we send 100 events(event1~event100) to the EventHub, but some time
we will got the Exception:
Microsoft.ServiceBus.Messaging.ReceiverDisconnectedException: A receiver with epoch '3' already exists. A new receiver with epoch 1 cannot be created. TrackingId:5d3f5ed9-c397-42c6-8b9f-5f8f8f904131_G13_B13,TimeStamp:3/4/2015
2:16:33 AM TrackingId:48438925-b879-4b20-b696-2b4fc3066a13_B13, Reference:b158c7f8-917e-4b24-a6f9-2a63e0af4bb9, Timestamp:3/4/2015 2:16:33 AM
   at Microsoft.ServiceBus.Common.ExceptionDispatcher.Throw(Exception exception)
   at Microsoft.ServiceBus.Common.Parallel.TaskHelpers.EndAsyncResult(IAsyncResult asyncResult)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.<CallTask>b__9(TIteratorAsyncResult thisPtr, IAsyncResult r)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
the 2 instances will got the same event(like event25) when we got the exception, so is there a recommended way to handle the exception or do not occur the exception?

You don't need to worry for the exception, it's part of the partition move process from one host to another. When partition ownership changes from host to another new host will start receiving from last check point as expected. So you can expect to see
some duplicates when this happens. The question is that how frequently you're seeing partition ownership changes.

Similar Messages

  • HT4642 Dear Support team,   There are any way to open Microsoft Excel - Office by using CSV format

    Dear Support team,
    There are any way to open Microsoft Excel - Office by using CSV format
    best regards

    For the record, this is a user-to-user support forum. You aren't actually addressing Apple.
    I'm not clear what you are trying to do, but Numbers will open a CVS file adn will export to CVS (as well as Page, Numbers, and PDF) using the document function (looks like a box with an arrow; upper left). If this isn't what you are looking for, perhaps you could provide a bit more detail.

  • I was wondering if there is a way to recover deleted text messages?  I accidently deleted some messages and would like to recover them if I could. Thank you.

    Good day,
    I was wondering if there is a way to recover accidentally deleted messages off an iPhone 4s that does not involve downloading a third party program?  Thank you.

    Restore the phone using a backup made when the messages were present.

  • Is there any other way to handle special characters other than using CDATA?

    I have xerces parser with which i am trying to parse data having special characters. Special characters also include other ascii characters. I tried using CDATA Section but still the problem persists.
    It would be really helpful if anyone can help me in solving this problem.
    Error encountered :
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xf) was found in the CDATA section.
    The XML which I use contains junk characters also . Have a look at the following:
    <?xml version='1.0' encoding='UTF-8' ?>
    <IMAGE_RESPONSE xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='ImageResponse.xsd'>
    <IMG_TYPE>PNG</IMG_TYPE>
    <IMG_WIDTH>650</IMG_WIDTH>
    <IMG_HEIGHT>250</IMG_HEIGHT>
    <IMAGE_DATA>
    <IMGKEY>20020827:00000000:100000000010:02:</IMGKEY>
    <IMAGE_INFO>This is image info</IMAGE_INFO>
    <IMG_SOURCE>DCE_CIMS</IMG_SOURCE>
    <FRONT_IMG_FBW><![CDATA[�����&�J�Z�R��]]></FRONT_IMG_FBW>
    <FBW_ERROR>B</FBW_ERROR>
    <FRONT_IMG_FGS>C</FRONT_IMG_FGS>
    <FGS_ERROR>D</FGS_ERROR>
    <BACK_IMG_BBW>E</BACK_IMG_BBW>
    <BBW_ERROR>D</BBW_ERROR>
    <BACK_IMG_BGS>A</BACK_IMG_BGS>
    <BGS_ERROR>Unable to retrieve Back Gray-Scale image</BGS_ERROR>
    </IMAGE_DATA>
    </IMAGE_RESPONSE>

    java.net.URLEncoder.encode( text )
    I've found this to be a pretty easy way to handle invalid characters...

  • Is there any other ways to load older txt messages?

    Hi, I know mac has a program to load older txt messages, but I am using windows. I need to load back my earlier messages but it took me ages and the phone become very slow and lag.
    Is there any other ways to load beside that phone viewer only for mac user? It is so unfriendly for other user. Apple pls give me a solution for this problem as many people not using mac are facing such problem too.
    I need something that window user can use to load earlier txt messages. Thank you .

    If you are looking for an alternative to the mac program PhoneView for the pc you can use Touch Copy.

  • Are there any other ways of backing up sms message...

    Hi, I came across my old N95 8GB and realised it has old sms messages from someone very close who passed away recently.  I want to sell the phone but don't want to lose my messages. 
    The problem I have is that I have tried every method to do this but all fail. 
    I have tried Nokia PC suite - just keeps showing 0 messages even though there are hundreds on the phone itself.  Same with conatcs just won't show up so I cant back them up but there on the phone itself.    Tried all the reinstalling stuff and updates and so on but have had no luck
    Nokia Lifeblog - Same thing, shows no contacts or sms
    Nokia Suite - This throws an error when trying to read contatcs "Reading the phone failed - "Reading contacts from Nokia n95 8gb failed.  Reconnect USB cable to your phone or connect via bluetooth.  Error code:80700004"
    When viewing messages it just shows 0.  I was able to view pics but nothing else. 
    I tried using xplore to manually find them but not sure where they are, I found private folders but they all seem confusing.  I 've done a soft reset, restarts, everything.   
    Can anyone give me any ideas how I can save these old sms messages even if its just on my pc, I just don't want to lose them.  Any help would be appreciated. 

    peterman50,
    Welcome to Nokia Discussions
    First, sorry to hear about your loss. Is the N95 8GB updated to the latest version? Maybe you can try removing the existing Nokia Suite and installing an older version which is version 7.1.180.94. Make sure you run the software "as administrator" on Windows 7 and 8 and when the phone prompt, choose Nokia PC suite mode.
    If that does not help, try to back it up using bluetooth - dongle via pc or connection through a bluetooth enabled laptop.
    Good luck

  • Microsoft.ServiceBus.Messaging.QueueClient ReceiveBatchAsync?

    This method would seem to be useful for reading multiple message from a queue but I've yet to get more than one.
    var messages = await client.ReceiveBatchAsync(50);
    await client.CompleteBatchAsync(messages.Select(m => m.LockToken).ToArray());
    Where client is a QueueClient. I've tried this using both ReceiveMode settings on the client (i.e. PeekLock and ReceiveAndDelete) and I consistently get only a single message back. I'd like to read all currently available messages from the queue in one pass
    and without something like a ReceiveBatchAsync then I'd have to await client.ReceiveAsync inside a loop until a null message was returned.

    hi Dane,
    Thanks for posting!
    I will test your code on my side. And any information, I will post back for you.Thanks.
    Best Regards,
    Will
    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.

  • Is there any better way of optimizing memory?

    Hi Friends!
                      I am new to Labview and need some help. In a VI sescibed below I would like to know about optimizing the memory.
    Problem: Needs to take the values of 7 physical quantities for three different time intervals. Each physical quantity has individual elements(which are clusters)  whose number actually depends on the user input ( can be of any number).
    What I have done: I had first constructed an
    1. Array(Let it be array1 for discussion)  of three elements(For three time intervals)  each element is a cluster(Let be Level 1 Cluster)
                    2.Cluster(Level1) has 7 arrays(Let them be Level 2 arrays) to represent 7 physical quantities
                From the concepts of arrays in the C each element of the array occupies same memory space. But does this concept applicable here. As I have elements in a cluster(level1) as arrays(Level 2). Each one of the array(Level2) could be of different size depending on user input.
    If there is another way to handle them please help me with ur valuable suggestion.
    Siddhu.

    I don't quite understand why optimizing memory here is required as the
    data set does not seem very large.  That being said, clusters use
    (relatively) a lot of memory, and nested arrays/clusters are generally
    considered poor programming.  It seems to me that this can be
    handled with a 3D array (much more memory efficient):  3 pages for
    the time intervals, 7 rows for the physical quantities and an
    indeterminite number of columns for the individual elements.  How
    to handle the array depends on what are valid values for the individual
    elements.  If the data type is numeric and 0 is not a valid user
    input value, then it's easy.  Just build the array row by
    row.  Each row will have the number of columns equal to the
    largest number of individual elements entered.  Data that has not
    been entered by the user will be 0.  For example, at time interval
    1:
    PQ1: 9 2 7 4 1 8
    PQ2: 8 7 2
    PQ3: 1
    PQ4: 4 6 8 2
    PQ5: 2 3 4 5 6 7 8
    PQ6: 4 2 7 9
    PQ7: 2 4
    The first page of the array would be:
    9 2 7 4 1 8 0
    8 7 2 0 0 0 0
    1 0 0 0 0 0 0
    4 6 8 2 0 0 0
    2 3 4 5 6 7 8
    4 2 7 9 0 0 0
    2 4 0 0 0 0 0
    If the data type is not numeric or 0 is a valid value, I would
    initialize a 3D array that is 3 X 7 X (something larger than the max #
    of individual elements) with some sort of invalid value.  Then,
    as  the user inputs individual elements, replace the appropriate
    array element.  This also has the advantage of creating the array
    ahead of time so LabVIEW will not have to create any memory buffers.
    Hope this helps.
    Dave.
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================

  • Best way to handle music?

    I am a high school yearbook adviser creating a high school yearbook dvd supplement. The dvd includes many things, video, photos, etc. This question relates to audio.
    I have a "page" for a band. They have several tracks I'd like to include and I'm trying to determine the least expensive way (in terms of disc space) to handle this. I take it there is no way to play 3 minutes of audio without it ultimately being converted to three minutes of video, and therefore expanding a 6 MB song into a multiMB video.
    Am I mistaken? or is there an efficient way to handle this?

    heh... easy mistake to make. In DVDSP speak, a track is a structure that holds video, audio, subs and all that stuff.
    So - you want the user to be presented with a menu where they can select multiple audio clips and have them play one after the other in sequence? What you are describing here is a 'jukebox' and you'll need to use scripting to accomplish this in DVDSP.
    It is something I did some time ago now as a video jukebox, and the scripts are available free. What you'd need to do is to add images to a track and line them up with your audio samples. Treat them as a piece of video, if you like.
    Alternatively, you could still do this with menus, so that the user goes from menu to menu instead of from video clip to video clip. However, don't forget that a DVD is only a valid DVD if it has at least one track on it (the DVD kind...) - you can miss out menus from a DVD, but you have to have a track somewhere in your structure. This could be a simple image as a start up item, of course.
    As an example, have a look at the video jukebox here:
    http://www.dvdstudiopro.co.uk/play-lists-and-jukeboxes/
    You can download the projects and have a look at what has been done there.
    As for your menu - the duration can be left out of things - make it a simple still image and not have any audio paying in the 'chooser' screen. From then on, if you embed audio in the menu then yes, you want to set the duration to be the same as the audio clip. If you use a track then this is far less of an issue, and will ultimately make your disc a more simple structure.

  • Best way to handle audio and video?

    Can someone give me suggestions on best way to handle audio and video clips. 2 issues:
    Audio- I want to avoid problems for visitors who may need to install something to listen, and would like them to be able to remain viewing page while listening. I understand how to set up the Iweb player option, and I understand how to simply link to a mp3 file that relies on the visitors player. I'm thinking I need to "embed a player" (?) which is something I haven't dealt with yet.
    Video- I have a link to a .mov file. It plays it in either a real small box, or if you enlarge it , the image deteriorates. Is there a better way to handle this?
    http://www.imaginerecoveryonline.com/IMAGINERECOVERYONLINE.COM/THE_JOURNEY_1.htm l
    Thanks for any help

    Yes that should work for what you want.

  • Is there any way to save my text messages?

    I am having problems with the lock button on my iphone 4 not responding. I called apple and they told me to try restoring it to new, I'm wondering if there is any way to save my text messages when doing this

    No. However, you could import them to your computer using third-party software, but there is no way to restore them to your phone.
    http://www.wideanglesoftware.com/touchcopy/index.php

  • Ways to Calculate Number of Messages in OpenMQ

    Hello All,
    I was wondering if there is a way to calculate Number of messages already present in a Queue (OpenMQ).
    1. One way is to make a synchronized static variable .. On each push increment and on listeners pull decrement it. But it have its own flaws i.e On system shutdown we will loss this info even if the messages exists in the queue. OR if me make it persistent then it will take extra processing time.
    Do some body know any other way to do it ? I have to do it using JAVA code.
    Kind Regards
    Shakeel Abbas

    Thank you Nigel,
    For others information i am pasting some code here..
    import java.io.IOException;
    import javax.management.JMException;
    import javax.management.MBeanServerConnection;
    import javax.management.MalformedObjectNameException;
    import javax.management.ObjectName;
    import javax.management.remote.JMXConnector;
    import com.sun.messaging.AdminConnectionFactory;
    import com.sun.messaging.jms.management.server.DestinationAttributes;
    import com.sun.messaging.jms.management.server.DestinationType;
    import com.sun.messaging.jms.management.server.MQObjectName;
    Public Class MonitorQueue
    public static void main(String[] args) {
              try {
                   ObjectName destMonitorName
                   = MQObjectName.createDestinationMonitor(DestinationType.QUEUE, "queueNAme");
                   // Create admin connection factory for default host and port (localhost:7676)
                      AdminConnectionFactory acf = new AdminConnectionFactory();
                   // Get JMX connector using default user name (admin) and password (admin)
                      JMXConnector jmxc = acf.createConnection("admin","admin");
                   // Get MBean server connection
                      MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
                      System.out.println(mbsc.getAttribute(destMonitorName, DestinationAttributes.NUM_MSGS));
              } catch (MalformedObjectNameException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              } catch (NullPointerException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              } catch (JMException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Stay Happy Cheers
    Shakeel Abbas

  • Way to Retrieve Deleted Text Messages w/o Backup? NEED them.

    My father just passed away a few days ago and I wanted to keep the conversations we had over text messages, but it was over 30 days ago and it just deleted a conversation we had on September 13th. I've been trying all day to see if there is a way to retrieve the text messages, but I can't find a way. I will do ANYTHING as these are memories I will only be able to hold onto. Is there a way to retrieve the text messages by sending the device to RIM for them to retrieve or anything?
    Any help is appreciated more than you know. Thank you so much.

    EddieV2 wrote:
     Is there a way to retrieve the text messages by sending the device to RIM for them to retrieve or anything?
    Sorry for your loss. I understand completely where you are.
    On that device do you have BlackBerry Protect installed? If so, there could be a backup there.
    Otherwise, with no desktop backup, I am afraid not. Perhaps you should backup that device NOW before any other messages roll into deletion.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Is there a way to transfer Microsoft Office from my old one to the new one?

    I recently bought a new Mac Pro.  Is there a way to transfer Microsoft Office suite from my old one to the new one?

    Setup Assistant (or Migration Assistant, if you decide to migrate your account later) should transfer everything required.

  • Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    You do realise that wiping the disk means that everything on the disk is erased. Everything. Photos, music, emails, ...
    So the first piece of advice is to make sure you have a back up of everything.
    You need the OS disk to reintsall the operating system. You will use that disk first to erase the drive, then to reinstall the OS.
    Here's the link for the US.  http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    As for MS Office, you will need the original disk that it came on to reinstall it.

Maybe you are looking for

  • Trying to create Invoice using the API,however i am not able to create the customer accounts in the front end

    when creating invoice using the API AR_INVOICE_AP_PUB.Create_Single_invoice Am Getting the below Error: Transaction type is invalid with current transaction date invalid transaction type either an inventory item description must be provided Kindly he

  • CS3 - Auto Anchored objects

    Hi all, I would like to speed up my workflow enormously. I have a very repetitive thing that I need to speed up somehow... I receive supplied text that requires formatting. I have just about everything automated except inserting graphics into certain

  • Page behaviour when minimized

    Hey, I am new to portal development and I am not sure if this is the right forum or not to ask my question, but here it is anyway's. I have designed a page with multiple text regions and links to various external applications, but the trouble I am ha

  • How to group rows based on a formula value

    Hi experts, I have a query that returns a a char row (country) and a couple of columns, "Duration of Process in days" and "Counter of nº process done", each a calculated formula KF . What I would like is to group the results based on formula KF1 resu

  • HT1766 can I restore an icloud backup that i made months ago?

    Hi Guys, I am looking for a whatsapp chat history that I had on my phone about 3 months ago.  My iPhone 4S was being backed up to iCloud then, so I am wondering if I can view or restore this backup that I made on iCloud to see the history.  When I re