BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-26-2008, 10:03 PM   #681
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Please Login to Remove!

I would try to run the BESUserAdminClient command directly on the BerryStats server and see if you produce the same results. If so, you will need to check the log file for the adminclient tool - this should be found in the same folder where your other log files are found (\BlackBerry Enterprise Server\Logs\ - by default)

If the command produces the same result, then you know that the problem is with either your configuration or how the client tool was set up. If not, then we need to take a look at the BerryStats command page...

Are you running Domino by chance?
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ

Last edited by qc_metal; 08-26-2008 at 10:05 PM..
Offline  
Old 08-27-2008, 03:47 AM   #682
DavidAdams
Talking BlackBerry Encyclopedia
 
DavidAdams's Avatar
 
Join Date: Sep 2007
Location: Belfast
Model: NotYe
PIN: N/A
Carrier: O2
Posts: 470
Default

Hi Rob

I am getting the following from serverstatus.asp
Code:
An error occured during SQL processing. The actual error was: 3021-Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Had this error briefly with a previous version but when i treid to repeat it the error went away, this time its a wee bit more persistent.
__________________
BES, 4.1.7, was SBE now full BES
Domino v7.0.2
Windows Server 2003, standalone
Offline  
Old 08-27-2008, 08:22 AM   #683
jprknight
Knows Where the Search Button Is
 
jprknight's Avatar
 
Join Date: May 2008
Location: Bristol, UK
Model: 8120
Carrier: Orange
Posts: 40
Smile Berrystats .55

Very nice...

Just needed to remove the top line from export.asp: <%Option Explicit%>

and now the export from classic is only the columns selected!! sweet!
__________________
SNL
Offline  
Old 08-27-2008, 08:47 AM   #684
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by DavidAdams View Post
Hi Rob

I am getting the following from serverstatus.asp
Code:
An error occured during SQL processing. The actual error was: 3021-Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Had this error briefly with a previous version but when i treid to repeat it the error went away, this time its a wee bit more persistent.
In the serverstatus.asp page:

Around line 203 (search for "An error occured...") - insert the following line:

-Right below if err.number <> 0 then-

Code:
response.write SQL
Let me know what the query shows...if you have SQL Manager installed, try to run this query and see what it produces.
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-27-2008, 09:01 AM   #685
DavidAdams
Talking BlackBerry Encyclopedia
 
DavidAdams's Avatar
 
Join Date: Sep 2007
Location: Belfast
Model: NotYe
PIN: N/A
Carrier: O2
Posts: 470
Default

Hi Rob

Added in the line, and now the query is working, i am seeing the server status page. Back to Alice in Wonderland methinks.

There's two blank results in the result, Mail Server Name and Admin Account Name.
__________________
BES, 4.1.7, was SBE now full BES
Domino v7.0.2
Windows Server 2003, standalone

Last edited by DavidAdams; 08-27-2008 at 09:04 AM..
Offline  
Old 08-27-2008, 09:06 AM   #686
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by DavidAdams View Post
Hi Rob

Added in the line, and now the query is working, i am seeing the server status page. Back to Alice in Wonderland methinks.

There's two blank results in the result, Mail Server Name and Admin Account Name.

That's OK - looks like you have nothing applied there. Probably should change that to a 'N/A' if no value is found...

Great news!

This is great - we're getting issues resolved right and left!
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-27-2008, 12:04 PM   #687
StarDestroyer
New Member
 
Join Date: Aug 2008
Model: 8130
PIN: N/A
Carrier: Sprint PCS
Posts: 5
Default

Quote:
Originally Posted by qc_metal View Post
I'm guessing those of you who had authentication issues had BerryStats installed on something OTHER than a DC?
That is correct.... I don't install anything on my DC's except the things required to make the network function (DNS, DHCP, RAS).
Offline  
Old 08-27-2008, 12:09 PM   #688
StarDestroyer
New Member
 
