CSS11501 - are redundant-indexes local to CSS pair

Hi,
I've two pairs of CSS11501 in one VLAN. Each pair is configured for ASR and has several redundant-index numbers. Is the redundant-index mumber local to the pair of CSSes or should I use different numbers for each pair of CSSes (like in case of Virtual Router numbers)?
Best regards
Bartek

Hi Gilles,
thank you very much for help.
Bartek

Similar Messages

  • How to Avoid Redundant Indexes on Indexed Views

    Let's say I have an indexed view - so far it only has a clustered index. I want to avoid redundant indexes. So let's say the view joins Customers and Orders. If I've already put a nonclustered index on every column in both base tables, it's a pretty sure
    bet that adding nonclustered indexes to the view will be redundant, right? Or not?  I'm not understanding this.

    The indexes on the view are not redundant even if on the same columns as the base tables.  The indexes on view columns materialize the result after joins and aggregations in the view query.
    Columns should generally be indexed only if they are used in join or where clauses.  An index on every column may be overkill. 
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Fail to index local files

    I am trying to index local files through oracle from another computer
    CREATE TABLE ORACLETEXT_TEST
    (ID NUMBER,
    fileloc VARCHAR2(30))
    INSERT INTO ORACLETEXT_TEST VALUES(1, 'c:\temp\test.txt')
    CREATE INDEX oracletext_test_indx ON ORACLETEXT_TEST (fileloc)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('DATASTORE CTXSYS.FILE_DATASTORE');
    but I am getting this error
    DRG-11513: unable to open or write to file c:\temp\test.txt
    Did I miss something? Any comments and help will be appreciated!

    I think that makes sense. But what should I do if the
    files to be indexed are on the client machine? Thank
    you!Find a way to move the files to the server. Oracle Text can only see and index what is on the server. There are some sort of exceptions. With Windows, if you set up shared files and map them to your network drive, a directory on a clinet can be made to seem like it is on the server and treated as such. That is more of a Windows thing than an Oracle thing and I don't know about other operating systems.

  • Some DCs are not available locally - NWDS error while importing Track confg

    Hi,
    We have configured NWDI in our landscape.
    As per the requirement of the developers, we have created a new product and software component (SC) in SLD, as they don't want to use any standard components.
    The same has been synced with CMS using update CMS.
    Now a new track is created (in landscape configurator) and the new SC has been added to the track. Track creation was successfull....given the sdm passwords for all 3 systems.
    While saving a pop-up came saying that as the SC is New (i did not select the developed option), I need to Check-in and Import into DEV manually.....I GOT STUCK HERE.
    What files needs to be checked-in in Transport studio?
    Also when developers are trying to import the configuration in their respoective NWDS...they are getting "Some DCs are not available locally" error.
    Also updated the patch of their NWDS but still no use.
    Could any one help me out.
    Regards,
    Siv

    Dear Satya,
    As per your advise. I have maintianed the 3 dependencies for the SC.
    However, the error "Some DCs are not available locally" is still recurring in NWDS.
    Below is few line from log,
    Jul 14, 2009 6:49:13 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: RIB_SAPPS: Build failed for sap.com/RIB_SAPPS(arg_PRIMAVERACUSTOMIZATION_1) in variant "default": Used component not found: sap.com/tc/bi/bp/webDynpro
    Jul 14, 2009 6:49:13 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: RIB_SAPPS: Build failed for sap.com/RIB_SAPPS(arg_PRIMAVERACUSTOMIZATION_1) in variant "default": Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/webDynpro. DC not found in DC syncdb.
    Build log -
    Development Component Build (2009-07-14 18:49:13)
      Component name: RIB_SAPPS
      Component vendor: sap.com
      SC compartment: arg_PRIMAVERACUSTOMIZATION_1
      Configuration: EPD_ARG_D
      Location: EPD_ARG_D
      Source code location: http://den2:50100/dtr/ws/ARG/arg_PRIMAVERACUSTOMIZATION/dev/inactive/DCs/sap.com/RIB_SAPPS/_comp/
      DC root folder: C:\Documents and Settings\sa45572\.dtc\1\DCs\sap.com\RIB_SAPPS\_comp\
      DC type: Web Dynpro
      Host: CMR-2FL0565
    DC Model check:
       All used DCs are available locally
       ERROR: Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/webDynpro. DC not found in DC syncdb.
       Build failed with errors.
    Jul 14, 2009 6:48:50 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.actions.dc.UsedDCFoundHandlerBase) [Thread[main,5,main]] ERROR: failed to resolve reference "sap.com/tc/wdp/metamodel/content" for DC "arg_PRIMAVERACUSTOMIZATION_1:sap.com/RIB_SAPPS":Cannot find compartment of used component: sap.com:tc/wdp/metamodel/content
    Regards,
    Siv

  • My Podcast Episodes are NOT Indexing in iTunes.

    Hello all!
    Thank you in advance for the help of this great community.
    Ok, here we go:
    Podcast Episodes NOT indexing on my iTunes URL page.
    1.) RSS is live and works (episodes can be downloaded by podcast subscribers)
    http://zenvirtualassistants.libsyn.com/rss
    2.) URL is live and works:
    https://itunes.apple.com/us/podcast/zen-virtual-assistants-podcast/id912879481
    3.) Hosting at Libsyn is working fine too.
    4.) Subscribers can download fine.
    5.) Podcast approved by iTunes and URL page is live
    https://itunes.apple.com/us/podcast/zen-virtual-assistants-podcast/id912879481
    6.) PROBLEM:
    Episodes (5 in total) CAN NOT BE SEEN/ARE NOT INDEXING on iTunes URL page.
    What do I do to solve this please?
    Thank you so much for your help and solutions!
    Sincerely,
    Joel

    You've fallen over a long-standing and intermittent bug in the Store where it claims to be showing the correct number of items (you will notice that it says 'Total: 5 items') but in fact either isn't showing any or isn't showing all of them, although all the episodes appear when subscribing. There isn't really anything you can do about this yourself as the problem lies with the Store, not your feed. It usually sorts itself out in a few days, but it's worth emaling Support at podcasts 'at' apple.com and asking them to re-index your podcast as this may speed things up.

  • Where are TREX index stored? TREX server File system? or KM repository?

    hi, friends:
    can  someone tell me where are TREX index stored ?
    in TREX server file system?
    or in portal KM repository? file system or DB?
    thank you
    Carol

    Carol,
    TREX is a separate product. During installation and configuration of TREX you connect it to the portal. The search iViews of the portal will use the configured TREX server to do the actual search:
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/EN/a4/929d4206b70931e10000000a1550b0/content.htm
    The index is stored on the TREX server: TREX/IndexServer/basepath/index=%(SAP_RETRIEVAL_PATH)/index
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/EN/4c/d91e40777cdd5fe10000000a155106/content.htm
    br,
    Tobias

  • HT5429 I am trying to find areas in the local community in India, however despite doing the saem, it picks up areas of foreign country. Map was working fine before i downloaded the IOS 6 version

    I am trying to find areas in the local community in India, however despite doing the saem, it picks up areas of foreign country. Map was working fine before i downloaded the IOS 6 version

    Quote from: lcwhitlock on 04-April-14, 13:44:09
    Hello darkhawk,
    Thank you for the recommendation.  I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one  - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
    Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
    If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
    http://www.hiren.info/pages/bootcd
    Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free......

  • Nepomuk/Strigi: id3v2 tags are not indexed

    I'm using nepomuk to index my music collection, but I noticed that the id3v2 tags are not indexed: dolphin does not show the information from the tags neither do bangarang. However, id3v1 tags are present. I don't know where to look at in order to find out what's wrong. Here are the relevant id3 tag support libraries, which I have installed:
    $ pacman -Ss id3 | grep installed
    extra/id3lib 3.8.3-11 [installed]
    extra/id3v2 0.1.12-1 [installed]
    extra/libid3tag 0.15.1b-6 [installed]
    community/kid3 1.6-1 [installed]
    Any help is appreciated! Thanks.
    Dimitar
    Last edited by dimitar (2011-06-21 17:57:15)

    Ok, I tried with an empty $HOME and the problem is not present... obviously, my home directory is getting older and needs some clean-up But then, I removed my music folder from nepomuk several times and I expected that it will be reindexed... How can I force strigi/nepomuk to reread the meta data from the files??
    Last edited by dimitar (2011-06-21 19:28:32)

  • What Are the Index Values of the MTTR and MTBF of the MA5600?

    What Are the Index Values of the MTTR and MTBF of the MA5600?

    The networking environments are different and the device uses different boards. Therefore, the reference value of the MTBF of the MA5600 is 55 years and the reference value of the MTTR of the Field Replaceable Unit (FRU) is two hours. The preceding values
    are only for reference. For details, contact the related Huawei engineers.
    http://www.huanetwork.com/smartax-ma5600-series-price_c43

  • Files protected by LiveCycle Rights Management 9 are not indexed?

    Hi everybody, I have a question, files protected by LiveCycle Rights Management 9 are not indexed?  is that true?
    Regards.

    When you create a policy, one of the properties that you set determines what gets encrypted when the policy is applied to a document.  You can set it to...
    Encrypt the entire file, which means that the document could not be searched\indexed as all of the document contents, including any meta data are in an encrypted state.
    Encrypt the document except meta date, which means that the document can be searched\indexed based on the meta data as it is NOT encrypted
    No Encryption, which means that the document, including any meta data is not in an encrypted state, and can therefore be searched\indexed.
    Hope this helps.
    Steve

  • Iphone Makes me dial my area code for local calls

    For no apparent reason, I started having to dial my area code for local calls manually dialed.
    After research/ Found the problem:  The culprit in my case was my AT&T Micro Cell tower.  All it took was realizing it only did it at home (the location of the towerr) and a lot of trouble shooting with Apple support.  They were stumped.  The fix was a simple reset of the tower.

    It is good practice to always store numbers in contacts with the area code. There is no harm in dialing the area codes even if you live in an area that still uses 7-digit dialing. And, it prevents issues when you travel.

  • Must dial area code for local calls

    A couple of weeks ago, my ability to dial local calls with 7 digits ended. I get a recording saying I must dial the area code. I am in the Albany, NY area (area code 518).  No one else has to dial the area code. I tried to call tech support but I have never been able to get through. I tried on-line chat and was told the extra digits were necessary due to the phone service being voip. Now, TimeWarner Cable has voip service and their customers don't dial the area code for local calls. I can't believe this voip answer that I was given.  Even my Verizon cell phone allows me to only dial 7 digits.
    I like the fios service but the availability of support is terrible. Support that I received from TimeWarner was always good to excellent.
    The support reminds me of the old show Laugh In where Lily Tomlin played a telephone company operator and her famous line was "We don't care. We don't have to. We're the phone company."

    You can use or not use the 1 before dialing the area code.  I have programmed my cell phone and all speed dials to include the area code.  If you leave the NY area with your cell and travel outside your home it will tell you that you must dial the area code so i just include the area code on any and all phone numbers nowadays.
    When you go to someone elses house using the area code will generally work even though 7 digit dialing may not be required.  Just use all 10 numbers to play it safe, same on the cell.  This way you get used to using 10 digit dialing.

  • Accounts used by application pools or service identities are in the local machine Administrators group.

    I am getting the Warning: "Accounts used by application pools or service identities are in the local machine Administrators
    group."
    Using highly-privileged accounts as application pool or as service identities poses a security risk to the farm, and could allow
    malicious code to execute.  The following services are currently running as accounts in the machine Administrators group: SPUserCodeV4(Windows Service) 
    OSearch14(Windows Service) 
    SPSearch4(Windows Service) 
    WebAnalyticsService(Windows Service) 
    I understand that the users running these Windows Services must not
    be a local administrator of the server. The user I have assigned for the aforementioned Windows Services are in the following Groups in the SharePoint Server:
    IIS_IUSRS
    Performance Monitor Users
    WSS_ADMIN_WPG
    WSS_RESTRICTED_WPG_V4
    WSS_WPG
    Which group must I remove the user from?

    Since I used the same account for all; I am getting the following error message:
    The server farm account should not be used for other services.
     the account used for the SharePoint timer service and the central administration site, is highly privileged and should not
    be used for any other services on any machines in the server farm.  The following services were found to use this account: SharePoint - 80 (Application Pool) 
    SPUserCodeV4(Windows Service) 
    OSearch14(Windows Service) 
    SPSearch4(Windows Service) 
    Web Analytics Data Processing Service(Windows Service) 
    Should I use another non administrator account for farm Administrator?

  • How to update a large (over 4 million item) List(Of Byte) quickly by altering indexes contained in a Dictionary(Of Integer, Byte) where the Dictionaries keys are the indexes in the List(Of Byte) that need to be changed to the values for those indexes?

       I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
    new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
    occurs on the Client desktop.
       So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
    .JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
    Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
       Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
    .Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
    image.
       What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
    the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
       Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
    second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
       I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
    directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
       The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
    in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
    the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
    fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
        The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
    bytes totaling 485174 bytes for both arrays (keys, values).  Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
    on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
    were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
        In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
    color changes causing those differences in the original screen capture.
       But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
    List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
    "Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
        I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
    the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
       I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
       I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
    array of indexes and bytes which are in a Dictionary(Of Integer, Byte).  But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
    them with.
       Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
    by getting contiguous ranges of indexes from the Dictionaries keys.
       So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
       I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works.  Or even if I did
    maybe I can't understand it. Like the code below which is extremely fast.
       Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
    La vida loca

    Monkeyboy,
    That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
    It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
    When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
    The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
    channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
    24Bpp for a full screen capture.
    Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
    When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
    ex
    Dim example As String = "This is an example."
    Dim insertString As String = "was"
    Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
    Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
    Dim modifiedBytes As Byte() = {}
    Using ms As New System.IO.MemoryStream(bytes)
    ms.Position = 5
    ms.Write(insertBytes, 0, 3)
    modifiedBytes = ms.ToArray
    End Using
    Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
    'Notice how below there isn't the word "is" anymore, and that there isn't a
    'space.
    'This demonstrates that you overwrite existing data, versus shifting everything to
    'the right.
    'Returns: This wasan example.
    MsgBox(newString)
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.
    Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
    Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
    But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
    Option Strict On
    Imports System.Windows.Forms
    Imports System.IO
    Imports System.IO.Compression
    Imports System.Drawing.Imaging
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim Bmp1Bytes As New List(Of Byte)
    Dim Bmp1BytesCompressed As New List(Of Byte)
    Dim Bmp2Bytes As New List(Of Byte)
    Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
    Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
    Dim BmpDifferenceBytesCompressed As New List(Of Byte)
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    SomeSub()
    End Sub
    Private Sub SomeSub()
    ' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
    Bmp1Bytes.Clear()
    Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP1)
    g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp1Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
    ' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
    ' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
    ' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
    ' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
    ' the image of the UDP Clients desktop in a PictureBox.
    ' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
    ' is created from a screen capture. This takes about 90 milliseconds.
    Bmp2Bytes.Clear()
    Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP2)
    g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp2Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    ' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
    ' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
    ' Bmp2Bytes from Bmp1Bytes.
    ' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
    ' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
    ' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
    ' then displaying an image on the same PC and then the second screen shot.
    BmpComparisonDict.Clear()
    For i = 0 To Bmp1Bytes.Count - 1
    If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
    BmpComparisonDict.Add(i, Bmp2Bytes(i))
    End If
    Next
    ' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
    ' the indexes into on List and the Bytes into another List.
    BmpDifferenceIndexesCompressed.Clear()
    BmpDifferenceBytesCompressed.Clear()
    BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
    BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
    ' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
    ' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
    ' called Bmp1Bytes also.
    ' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
    ' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
    ' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
    ' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
    ' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
    ' and bytes received by the UDP Server for the update contained within it.
    Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
    Dim UpdatedBytes As New List(Of Byte)
    Dim Counter As Integer = 0
    For i = 0 To Bmp1Bytes.Count - 1
    If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
    UpdatedBytes.Add(UpdateDictionary.Values(Counter))
    Counter += 1
    If Counter > UpdateDictionary.Count - 1 Then Counter = 0
    Else
    UpdatedBytes.Add(Bmp1Bytes(i))
    End If
    Next
    ' So what I'm trying to do is find an extremely fast method for performing something similar to what the
    ' above operation performs.
    End Sub
    Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
    Dim BytesCompressed As New List(Of Byte)
    Using compressedStream = New MemoryStream()
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
    zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
    zipStream.Close()
    BytesCompressed.AddRange(compressedStream.ToArray)
    End Using
    End Using
    Return BytesCompressed
    End Function
    Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
    Dim BytesDecompressed As New List(Of Byte)
    Using DecompressedStream = New MemoryStream()
    Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
    zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
    zipStream.Close()
    BytesDecompressed.AddRange(DecompressedStream.ToArray)
    End Using
    End Using
    Return BytesDecompressed
    End Function
    End Class
    La vida loca

  • Server 2012 R2 RDS, User Profile Disks are created but local profiles are created as well. The UPDs aren't mounting correctly.

    2012 R2 RDS Deployment with RDCB HA and UPDs enabled. Everything was working fine with no issues until users started getting temporary profiles. Around the same time UPDs were being created but at the same time a user profile was created in C:\Users. 
    I actually rebuilt the entire RDS configuration except the SQL Server. It took about 5 hours and was not that big a deal but.... we still have the same issue! 
    Does anybody have the solution for this?

    Hi,
    In most cases, the issue is caused by locked UPD. And the workaround is to log off the user. Please check if it is the case.
    For example:
    RDS user profile disks - getting error temporary profile are being used as UPD are not accessible
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0d4b66fc-b53f-435e-b036-142b6ed15d0b/rds-user-profile-disks-getting-error-temporary-profile-are-being-used-as-upd-are-not-accesible?forum=winserverTS
    Also, please check if you will get the temporary profile when logging on with a local account of the session host server.
    If issue persists, please check if there is any related error in Event Viewer and provide us for further research.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

