A family of Microsoft relational database management systems designed for ease of use.
Shane,
Thanks for updating the post. Can you please consider this alternative approach which is based on the disable leasing workaround, but limiting it to one share instead of the entire server?
- Create a folder on the server and place the uncorrupted database in that folder.
- Share the folder on the server and give it a share name (e.g., MyDB)
- Start Powershell as Admin on the server.
- Set the leasing mode for the new share to None with the following commands:
set-smbshare MyDB -LeasingMode None
get-smbshare MyDB | Format-List -Property * (make sure Leasing Mode is set to None)
- Restart the server or do NET STOP SERVER then NET START SERVER.
- Make sure ALL the client PCs open the database file or point to it in a front-end database using the UNC path for the new share name. If they don't use the right share name, disable leasing will still be on.
Note: To turn leasing back on if needed (in case of problems):
set-smbshare MyDB -LeasingMode Full (then restart the server or do NET STOP SERVER then NET START SERVER)
If this approach does essentially the same thing to disable leasing for the database files on that share, it will isolate the change to that share. Thus no bad side effects for other functions on the server. Server administrators will be much more likely to implement the change.
Has anyone else tried this or have any feedback? I have posted it here before and suggested it to some of my customers, but I also made the client change I mentioned earlier, so I cannot say conclusively if this will have the same results as the suggested workaround by Microsoft. I wanted to mention this in case it will help those who can't disable leasing on the entire server.