Forums

ASP

This topic is locked

ASP.NET Error previewing pages

Posted 03 Nov 2003 13:27:41
1
has voted
03 Nov 2003 13:27:41 Chris Lysley posted:
I'm having problems previewing any code that accesses a database be it SQL or Access Everytime I run an Aspx page it comes up with the following code

System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.

at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)

at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)

at System.Data.SqlClient.SqlConnection.Open()

at DreamweaverCtrls.DataSet.DoInit()

--------------------------------------------------------------------------------

System.Exception: The DefaultView was requested but no tables yet exist.

at DreamweaverCtrls.DataSet.get_DefaultView()


Its happened in other areas and must have something to do with the database connection although the connection to the database works fine within Dreamweaver and I am running MSDE.

I tested again a simply page which connects to an access database, Created an OLEDB connection which tested fine. I managed to view the data fine with a datset although It wouldn't let me insert information. Help

Reply to this topic