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.

 All Forums
 SQL Server 2000 Forums
 MSDE (2000)
 Named Pipes Provider: The system cannot find the f

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 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

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
Go to Top of Page
   

- Advertisement -