BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-24-2008, 08:03 PM   #1
chunk73
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 9700
Carrier: T-Mobile
Posts: 38
Default Accidently installed full MDS during upgrade, uninstalled but still showing in consol

Please Login to Remove!

So i accidently installed full blown mds on my upgrade to 4.1 SP6. So i uninstalled completely, and basically did a knife edge cutover install but on the same server. MDS is no longer installed however it is still showing up in the blackberry management console. I assume that something is still lingering in the besmgmt database. Anyone know how to get rid of it in the console?

Thanks
Offline  
Old 08-25-2008, 06:33 AM   #2
bl0rb
Knows Where the Search Button Is
 
Join Date: Apr 2006
Location: Görlitz
Model: 8800
Carrier: T-Mobile DE
Posts: 29
Default

Run the following Structured Query Language (SQL) query on the BlackBerry Configuration Database:

Delete from MDSConfig where ServerName = <ServerName>, where <ServerName> is the name of the BlackBerry MDS Connection Service you want to remove. For example, BES01_MDS-CS_2.
Offline  
Old 08-25-2008, 07:04 AM   #3
vhato
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2006
Location: Baton Rouge, La
Model: 9810
Carrier: AT&T
Posts: 261
Default

I did that too back in 4.1.2. So I left it alone and it works great. Now running 4.1.6 and no problems.
Offline  
Old 08-25-2008, 07:13 AM   #4
gibson_hg
BlackBerry Extraordinaire
 
gibson_hg's Avatar
 
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Posts: 1,006
Default

Before you give the guy directions on database deletions, make sure it's for the right MDS. There are 2 remember. He said full blown MDS, I would take this as MDSS.

@ chunk73 - Which MDS do you want to get rid of? The MDS-CS from the cutover or the MDSS from the previous install? Or both?

If you want to delete the MDS-CS, then use the command posted by bl0rb, if you want to get rid of the MDSS URL as well, use the following comamnd:

1> use databasename
2> delete from mdsagconfig where serverurl = 'https://<FQDN>.<domain>:7443/mds'
3> go

serverurl is the MDS URL in your BB Manager.

Those commands should get rid of the MDS listing(s) in your BB Manager.
Offline  
Old 08-25-2008, 09:50 AM   #5
chunk73
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 9700
Carrier: T-Mobile
Posts: 38
Default

I want to remove the full blown MDSS. I need the basic MDS-CS for web browsing capabilities. I ran the SQL statement provided and got the following error. Let me know if this makes any sense to anyone.

Msg 547, Level 16, State 1, Server SQL1, Line 2 The DELETE statement conflicted with the REFERENCE constraint "FK_ServerConfig_MDSAGConfig". The conflict occurred in database "BESMgmt", table "dbo.ServerConfig", column 'MDSAGConfigId'.
The statement has been terminated.
Offline  
Old 08-25-2008, 11:21 AM   #6
gibson_hg
BlackBerry Extraordinaire
 
gibson_hg's Avatar
 
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Posts: 1,006
Default

That means that the field that you tried to delete has a foreign key realtionship in the serverconfig table.

So, in the mdsagconfig table there is an Id field. If you run this line:

select * from mdsagconfig where serverurl = <your serverurl>

You will see a field for Id. That is the id that is linked to the serverconfig table. You will need to delete the record from the serverconfig table first.

If you have SQL Server, you can use Enterprise Manager to look at table rather than run commands to delete records. It's easier and somewhat safer, incase you run the wrong sql statement

But this line should work for deleting the record from serverconfig:

delete from serverconfig where mdsagconfigid = <id from above statement>

Before doing any of this, backup the database.

Then you should be able to clear the mdsagconfig table that you tried before. Any questions or concerns let us know.
Offline  
Old 08-25-2008, 12:18 PM   #7
chunk73
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 9700
Carrier: T-Mobile
Posts: 38
Default

Worked like a charm. Thank you very much for your help.
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


Raspberry Pi 4 Model B 8 GB RAM picture

Raspberry Pi 4 Model B 8 GB RAM

$60.97



RAM MODULE (COMES WITH WIRING HARDNESS) picture

RAM MODULE (COMES WITH WIRING HARDNESS)

$220.00



50 Ton Hydraulic Cylinder Jack Solid Ram 150mm/6 inch Stroke Single Acting New picture

50 Ton Hydraulic Cylinder Jack Solid Ram 150mm/6 inch Stroke Single Acting New

$150.44



NCR 7616-1301 NCR 72XRT 15

NCR 7616-1301 NCR 72XRT 15" Retail POS Terminal with i3, 8GB Ram 250GB HD No OS

$209.30



37061 - IMPERIAL RAM MODULE -  picture

37061 - IMPERIAL RAM MODULE -

$205.00



KUHN GMD 700 Disc Mower Hyd Cyl Seal Kit 60Bore 25 mm Ram picture

KUHN GMD 700 Disc Mower Hyd Cyl Seal Kit 60Bore 25 mm Ram

$82.99







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