I have no problem connecting to the database during design but cannot connect at runtime.
the message is often related to authorization.
While the tutorials are good for setting up the connection I would really appreeciate a step by step on how to setup SQL server express and make a successful web connection.
If it were a very simple typical setup I am sure I could navigate and make my more complicated databases work.
I have not been successful using the ODBC dialog or the DSN method
I can create connectiosn in other products which actually make the connections.
Any help related to a checklist on making sure your database can be connected to woudl be great.
This is typical of the errors
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "city" requested by the login. The login failed.
/include/dbcommon.asp, line 122
dbconnect.asp
<%
strConnection = "DSN=CITY;UID=sa;PWD=password"
%>
This is the error message I get after following the setup tutorial.
ADODB.Stream error '800a0bba'
File could not be opened.
/libs/smarty.asp, line 182
My server
windows 2003 standard
IIS6
database SQLSERVER2005 express
The ODBC setup works
In enter the server name the sa user and password then select the default database and all goes well
I build the app and it just does not work.