I use SQL Server 2005 for multi-user access. In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service. Then I went to SQL Server Browser, stopped it and clicked on Start to restart. I am getting a message "An error occurred while performing this operation". I am not able to get the Browser started.
Hi , I have got an SQL query which gives me some report against some data fed in .How can I set this query to run from a browser window .Meaning there will be some form where we input the data ( say date ) and run that query from the browser windows against that data .and the results are displayed in the browser window . Thanks for your help
I am using SQL Server 2005 developer edition and Visual Studio 2005. I am working on local computer and when I define a cube I am using data sources to which I can connect without any problem using "Test connection". However, when I want to perform calculation or browse a cube I get a message of either I am as a user do not have permission to access source database (in reality I do have this permission) or source database does not exist (in reality it exists). I check the SQL Server Browse Service and it is not running and the option of starting it is disabled (Start mode is undefined and only properties option can be used). I already have enabled the TCP/IP and Named Pipes protocols but I still cannot browse cube data. Any help SUPER welcome. Elka
SQL Server Browser listens on a UDP port and accepts unauthenticated requests using SQL Server Resolution Protocol (SSRP). SQL Server Browser should be run in the security context of a low-privileged user to minimize exposure to a malicious attack. By default, SQL Server Browser starts using the Local System account. The logon account can be changed by using the Windows Services program. The minimum user rights for SQL Server Browser are as follows:
* Deny access to this computer from the network. * Deny logon locally. * Deny logon as a batch job. * Deny logon through Terminal Services. * Log on as a service. * Read and write the SQL Server registry keys related to network communication (ports and pipes).
In our case the SQL Server Browser service is running under the same Windows account as our other SQL Server services. Do you recommend creating a separate Windows account for the SQL Server Browser service as described above?
Can you help me understand how an attack can occur?
We are have a problem when trying to connect to a SQL-2005 instance via VPN. The server is configured for remote access (both TCP/IP and named pipes) and the Browser service appears to be running. If I try to connect using just the instance name then I get an error that the connection was refused by the remote machine. However, if I connect to an instance name and supply the port then it all works. eg. MYSERVER/ SQL2005, 2379.
This, I think, indicates that the SQL Browser service is not working correctly. The server in question is an active/active clustered setup, with SQL-2005 on the first node and and SQL-2000 (SP 4) on the second. Internally on the LAN I can connect no problem at all, it's only via VPN that it fails. Of interest, the BOL indicate that you can configure the Browser service via the SQL-Server Surface Area Configuration tool, however I can not see the service when I use this either on the cluster or on the node. However, the service is clearly running if I look in Services or Configuration Manager.
The SQL-Server 2005 has a fixed port number, however it is not the standard number (1433).
I have queried the port (UDP 1434) using PortQry and it tells me that it is configured as listening and filtered, however it does not return any more information. I was expecting some instance information to be returned. I stopped and re-started the Browser service, but it still did not work.
We seem to be being plagued by the error below by our SQL Server agent. This happens almost everytime we restart the server that has been running for a day or two.
Our SQL Server Agent uses a none expiring domain credential. I understand that this problem only happens when the profile being used by the SQL Servr Agent has changed (password change). What puzzles me is that the login is A ok and no changes has been made to it's password.
We always resolve this problem by changing the login used in the SQL Server Agent to local and after that, returning it back to it's original domain login. Unfortunately, we cant always do this everytime something goes wrong.
Can anyone please help us shed a light on this? We're using SQL2k with SP3a. Thanks!
An error 1069 - )The service did not start due to logon failure) occurred while performing this service operation on the SQLServerAgent service.
Please assist, the issue with SQL 2005 Browser and SQL 2000 Server Service is understood.
Our problem is with networked 2000 instances and SQL Express. The SQL 2000 machines (Standard & MSDE) do not have SQL 2005 or Express installed only 2000. When a SQL Express computer is put on the network with the SQL Browser service running almost all SQL 2000 machines lose sight of the other SQL 2000 instances. The second the SQL Browser is turned off on the SQL Express box the SQL 2000 machines can see each others instances. It appears that the response from the SQL Express SQL Browser causes the SQL 2000 machine to stop listening for responses. Once in a while one of the SQL 2000 instances will show up with the SQL Browser active on the network and it is my belief that it is because that response made it in before the SQL browser response. Please help as this does not appear to be a recognized issue. I'm assuming there aren't many sites running as many named instances on individual machines like we do.
Please note this appears to be a problem with SQL Express Browser not SQL 2005 Standard's which runs without problems on our network.
I recently setup mutliple instances of SQL Server Express at my office. I have 1 default instance, and two named instances. I can connect to the named instance of the default port of 1433 with Microsoft SQL Management Studio Express, however the other instances on dynamic TCP ports can not be accessed by the instance name over the internet. I have to specify the dynamic TCP port in this form: xxx.uconn.edu/SQLTEST, Port number. My current thinking is that the SQL Browser service should tell Management Studio Express what dynamic port number each SQL instance is listening to. Any ideas?
I have been trying to drill down to the cause for this event log message: "The configuration of the AdminConnectionTCP protocol in the SQL instance SQLEXPRESS is not valid." It is reported from the SQLBrowser service as a warning when the service starts. I have tried starting SQLBrowser.exe with -c flag, but the output reveals no errors. I have seen this error on three computers. Two are running SQL 2000, 2005 and Express. One was only running Express, but still this message. I then looked into the log for the SQL Express server itself. It shows this message on startup: "Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required." Now, it appears to me that these two messages may relate to the same "error" (or rather behaviour by design). So, can anyone confirm that the warning in the event log from the SQL Browser service occurs becuase of that the SQL Express edition doesn't allow any "AdminConnection", but the SQL Browser service isn't aware of that SQL Express edition shouldn't support that, and reports it as a warning (implying that we can't do much about this warning)?
Something very weird happened this morning... I booted my computer as usual, but for some reason SQL service stopped by itself. I tried to start it again, but it just doesn't respond. I open up Service Manager, clicked on refresh services, but still no response. The "start service" button is available for me to press, but when I press it it doesn't seem to do anything.
Note that sql service was running last night as I switched off computer. I haven't changed anything since.
Am using SQL Server2000 on WINXP. Have been using this DB since it becameavailable. Today, all of a suddent, the Service was not 'started,' even thoI had it marked as 'automatic.' Tried to manually start the service, andreceived the message that some service start and stop if there is no workfor them to do.Don't know why this has happened. I rebotted my computer, but still can notget MSSQLSERVER 'started.' Can anyone help me here?
I managed to screw up one of my sql servers the other day, so I decided to re-build it. I managed to re-install sql server, patch it up to the correct level and restore the master database, but now the sql service wont start at all
Any ideas as to why this has happened.
I am using sql server standard edition with win2000 server.
I restarted the MSSQLSERVER service and SQLSERVERAGENT will not restart. I get the following error.
Could not start the SQLSERVERAGENT service on Local Computer. The service did not return an error. This could be an internal Windows erroror an internal service error. If the problem persists, contact you system administrator.
I have Windows server 2003 installed, and Visual Studio .NET 2003 ent.arch also. I downloaded the msde sp3 from microsoft's site. installed it. The problem occured when i rebooted my machine. The system tray icon of SQL Server Service Manager says "Not connected". When i open the manager, there are no Services nither Servers listed in the dropdown lists. Can you help with this. Thx in advance!
Hopefully someone out there will have a suggestion on this one.
Recently we were BCP'ing approximately 950,000 records into a SQLServer 6.5 database + received an error indicating that we had run out of log space... in the middle of the BCP operation (died at 540,000 records in). Select Into/Bulk copy was set to true for the database + truncate log on checkpoint was also set to true. The problem is that now the server that this database was mounted on will not start. If anyone has suggestions on how I can get SQLServer to restart it would be much appreciated. This is all very strange since (to my knowledge) BCP is supposed to be a non logged operation. Any tips or hints would be EXTREMELY appreciated. Thanks!
I work on a product installed on a CD ROM. I would like, if the costumer installs our product for a SQL Server database, to know how, with a batch, starts the necessary SQL Services if they aren't started yet when we run our Java application.
I successfully installed SQL Server 2005 and then used the ALTER DATATBASE statement to move around my data and log files for Model, MSDB and TEMPDB. I stopped SQL SERVER Services and physically moved the files to their new locations.. now the service won't start? I get this in the SQL Server ERROLOG:
Starting up database 'model'. 2008-03-17 15:57:01.29 spid9s Error: 17207, Severity: 16, State: 1. 2008-03-17 15:57:01.29 spid9s FCB::Open: Operating system error 5(Access is denied.) occurred while creating or opening file 'E:MSSQLAMLDataFiles'. Diagnose and correct the operating system error, and retry the operation. 2008-03-17 15:57:01.29 spid9s Error: 17204, Severity: 16, State: 1. 2008-03-17 15:57:01.29 spid9s FCB::Open failed: Could not open file E:MSSQLAMLDataFiles for file number 1. OS error: 5(Access is denied.). 2008-03-17 15:57:01.29 spid4s Server name is 'KOCSQLDEV01AML'. This is an informational message only. No user action is required. 2008-03-17 15:57:01.29 spid9s Error: 5120, Severity: 16, State: 101. 2008-03-17 15:57:01.29 spid9s Unable to open the physical file "E:MSSQLAMLDataFiles". Operating system error 5: "5(Access is denied.)". 2008-03-17 15:57:01.29 spid9s Error: 17207, Severity: 16, State: 1. 2008-03-17 15:57:01.29 spid9s FCB::Open: Operating system error 5(Access is denied.) occurred while creating or opening file 'F:MSSQLAMLLogFiles'. Diagnose and correct the operating system error, and retry the operation. 2008-03-17 15:57:01.29 spid9s Error: 17204, Severity: 16, State: 1.
I can log on to the Server with the account that starts the services and open the .mdf and .ldf files in Notepad.. not sure what's going on.. I then gave the Domain Account that starts the Services Full Control on each of the volumes that I moved the files to.. I checked down to the file level to make sure that the permissions propogated.. the service still won't start.. can someone help?
I have just installed SP1 and now the IS service will not start at all. I have tried using the LocalSystem account and an account with domain admin rights that I use to run all the other SQL Server services.
Before the SP was applied the service was running fine.
I have tried starting it from the command prompt, services and configuration manager but none of them work, I get the following error message:
"The service did not respond to the start or control request in a timely fashion"
This message is also in in the System Event Viewer, but there are no messages in the Application Event Viewer for the IS Service so I am now officially stumped (not to mention frustrated)
I've been completely unsuccessful so far in getting the SSIS service to start under normal circumstances.
I've got the SQL 2005 RTM DVD and a clean, brand-new installation of Windows 2000 Server (Service Pack 4). All system requirements have been met according to the SQL installer. I choose to install just the Database Engine, SSIS and the Workstation components, all other installation options are defaults except Services, which are set to use a Domain User account.
The install completes without problems and the SQL Server & SS Agent services start suceessfully, but the SSIS service refuses to start (timeout). If I change the service to use LocalSystem, the same happens. If I make the Domain User (DOMAINMisterSQL) account a member of Local Admins on the server, the service still won't start.
If, however, I use a Domain Admin account, the service does start, so it appears to be a security issue, but how can I configure the service to start with fewer privileges?
This problem has appeared on each machine I've tried this on, four to date, so it's not related to the particular setup of this server. I've searched the web for weeks for a solution with no success; any help would be greatly appreciated.