Maybe you are looking for

  • Sso to non sap systems

    HI,   I am trying to setup SSO from our portal to plumtree portal. could some one please let me the steps for setting up the SSO. Thanks

  • How do I restore deleted podcasts?

    I was trying to clear some space on my HDD and, my 110GB iTunes library being the worst offender, I decided to move a lot of podcasts onto DVDs. Having burned them to disc, I deleted all but the most recent episode, but just before emptying the recyc

  • Officejet 7000 networking problems with usb printer

    connected up my new officejet 7000, replacing my deskjet 1280 on my pc, running xp sp3, networked on my work network. set up as shared printer. Showing on shared printer list on network, but when I try to install network printer on another machine on

  • Windows 8.1 Install Fails, 8 Installs fine. (Not the usual CMPXCHG16b, PrefetchW, and LAHF/SAHF problem)

    Hi All, I have 2 machines with this problem now, both 64 bit (one a Pentium D, and one a Core 2 Duo), they both used to run Windows 7 x64, and both now have clean installed Windows 8 x86 on them (because I didnt install x64 as this a) didnt boot the

  • Open item issue and clear item issue in fbl3n

    Hi Guys, relating to Line items are not showing as cleared items and showing as in Open line items of G/L account. Find the below observations for your reference. The Document no. 920006532 in Company code 1010 ( IRN ) is shown in the open items list