Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ocampesato
Starting Member
2 Posts |
Posted - 2004-07-10 : 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 hereEnd Sub</Script>Connection Opened!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxI'm new to MSDE/SQL Server, and undoubtedly there is a very simplesolution. Suggestions are welcome....Regards,Oswald |
|
ocampesato
Starting Member
2 Posts |
Posted - 2004-07-10 : 15:52:46
|
btw: the subject was slightly truncated...it should read:"The system cannot find the file".Regards,Oswald |
|
|
|
|
|