Welcome to MSDN Blogs Sign in | Join | Help

News

  • The views expressed in this blog are those of the individual and do not necessarily represent those of Microsoft. This information is provided by way of general information only and should not be relied on without obtaining independent expert advice. These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use
Database Tool Released

We are pleased to announce the public availability of Database Admin ToolThis tool allows administrators to host Business Contact Manager for Outlook 2007 database on a computer on which Microsoft Office 2007 and Business Contact Manager for Outlook 2007 are not installed. Once installed on a server, this tool will allow user to:

  • Create and backup Business Contact Manager 2007 databases. To create a database, user must be the local administrator.
  • Restore databases from Business Contact Manager for Outlook 2007, Business Contact Manager for Outlook 2003 and Business Contact Manager for Outlook 2003 (Update).
  • Share Business Contact Manager databases to other users on a local network. 

It will ensure that necessary firewall ports are opened, that users are granted permission to the database, and that the SQL instance is configured to allow external connections. These operations will require the user be a local administrator.

Supported Operating Systems

  • Windows Server 2003 Service Pack 1
  • Windows Small Business Server 2003 
  •  Windows Vista
  •  Windows XP Service Pack 2
Prerequisites
  • Microsoft .NET Framework 2.0
  • Microsoft SQL Express 2005 SP2 (32-bit only) or Microsoft SQL Server 2005 SP2 (32-bit only) 

Notes

  • This tool does not support SQL instances with case sensitive collation.
  • This tool cannot open the required ports for more than two SQL Server instances.
  • It is compatible with only English version of Business Contact Manager for Outlook 2007.

We hope that your find this tool useful.

-Mukesh

Posted: Friday, March 30, 2007 4:17 AM by bcmteam

Comments

ksurvell said:

Oh thank you thank you thank you!! I've been waiting for this tool ever since BC 2007 was released.

Thank you!!!

# March 30, 2007 10:51 AM

Lucifer79 said:

Cheers Mukesh and the BCM Team.

Lui :)

# March 30, 2007 3:20 PM

jbeard7 said:

Will this import all of the information from a BCM 2003 database?  I'm specifically looking to import histories.

# April 2, 2007 3:52 PM

fschuurman said:

Hi,

Great news. Just what we need. Actually this client is based in Europe. I read that localized versions are not compatible. Does this mean that the database setup is completely incompatible, or that it won't run on a localized OS?

Thanx

# April 3, 2007 1:40 PM

thirunachi said:

Many thanks for the tool, Can this tool be used to install the database on SQL 2000 server?  You've mentioned above that it requires SQL 2005.  Any work arounds to install it on SQL 2000?

Thanks

# April 4, 2007 8:54 AM

bcmteam said:

Here are answers to some questions asked above. 

  1.  BCM 2007 requires SQL 2005. So, not it is not supported on SQL 2000.
  2. OS language is not important. It is supported only for English BCM and SQL Express.
  3. You can backup database from BCM 2003 and restore using this tool.
# April 4, 2007 7:02 PM

thirunachi said:

BCM 2003 with SP4 can able to use the database created by this tool?

# April 5, 2007 4:49 AM

Pipo said:

Great news, but is there any way to make the admin tool compatible with the german version of bcm? is it possible to install an english version of bcm with the german version of outlook 2007 on the clients?

Thanx

# April 5, 2007 5:55 AM

mus123 said:

How can I create a bcm database on a nas device from my vista station? Thanks in advance.

# April 11, 2007 1:40 PM

steph5280 said:

I am using Outlook 2007 with BCM and want to share the database over a hosted exchange server. Neither ASP-One nor Microsoft support knows if or how to get it set up. How do I go about doing this?

# April 11, 2007 1:40 PM

bcmteam said:

Note that BCM database is stored in SQL Server database. This is totally seperate from Exchange data store so you can't use Exchange (hosted or on-premise) server to share BCM database. BCM database is shared by directly connecting to SQL Server from BCM client. You will need to be part of LAN environment. If you are not connected to LAN, you can take an offline copy of BCM database that will sync back to main server when connected to SQL server.

# April 11, 2007 10:00 PM

bcmteam said:

mus123, BCM database is a SQL database so you don't get lot of flexibility in chosing your own location to store data. SQL gets configured during setup to create DB under C:\Document and Setting\User...\Application Data\Business Contact Manager folder.

It's technically possible to move SQL database files (.mdf,.ldf) to another location but it would require knowledge of SQL commands to attach and detach the data files. Moreover, it is not recommended.

# April 11, 2007 10:07 PM

strmysrf said:

I want my BCM (Sql Server 2005) database to be on its own server accessible only via the IP, making it a remote databse.  Since we have employees not on the LAN (some will be on a LAN), we want them to be able to talk to the BCM database remotely just as if they were on the LAN.

Since you mention this is not possible, since your products only allow for LAN connections, can you please describe in more detail the part about how we synch back to the main server?  Such that both LAN and non-LAN users see the same data?

How is that possible for employees that will never be part of the LAN, but will be updating / reading the BCM?

# April 19, 2007 2:49 PM

bcmteam said:

strmysrf, the sync back scenario is more for people who want to travel with an offline DB on their laptop. They can update data on the offline database during traveling, and once they return to the office, they can connect the laptop to LAN and sync data between the offline DB and the shared database.

Now back to your question about employees who will never be part of the LAN. It depends on the network between their client machine and the server machine that hosts the shared database. If the network between two allows SQL connection using TCP protocol and sending and receiving SQL queries/results in timely fashion, then it may work.

There are some workarounds if the network does not work, such as import/export bcm files. Thanks.

# April 19, 2007 8:24 PM

Jason Miller said:

Are there client connection limits to consider when comparing BCM in Shared Database configuration on each of SQL 2005 Workgroup and SQL 2005 Express Editions?

i.e.: is the SQL 2005 Express hosted BCM database any less functional or is it connection limited as compared to a BCM database hosted on a SQL 2005 Workgroup system?

# April 23, 2007 12:37 AM

bcmteam said:

There is no limit on the number of user connections to the database hosted on SQL 2005 express. With regard to BCM functionality and connection, BCM database should behave very similarly on both SQL Express and SQL Workgroup.

There are differences in performance and DB size between SQL Express and SQL Workgroup. Detailed information can be found at http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx. The DB size limit will apply to shared DB hosted on SQL Workgroup too, if the client wants to go offline (offline DB is hosted in SQL Express, therefore still restricted by DB size limit).

# April 23, 2007 4:45 PM

Jason Miller said:

Thanks!  I'd like to email the BCM team.  Can you publish a contact form on your blog?

# April 24, 2007 8:56 PM

karl1406 said:

I just installed the Database Tool on our W2003 server, SQL SERVER 2005 w/SP2, fully patched.

When I launch the Database Tool, the only "Database Server Instance" in the drop down box is, "MSSQLSERVER"

My sql server is, "Bunkerhill"

So, I keep getting an error when trying to create the database because I can't point it to the correct server instance, which is also the default instanace.

Any help would be appreicated, thank you!

Karl

# May 1, 2007 9:27 AM

bcmteam said:

Karl, can you verify that "Bunkerhill" is a 32bits sql server instance? Database tool only supports 32 bits sql server instances and won't show 64 bits instances in the dropdown list. Also it might help to check if Bunkerhill is an instance, not an alias, running on the the same machine as the database tool. Database tool won't find sql instances on remote machines, nor will it show any connection aliases. (This can be checked in Microsoft SQL Server 2005 > Configuration tools -> SQL Server configuration manager.)

For db creation error, you may want to check if your current user is an administrator and has sql dbcreator permission. Thanks.

# May 1, 2007 7:43 PM

karl1406 said:

Yes, I'm running 32bit SQL Server.  I'm the DBA and installed the server.  There is only one instance of SQL Server 2005 installed. I did a default install.  No alias.

I even opened up named pipes for you just in case.

I'm still getting them result.  When I launch the Database Tool, the only "Database Server Instance" in the drop down box is, "MSSQLSERVER"

Any reason the tool does not use SQL DMO?  Is the source available?  C# or VB.Net?

Any thing else I can try, so we can get this up and running?

Thank you!

Karl

# May 3, 2007 12:39 PM

bcmteam said:

