Multi-User Issues

I've taken over development of a Vs2003(vB)/MsSql2000 application which usually runs in on a Windows 2000 server with multiple workstations running the application simultaneously in Remote Desktop Sessions.
The central user interface element of the application is an un-databound grid (actually a farpoint spreadsheet) which displays sql table rows that are accessable from every workstation. The grid refreshes its content whenever a specific subroutine is called.  That subroutine performs a query which loads its results into a collection which is then loaded into the grid. The subroutine is called during startup and at other times using the rather elaborate mechanism described below.  Each workstation also has the ability to modify any row in the grid via a dialog-based editor.  The grid itself is not setup to allow inplace editing.
The grid usually contains about 200 records and 20-50% of these records get modified (some repeatedly) every hour.
My question involves the classic multi-user issues of keeping all of the seperate workstation's grids current as individual workstations make modifications to the data.
What is Microsoft's recommended method for handling multi-user data-refresh requirements in custom applications written in VB.NET2003 with MsSQL2000?
Now that you know what I'm looking for, let me add a little more detail.  The existing code handles this multi-user refresh issue in the following way...
A SQL Trigger is attached to the SQL Table's Insert/Modify and Delete events. That Trigger calls the xp_logevent built-in stored procedure to make an entry in the NT Event Log.
The application contains a subroutine to handle EventLog("Application").EntryWritten messages.  That subroutine calls the subroutine (mentioned earlier) which refreshes the grid contents through a new SQL query.
In this way, whenever any workstation changes the table data, a trigger fires which makes a log entry and broadcasts an EntryWritten message into the global windows environment.  The individual applications (each running in their own RDP session) hear the message and respond by refreshing their grid.
This all seems a little "rube goldberg" to me, but it has worked for many years.
That is, until we moved the SQL2000 server to a seperate machine to improve program responsiveness.
Now when the trigger is fired and the log entry is made, the EntryWritten message is broadcast into the windows environment of the dedicated SQL server where there are no applications listening for it.  Meanwhile, the applications continue to run with unrefreshed data on the (now) dedicated RDP server from where the EntryWritten messages cannot be "heard".
So my question really comes down to this...
In an environment where the SQL server and the RDP server are two seperate machines, what is the best method for coordinating multi-user screen refreshes across seperate applications running in distinct RDP Client sessions?
Thanks in advance for any assistance.
Peace,
         Colt Taylor
         Computer Golf Sofware

Colt,
Is this still an issue?
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it!

