Tech Support > Microsoft Windows > Windows CRM > manipulating CRM database directly
manipulating CRM database directly
Posted by Rojer on November 3rd, 2003


Hi,

I would like to create a program to access the crm metabase database for
updating the callout subscriber settings.
Currently the metabase database name is adventure_cylcle_works_metabase.
How can i get the database name for the same for any crm installation.
Will it be of the pattern <<CRM_Organization_Name>>_Metabase
In that case where and how will I get the name of the organization.
I guess, from the active directory. If so what is the attribute that i need
to ask for.

it would be great if I get the connectionstring for crm metabase database
using with the SqlConnection object

hope somebody have understood my problem.

thanks in advance
rojer





Posted by Matt Parks on November 3rd, 2003


Rojer,

If you are on the CRM Server, this is stored in the registry under the
following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\metaba se

"Rojer" <seanconnary@rediffmail.com> wrote in message
news:eH4mv0boDHA.2528@TK2MSFTNGP10.phx.gbl...
Hi,

I would like to create a program to access the crm metabase database for
updating the callout subscriber settings.
Currently the metabase database name is adventure_cylcle_works_metabase.
How can i get the database name for the same for any crm installation.
Will it be of the pattern <<CRM_Organization_Name>>_Metabase
In that case where and how will I get the name of the organization.
I guess, from the active directory. If so what is the attribute that i need
to ask for.

it would be great if I get the connectionstring for crm metabase database
using with the SqlConnection object

hope somebody have understood my problem.

thanks in advance
rojer







Similar Posts