Karl, the default sql instance name is MSSQLSERVER. http://msdn2.microsoft.com/en-us/library/ms143531.aspx Connecting to the default instance is a special case (using server computer name rather than specifying instance' name), this might be the reason why MSSQLSERVER never shows up in other tools/command when connecting to the instance. Database tool, on the other hand, will detect and show the instance name correctly. Hope this helps.

# May 3, 2007 3:39 PM

karl1406 said:

I ran the tool using the MSSQLSERVER selected in the dropdown.

This is what's being logged in the Application Log :

Source : MSSQLSERVER

Type : Failure Aud

Event Id : 18456

User : BUNKERHILL\WilliamPrescott

Computer : BUNKERHILL

Description :

Login failed for user 'BUNKERHILL\WilliamPrescott'. [CLIENT: <local machine>]

WilliamPrescott is the local administrator on Bunkerhill.  This account is a member of the BUILTIN\Administrators group.

I also, just to be sure, added a Windows login for BUNKERHILL\WilliamPrescott.  This login is a sysadmin.

WilliamPrescott is actually the Administrator account renamed.

I can admin any database on the server and can create new databases in SSMS.

Karl

# May 7, 2007 11:24 AM

karl1406 said:

Sorry to not mention that I still can't install the Outlook BCM databases using the tool.

Karl

# May 7, 2007 11:26 AM

karl1406 said:

Can anyone from the Team assist me with getting the BCM database installed?

I'm following the directions to the letter and meet the system requirements.

Thank you,

Karl

# May 9, 2007 12:25 PM

bcmteam said:

Karl,

Please send mail to bcmteam at microsoft.com with details of the problem and we will try to assist you.  Also, feel free to contact our full-time support staff at any time using the URL below:

http://support.microsoft.com/common/international.aspx?rdpath=1&gprid=11335

# May 9, 2007 1:16 PM

bcmteam said:

Karl, this login error is coming from sql server. You might want to try connecting through sql command as this user account, and see if you can login.

(sqlcmd -S serverName) If login also fails through sqlcmd, there have been discussions on sql blog on how to trouble shoot the login errors. http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx

# May 9, 2007 3:08 PM

jasonwentler said:

I currently have a Vista Client running OL 2007 with BCM. We have a SBS 2003 Premium (not an R2) server. From what I gather because this server has SQL 2000 installed I am out of luck in having the server host the BCM db. Are there any work arounds for this? Or is that it?

# June 5, 2007 1:55 PM

paiz310 said:

Can BCM 2003 with SP4 be able to use the database created by this tool?

# June 11, 2007 6:59 PM

bcmteam said:

Jason, you can install SQL Server 2005 Express from here: http://msdn.microsoft.com/vstudio/express/sql/ and use it side by side with existing sql services on your computer. The DB tool will recognize the 2005 sql instance and help you host DB on it.

Paiz310, this tool is only for BCM 2007, BCM 2003 cannot use DB created by the tool.

# June 11, 2007 8:12 PM

paiz310 said:

I need help with BCM 2003, I get an alert when I install Outlook 2003 on our server, which is also our mail server. Is it safe to setup our BCM database on our server??

# June 13, 2007 1:15 PM

bcmteam said:

Paiz, This is more of an Outlook question. It's is usually not recommended to install Outlook on a machine that hosts your mail server.

# June 18, 2007 1:05 PM

isogulaleb said:

May I ask your help in this topic? I used the admin tool to create the database on our SBS2003SP1 server but when I try to connect from an XP client is says there is no BCM database on this server. I tried to use Sqlcmd –S and received an answer like >1 - I suppose this means the server is listening on port 5356. What could be the problem?

Our SBS server is standard so there is no ISA only RRAS. I tried several reinstalls of SQL Express and Admin tool with different options but nothing helped. ALLIP is listening on 5356 according to the SQL manager. Is it possible that the problem is with the different languages (on the XP client it is Hungarian, but the admin tool is certainly English)?

Sorry for the long post but wanted to give summary o the situation. Thanks a lot in advance!

# July 17, 2007 8:12 AM

isogulaleb said:

