WSID problem

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
Gabriel
Posts: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

WSID problem

Post by Gabriel »

I'm having this weird problem with WSID.

in my wbconfig.sys file I have

wsid 10+1
@gabriel wsid 50+1
@jelmendorf wsid 60+1
@staciec wsid 40+1
@jpage wsid 30+1

But its still giving us all WSID (1)
image.png
image.png (24.02 KiB) Viewed 15556 times
The logfile says:

(6) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
Setting logging to log file brlog.txt log level 9.
(8) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
brconfig.sys INCLUDE printerlist.sys file found at :C:\Sherman\Test\VOL002\printerlist.sys
(8) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
brconfig.sys INCLUDE printer.sys file found at :C:\Sherman\Test\VOL002\printer.sys
(6) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
The BRConfig.sys file is C:\Sherman\Test\VOL002\wbconfig.sys
(6) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
Config file has been processed.
(6) 11/20/2015 15:10:11 Gabriel Wsid: 000 Line:
Assigning WSID.
(6) 11/20/2015 15:10:11 Gabriel Wsid: -10 Line:
The server file is C:\Sherman\Test\VOL002\wbserver.dat
(0) 11/20/2015 15:10:11 Gabriel Wsid: -10 Line:
Fatal error called with message: The requested Workstation ID (1) is already in use by jelmendorf.

What am I doing wrong here?

Gabriel
Attachments
brlog.txt
(39.42 KiB) Downloaded 668 times
wbconfig.sys
(799 Bytes) Downloaded 659 times
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: WSID problem

Post by bluesfannoz »

Two causes I have seen with WSID issues:

1. Need double quotes around login @"steve.koger" WSID 50+

2. Encoding of BRConfig.sys is something other than 8 bit. We had this happen on MAC. No users matched. Did not know if by default windows 10 or 2012 server is saving your BRconfig.sys in 16 bit encoding.
Steve Koger
Computer Specialist
SEKESC-MACS Division
Gabriel
Posts: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Re: WSID problem

Post by Gabriel »

I tried adding the "" and same results. I also removed the 1 after the + that you didn't have in your example. So now it says:

wsid 10+
@"gabriel" wsid 50+
@"jelmendorf" wsid 60+
@"staciec" wsid 40+
@"jpage" wsid 30+

I'm still getting the same results as before. The log file says my WSID is being assigned as -10 when I go in through Client Server. (The WSID actually assigned is 1)

I correctly get a WSID of 50 assigned when I go in local mode directly on the server.

How do I check the encoding to see if its 8 bit or 16 bit?

Gabriel
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: WSID problem

Post by bluesfannoz »

If your getting the correct wsid match when you login on the server then the encoding would not be the issue. That will not match on any login. No matter where your logging in from. As I stated I only had that issue on the MAC and it was caused because apple switched the default encoding to 16 bit from 8. So any config files I created with the default text editor were faulty until I recreated them in 8 bit encoding.


As for your issue, I would verify there is not some error higher in your config.sys that is causing processing of it to halt before your WSID statements for that particular user. Look for errors on the license splash screen.
Steve Koger
Computer Specialist
SEKESC-MACS Division
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Re: WSID problem

Post by gordon »

Windows occasionally begins reporting old sessions as active when logging on, even though the task manager shows no such sessions. When this happens, BR has no way to detect they are invalid and reassigns the WSID of the inactive sessions. This can be frustrating because BR gives priority to MULTISESSION assignments. It has to if it is to avoid the requirement of relogging in for subsequent sessions.

The way to clear the faulty Windows condition is to run the BRserver in standard mode on the failing client machine and then issue a SYSTEM LOGOFF. If SYSTEM LOGOFF is issued in in non-client/server mode BR clears the faulty entries in the Windows registry. This fix was put into br431ce (and greater).
Gabriel
Posts: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Re: WSID problem

Post by Gabriel »

So part of the problem was there was a process hung on the server. Somebody was running BR and it crashed and their BR session kept running on the server and that is what was causing us all to get WSID$ of -10 in the logfile, (which then became 1 when BR actually started).

Ending that session caused BR to hand me a WSID$ of 1 in the logfile (which remained 1).

At that point other users started getting their proper WSIDs that I assigned them: 30, 40, and 60. But I was still getting 1 for some reason.

System Logoff did the trick. After running that command I started getting WSID 50 like I should.

I think it can be done from any copy of BR run in Standard Mode because I don't have access to run their system in standard mode. I didn't make any network share or anything, they only have client. This is going to help for the users who are running the system from Rochester and Albany and Syracuse.

Thank you all for your help, with this and with the other problem. I still haven't figured that out yet - for some reason they have to make the users Administrators (the Account Type, not the Administrators group). Of course they also need "Log On Locally" and everything else that you all said.

Gabriel
Post Reply