Showing posts with label exe. Show all posts
Showing posts with label exe. Show all posts

Monday, March 19, 2012

Manually install sqlagent90.exe as a service

Is there a way to manually install sqlagent90.exe as a service?

I first have to ask, why? The SQL Agent is already a service and is installed that way when SQL Server is installed.

See: http://msdn2.microsoft.com/en-us/library/ms143504.aspx

for more help.

|||

We found the problem. At least 3 of our servers were missing the "Start" key in the registry for the SQL Agent service.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLAgent$SQL2005]
"Start"=dword:00000002

Apparently, Microsoft is having issues with the proper installation of the SQL Agent service for SQL Server 2005.

There are several postings on the internet related to the installation of this service, but none addressed this problem.

|||

Thanks for this feedback. I had not ever seen this problem before. Something good to know.

Monday, March 12, 2012

Manual creation of aspnet database fails "does not allow remote connections"

What do I have to do to get this to work?

C:\>aspnet_regsql.exe -A m -E

Start adding the following features:
Membership

............
An error has occurred. Details of the exception:
An error has occurred while establishing a connection to the server. When conne
cting 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 a connection to SQL Server)

Unable to connect to SQL Server database.

Hi,

If you're connecting to a remote machine, you will need to turn on remote connection on that server. Please follow this KB article to achieve this.

http://support.microsoft.com/kb/914277/en-us

HTH. If this does not answer your question, please feel free to mark the post as Not Answered and reply. Thank you!

|||SQL Server is set to allow remote connections already. I probably should have mentioned that in the first post.|||

Hi,

Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

Is just a basic connectivity error meaning the client could not connect to the target SQL Server. So just follow the basic connectivity troubleshooting guidelines on our SQL Protocols blog, see:

SQL Server 2005 Connectivity Issue Troubleshoot - Part I

http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx

and

SQL Server 2005 Connectivity Issue Troubleshoot - Part II

http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx

This should help you debug the problem.