Join Date: Aug 2008
Model: 8130
PIN: N/A
Carrier: Sprint PCS
Posts: 5
Default

Sorry about the delayed response... was out of the office the end of last week and this slipped my mind over the weekend.

Quote:
Originally Posted by qc_metal View Post
This is the way in which FF doesn't like 'response.redirect' - I'm going to get this fixed, since the end goal here is to get it to run via all browsers.
I believe the correct JavaScript for that is to use:
Code:
document.location = 'new_url'
And if it's the server sending a redirect, a header with the following:
Code:
loaction: new_url
Not sure how to do that in .net though, I mainly use PHP and Pearl.

Quote:
Originally Posted by qc_metal View Post
Are you running via 4.5 mobile OS as well? I wonder if they changed how the browser handles some of the rendering details...I have 4.2, and it seems to be OK for me...like I said earlier, I'm going to have to bust out the simulator software!
No, I have 4.3.0.127 on a Pearl

Quote:
Originally Posted by qc_metal View Post
Brent and I have been collaborating on this bit, and I am redoing a portion of this code...essentially we are going to try and make it possible for transparent authentication via LDAP.
Cool beans... I'd help if I could, but like I said, my .net is next to nothing.
Offline  
Old 08-27-2008, 12:23 PM   #689
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by StarDestroyer View Post
That is correct.... I don't install anything on my DC's except the things required to make the network function (DNS, DHCP, RAS).
Yeah - not that I assumed people would only be running it on a DC, but the LDAP authentication issue occured only on systems when it wasn't installed on a DC.

We have it resolved now - - have you checked out .55? - - Heck, you might as well wait a little bit. .56 has self-service
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-27-2008, 01:12 PM   #690
newaoao
New Member
 
Join Date: Aug 2008
Model: 7290
PIN: N/A
Carrier: t-mobile
Posts: 6
Default

still errors:
Server: Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.GroupConfig'.

Quote:
Originally Posted by qc_metal View Post
Code:
CREATE VIEW [dbo].[BerryStats]
AS
SELECT     dbo.ServerConfig.ServiceName AS Site, dbo.UserConfig.KeyGenPassword, dbo.UserConfig.DisplayName,
                      CASE dbo.UserStats.Status WHEN '0' THEN 'Initializing' WHEN '7' THEN 'No PIN' WHEN '8' THEN 'No Mailbox' WHEN '9' THEN 'Redirection disabled' WHEN
                       '10' THEN 'In cradle - no redirection' WHEN '12' THEN 'Running' ELSE CAST(dbo.UserStats.Status AS CHAR) END AS Status, dbo.UserConfig.PIN,
                      dbo.SyncDeviceMgmtSummary.ModelName, dbo.SyncDeviceMgmtSummary.HomeNetwork AS LastNetwork, dbo.UserStats.MsgsFailed AS Failed,
                      dbo.UserStats.MsgsPending AS Pending, dbo.UserStats.MsgsForwarded AS Rcvd, dbo.UserStats.MsgsSent AS Sent,
                      dbo.UserStats.MsgsExpired AS Expired, dbo.UserStats.MsgsFiltered AS Filtered, dbo.UserConfig.UserName as UserName, RTRIM(CONVERT(nchar(10), DATEDIFF(hh,
                      dbo.UserStats.LastFwdTime, GETUTCDATE()) / 24)) + ' Days ' + RTRIM(CONVERT(nchar(10), DATEDIFF(mi, dbo.UserStats.LastFwdTime, GETUTCDATE())
                      / 60 - DATEDIFF(hh, dbo.UserStats.LastFwdTime, GETUTCDATE()) / 24 * 24)) + ' Hrs' AS Inactive, DATEADD(hh, DATEDIFF(hh, GETUTCDATE(),
                      GETDATE()), dbo.UserStats.LastFwdTime) AS LastRcvd, DATEADD(hh, DATEDIFF(hh, GETUTCDATE(), GETDATE()), dbo.UserStats.LastSentTime)
                      AS LastSent, dbo.UserConfig.MailboxSMTPAddr AS SMTP, SUBSTRING(CAST(dbo.UserConfig.ServerDN AS varchar(100)), PATINDEX('%Servers/cn=%',
                      dbo.UserConfig.ServerDN) + 11, PATINDEX('%/cn=Microsoft%', dbo.UserConfig.ServerDN) - (PATINDEX('%Servers/cn=%', dbo.UserConfig.ServerDN)
                      + 11)) AS MailServer, dbo.SyncDeviceMgmtSummary.AppsVer, dbo.SyncDeviceMgmtSummary.PhoneNumber, dbo.SyncDeviceMgmtSummary.DCID,
                      dbo.SyncDeviceMgmtSummary.IMEI, dbo.SyncDeviceMgmtSummary.ITPolicyName, dbo.SyncDeviceMgmtSummary.FlashSize / 1048576 AS Memory,
                      DATEADD(hh, DATEDIFF(hh, GETUTCDATE(), GETDATE()), dbo.UserConfig.CreationTime) AS Creation, DATEADD(hh, DATEDIFF(hh, GETUTCDATE(),
                      GETDATE()), dbo.UserConfig.ActivationTime) AS Activation, DATEADD(hh, DATEDIFF(hh, GETUTCDATE(), GETDATE()), dbo.UserConfig.KeyDate)
                      AS KeyGen, DATEADD(hh, DATEDIFF(hh, GETUTCDATE(), GETDATE()), dbo.SyncDeviceMgmtSummary.HandheldConfigCheckTime) AS LastUpdate
