This is NOT a step-by-step tutorial; it’s intended simply as a guideline. You must have some MS SQL and DSN configuration skills to implement this.
Why I did this:
The Access DB was working fine for me with a couple hundred clients. I want to access the RAS data for custom reporting reasons, so I need/want easy multi-user access.
Guaranties:
None, make backups, do at own peril. You may lose/miss data during the change over, especially if you do it on a live server like I did.

I lost very little, if any, but I didn't care (no compliance issues for me).
Tools I used:
- Access 2007
- MS SQL Server 2005
- MS SQL Server Management Studio Express
- Access was used on my desktop, and the SQL server was (already) installed on the RAS server.
- I had VPN and RDP access to the Widows server that hosts the RAS and SQL, and I have full admin rights to all the computers being used.
Steps:
- Use the SQL Server Configuration Manger to ensure TCP/IP connections are allowed.
- Use the Mgmt Studio for the rest of the SQL stuff.
- Create a new SQL Database (I used the existing SQL instance), name is whatever you’d like (i.e.: MyRASDB)
- Create a new SQL Login for the database server (i.e.: MyRASUser), set the users’ default database to the MyRASDB you just made.
- Create a new user for the MyRASDB, associate it to the login you just made (I named the user the same as the login name), and assign it as a db_owner.
- Test to ensure you can log into the SQL server as the user you made.
- Stop the RAS Service.
- Navigate to the RAS Access DB folder and copy the era.mdb and era2.mdb databases to the machine with Access 2007 installed on it.
- Open both the era.mdb and era2.mdb in Access— if you get security warnings on open ensure you ‘enable the content’.
- Copy the ThreatSense1 and ThreatSense2 tables from era2.mdb to era.mdb (I just drag-n-dropped them between Access windows).
- Open the IDGenerator table in both era databases.
- Copy the two ThreatSense records from the era2.mdb, to the bottom of the IDGenerator table in the era.mdb.
- Close the era2.mdb window, and go back to the era.mdb window.
- Under Database Tools use the Move Data to SQL Server button.
- Choose “Use an existing database”.
- Click the Machine Data Source tab and create a new User Data Source that uses the SQL Driver.
- Give the new DS a name and description, and pick the SQL server by hostname (i.e.: mySQLServer.domain.local)
- Since this connection is temporary only to export the Access DB into the SQL server, and because I have full admin rights, I used Windows authentication. You should also be able to use SQL Authentication and use the same user you made earlier.
- Enable “Change the default database to:” and pick the MyRASDB.
- Finish off with the wizard, everything else was left at defaults.
- You should be back the the Select Data Source window, where you can pick your newly made data source.
- Add all “Available Tables” to the “Export to SQL Server” pane.
- Leave next page of settings at default.
- On next page select “No application changes”, and hit Finish.
- It should now churn away for a while exporting to the SQL server. You can check its progress by refreshing the Mgmt. Studio on the SQL server; you should see the tables show up as it’s working, and they’ll be now preceded by “dbo”.
- Once it’s done, close up Access, and you can delete the era.mdb’s and data source you made on the Access computer – the conversion is done.
- Start the RAS service. Any new data between now and when we next restart the RAS will be lost.
- Connect to the RAS via the RAC.
- Navigate to the Server Options, Other Settings, and the Edit Advanced Settings to open the Configuration Editor.
- Navigate to ERA Server, Setup, Database.
- Change the “Database type” to “MS SQL Server”.
- Change the “Database connection” to the following MS SQL connection string, only with your info in it:
Code:
Driver={SQL Native Client};Server=mySQLServer.domain.local;Database=MyRASDB
*If you need the 'SQL Native Client' driver for the RAS server (i.e. SQL is on a different server) you can get it from MS (Feature Pack for Microsoft SQL Server 2005). You can also use "Driver={SQL Server}" instead, but you'll get a warning event about how slow it is in the application log everytime you start the RAS service. - Change “Database schema” to “dbo”.
- Enter the SQL user’s name and password (ie: MyRASUser/thepasswordyougaveit) it the next two fields.
- Save the configuration and exit the Configuration Editor.
- Hit “OK” to close the “Server Options”.
- Go restart the RAS service.
- You can check the Windows Application event log to see how it goes, I get one warning about using a specific DSN type to get speeds up, but I’ll look into that later.
- If all starts as expected, you should now be able to connect to the RAS via the RAC again, and all data should be there.
- I went and renamed the RAS Access DB folder; just to prove to myself it was working.
Hope this helps some people!
d.