I am setting up an existing application on a new server. It is a mix of Asp.Net and Classic Asp pages. The asp.net pages work perfectly, but the classic asp pages give the following error:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
My Settings:
- Windows Server 2008 x64
- IIS7
- SQL 2008 Express with Advanced Services
- 32bit application
Here are some things I've tried:
- Set IIS7 AppPool to enable 32-bit applications
- Enabled "Active Server Pages" extension in IIS "ISAPI and CGI Restrictions"
- Installed Frontpage 2002 Extensions for IIS7 (from RTR)
- Enabled Named Pipes protocol in SQL Config Mgr
My Connection String:
connectionString="Data Source=(local);Initial Catalog=System;Persist Security Info=True;User ID=System;Password=mypassword" providerName="System.Data.SqlClient"
My CLICONFG Alias:
- Server Alias = System
- Network Library = Named Pipes
- Connection Parameters = (local)
I've successfully installed the program in this environment before without any issues. Both *.asp
and asp.net
are using the same connection string, so I can't see how that is a problem. The User "System" specified in the Connection String is setup as a user in SQL with all permissions granted.
Please help!! I've spent over 3 days on this.
Thanks!