473,513 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspnet_regsql

hey

asp.net 2.0

I have created several asp.net 2.0 projects on my development box (small
projects). Now I want to deploy one of my projects to a live server. This
project is using a aspnetdb.mdf database. I've read that I need to use
aspnet_reqsql to deploy this sql database over to the live server....

My problem is this:
In aspnet_regsql I follow the wizard (I click the "next button") until I
come to window in the aspnet_regsql wizard asking me for database
credentials (server name, authentication method, user name, password and
database). I have the Windows authentication selected and gets this error
when trying to select (I clicked on the arrow in the database field) a
database I get this error:

"Failed to query a list of database names from the Sql Server.
An error has ocured while establising a connection to the server. When
conecting to Sql Server 2005, this failure may be caused by the fact that
under the default settings SQl Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open connection to
Sql Server)"

I've got these programs installed on my development box:
Microsoft MSDN 2005 Express Edition - ENU
Microsoft SQL Server 2005 (trial version)
Microsoft SQL Server Native Client
Microsoft SQL Server Setup Support Files (English)
Microsoft SQL Server VSS Writer
Microsoft Visual Web Developer 2005 Express Edition - ENU

Any suggestions to solutions to this problem?

Jeff
Jul 30 '06 #1
2 5713
Can you connect to the remote server via named pipes?

Jeff wrote:
hey

asp.net 2.0

I have created several asp.net 2.0 projects on my development box (small
projects). Now I want to deploy one of my projects to a live server. This
project is using a aspnetdb.mdf database. I've read that I need to use
aspnet_reqsql to deploy this sql database over to the live server....

My problem is this:
In aspnet_regsql I follow the wizard (I click the "next button") until I
come to window in the aspnet_regsql wizard asking me for database
credentials (server name, authentication method, user name, password and
database). I have the Windows authentication selected and gets this error
when trying to select (I clicked on the arrow in the database field) a
database I get this error:

"Failed to query a list of database names from the Sql Server.
An error has ocured while establising a connection to the server. When
conecting to Sql Server 2005, this failure may be caused by the fact that
under the default settings SQl Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open connection to
Sql Server)"

I've got these programs installed on my development box:
Microsoft MSDN 2005 Express Edition - ENU
Microsoft SQL Server 2005 (trial version)
Microsoft SQL Server Native Client
Microsoft SQL Server Setup Support Files (English)
Microsoft SQL Server VSS Writer
Microsoft Visual Web Developer 2005 Express Edition - ENU

Any suggestions to solutions to this problem?

Jeff

Jul 30 '06 #2
re:
Any suggestions to solutions to this problem?
Follow the instructions at :
http://www.datamasker.com/SSE2005_NetworkCfg.htm
.... to fix that.

The 3 links shown have explicit instructions, including images of the dialogues.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:Oa**************@TK2MSFTNGP06.phx.gbl...
hey

asp.net 2.0

I have created several asp.net 2.0 projects on my development box (small projects). Now I want to
deploy one of my projects to a live server. This project is using a aspnetdb.mdf database. I've
read that I need to use aspnet_reqsql to deploy this sql database over to the live server....

My problem is this:
In aspnet_regsql I follow the wizard (I click the "next button") until I come to window in the
aspnet_regsql wizard asking me for database credentials (server name, authentication method, user
name, password and database). I have the Windows authentication selected and gets this error when
trying to select (I clicked on the arrow in the database field) a database I get this error:

"Failed to query a list of database names from the Sql Server.
An error has ocured while establising a connection to the server. When conecting to Sql Server
2005, this failure may be caused by the fact that under the default settings SQl Server does not
allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open connection
to Sql Server)"

I've got these programs installed on my development box:
Microsoft MSDN 2005 Express Edition - ENU
Microsoft SQL Server 2005 (trial version)
Microsoft SQL Server Native Client
Microsoft SQL Server Setup Support Files (English)
Microsoft SQL Server VSS Writer
Microsoft Visual Web Developer 2005 Express Edition - ENU

Any suggestions to solutions to this problem?

Jeff

Jul 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
952
by: Meena Desai | last post by:
Hi, I have cached some tables using the comaand "aspnet_regsql". When I getting data from these tables how can I know that the data are retrived from cache? How can I find out the time for the...
0
1108
by: AAOMTim | last post by:
When running aspnet_regsql I get the following error: Setup failed. Exception: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 515 and the...
0
1312
by: jj .NET | last post by:
I have several sites and membership databases on the same test computer. They all have different names, so there is no problem. However, now my Website Administration Tool won't create the...
0
1266
by: Bryan | last post by:
I run aspnet_regsql.exe and it crashes. D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe I have MS SQL server Standard installed. Does anyone know what the problem is or what...
2
1249
by: Owen Richardson | last post by:
I have been running and testing stuff ok on my dev machine, but have been forced to consolidate my databases at my hosting company - i created a db there, and i ran the aspnet_regsql wizard. I...
3
17975
by: Keithb | last post by:
My application is giving me this error message: "To enable a database for SQL cache notification, please use the System.Web.Caching.SqlCacheDependencyAdmin.EnableNotifications method, or the...
0
1171
by: mehdi | last post by:
Hi folks, I'm designing an sql server 2005 database to hold accounting information of a given company (ies). The database containg a table for EmployeeAccounts which in turn should be somehow...
4
5456
by: Amit | last post by:
I cannot run aspnet_regsql.exe on a remote machine. The remote machine is running MSSQL 2000 and is behind my local network. Its basically a sandbox machine. I specify my remote machine's...
0
1199
by: scotty | last post by:
In testing Notifications, adding the following lines to an Asp.Net page make the notification process almost fully automatic: ...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.