Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 17th, 2010, 03:05 AM
Registered User
 
Join Date: Aug 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default The Login Controls

Hello everyone!

When I’m running the application with CreateUserWizard control an error occurs which says

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

I tried to allow remote connections by enabling Named Pipes and TCP/IP as described in Appendix B, but I couldn’t expand SQL Server Network Configuration node there are not Protocols For SQLEXPRESS underneath. I also encountered with another error when tried to run SQL Server

Windows could not start SQL Server(SQLEXPRESS) on local computer. For more information, review the System Event Log.

What can I do in this situation?

Thanks in advance.

Hovhannes
 
Old September 17th, 2010, 03:12 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Windows could not start SQL Server(SQLEXPRESS) on local computer. For more information, review the System Event Log.
Sounds like a setup issue with SQL Server Express to me. What does the Windows Event log say? How did you install SQL Server Express?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 17th, 2010, 07:50 AM
Registered User
 
Join Date: Aug 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Dear Imar thank you very much it's a great honor to get assistance from you.

The Windows Event log says

The SQL Server (SQLEXPRESS) service terminated with service-specific error 17058 (0x42A2).

I just downloaded Visual Studio 2010 Express from Microsoft.
 
Old September 17th, 2010, 07:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I get quite a lot of results on Google for that error:

http://www.google.com/search?hl=en&s...l=&oq=&gs_rfai=

However, there's not a single, clear solution. It seems to do with security.

Can you go into the Windows Control Panel | Administrative Tools | Services and check which account SQL Server uses?

You may also want to read some of the resutls of the Google search to find out if they apply to you?

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Login controls and memberships features Rushino ASP.NET 4 General Discussion 2 May 17th, 2010 08:33 AM
Login controls : Way to customize them ? Rushino BOOK: Beginning ASP.NET 4 : in C# and VB 2 May 15th, 2010 01:07 PM
Problem regarding Login controls bond007 ASP.NET 2.0 Basics 1 April 16th, 2009 01:14 AM
Login Controls mashype ASP.NET 3.5 Basics 4 January 26th, 2009 03:07 PM
Which SMTP server for login and other controls? tobe ASP.NET 2.0 Basics 0 November 30th, 2007 07:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.