I'm running VS2005prof.+sp1, SSE Adv (with sp2) SSE ToolKit. Its been running without problems since installation (April 12.2007) Last week I ran into a problem which started off as
"An attempt to attach an auto-named database for file D:DataVBNetVisual Studio 2005ProjectSolutionsAR1403inDebuginDebugApp_DataAR1403.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."
and went down hill rapidly to the point now where I can't even start it up. Here's the error log:
2007-07-21 22:51:07.55 Server Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86)
Feb 9 2007 22:47:07
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)
2007-07-21 22:51:07.55 Server (c) 2005 Microsoft Corporation.
2007-07-21 22:51:07.55 Server All rights reserved.
2007-07-21 22:51:07.55 Server Server process ID is 2656.
2007-07-21 22:51:07.55 Server Authentication mode is WINDOWS-ONLY.
2007-07-21 22:51:07.56 Server Logging SQL Server messages in file 'c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG'.
2007-07-21 22:51:07.56 Server This instance of SQL Server last reported using a process ID of 304 at 7/21/2007 5:42:20 PM (local) 7/21/2007 9:42:20 PM (UTC). This is an informational message only; no user action is required.
2007-07-21 22:51:07.66 Server Registry startup parameters:
2007-07-21 22:51:07.66 Server -d c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmaster.mdf
2007-07-21 22:51:07.66 Server -e c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG
2007-07-21 22:51:07.66 Server -l c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmastlog.ldf
2007-07-21 22:51:07.75 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2007-07-21 22:51:07.75 Server Detected 1 CPUs. This is an informational message; no user action is required.
2007-07-21 22:51:07.86 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2007-07-21 22:51:08.02 Server Database mirroring has been enabled on this instance of SQL Server.
2007-07-21 22:51:08.04 spid5s Starting up database 'master'.
2007-07-21 22:51:08.70 spid5s SQL Trace ID 1 was started by login "sa".
2007-07-21 22:51:08.85 spid5s Starting up database 'mssqlsystemresource'.
2007-07-21 22:51:08.99 spid5s The resource database build version is 9.00.3042. This is an informational message only. No user action is required.
2007-07-21 22:51:09.51 spid8s Starting up database 'model'.
2007-07-21 22:51:09.51 spid5s Server name is 'ADSSQLEXPRESS'. This is an informational message only. No user action is required.
2007-07-21 22:51:09.52 spid5s Starting up database 'msdb'.
2007-07-21 22:51:10.08 Server Error: 17190, Severity: 16, State: 1.
2007-07-21 22:51:10.08 Server FallBack certificate initialization failed with error code: 1.
2007-07-21 22:51:10.08 Server Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2007-07-21 22:51:10.08 Server Error: 17182, Severity: 16, State: 1.
2007-07-21 22:51:10.08 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x80.
2007-07-21 22:51:10.08 Server Error: 17182, Severity: 16, State: 1.
2007-07-21 22:51:10.08 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x1.
2007-07-21 22:51:10.08 Server Error: 17826, Severity: 18, State: 3.
2007-07-21 22:51:10.08 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2007-07-21 22:51:10.08 Server Error: 17120, Severity: 16, State: 1.
2007-07-21 22:51:10.08 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
-----------
I've tried following various suggestions I found on the Net, however, after 3-days it does seem as though I'm not getting anywhere. Shoud I uninstall and re-install SSE and if so is there a specific step by step step procedure I can follow. Or is there a sure fire way to fix the probelm without re-installation?
Is it possible to connect SQL Sever 2005 Express from SQL Sever 2000 Enterprise Manager? Tried to connect but got the error message "must use SQL Server management tools to connect this sever"
- Operating System Minimum Level Requirement (Success) Messages * Operating System Minimum Level Requirement
* Check Passed
- Operating System Service Pack Level Requirement. (Success) Messages * Operating System Service Pack Level Requirement.
* Check Passed
- SQL Server Edition Operating System Compatibility (Warning) Messages * SQL Server Edition Operating System Compatibility
* Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online.
* The current system does not meet the minimum hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.
* Microsoft Internet Information Services (IIS) is either not installed or is disabled. IIS is required by some SQL Server features. Without IIS, some SQL Server features will not be available for installation. To install all SQL Server features, install IIS from Add or Remove Programs in Control Panel or enable the IIS service through the Control Panel if it is already installed, and then run SQL Server Setup again. For a list of features that depend on IIS, see Features Supported by Editions of SQL Server in Books Online.
- Internet Explorer Requirement (Success) Messages * Internet Explorer Requirement
* Check Passed
- COM Plus Catalog Requirement (Success) Messages * COM Plus Catalog Requirement
* Check Passed
- ASP.Net Version Registration Requirement (Success) Messages * ASP.Net Version Registration Requirement
* Check Passed
- Minimum MDAC Version Requirement (Success) Messages * Minimum MDAC Version Requirement
* Check Passed
furthermore i get error 26 when trying to create new sql server database. and while doing the SQL server surface area configuration i got this message.:
SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC) ------------------------------ Program Location: at Microsoft.SqlSac.MainPanel.FormFeatures..ctor(String machineName, Form callingForm)
HOpefully somebody out there will help me...or is this problem only appearing in sql server 2005 and would it be a better decision to install SQL server 2000...or if someone can help me rectify this problem i'll be really thankful.
I am trying to start ms sql server 2005 express as a network user from originally starting as local system. I cannot start the service.
I have given this network user administrator access to sql express from the sql server surface area configuration "Add New Administrator". I have went into the local users/groups and added this network user to the 3 security groups
The server could not load the certificate it needs to initiate an SSL connection. It returned the following error: 0x8009030d. Check certificates to make sure they are valid.
I receive five errors in the event logs/application
EventID: 26014
Unable to load user specified certificate. The server will not accept a connection. You should verify that the certificate is correctly installed. See "Configuring Certificate for Use by SSL" in Books Online.
EventID: 17182
TDSSNIClient initialization failed with error 0x80092004, status code 0x80
EventID: 17182 TDSSNIClient initialization failed with error 0x80092004, status code 0x1
EventID: 17826
Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately prceding this one in the error log.
EventID: 17120
SQL Server could not spawn the FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
I don't recall assigning any sql specific certificates. The reason I'm trying to run this as a network user is because an application on a remote windows server requires it.
After starting the service back running as local system as it was before, I went into the SQL Server Management Studio Express and edited the properties for this new network user I wish to run the service as. I gave him full access including checking all grants in securables.
I now see a bit of a difference in the event logs with these errors.
EventID: 17058
initerrlog: Could not open the log file 'c:Program FilesMicrosoft SQL ServerMSSQL1MSSQLLOGERRORLOG.' Operating system error =5(Access is denied).
I saw a notification when changing the sql server service's logon that the new network user has been granted the log on locally right.
The second and last new error is
EventID: 17053
UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.
Hi, We are facing a problem while trying to access the report server. When I try to access reports homepage "http://servername/reports", I get following error "Unable to communicate with report server. Please verify that the report server is operational." I have not touched report server config file. I noticed that the problem can be temporarily fixed, if I disconnect remote connections (mstsc) to above server machine, which are idle for 2-3 days. Then the report server works fine. But I don't see any link between mstsc connections to server machine and report server problem. I think, it might be some memory issue, can somebody tell me how to fix this problem ? I am getting calls from my office in the middle of the night to fix this error..!!!!! I want permanent solution !
How do you backup tables and stored procedures in SQL sever 2005 express? Also, I'm getting ready to load VS 2008 with SQL sever 2008. How will I move SQL sever 2005 express tables and procedures to SQL sever 2008?
I am new to mssql I am not sure when I should use windows authentication and when to use sql server authentication I set it to sql server installation when sql server was installed I am using it right now on xp-pro platform on my home computer but I also have a website where I would like also to use it right now I do not have problem accessing the server with windows authentication but I keep getting errors when I switch to sql server authentication Your help is appreciated Dory
i only get the german version. But i want to download the original english version. Because i like more to work with the english terms than the translated german ones.
Hello, I am experiencing difficulty with the installation of sqlexpr_toolkit for sql server 2005 express. I have installed sql server 2005 express with advanced services. That has installed correctly. However, when I try to install the sqlexpr_toolkit with the feature 'Business Intelligence Studio' , the toolkit does not install; the toolkit does not show up in the program list in the"Add & Remove Programs" window. When I try to 'Change' the sql server 2005 in the "Add & Remove Programs" list and try to upgrade the feature components with the Business Intelligence feature, I get a error that states"cannot find devenv.exe." Both versions of setup files for sqlexpr_avd and sqlexpr_toolkit are the same. I previously had an earlier version of sql server 2005 express loaded but it was not the beta version. And I uninstalled the sql server apps, except I did not uninstall .NetFramework 2.0.
I have found some of the Business Inteligence files installed in the path: C:ProgramFilesMicrosoftVisualStudio8common7IDEPrivateAssemblies
I was wondering if I need to uninstall everything and start over. I also had previously installed Visual Web Developer Express and Visual Basic Express 2005 which are working okay. Do I need to obtain updates for these applications in order to get Business Intelligence Studio to install?
Any advice would be greatly appreciated. I really would llike to use the Business Intelligence Studio application.
Iam trying to connect to local copy of sql sever express from the command prompt with this command(sqlcmd) but i get the error below. What should i do to overcome the error. Basically what i want to do is to try out some commandline backup utilities and i deadly want to know how to do a backup from the command prompt. Help is greatly appreciated. HResult 0x2, level 16, state 1 Named pipes provider: could not open a connection to sql sever [2] sqlcmd: Error: Microsft sql native client: An error has occurred while estarblishing a connection to the sever. When connecting to sql sever 2005, this failure may be caused by the fact that under the default settings SQL sever does not allow remote connections.. Sqlcmd: Error: Microsoft sql native client: Login time out expired.
I have downloaded and installed the trial version of MS Visual Studio 2005 Team System. The installation was successful. However, I am not able to start SQLEXPRESS using the SQL Server Configuration Manager. It shows me SQLEXPRESS but when I right click and select Start it tries to start the service and after some time gives the following error
"The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details."
The event log shows the following errors:
1. FCB::Open: Operating system error 5(Access is denied.) occurred while creating or opening file 'c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmastlog.ldf'. Diagnose and correct the operating system error, and retry the operation.
2. FCB::Open failed: Could not open file c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmastlog.ldf for file number 2. OS error: 5(Access is denied.).
I tried enabling remote connections but still got the same error.
My Server service will not start, i get a message saing consult the logs, in the error logs it says error in the model db .ldf file. However, i can not connect to the server to restore from my back ups. I get the error msg, your server may not be configured to accept remote connection. No, i dont know what im doing and my only though is to start from scratch reinstalling the server. Any help is apreciated.
I would like some help in uploading a database from my harddrive to a server using sql server management studio express.
If I try to attach it to the server, this program only looks at the files on this server and not on my harddrive. So how can I copy a sql database to my folder on the server.
I am sure it must be a simple problem, but I've been bizzy with it for about a day now. So, please advice.
I need to start SQL Server Agent so that I can run scheduled jobs. I am running SQL Server 7.0 with windows NT 4.0 service pack 4. When I try to start the agent I get the following error
Error 22003: StartService() returned error 5,'Access is denied'
Does anyone have an idea as to why this is happening? Any help with this problem would be appreciated. Thanks
I get this error message each time i try to run the vb application in visual studio .net environment. -------------------------------------------------------------------------------- "Unable to start SQL debug session. Ensure sqldbreg2.exe and proxy/stub DLL sqldbg.dll are registered on this machine" -------------------------------------------------------------------------------
I am running visual studio and sql server 2000 on the same machine. I have given permission to sqldebugger user to access the system32 folder and sql debugging folder. This error message is followed by
------------------------------------------------------------------------------- Attaching the T Sql debugger to process[proj1.exe] on machine 'my machine name' failed Error code 0x80004004 ------------------------------------------------------------------------------
I am running MS SQL Server 2000 on windows 2000 adv server.
what can be done to remove this error. Thaks in advance
I have installed MS analysis service(OLAP) on my lap top
my user is in the Administrative group , other than that I tried creating a user with 'OLAP ADMINISTRATOR' privilate and tried to start the ms analysis service
I am getting the error , unable to start the service on server(), you are not a member of OLAP Administrators group
I tried to install the service pack 3 from Microsoft
Could you pleae guide me to start this serivice Thanks,
As my sql agent is not starting due to XP's are disabled . when I ran the sp_configure with override and changed to 0 to 1 when I am starting the agent the configured value will be back to again 0 and in logs.Waiting for SQL Server to recover database 'msdb'...ODBC Error: 0, Invalid character value for cast specification [SQLSTATE 22018]
When i started the service, i am getting the following message Starting up database 'master'. Error: 9003, Severity: 20, State: 1. Cannot recover the master database. Exiting.
i tried starting using -f -m paramters,but could not succeed i don't have any backups for master database is there any way i can restore it from .mdf, .ldf files..
I have a client server application and it is running in the following configuration: SERVER A: MS Server2003 with MS SQL2000, Our ERP application software is installed on this server as is MS SQL200.
Server B: is our e-commerce server and it is running MS Windows2000 server OS and no MS SQL. The e-commerce application is pointed to the active SQL server on server A. I am trying to run a software version upgrade on on software application (which was successfully run on server A) When we try to run this upgrade on server B we get a message: " Setup is unable to start MS SQL Server Services, please start and try again"
I do not understand what is going on with this. SQL & SQL Service Agent is running on Server A. Any suggestions as to what I need to do?
Recently we rebuilt one of the cluster node (due to some issues with SP), where distribution agent resource or instance was running after rebuilding that node, we failed over distribution resource to that (newly built) node and after that log reader agent jobs were in suspended status. After checking the job history, we got the below error "Unable to start execution of step 2 (reason: The LogReader subsystem failed to load [see the file for details]; The job has been suspended). The step failed."After getting lot of search did not get exact solution which matches to the environment
I have a SQL 2k5 ent. 64 bit on Windows 2003 Ent x64 edition.
The sql server was running fine under localsystem account. Recently I changed the service account to a local user (part of users group in windows) and implemented permissions according to KB article 283811. (have imlpemented the same on many other sql servers without issue).
However, the SQL services are not starting up and I am seeing the following errors in the errorlog.
===================
2007-07-25 12:36:55.90 spid11s Server name is 'HBCARPROD'. This is an informational message only. No user action is required.
2007-07-25 12:36:55.90 spid13s Starting up database 'model'.
2007-07-25 12:36:55.90 Server Error: 17182, Severity: 16, State: 1.
2007-07-25 12:36:55.90 Server TDSSNIClient initialization failed with error 0x5, status code 0x51.
2007-07-25 12:36:55.90 Server Error: 17182, Severity: 16, State: 1.
2007-07-25 12:36:55.90 Server TDSSNIClient initialization failed with error 0x5, status code 0x1.
2007-07-25 12:36:55.90 Server Error: 17826, Severity: 18, State: 3.
2007-07-25 12:36:55.90 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2007-07-25 12:36:55.90 Server Error: 17120, Severity: 16, State: 1.
2007-07-25 12:36:55.90 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
====================================
I have gone through the http://blogs.msdn.com/sql_protocols but everything mentioned here seems to be there. I understand this is some permission issue. Just not able to find it out. Can anybody help?
I thought I would post how I got remote t-sql debugging working in my environment. Hope it might help someone. I have two domains, DomainA and DomainB. DomainB has a one way external trust to DomainA. Dev Vista machine running VS 2005 is in DomainA logged in as user DomainAauser. SQL 2005 running on test Windows Server 2003 DC machine in DomainB under user DomainBuser. When trying to 'step into stored procedure' in VS, whether my data connection used windows authentication or sql server authentication, I would get the 'Unable to start T-SQL degbuggin...'. I could debug t-sql when I logged into the domain controller (console or rdp) and running VS on the server. I changed the SQL Server service to run under the DomainAauser account and I can now remote t-sql debug using both window authentication and sql server authentication. Hope this may help anyone that might run into this.
Ran the SP2 locally on a Windows Server 2003 SP1 box that had SQL Server 2005 SP1 install on it. Problem was I ran out of C: drive and it failed in the middle of upgrading the server.
I'm unable to start the SQL Server at all now. Is there any way to back this out? Don't think I can reapply any patches since the service is dead.
Eventlog now shows: One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.
The log shows it's unable to start SQL (blames it on permisions but it's because SQL can no longer start)
Product : Database Services (MSSQLSERVER) Product Version (Previous): 2047 Product Version (Final) : Status : Failure Log File : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGHotfixSQL9_Hotfix_KB921896_sqlrun_sql.msp.log Error Number : 29538 Error Description : MSP Error: 29538 SQL Server Setup did not have the administrator permissions required to rename a file: C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmssqlsystemresource1.mdf. To continue, verify that the file exists, and either grant administrator permissions to the account currently running Setup or log in with an administrator account. Then run SQL Server Setup again.
I'm guessing its reinstall time but not sure how the attached databases will like that idea.
Please help! I cannot debug CLR procs remotely. Whenever I try to start debugging in VS2005 I get the error: Unable to start T-SQL Debugging. Could not attach to SQL Server process on .... I have clr enabled set to 1 and I have Allow SQLCLR Debugging set on. But I continue to get this error. Any help would be greatly appreciated.
I have an ASP.NET project that uses a ASPNETDB.MDF file. This file is attached with a SQL Server Express everytime when I run the application, include debuging session. There are two debugging modes under Visual Studio 2005, through WebDev.WebServer or IIS. Both ways worked fine with this project until yesterday. Right now, whenever I try to debug it with WebDev.WebServer, it will show me an error: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. But if I debug it with IIS it works fine. Also, using the same machine and same installation of Visual Studio 2005 I can debug another project with WebDev.WebServer, that also uses a .mdf file (a different file). So, seems to me I jsut have problem with one mode and one project. The only thing that I did yesterday that I think may be relevant was that I reinstalled Visual Studio 2005 SP1 to fix another issue. Anyone has an idea? Thanks!
i'm using a domain accout to setup a sql 2005 cluster in a win2003 cluster.when the installation ended,the SqlServerAgent service can't be started.the event in event viewer
is "SQLServerAgent could not be started (reason: Unable to connect to server "(local)"; LServerAgent cannot start). " (event id 103 ,source sqlserveragent).I try to use local system and network service account to start it,but it's all the same.
And i found i can connect to the sql cluster vitrual ip 10.73.2.224,but can't connect to the node A.So i enable all the network protocols for the instance MSSQLSERVER,and also enable every ip in the TCP/IP protocol,then restart the sqlserver service,but it still doesn't work.