BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-22-2007, 01:15 AM   #1
amukhey
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Default DST Query tool

Please Login to Remove!

Does anyone get the message Access Denied? I keep getting this.

Can anyone advise?
Offline  
Old 02-22-2007, 01:44 AM   #2
noname
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Default

Hey amukhey, the "DST Query tool" needs to be running on a computer that can connect to the SQL server. Same logic as the remote Blackberry manager.

1. Access from PC where the tool is running
2. Named Pipes and TCPIP enabled on SQL server
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 02-22-2007, 01:34 PM   #3
Debau
Thumbs Must Hurt
 
Debau's Avatar
 
Join Date: Feb 2006
Location: Georgia
Model: 8300
Carrier: T-Mobile
Posts: 83
Default

I get the same error message, and I am running it on the server that has the SQL db's!
Offline  
Old 02-22-2007, 03:18 PM   #4
DarthBBerry
Wireless Sith Lord
 
DarthBBerry's Avatar
 
Join Date: Jan 2007
Location: Online
Model: iOS 6
Carrier: Verizon x2
Posts: 1,458
Default

It might be in the syntax of your command line for the query when you try to run it. I have my query tool in a desktop folder called: query. (duh)

"C:\Documents and Settings\blackberry\Desktop\query\DST2007Query.exe " -n SERVER NAME -db besmgmt -b all -OL "C:\Documents and Settings\blackberry\Desktop\query"

Before I got the syntax corrected, I got errors too. Be sure to use the quotes as well.
FYI - Using it this way will run the query and put the results in the same folder as the exe. Convenient!
__________________
DarthBBerry
6-Time BlackBerry World Champion (2007-2012)
BlackBerry® Certified Support Specialist v5.0
BlackBerry® Certified System Administrator v5.0
Offline  
Old 02-22-2007, 03:41 PM   #5
elgauchogrub
Thumbs Must Hurt
 
elgauchogrub's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Model: 8800
Carrier: Cingular
Posts: 58
Default

If you're running SQL authentication you also need the -dbauth -dbuser <name> and -dbpass <password> switches included in the command line.
Offline  
Old 02-22-2007, 06:32 PM   #6
JJimmy
New Member
 
Join Date: Feb 2007
Model: 8700
Posts: 2
Lightbulb

I had a lot of problems with this tool as well at first, but I finally got everything figured out. Here are some helpful tips:

1. Figure out what type of authentication you're using to your database. Open up the "Blackberry Server Configuration" in your BES server's control panel. Switch to the "Database Connectivity" tab. In the "SQL Information" section, whatever is listed as the "Database:" is the name of your db (I'm guessing for most people it is BESMgmt). The bottom section, authentication, will show you if you're using Windows authentication or SQL authentication. If you're using windows, you don't need the SQL switches, so this is important to remember.

2. Once you've figured that information out, open a command prompt and navigate to your DST2007Query.exe file. Once you're in the directory, use the appropriate switches based on your findings from step 1.

Example for a database that uses Windows authentication:

DST2007Query.exe -n SERVERNAME -db DBNAME -b all

Substitute SERVERNAME for the NetBIOS name of your BES server, and DBNAME for the name of the DB you gathered in step 1.

NOTE: While the tool says that you don't have to fill out server name and that it uses "localhost" as the default, this DID NOT work for me (even though I was running the tool on the BES server). I had to fill in my BES Server's NetBIOS name in order for the database to open successfully. Not even explicitly using "localhost" worked, I had to type in the server name.

Example for a database that uses SQL authentication:

DST2007Query.exe -n SERVERNAME -db DBNAME -b all -dbauth

Again, substitute SERVERNAME for the NetBIOS name of your BES server, and DBNAME for the name of the DB you gathered in step 1. I will also note again that not specifying the server's name or explicitly using "localhost" in the command string did not work for me, I had to use the NetBIOS name of the BES server (even if you're executing the tool on the BES server itself). I don't know if this will be true for everyone, but that was my experience. Anyway, when you execute this command, it will prompt you for the username and password of the SQL database. Fill in those details to connect.

I should note that I haven't tested the SQL command (we don't use SQL authentication), so if anyone believes it to be incorrect, please feel free to correct me.

For any other switches you may need, just execute the DSTQuery2007.exe without any other parameters and it will list out all the possibilities.

Once you are done running the utility, it will spit some data out on the command line and save a .csv file in either the directory that the DSTQuery2007.exe tool is located, or a different directory if you specified the -OL switch to use a different output path.