I found the answer to my question... :(

"It is compatible with only English version of Business Contact Manager for Outlook 2007."

I was not attentive enough to disregard this note, however, I think it would be REALLY nice from Microsoft to mention this with the download as well... I was able to find this note only on your site.

Anyway, thanks for posting this.

# July 23, 2007 9:25 AM

LordZoltan said:

This is for anyone that gets the same error as karl1406 - whereby a user with obvious login access to the DB server apparently fails to login.

After doing a profile on the DB it turned out to be because the initial DB creation fails due to a file permissions problem on the following (or similar) folder:

C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Business Contact Manager.

The SQL Server Service account must be given write permissions to this folder in order to create the MDF files.

As soon as I did this, I was able to create the database using this tool.

# July 26, 2007 4:59 AM

karl1406 said:

Lord Zoltan,

You are the man.  This fixed my install problem instantly.

Microsoft.  I don't want to speak out of turn, by why is the data base burried in this folder?

Why not just put the database in the default database location so that we don't have to detach and reattach the database?  This feature of sql server has been around for a long time.

Any rate, got it up and running!

Cheers,

Karl

# July 27, 2007 9:25 AM

dbava said:

I installed Outlook BCM 2007 on a Windows 2003 file server.  It installed the database in the administrator's profile on the c: drive.  It's been working fine.  But that c: drive is going to run out of disk space soon, and I want to move the BCM database to another hard disk in that server.  How can I safely move the BCM database?  I do not know SQL commands.

# August 6, 2007 3:05 PM

LonOrenstein said:

I'm working on a new SBS Premium Server with SQL 2005.  I used the Database Tool to create a new database and that worked fine.  I then tried to use the DB Tool to Share the database and got this error message:  "Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  If you click Quit, the application will close immediately.  The database pptMaster is no longer shared.  Only the database owner may currently connect to this database...."  

Well, I'm the db owner and it never was shared.

If I click Continue, it just hangs until I close the dialog box.  If I click Quit, it does.

I've also tried detaching/reattaching the database to move it to another folder on the server but that gets the same results.

Any ideas please?

Thanks,

Lon

# August 13, 2007 7:49 PM

bcmteam said:

Lon, can you check if you have other SQL instances that have the same TCP port number enabled as the one you are sharing?

For instance, if you are sharing out a DB on "instance1", you can go to Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server configuration manager, check for instance1: TCP/IP protocol -> IP addresses -> IPAll -> TCP Port number. And see if the port number here is in conflict with any other instances on the same machine. If so, you may need to change one instance's TCP port to make sharing work. Thanks.

# August 13, 2007 8:57 PM

LonOrenstein said:

Thanks...

Under Services, there is one listing for SQL Server (MSSQLSERVER, although there are SQLAGENT services for MSSQL$MSFW, MSSQL$SBSMONITORING, and MSSQL$SHAREPOINT.  The TCP/IP setting for that MSSQLSERVER is 1433.  This is a hosted box and SBS/SQL was already setup when I took possession.  Should I change to MSSMLBIZ and 5356?

In SQL Configuration Manager, in the tree under SQL Server 2005 Network Configuration | Protocols for MSSQLSERVER | TCP/IP, on the IP Addresses tab, there is IP1 (209.62.93.50, no TCPIP set), IP2 (127.0.0.1, no TCPIP set), and IPAll which is set to 1433.

Thanks for your help!

Lon

# August 14, 2007 8:48 AM

AlpesInfo.com said:

I had the same problem as karl1406 which was solved by LordZoltan's suggestion.

I have two additional questions though.

1 - does this mean that i will have to manually add user permissions to this folder every time i add another user to the system

2 - is there any way to move this database to a different drive/location like d:/databases/bcm/

# December 4, 2007 7:06 AM

jwscuba said:

thanks for this tool.  I used it before I saw and read the whitpeper you had to so this and I installed SQL express with the default instance.  So I am going to install again with a new instance.  I was vurious though why it isn't recomanded to move the databases.  I am on sbs server 2003 and have a data partition setup were I would like to keep my data.  Including databases.  Since the os partition has limited apace.  I was just wondering if the only reason is because people might not know how to do the move or does it make the tool not work properlly later to share the database and add users to it and such?

# February 11, 2008 1:42 PM

rooser said:

Hi There BCM Team,

I've installed and configured the BCM in SQL Server and things are running fine, but....

I couple of machines connecting to it are running XP SP2 and keep dropping the connection to the DB. The Vista machines are fine?

Any Clues?

# February 14, 2008 6:28 AM

bcmteam said:

Hi rooser,

Can you please be more specific when you say dropping connections?  I mean, the exact repro steps, error messages etc...

-Sateesh

# February 26, 2008 2:48 PM

ROD_ETI said:

Hi, i have created a database in business contact manager which is currently been used by five other employees. I was trying to move that database to my

server. Well I finally found Business contact manager 2007 database tool. I am trying to run it on the server but it is giving me a following error:

"Cannot retrieve the list of SQL Server instances. Please make sure that SQL Server 2005 or SQL 2005 Express is installed and that the service is running."

I have SQL 2005 installed on my computer and I dont have any idea how to resolve this issue. It would be great if someone could help me. I dont have outlook installed on my server. But my main goal is to move the BCM database to my server. If there is any other suggestion to resolve this issue please let me know. Thank you.

# February 28, 2008 3:06 PM

captbackfire said:

Is there a command line interface for this tool?  What I really want is a way to automate the backups of my BCM databases through this tool.  Or should I just use the SQL backup utility and restore directly to the instance?

Also, for ROD_ETI, I tried exactly what you tried and couldn't get it to work, so I had to create a new database through the tool and restore the data and customizations to the new database from a backup.  Hope this helps.

# April 6, 2008 11:05 AM

Fatih YILDIZ said:

Hi Captbackfire,

BCM does not have any command line interface for admin tool. Below article may adress your problem. Let me know if you have any question.

http://blogs.msdn.com/bcm/archive/2007/09/05/automate-bcm-database-backup.aspx

Thx.

-Fatih

# April 6, 2008 3:22 PM

kajas said:

Dear BCM Team

I have installed the tool on a SQL Server and created a new database.

I would like to restore a Danish BCM database on the server. But the Admin Tool gives an error message that the Danish database is not compatible with the English (US) version of the tool.

As I see it there is no Danish version of the Admin Tool. What can I do to get Danish databases restored on SQL servers without installing Outlook with BCM on the servers ?

# April 15, 2008 9:02 AM

ragys said:

Hi, I have some clients with OL2003 and others with OL2007, both with BCM 2003 update and BCM 2007 respectively.

How share same BCM database on SQL Server 2005 for all clients?

Thx.

# April 29, 2008 12:43 PM

bcmteam said:

Hi Ragys

We only support sharing between same versions of BCM clients i.e. BCM 2003 can only be shared between clients with BCM 2003 . Same with BCM 2007.

Thanks

Vinit [MSFT]

# April 29, 2008 1:41 PM

fisofo said:

Not sure where else to post this:

We used this to put our BCM on a server a long while back, and recently had a server crash that forced a rebuild of the server.  I have a backup of the database, but I found it's a bit old (a couple weeks).  I also have a machine with an offline copy of the database that has all of the recent data in it, but my attempts to restore from that have been unsuccessful.

What's my best bet for getting this up and running with the most recent data?  It seems that I can perform a backup/restore of the offline database using Management Studio Express, but then the Tool no longer recognizes it and no one can connect to it (although it is accessible from the Management Studio Express).

Thanks!

# May 5, 2008 11:09 PM

captbackfire said:

I have used this tool to deploy a customer's BCM data and for some reason the database has just disappeared from the server.  I'm the only one with administrative rights, so no one could have messed with it.  I got it up and running, it ran for several days, then the database just vanished and the outlook clients can't go back online.  Any idea what I should be looking for to get it back?

# May 8, 2008 11:13 AM

captbackfire said:

Hello?!?  How do I get support for the Database Tool if not here?

# May 13, 2008 10:05 PM

bcmteam said:

Captbackfire,

  Can you explain some more about how the database disappeared and how you got it back running? Did you reattach the database? Thanks.

# May 14, 2008 1:31 PM

Tyler D said:

hey bcmteam,

Great work on this database tool.  BCM is becoming a formidable contender to the Act! line of products.  I have one question.  Is there a way to change the database administrator using this tool or some other way?  I currently have a user as the database administrator, and they get reminders to back up the dbase.  I want to change that to another user, but the database tool doesn't allow me to do that.  I've changed permissions using the SQL Express tool, and that allows me to assign a new database admin, but it doesn't send out those alerts to the new user, nor does this new assignment of permissions get reflected in the database tool.

Thanks for your help.

# May 29, 2008 1:32 PM

bcmteam said:

Hi

You can do that by assigning the “backup db” task to the other user. The other user will become the permanent owner of the task and have the prompt show up in his/her own outlook client. This setting is in outlook and not in Business Contact Manager.

Let me know if this helps.

Thanks

Vinit [MSFT]

# May 29, 2008 5:39 PM

Rasmus Carlsson said:

The "Notes" for the Admin tool says that "It is compatible with only English version of Business Contact Manager for Outlook 2007."

So how do I deploy a shared BCM database for non-English clients on a server? The server is a 2003 SBS that serves as an AD/DC and also hosts the Exchange. Are there other ways - such as installing Outlook with BCM on the server?

# June 2, 2008 4:34 PM

captbackfire said:

I solved the problem.  Somehow, the SQL service forgot where the actual files were and so I couldn't connect until I reminded it.  Thanks.

# July 21, 2008 5:15 PM

jvt said:

I've succesfully installed the database on a SBS server and can access it from my client computer with SQL Server Mgmt Studio Express. However, from the BCM I don't have access to the database; it doesn't show up as an instance when I browse for it (browser services is running on the server) nor when I explicitly type the instance name with the correct TCP/IP port#. I suspect the reason is that I have a non-english BCM client. Could you please confirm this before I go about uninstalling and reinstalling Office to the English version on the client's machine (a non-trivial task if I understand the forums correctly)?

# August 25, 2008 9:54 AM

bcmteam said:

Hi jvt

Both your Server and Client BCM language needs to be same for them to communicate.

Thanks

Vinit[MSFT]

# August 25, 2008 6:18 PM

jvt said:

Thanks for your prompt response. One more double-check: the OS languange on the client can be non-english, right?

# August 29, 2008 5:02 AM

bcmteam said:

Yes, your system locale can be any language.

Thanks

Vinit[MSFT]

# August 29, 2008 1:36 PM

hammtech said:

I've put over 40 hours into trying to make this thing work, with no success at all. No matter what I do I get the following (seems to be common)error:

"Cannot retrieve the list of SQL Server instances. Please make sure that SQL Server 2005 or SQL 2005 Express is installed and that the service is running."

The database server is running and I can manually create a database. I have given Everyone (as a last resort) full rights to the BCM directory in the user profile directory. I've tried running the database services as every user under the sun, I've tried running the Admin tools as different users and allowed it to run unrestriced. No luck at all.

I've un-installed, re-installed the SQL server Express a thousand times, nothing seems to make any difference at all. The server is running Windows 2003 Standard w/ SP 2 and has ALL of the Windows updates installed.

I can't seem to find any log that will tell me what is going wrong, the SQLERROR log has no errors, nor do the event logs. I can see the database showing up for a brief second if I watch the BCM directory in the user profile directory, but then it rolls back and goes away.

Any suggestions?

# September 3, 2008 8:28 PM

hammtech said:

Sorry, wrong error listed in above post - it should be:

Cannot create a new database. The operation has been rolled back. Please make

sure the database service is running.

# September 3, 2008 8:29 PM

spmcd said:

I find it incredibly short-sighted of Microsoft to offer a tool that only works with the English version.  Please stop selling your products in other languages if you do not plan to support them properly.

# September 19, 2008 3:17 AM

j8a said:

same error:

"Cannot create a new datbase. the operation has been rolled bad. please make sure the database service is runing."

I have enabled Named Pipes

It could be something about permissions, as karl1406 had.

The service "SQL Server" is started by NETWORK SERVICE, so I give permissions to that user in the folder c:/documents......../Microsoft\Business Contact Manager, but the same error

any idea? nothing at the event viewer :-(

# September 22, 2008 11:10 AM

bcmteam said:

Hi

Could you please tell me the BCM version that you are using?

Could you also post the error logs created under SQL Server installation folder?

Thanks

Vinit [MSFT]

# September 23, 2008 5:53 PM

hypknight said:

Hello,

   I'm having the same problem that many above are experiencing, "Cannot create a new database. The operation has been rolled back. Please make sure that the database service is running." I get a Login error (State: 16) in the SQL Server Logs. I can perform operations on the server absolutely perfectly in every fashion (via command line, sql management studio, etc.). The only thing that isn't working is this Database Tool.

   I started looking at the composition of the tool. I haven't gone as far as to decompile it yet, and I'm hoping I won't have to. I noticed there is a .SQL dump file for the "create" method. I can import this into my database (if manually created), but I get errors about functions and such. I was wondering if there is an explanation available as to the process the application follows when creating a database to share? I'm willing to do this manually to get it working. I know that the program creates the database programmatically and sets permissions on it. I don't know, however, what happens between this time (along with what permissions are set), and when the application runs the SQL dump to create tables and populate data.

I've scoured the internet to no avail and I'm running out of options. Could you please help me out? If it's pertinent, I'm going to be running BCM paired with Office 2007 and MOA Pro.

Thanks In Advance!

# September 29, 2008 2:17 AM

hypknight said:

So am I holding my breath here for something that won't come? Should we switch to another platform?

# October 1, 2008 4:55 PM

bcmteam said:

Hi

Have you tried running the tool explicitly "as administrator" if this is on vista?

Thanks

Vinit [MSFT]

# October 1, 2008 6:21 PM

hypknight said:

Thanks for the response. I'm running the tool on Windows Server 2003 x64. The account is a domain administrator as well as an explicit local administrator to the machine.

# October 1, 2008 11:15 PM

hypknight said:

I tried it anyway, for good measure, same error.

# October 1, 2008 11:21 PM

yani1shu said:

I was getting that same error and figured out what the problem was.

Going into Computer Management -> Services -> SQL Server Configuration Management -> SQL Server 2005

Right Click on the SQL SErver service and select Properties. Click on the "Log On As" tab. Select "This Account" and set the account name to be a local administrator account or domain administrator account. (Mine was originally set to a domain user account which is the optimum account to use for the sql server service for security purposes, you can change it back to this after installing the database). Enter the password for the account and click apply. The SQL Server service will need to be restarted with the new settings so be sure that one one is connected to your sql server instance at the time. Once it restarts click "ok" and exit.

Now you should be able to install the BCM database by using the tool. After the install process i shared the database using the tool and testing connecting to the database from my local machine succesfully. At the end of the sharing process a webpage is presented giving you instructions on how to connect to the database remotely. Save/Print these instructions for future reference.

After you have succesffuly created and shared the database you can go back to the SQL Server service and change the account to log in as back to the domain user or whatever you had it set to before. I was still able to connect to the database through outlook locally after changing it back. Though make sure no one is connected to the database when you change the user login account because remember, the service must restart.

I hope this works/helps some of you. The tool works really well once you get it.

Additionally, you can now open up your SQL Database Management Studio and the MSSMALLBUSINESS database is attached and you can dig through the tables and whatever else you want to do.

# October 2, 2008 4:21 PM

hypknight said:

yani1shu: You're an absolute genius. After a couple weeks of ripping my hair out, and a fresh install (tonight) of Server 2003 I still got the same error. I came back to check, just in case, there was something from the BCM Team, but instead I saw your reply and had the database created within minutes.

Thank you so very much!

# October 2, 2008 11:21 PM

hypknight said:

yani1shu: As a side note, do you know if it's necessary for me to login to the workstation I'm installing BCM on as the user is "Logged In As" when running the Database Tool? As long as I've shared the database with the person logged into the workstation at the time of BCM's installation, shouldn't it work?

Thanks Again!

# October 3, 2008 2:09 AM

kflorian said:

Anybody have detailed instructions (or pointers) on how to go about moving a SQL 2005 stand-alone copy of my BCM data to a new fresh install of SBS 2008 and SQL 2008?

Thanks,

Ken

# April 27, 2009 6:28 PM
Anonymous comments are disabled
Page view tracker