FROM         dbo.ServerConfig INNER JOIN
                      dbo.UserConfig ON dbo.ServerConfig.Id = dbo.UserConfig.ServerConfigId LEFT OUTER JOIN
                      dbo.GroupConfig on dbo.UserConfig.GroupConfigID = dbo.GroupConfig.Id LEFT OUTER JOIN
                      dbo.UserStats ON dbo.UserConfig.Id = dbo.UserStats.UserConfigId LEFT OUTER JOIN
                      dbo.SyncDeviceMgmtSummary ON dbo.UserConfig.Id = dbo.SyncDeviceMgmtSummary.UserConfigId

GO
Does this view work for you? This was extracted directly from my DB server, and I have removed the GroupConfig field...
Offline  
Old 08-27-2008, 01:23 PM   #691
StarDestroyer
New Member
 
Join Date: Aug 2008
Model: 8130
PIN: N/A
Carrier: Sprint PCS
Posts: 5
Default

Quote:
Originally Posted by qc_metal View Post
We have it resolved now - - have you checked out .55? - - Heck, you might as well wait a little bit. .56 has self-service
I just installed .55 and LDAP auth works (once I used the domain_controller/dc=domain, dc=ext format). Looks good. We have a relatively small BB population (about 40) so it's not a huge ordeal to have IT deal with the relatively few issues that come up... I'll probably still update to it, though just 'cause I tend to do that.

I know it's not related to BerryStats, but any idea why the BES report my Pearl as a model unknown? I run OS 4.3.0.127 and have two other Pearls with that OS that are detected fine. The only difference I can think of is I updated their OS before activation and mine didn't update until after it was activated.
Offline  
Old 08-27-2008, 01:29 PM   #692
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by newaoao View Post
still errors:
Server: Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.GroupConfig'.

Ahh... remove this line:

Code:
dbo.GroupConfig on dbo.UserConfig.GroupConfigID = dbo.GroupConfig.Id LEFT OUTER JOIN
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-27-2008, 01:34 PM   #693
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by StarDestroyer View Post
I just installed .55 and LDAP auth works (once I used the domain_controller/dc=domain, dc=ext format). Looks good. We have a relatively small BB population (about 40) so it's not a huge ordeal to have IT deal with the relatively few issues that come up... I'll probably still update to it, though just 'cause I tend to do that.