Hope this helps!
Offline  
Old 02-22-2007, 07:46 PM   #7
centrekin
Thumbs Must Hurt
 
centrekin's Avatar
 
Join Date: Dec 2006
Location: Mississippi
Model: 9630
OS: 5.0.0.591
Carrier: Verizon
Posts: 102
Default

What does N/A in the DST 2007Timezone Patcher column mean?
Offline  
Old 02-23-2007, 09:11 AM   #8
Debau
Thumbs Must Hurt
 
Debau's Avatar
 
Join Date: Feb 2006
Location: Georgia
Model: 8300
Carrier: T-Mobile
Posts: 83
Default

THANKS! That worked like a charm!
Offline  
Old 02-23-2007, 03:35 PM   #9
amukhey
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Default

Yup finally got this working...amazing tool when needed it the most.
Offline  
Old 02-25-2007, 10:25 PM   #10
rhbergman
New Member
 
rhbergman's Avatar
 
Join Date: Feb 2007
Model: 8703e
Carrier: VZW
Posts: 5
Default

Once you get the syntax of the command line utility the way you need it for your particular environment, consider putting the full DST2007Query command string into a batch file and using Windows Scheduler to call it regularly (say, twice a day). You can also create an FTP script and FTP to it a central server where you can easily audit the progress of your patch in your BES environment - this comes in particularly handy if you have multiple BlackBerry domains (SQL databases)
Offline  
Old 02-26-2007, 08:06 AM   #11
stuwhite
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Default

Quote:
Originally Posted by centrekin
What does N/A in the DST 2007Timezone Patcher column mean?
It shows the version of the patch once installed. The current one is 1.5.

cheers
Stu
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 02-26-2007, 08:38 AM   #12
stuwhite
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Default

Quote:
Originally Posted by amukhey
Yup finally got this working...amazing tool when needed it the most.
Have you tried the BoxTool DST Expert yet? Same info but nice GUI. There are a few discrepancies between it and DSTQuery right now but they are sorting them out.

cheers
Stu
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 02-26-2007, 08:41 AM   #13
stuwhite
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Default

Quote:
Originally Posted by rhbergman
Once you get the syntax of the command line utility the way you need it for your particular environment, consider putting the full DST2007Query command string into a batch file and using Windows Scheduler to call it regularly (say, twice a day). You can also create an FTP script and FTP to it a central server where you can easily audit the progress of your patch in your BES environment - this comes in particularly handy if you have multiple BlackBerry domains (SQL databases)
Yeah this works a treat. I did that last week and have the script run every hour. OK, I am mainly using BoxTool now but having DSTQuery running every hour and dumping the file to a server is a nice sanity check.
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 02-26-2007, 09:49 AM   #14
TonyEye
Talking BlackBerry Encyclopedia
 
TonyEye's Avatar
 
Join Date: Dec 2006
Location: NYC
Model: NoMas
Carrier: NOT AT&T
Posts: 223
Default

Quote:
Originally Posted by stuwhite
Have you tried the BoxTool DST Expert yet? Same info but nice GUI. There are a few discrepancies between it and DSTQuery right now but they are sorting them out.

cheers
Stu
Ajay - check out this thread... I'm downloading the BoxTone utility now.

http://www.blackberryforums.com/bes-...t-utility.html

- T -
Offline  
Old 02-26-2007, 09:57 AM   #15
stuwhite
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Default

Quote:
Originally Posted by TonyEye
Ajay - check out this thread... I'm downloading the BoxTone utility now.

http://www.blackberryforums.com/bes-...t-utility.html

- T -
Make sure you get the patch if the download isn't patched. It addresses a few issues found in the first release. Top piece of kit.
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 02-26-2007, 03:49 PM   #16
amukhey
CrackBerry Addict
 
amukhey's Avatar
 
Join Date: Sep 2004
Location: Los Angeles
Model: 9700
Carrier: T-Mobile
Posts: 750
Default

TONY EYE, Thanks meng good looking out.
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


NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL  picture

NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL

$198.22



DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98



Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL picture

Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL

$8.95



Dell OEM Latitude Rugged Extreme 7404 GPS Antenna Junction Cable Cable KMX0M picture

Dell OEM Latitude Rugged Extreme 7404 GPS Antenna Junction Cable Cable KMX0M

$2.95



Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI picture

Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI

$94.99



OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$12.11







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