Hello everyone, this is my problem:
The server died - hardware problem. The guy fixing it was rushed to hospital. It's still in bits.
I successfully moved all the data from backups to another server and got everyone remapped and running so they could work. So far so good.
We have a Time and Attendance system that uses MS SQL Express 2005. This is the problem.
I copied the directories over; installed SQLExp 2005 and attached the database. Then the problems started. Cutting a long story short the supplier was no help (unless I pay lots; fair enough then).
The problem is that I can login ok to the SQL server; the T&A program says 'connection successful' in the test connection module but when I try to run the program its says:
There was an error initialising the TMS database.
Invalid object name 'USERS'.
Blob size : 2097151.
The error report from the program (WINTMS.exe) says it is an access violation at address 00E2B7A0 in module 'WINTMS.exe'. Read address 00000350.
Other modules when run have a similar error, mainly 'Cannot find the object 'XYZ' because it does not exsit or you do not have the permissions'. Blob size: 2091751.
At this point I should declare that I am no SQL expert and have scanned the net and tried some of the things; also those things I could eak out of the supplier but to no avail.
Things I have done/checked.
The user - mfuser is mapped as dbo in the login properties and dbo in the default schema.
Status = 'Grant' to connect to database.
Login = 'Enabled'.
Server role = sysadmin
General = SQL server Authentication
Default datatbase = MFdata
MFdata is the only database running (apart from the usual master).
I gather it is a permissions isue and I am sure the answer is staring me in the face but I just can't see it.
So I am invoking the 'Dilberts' company disaster recovery plan' (presses button)
"Help! Help! Help!!!"
Thanks in advance :)
Oh...one last thing I am in France and the servers are is in the UK - just in case anyone says why don't I put the server back together myself.