I know it's not related to BerryStats, but any idea why the BES report my Pearl as a model unknown? I run OS 4.3.0.127 and have two other Pearls with that OS that are detected fine. The only difference I can think of is I updated their OS before activation and mine didn't update until after it was activated.
That could be quite possible. I bet if you removed yourself from the BES and re-activate it will populate...don't quote me on that, tho'!
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-28-2008, 06:03 AM   #694
jprknight
Knows Where the Search Button Is
 
jprknight's Avatar
 
Join Date: May 2008
Location: Bristol, UK
Model: 8120
Carrier: Orange
Posts: 40
Lightbulb MAPI Profile Name...

This took me soo long to work out I wanted to post it. It took me forever to realise that the MAPI profile configuration under Start -> Blackberry Enterprise Server -> Edit MAPI Profile was the name of the mailbox, not the actual MAPI Profile Name. It can be found under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem

And perhaps usually, and in my case, was "BlackBerryServer".

Doh!!!!
__________________
SNL
Offline  
Old 08-28-2008, 07:12 AM   #695
jprknight
Knows Where the Search Button Is
 
jprknight's Avatar
 
Join Date: May 2008
Location: Bristol, UK
Model: 8120
Carrier: Orange
Posts: 40
Default

Sorry just realised I posted this without saying I am setting up the BESuseradminservice / BESuseradminservice client.

Quote:
Originally Posted by jprknight View Post
This took me soo long to work out I wanted to post it. It took me forever to realise that the MAPI profile configuration under Start -> Blackberry Enterprise Server -> Edit MAPI Profile was the name of the mailbox, not the actual MAPI Profile Name. It can be found under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem

And perhaps usually, and in my case, was "BlackBerryServer".

Doh!!!!
__________________
SNL
Offline  
Old 08-28-2008, 10:57 AM   #696
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Quote:
Originally Posted by jprknight View Post
Sorry just realised I posted this without saying I am setting up the BESuseradminservice / BESuseradminservice client.
Jeremy, did you get your user lookup to work? Note that you must have email addresses specified in the AD user object in order for this to work...

For the rest of you, I've already discovered some small issues with .56 (mostly dealing with people browsing to the adduser.asp page even if they don't have this function assigned to their role).

Also, I've modified the adduser page so that if you -do- grant privileges to the self-service user to add a user, they can only add themselves. I have some other work to do - i.e. giving an option to the administrators to lock down the IT policy selection field so that a user can add themselves and have a pre-defined policy set.
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
Offline  
Old 08-28-2008, 03:22 PM   #697
Ajlan
New Member
 
Join Date: Aug 2008
Model: 8830
PIN: N/A
Carrier: ATT
Posts: 13
Default user lookup

Quote:
Originally Posted by qc_metal View Post
Jeremy, did you get your user lookup to work? Note that you must have email addresses specified in the AD user object in order for this to work...

For the rest of you, I've already discovered some small issues with .56 (mostly dealing with people browsing to the adduser.asp page even if they don't have this function assigned to their role).

Also, I've modified the adduser page so that if you -do- grant privileges to the self-service user to add a user, they can only add themselves. I have some other work to do - i.e. giving an option to the administrators to lock down the IT policy selection field so that a user can add themselves and have a pre-defined policy set.
I also have the same issue; logging in as a regular user which has a BB device already added and with the menu for a regular user, when choosing "My Blackberry" i get routed back to index.asp.

If I rem out the first rows in lite.asp it works great;
<%
if lcase(Session("LoggedOnSMTP")) <> Request.QueryString("SMTP") then
response.redirect "index.asp"
End If
%>

??

BTW Thanks for a great product
Offline  
Old 08-28-2008, 04:26 PM   #698
qc_metal
CrackBerry Addict
 
qc_metal's Avatar
 
Join Date: Mar 2005
Location: Rockford, IL
Model: 9530
OS: 4.7.x
Carrier: Verizon
Posts: 590
Default

Yeah, I picked up on that today... -

