When you upgrade POS to windows7. You need to upgrad new database for it too.
Step1: Uninstalling Old Microsoft SQL Server Desktop Engin
Go to: Start->Control Panel->Programs and Features
Remove: Microsoft SQL Server Desktop Engine
Step2: Installing New SQL Server (version2008 or later)
Run: SQL Server