Similar Messages

  • Multi User Calendar Display Issue

    When we moved to GW2012 one of our departments that uses a Multi User calendar (5 users in total) noticed some strange display issues.
    When User1 is looking at her Multi User Calendar, the client is displaying her appointments in User2's column as well. But if you look at User2's Multi User calendar, you don't see any of User1's appointments in User2's column, so it appears to be a display issue with User1. This same issue is happening with one other user.
    All users are on Client 12.0.2, Build 108211 . Interestingly if we look at the calendar on a machine running the GW8 client this display issue does not occur. I have also gone as far as rebuilding the calendar from scratch but this hasn't changed anything.
    Any suggestions?
    Thanks!
    Steve

    Hi
    If you open a Service Request with Novell Technical Services you will receive this Field Test File patch for the GroupWise 2012 Client. It is specifically to fix issues with multi-user calenders. Please let us know if you are in a position to open an SR.
    Many thanks.
    Cheers,

  • Several users on a single file issue: Hosting a multi user Quickbooks file on the WD EX4

    Hello everyone.  This is going to sound like a super specific third party support issue - but there are some universal things going on here that may help others regarding multiple users of individual files on the EX4. My company houses client and billing files on the EX4.  It's all been well and good until we recently allowed multi-user access to our Quickbooks company file.  Of course the goal is to have multiple employees working on the file at the same time from different computers.  We purchased licenses for each - everything is on the up and up. Whereas I could access the company file on the EX4 with no problems on my computer as a single user, now as soon as I turn on multiuser mode in QB to allow others to access the file on the EX4, the file becomes inaccessible.  What do you guys think is happening where one user access to a file on the EX4 is fine, but multiuser access causes the file to be inaccessible?  How do you fix it? Other thoughts, there doesn't seem to be a limitation on the EX4 relating to multiple people accessing the same file - streaming the same song for example.  So why would a billing database file be any different?  Especially when the licenses and program allow that access. Here's more info, if I host the file on my desktop computer everyone can access it in multiuser mode over the network.   The limitation is the WD EX4. What do you think is going on?  (I'd appreciate any insight as I am talking to both tech support teams, QB and WD, this week.)

    Thank you so much for your reply.  The error shows up when one switches to multi-user mode.  It states: Error H101, H202, H303, or H505: when opening your company file  When you open a company file in multi-user mode, you see an error:You're trying to work with a company file located on another computer, and this copy of QuickBooks can't reach the server on that computer (H202).You're trying to work with a company file located on another computer, and that computer needs additional installation and setup. (H101, H303, and H505).It appears that the QuickBooks software on computer [server name] is set up to allow shared connections to the company file, but the QuickBooks software on your computer is unable to communicate with it. (H202).Most often it's an H202 error which suggests that the program can't reach the server on that computer (NAS location). Why would the NAS location become invisible / unreachable once multi-user mode is on?  I really appreciate your expert brainstorm and ideas.

  • File Discrepancies for Multi Users

    Hi ...
    We are running RH7 and RSC3.1 with 3 users - We identified
    (only yesterday) that after User 1 had deleted one topic file from
    Project Manager and added several others ... User 2 and 3 had
    broken links for these topics.
    We are able to update existing topics by one user, who check
    in, then user 2 and 3 can get the latest version and instantly view
    the changes - lovely!! Exactly what we would expect ...
    But the same is not occurring when we remove or add entire
    topics to both the Project Manager and the TOC ...
    User 2 and 3 see the topics in the TOC with the dreaded red
    cross through them ... and have to try and locate the file or
    restore broken links etc ... to get their view of the project in
    sync with User 1. This seems to defeat the whole purpose of being
    able to have a multi user authoring environment????
    A major concern of this problem appears to be the risk of
    undoing each others work by potentially restoring files that
    another user intended to remove ...
    Is anyone else experiencing similar issues ... we are in a
    big organisation and are very restricted in terms of our ability to
    access the servers etc ... but I want to know if there is something
    we should be checking or doing differently from an application
    perspective? Any advice or ideas are greatly appreciated...
    Many thanks ...
    Frustrated!

    Hi Fi@qldpol, and welcome to the board. With your situation,
    there are two likely possibilities:
    1. Was your project added to source control via RoboHelp, or
    was it initially added using RoboSource Control? If it was added
    from RoboSource Control, then that is the problem.
    2. If #1 is not the problem, then you might be having
    problems with some of the users' CPD files. First, have everyone
    make backups of the local version of their project (the files
    actually residing on their PCs). Then have User 2 and User 3 delete
    their copy of the project, and replace it with a copy of User 1's
    local files. Before they open the project, they should delete the
    cpd and pss files. After they delete those files, they can open the
    project as usual and let the cpd file rebuild. We have to do this
    every so often with some of our projects to get everyone
    synchronized.
    Hope that helps.
    G

  • Set multi user column with PowerShell used to work in 2010 but no longer works in 2013

    In SharePoint 2010 I used PowerShell to set the value of multi user people columns and it worked really well.  I attempt to use the same PowerShell to set the same column type in SharePoint 2013 and it fails.
    here is the PowerShell that I use in 2010:
    $web = Get-SPWeb "http://intranet"
    $list = $web.lists["TestList"]
    $item = $list.items.add()
    $item["Title"] = "Test multi user column"
    $users = @("Domain\user1", "Domain\user2")
    $userList = new-object Microsoft.SharePoint.SPFieldUserValueCollection
    foreach($user in $users)
    $spUser = $web.EnsureUser($user)
    $userValue = new-object Microsoft.SharePoint.SPFieldUserValue($web, $spUser.ID, $spUser.Name)
    $userList.Add($userValue)
    $item["MultiUserColumn"] = $userList
    $item.update()
    I have used this on three SharePoint 2013 farms with differing results.  On two of them I receive an error when running $item.update(): Exception calling "Update" with "0" argument(s): "Invalid look-up value.  A look-up
    field contains invalid data. Please check the value and try again."
    If I take one of the users out of the $users list then it works fine, but it will not allow multiple users to be set with PowerShell.  I can use the GUI to add more than one user but not PowerShell.
    Does anyone know if these methods have changed in 2013? I haven't been able to find anyone else with this issue.
    mmm... coffee...

    Not sure but maybe something to do with casting. Below is the code snippet from one of the blogs. Try modifying your script like below and see if still you get the error
    [Microsoft.SharePoint.SPFieldUserValueCollection]$lotsofpeople = New-Object Microsoft.SharePoint.SPFieldUserValueCollection
    $user1 = $w.EnsureUser("domain\user1");
    $user1Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user1.Id, $user1.LoginName)
    $user2 = $w.EnsureUser("domain\user2");
    $user2Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user2.Id, $user2.LoginName);
    $lotsofpeople.Add($user1Value);
    $lotsofpeople.Add($user2Value);
    $i["lotsofpeoplefield"] = $lotsofpeople;
    $i.Update();
    #-or-
    $l.Fields["lotsofpeoplefield"].ParseAndSetValue($i,$lotsofpeople);
    $i.Update();
    Reference to the link
    http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx
    Geetanjali Arora | My blogs |

  • 10.6.2 SMB - QB 2005 PC won't run in Multi User

    Hi there,
    This is a pretty specific issue but i'll throw this out anyway.
    I setup a brand new 10.6.2 server alongside our old 10.4.11 server.
    I cloned the contents of the "shared data" from the old box to the new one.
    We have had the SMB service running for Quickbooks 2005 running on 2 PCs (Xp Pro clients), shared via QB's "Multi User" mode.
    The new server's SMB share, identical in permissions etc to the old one, will not allow QB to open the file in Multi User mode. It gives an error to the effect of "Your company file has been damaged". My attempts to repair the QB file had no effect.
    If I copy the same company file back onto our old Tiger Server's SMB share, it works fine. I assume this is simply a difference in Samba versions, but I have no idea how to troubleshoot it.
    I obviously have a workaround for now, but it's less than ideal to have an entire Xserve on to share a Quickbooks file.
    Any insight would be appreciated.
    ~p

    Bumped into this article; I'll post back after i give it a shot.
    http://edoceo.com/liber/network-samba-quickbooks
    The gist of it:
    "the directories that will be the root of the share must be owned by the group that the users who will access are in and they must be able to write"

  • Set Database Back to Multi User from Single User

    I am using SharePoint Services 3.0 (SP1) with default configuration options, which installs the Microsoft##SSEE instance of SQL to my local C:\ drive.
    While attempting to relocate the files to another drive, I set one of the databases (as recommended) to Single User by using the SQL Server Management Express tool.
    I cannot now reset that database to Multi User, even by executing the query
    exec sp_dboption 'database_name', 'single user', ''FALSE'
    again by using the Management Express Tool.
    Can someone please help, in plain english???? Thanks

    I have similar issue.
    I have took backup of WSUS (Windows Server 2002 R2) Windows internal database using SQL Server 2008 Management Studio and restored on Windows Server 2012 R2 Server.
    Now SUSDB database was in Single User mode. I have tried ALTER  DATABASE <<Database Name>>   SET MULTI_USER  WITH NO_WAIT and i'm getting blow error.
    Msg 5069, Level 16, State 1, Line 1
    ALTER DATABASE statement failed.
    How i can change it Multi User?
    Thanks 
    Uma

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • Windows XP: multi-user accounts - one works, another doesnt!

    Hi all,
    I have installed the JRE many a time, but never on an XP machine with multi-user accounts...
    my problem is that a jar file I have will run on one XP account, while the other account won't run, I just get Null Pointer Exceptions if i try to run it using "java -jar myApp.jar" or a Fatal Error JVM error if I double click the jar.
    Any ideas? I tried installing the JRE from both user accounts, but no luck. Please help! :(
    Scott

    edit: sorry guys, n/m..it wasn't a JRE issue after all :)

  • Aperture as a Multi-User Digital Asset Management Tool

    Does anyone have any experience using Aperture in a multi-user environment? I'm trying to compare it to Cumulus by Canto which is designed as a multi-user tool.
    I realize that each user would have a copy of Aperture on their Mac, but are there other issues that are not such as multi-variable searching capabilities of one versus the other. My gut tells me that Cumulus is more robust and can handle much larger libraries as well as all types of digital data and can search within document such as InDesign for a particular image.
    Thanks
    --Mitch

    There is no possible way you can use Cumulus and
    actually save money.
    I don’t expect to save money. I expect to save time finding info, and avoiding duplication of almost everything we have
    Stepping into digital asset management is a far bigger
    issue than your boss can imagine. Try not to take this
    personally, but your initial question about using
    Aperture as an enterprise or workgroup DAM suggests you
    have no idea what you're suggesting or possibly getting
    into. Canto is all smoke and mirrors unless you can
    afford the training and have dedicated, competent and
    engaged support personnel.
    Nothing taken personally. The question was asked because management is promoting Aperture as the end-all and be-all of imagement, whereas I’m looking for a tool to manage all our documents
    Before you go much further, you need to understand
    databases and you need to understand that DAM's return
    on investment is not about saving money, it's about
    preventing the spending of money; a huge difference and
    there are few mgrs who can parse that difference from
    the sales hype. Buy a copy of "The DAM Book" and try to
    get someone to explain databases, cataloging
    applications and server-based storage to you.
    I understand databases quite well, but I will get a copy of the book you mentioned. I am running an Xserve in my environment, so I do understand servers and OS X Server.
    I wish you tremendous luck and hope your experiences
    are better than most of the Canto customers I have ever
    met, including me. You just have no idea how expensively
    wrong your decision to employ Cumulus could turn out to
    be. Not that it's a bad product (although we thoroughly
    despise it); it's sold as a miracle. Cumulus is a
    supremely complex (not necessarily complicated),
    over-designed and totally un-Macintosh application.
    What version of Cumulus are you using, and why are you so unhappy with it? May I contact you off line to discuss this?
    Thanks for the reply
    —Mitch

  • Multi User request in Access Enforcer

    Is anyone aware of a user limit in an access enforcer multi user request?
    We get errors when we submit  a multi user access enforcer request with more than 25 users.
    Thanks

    Hi
    There is no standard limit even though we advice to keep the user to max of 20 .
    The limit depends upon the email content you have configured .
    In case in your email notifications you have taken the argument USERID then mulitple user creation request causes issue and the limit gets set to anything between 20-25 , again depending on content of the email .
    Thanks

  • Architectural Help - Converting Single-User DB to Multi-User

    I have a single-user database running in Java 1.4. I want to convert it to a multi-user database targeted at really small (no way they can buy Oracle) groups. I have a lot of expertise in the old way (file/record locking, avoiding deadly embrace, etc.) but don't think this is right for Java.
    What would be a good Java architecture for such a small DBMS? Initially it would be fine to just run a server on a network, tho longer-term it would be great if the solution extended to a remote server on the net. J2EE is not in the cards unless its absolutely required.

    Thanks, warnerja.
    Here's the issue. The user is viewing a list of names (customers or whatever). Names are physically stored in the order entered; logically viewed sorted on last name, then first. The user drags the elevator car two thirds of the way down. Now what?
    Using SQL-based anything, you're pretty much forced to query the table for the whole result set; keep it in memory and then scroll off that. Suppose you have lots of names - 100K or more. This goes dead slow. Worse, in real applications your names will be inner-joined to maybe several other tables so the problem really multiplies.
    See MS Access for a good example of how bad this can be. I've got one where the user clicks the down arrow on a combo box and then waits two minutes (actual, measured with my own watch, wait time) for the list to appear. Ugh.
    I've created an indexing method I call the b++tree, which makes it perfectly simple to respond to that user action: goto( 66000 ); getNext( 20 ). If my calculations are correct, that goto() should happen in a single disk read and about ten millis.

  • Problem with mode switching/Volume Panel in multi-user environment?

    As above - using Windows 7 64-bit with an X-Fi Titanium Fatalty card.
    All works well as long as I'm the only person logged in, but if my wife logs into the computer (using Windows 7's built-in multi-user mode...'fast user switching', which is enabled by default), and then I log back in...well, the volume panel app doesn't seem to work. In fact, even using the control panel app, I can't regain control of the soundcard enough to switch modes.
    Logging her off doesn't resolve the issue, so it seems like something about her logging on (another user logging in, two volpanlu.exe running, something) is causing my instance to go haywire. [FWIW, I'm a 'standard' user on the PC, and her login is a 'limited' user]
    Note that 'killing' the task volpanlu.exe in task managed, then going to the Windows services control panel and stopping and re-starting the 'Windows Audio' service, and finally re-launching volpanlu.exe from the start menu DOES always work to resolve the problem (regardless of if she's logged in or not...this always fixes it).
    Still, that's a kinda annoyingly large set of steps to always have to go through whenever I want to change audio mode after she's logged in.
    Is there any way to fix this? Any setting I could be missing to optimize the X-Fi control panel for multi-user environments? Any of the X-Fi mod dri've packs handle fast user switching better? Any other ideas?

    GA little bit more tinkering around this, and I have some more information:
    - Once I "seize control" (the kill of volpanlu, restart 'Windows Audio' service, re-launch volpanlu), if my wife logs back in, now *she* can't change the audio mode

  • User Defined Table locked when multi users try to save data?

    Hi All,
    I am having a problem with User Define Table (UDT). I am just checking if somebody having the same problem as mine (any patch level).
    I've developed an add-on to save additional data to some UDTs upon saving a Production Order. I added my code in FormDataEvent (After Action = True and ActionSuccess = True).
    Here are my sequences to save the data:
    1. Start Transaction
    2. Remove Existing Data from 3 UDTs linked to the production order number.
    3. Save to table 1, using UserTable object
    4. Call function A to save to table2 , using UserTable object
    5. Call function B to save to table 3, using UserTable object
    6. Commit Transaction.
    Note: I have a try catch and rollback the transaction if any exception thrown by .NET and SAP. Below are parts of my coding to handle exception from SAP
                    If oUserTable.Add() <> 0 Then
                        oCompany.GetLastError(ErrCode, ErrMsg)
                        Throw New ApplicationException(ErrCode & "-" & ErrMsg)
                    End If
    in the try catch block, i add the following code
                If oCompany.InTransaction Then
                    oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                    SBO_Application.MessageBox("[SaveRoute]:" & ex.Message)
                    Return False
                End If
    Now, the issue is in some occasions, when multi users try to save the Production Order, the data get deleted from the UDTs, but some of the data did not get saved yet it did not throw an exception. From our observation, it only happens when multi users are trying to save to the same table.
    Does anybody having the same or similar issue? Really appreciate if you can share on this.
    Many Thanks,
    Harianto Ng

    I Believe you should look carefully where in your code writting, you should start transaction and be sure of using end.transaction commit if the insert sends a succesfull message, and rollback it for negative message.
    I used to start transacción right before .add method
    Wha DBMS are u using?
    Hope it helps.

  • Multi User Conference Error (Multiple Subnets)

    Hello,
    I do not have a Mac OS X Server, but I was told that the OS X Server used Jabber and I am using a Jabber server (Windows based). I was hoping to find someone who has general knowledge of what I'm doing to possibly help out. I did originally post this question here: http://discussions.apple.com/thread.jspa?messageID=4921360#4921360
    but I have not gotten a solution yet. It was suggested I post here because they are both Jabber servers.
    Basically, I purchased 3 identical iMac computers. They are all running OS X version 10.4.9 with 2.16 GHz Intel Core 2 Duo and 2 GB of RAM. They are all running iChat AV 3.1.8. For authentication, we are using a Windows based Jabber server.
    My company has three locations connected via a hardware VPN. Each site has their own subnet and all ports are open between the three sites.
    When we first purchased the Mac computers, two went to Location X and were put on Subnet X. The other one was shipped to Location Y and put on Subnet Y. We tested three way video conferencing and it worked fine. We then packed up one of the computers and shipped it out to Location Z on Subnet Z. I can connect to Location X and Location Z on a 1 to 1 basis, but I can't begin a 3 way conversation. It tells me the user in Location Z can't enter a multi user conference.
    Audio chat works, as well as text chat. Video chat does not. Based on the specs, I don't believe it is a hardware issue and I don't believe bandwidth is an issue. I spoke with tech support and they said I need only 100 kbps, which I have above and beyond.
    As per my previous post in the iChat discussion, the bandwidth needed is actually 384k, which we have. It was also suggested that I run the cron scripts, which did not help. All ports are open, which is not something we need to consider.
    I believe the root of the issue is the fact they are all on different subnets, but I can't seem to figure out how to fix that. It was suggested that I use Bonjour as a test, but I do not want a huge amount of traffic running around on the network as it detects the two Macs I need it to find. I have close to 400 users (most with two computers), over 100 servers, 50 users in each of the remote sites...and then to do that over a VPN.....
    Any and all help is greatly appreciated and I thank you in advance.
    P.S. - I am not super experienced at Mac, but I can usually find my way around. I have been mostly a PC guy most of my life.

    Hi,
    I appreciate that it was suggested that you post the question on this group, but I'm not sure that this is jabber technology problem.
    I feel it is very important that you clarify some points for me.
    Are you saying that the problem is only at location Z?
    Can you confirm exactly what happens when the ichat Z tries to start the the way conference? Do the other clients get any messages (most important - does the status of client Z change in the window of clients X and Y?)
    Need to know what happens when X and Y initiates the video chat.
    Please clarity the above.
    Jabber as a protocol set is very robust to issues of subnet and firewalls. The initiation of the group conference is processed via the jabber server, but once that phase in complete, the clients communicate directly with each other. If voice works, the video should also work, as the only difference is number of ports used (and bandwidth).
    To help, I can give you access to a jabber server outside of your network to test things.

Maybe you are looking for