...also, I've coded the pages so that a self-service user (if approved for adding a user) can only add themselves.

The next version will have the ability for admins to select whether to hide the IT-Policy and Server selection drop-downs (in addition to specifying the default values for them) on the self-service add user page...

Finally, I've noticed that when browsing from a BlackBerry, the menu options aren't quite what they should be. I will work on that.
__________________
Provision, maintain, and report on users via web: the NEW BerryStats | FAQ

Last edited by qc_metal; 08-28-2008 at 04:28 PM..
Offline  
Old 08-28-2008, 04:58 PM   #699
Ajlan
New Member
 
Join Date: Aug 2008
Model: 8830
PIN: N/A
Carrier: ATT
Posts: 13
Smile Solved "query-users.asp not showing result"

Quote:
Originally Posted by Ajlan View Post
I'm configuring the "Find user", Show all users at startup to False and then using the query-users.asp.

It outputs the sql query on display but not the result.

Please, advice...
Quote:
Originally Posted by qc_metal View Post
Can you run the same query in SQL Manager Express?

Also, try to run a couple of the reports. Do you get anything back?
Found the issue; It was problem with the query column name LastNetwork.
In BES 4.0.x ver. the column name is "HomeNetwork".
In BES 4.1.x ver. the column name is "LastNetwork".

By changing in query-users.asp (from LastNetwork LIKE '%" & request.form("SearchForm") to HomeNetwork LIKE '%" & request.form("SearchForm") it worked like a charm.
Offline  
Old 08-29-2008, 05:48 AM   #700
jprknight
Knows Where the Search Button Is
 
jprknight's Avatar
 
Join Date: May 2008
Location: Bristol, UK
Model: 8120
Carrier: Orange
Posts: 40
Smile

Quote:
Originally Posted by Ajlan View Post
Found the issue; It was problem with the query column name LastNetwork.
In BES 4.0.x ver. the column name is "HomeNetwork".
In BES 4.1.x ver. the column name is "LastNetwork".

By changing in query-users.asp (from LastNetwork LIKE '%" & request.form("SearchForm") to HomeNetwork LIKE '%" & request.form("SearchForm") it worked like a charm.
Thanks Ajlan, it was feed through to me via RD. Works a treat now!
__________________
SNL
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Siemens 6AU14 35-0AA00-0AA1 6AU1435-0AA00-0AA1 SIMOTION DRIVE-BASED CONTROL New  picture

Siemens 6AU14 35-0AA00-0AA1 6AU1435-0AA00-0AA1 SIMOTION DRIVE-BASED CONTROL New

$3988.00



6FC5610-0BA10-0AA1 SIEMENS LCD Screen Display 1PCS picture

6FC5610-0BA10-0AA1 SIEMENS LCD Screen Display 1PCS

$2998.00



6AV6643-0BA01-1AX0 Siemens SMART PLC Module 6AV6643-0BA01-1AX0 New In Box picture

6AV6643-0BA01-1AX0 Siemens SMART PLC Module 6AV6643-0BA01-1AX0 New In Box

$840.75



New In Box Siemens 6SL3130-6AE21-0AB1 SINAMICS S120 Module 6SL3 130-6AE21-0AB1 picture

New In Box Siemens 6SL3130-6AE21-0AB1 SINAMICS S120 Module 6SL3 130-6AE21-0AB1

$950.00



LOT OF 5 SIEMENS Q120DFN 20A DUAL AFCI/GFCI PLUG ON NEUTRAL BREAKER BRAND NEW picture

LOT OF 5 SIEMENS Q120DFN 20A DUAL AFCI/GFCI PLUG ON NEUTRAL BREAKER BRAND NEW

$199.00



LOT OF 10 SIEMENS QA120AFC  20A AFCI BREAKER (with pigtail wire) NEW picture

LOT OF 10 SIEMENS QA120AFC 20A AFCI BREAKER (with pigtail wire) NEW

$398.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.