SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 MSDE (2000)
 Named Pipes Provider: The system cannot find the f
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ocampesato
Starting Member

2 Posts

Posted - 07/10/2004 :  04:57:15  Show Profile  Reply with Quote
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 - 07/10/2004 :  15:52:46  Show Profile  Reply with Quote
btw: the subject was slightly truncated...it should read:

"The system cannot find the file".

Regards,

Oswald
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000