|
ocampesato
Starting Member
2 Posts |
Posted - 07/10/2004 : 04:57:15
|
Hello:
I'm getting the above-mentioned error when I try to access an MSDE database with *very* simple code. Here's the entire ASP.NET page:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <%@ Page Language="VB" Debug="true" %> <%@ Import Namespace="System.Data.SqlClient" %> <Script Runat="Server">
Sub Page_Load Dim conPubs As SqlConnection conPubs = New SqlConnection("Server=localhost;uid=sa;pwd=secret;database=pubs") conPubs.Open() <----- error occurs here End Sub
</Script>
Connection Opened! xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm new to MSDE/SQL Server, and undoubtedly there is a very simple solution. Suggestions are welcome....
Regards,
Oswald
|
|