HighTechTalks DotNet Forums  

SQL Server 2008/aspnet_regsql problem

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss SQL Server 2008/aspnet_regsql problem in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
usfinecats
 
Posts: n/a

Default SQL Server 2008/aspnet_regsql problem - 05-08-2009 , 08:46 PM






Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP sp3)
machine by enabling logging on the the communication on these ports. (on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just don't
know where to turn next.

TIA.

--
Gak -
Finecats

Reply With Quote
  #2  
Old   
Cor Ligthert[MVP]
 
Posts: n/a

Default Re: SQL Server 2008/aspnet_regsql problem - 05-09-2009 , 01:10 AM






SQL server is a server itself, it should not need extras to connect that,
can you try a normal connection string.

www.connectionstrings.com

Cor


"usfinecats" <usfinecats (AT) nospam (DOT) nospam> wrote

Quote:
Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP sp3)
machine by enabling logging on the the communication on these ports. (on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the
rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just
don't
know where to turn next.

TIA.

--
Gak -
Finecats


Reply With Quote
  #3  
Old   
usfinecats
 
Posts: n/a

Default Re: SQL Server 2008/aspnet_regsql problem - 05-09-2009 , 06:12 PM



And for the very dense among us all, prey tell what that command string for
aspnet_regsql might be inorder to connect to SQL server on a differnet
computer on my workstation group?

--
Gak -
Finecats


"Cor Ligthert[MVP]" wrote:

Quote:
SQL server is a server itself, it should not need extras to connect that,
can you try a normal connection string.

www.connectionstrings.com

Cor


"usfinecats" <usfinecats (AT) nospam (DOT) nospam> wrote in message
news:C98E33E2-C701-44F5-A4D5-1A597C5B1E1C (AT) microsoft (DOT) com...
Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP sp3)
machine by enabling logging on the the communication on these ports. (on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the
rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just
don't
know where to turn next.

TIA.

--
Gak -
Finecats



Reply With Quote
  #4  
Old   
Cor Ligthert[MVP]
 
Posts: n/a

Default Re: SQL Server 2008/aspnet_regsql problem - 05-09-2009 , 11:19 PM



It is very simple, as it's IP address is not visible, it is not usable.

Cor

"usfinecats" <usfinecats (AT) nospam (DOT) nospam> wrote

Quote:
And for the very dense among us all, prey tell what that command string
for
aspnet_regsql might be inorder to connect to SQL server on a differnet
computer on my workstation group?

--
Gak -
Finecats


"Cor Ligthert[MVP]" wrote:

SQL server is a server itself, it should not need extras to connect that,
can you try a normal connection string.

www.connectionstrings.com

Cor


"usfinecats" <usfinecats (AT) nospam (DOT) nospam> wrote in message
news:C98E33E2-C701-44F5-A4D5-1A597C5B1E1C (AT) microsoft (DOT) com...
Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application
Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP
sp3)
machine by enabling logging on the the communication on these ports.
(on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the
rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just
don't
know where to turn next.

TIA.

--
Gak -
Finecats




Reply With Quote
  #5  
Old   
Steven Cheng
 
Posts: n/a

Default RE: SQL Server 2008/aspnet_regsql problem - 05-10-2009 , 09:28 PM



Hi Gak,

As for the aspnet_regsql.exe, you can simply use the "-S" option to specify
the remote SQL Server instance name(instead of specify the entire
connectionstring). The server instance name is just the normal
"computername\instanceName" syntax. e.g.

"myServer2k3\sql2008Inst"

http://msdn.microsoft.com/en-us/library/x28wfk74.aspx

Here is a walkthrough on using this tool:

http://www.shiningstar.net/ASPNet_Articles/SqlMembershipProvider.aspx

Btw, as other members mentioned, you need to make sure the remote SQL
server instance has correctly configured to allow remote connection. You
can also trying connecting the server via SQL management studio if
available on the box.

For configuring 2008 for remote connection, here is an article you can
refer to

http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-200
8-express/

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg (AT) microsoft (DOT) com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Quote:
From: =?Utf-8?B?dXNmaW5lY2F0cw==?= <usfinecats (AT) nospam (DOT) nospam
Subject: SQL Server 2008/aspnet_regsql problem
Date: Fri, 8 May 2009 18:46:00 -0700


Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP sp3)
machine by enabling logging on the the communication on these ports. (on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the
rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just
don't
know where to turn next.

TIA.

--
Gak -
Finecats



Reply With Quote
  #6  
Old   
sloan
 
Posts: n/a

Default Re: SQL Server 2008/aspnet_regsql problem - 05-14-2009 , 11:14 AM



http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx

Try the GUI first. Then rework it to a command line arguments.


"usfinecats" <usfinecats (AT) nospam (DOT) nospam> wrote

Quote:
Using this command, I get error
C:\WINDOWS>c:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regsql.exe
-A all -C "Data Source=np:\\VISTA64\pipe\sql\query; Application Name='\';
Initial Catalog=ASPNETMembershipDB; Integrated Security=SSPI;
Password=SQLAgent; User ID=SQLAgent;"

I've verified using PipeList that sql\query is on the VISTA64 machine.
Using SQL Server 2008. on 64 bit vista. trying to hookup client.

I've verified that the ports exist and are enabled on the client (XP sp3)
machine by enabling logging on the the communication on these ports. (on
both Client and Server).

I've created the ASPNETMembershipDB database and SQLAgent has all the
rights
in the world. Is there a problem with the string?

Minor jiggering of the string has produced errors 40 , 25, 26 , I just
don't
know where to turn next.

TIA.

--
Gak -
Finecats



Reply With Quote
  #7  
Old   
Steven Cheng
 
Posts: n/a

Default RE: SQL Server 2008/aspnet_regsql problem - 05-19-2009 , 04:55 AM



Hi Gak,

Any progress on this issue, have you been able to connect that remote SQL
instance?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg (AT) microsoft (DOT) com.

--------------------
Quote:
Content-Transfer-Encoding: 7bit
From: stcheng (AT) online (DOT) microsoft.com ("Steven Cheng")
Organization: Microsoft
Date: Mon, 11 May 2009 02:28:39 GMT
Subject: RE: SQL Server 2008/aspnet_regsql problem


Hi Gak,

As for the aspnet_regsql.exe, you can simply use the "-S" option to
specify
the remote SQL Server instance name(instead of specify the entire
connectionstring). The server instance name is just the normal
"computername\instanceName" syntax. e.g.

"myServer2k3\sql2008Inst"

http://msdn.microsoft.com/en-us/library/x28wfk74.aspx

Here is a walkthrough on using this tool:

http://www.shiningstar.net/ASPNet_Articles/SqlMembershipProvider.aspx

Btw, as other members mentioned, you need to make sure the remote SQL
server instance has correctly configured to allow remote connection. You
can also trying connecting the server via SQL management studio if
available on the box.

For configuring 2008 for remote connection, here is an article you can
refer to

http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-20
0
8-express/

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.