How to solve SQL and Database Connection Errors After Moving Webgility to a New PC
This article helps Webgility Desktop users setting up Webgility Desktop on a new computer who encounter issues with SQL services or database connections. It provides common troubleshooting steps to identify and resolve SQL service problems and restore proper database connectivity.
Overview
When setting up your system on a new computer, you may encounter issues with SQL services or connecting to your database. This article walks you through common troubleshooting steps to resolve SQL service issues and restore your database connection.
Step 1: Check SQL Services Status
- Open the Services app:
- On your keyboard, press Windows + R, type
services.msc
, and press Enter.
- On your keyboard, press Windows + R, type
- In the list, locate SQL Server (SQLEXPRESS) or your specific SQL service name.
- Verify the Status column:
- If it shows Running, your service is active.
- If not, right-click the service and select Start.
- If already running, you can select Restart to refresh the service.
Step 2: Ensure Database Connection
- Open your database application or management tool (e.g., SQL Server Management Studio).
- Enter the correct server and authentication details.
- Click Connect.
- If you encounter an error:
- Double-check your credentials.
- Make sure your account has the required permissions.
- Confirm that the SQL service is running (see Step 1).
Step 3: Restore Your Database (if needed)
If your database does not appear or needs to be restored:
- Open your SQL management tool.
- Right-click Databases > Restore Database...
- Follow the prompts to select your backup file and complete the restore process.
Step 4: Check Internet Connectivity
Some database connections, especially for cloud services or remote servers, require internet access.
- Ensure your computer is connected to the internet:
- Click the Network icon on your taskbar.
- Confirm you have an active internet connection.
- Try browsing a website to confirm connectivity.