Showing posts with label searched. Show all posts
Showing posts with label searched. Show all posts

Monday, March 12, 2012

Newbie help: SQL Server does not exist error

I've seen this question asked when I searched, but I didn't see an answer that looked like it applied to me, so I'll ask again....

Making the transition from VB 6 to VB.NET and decided to take a stab at database programming while I'm at it. I bought "Database Programming with Visual Basic.NET and ADO.NET" by Sams Publishing and ran into problems in the first chapter. I've posted some questions on the microsoft.public.vb.database newsgroup and got some help, but it's still not working.

I'll skip some of the boring stuff and dive right in with what I've found out so far:

From MSSQL$VSDOTNET\LOG\ERRORLOG

2004-11-19 02:29:34.71 spid3 SQL global counter collection task is created.
2004-11-19 02:29:34.76 spid3 Warning: override, autoexec procedures skipped.
2004-11-19 02:29:58.87 spid51 Error: 15457, Severity: 0, State: 1
2004-11-19 02:29:58.87 spid51 Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install..
2004-11-19 02:29:59.01 spid51 Error: 15457, Severity: 0, State: 1
2004-11-19 02:29:59.01 spid51 Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install..
2004-11-19 02:29:59.46 spid3 SQL Server is terminating due to 'stop' request from Service Control Manager.

The last suggestion was to uninstall and reinstall. I uninstalled VS and SQL and reinstalled getting the same error message in the log, but the message box said that installation was complete.

On the Server Explorer of the IDE, it shows my computers name (programmer) under Servers. When I expand that and expand SQL Servers, I see PROGRAMMER\VSDOTNET. When I try to expand that, I get the SQL Server Login window with Server textbox disabled saying PROGRAMMER\VSDOTNET and the Database blank. Under the Login it has James (my sign in name) and asks for a password. When I did the MS-DOS CLI installation, I used "password" as the SAPWD. I tried using password, and tried using the password to log on as James, and get the same error message: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Any help would be appreciated, as long as you remember that I am a COMPLETE newbie at this. I'm fairly computer literate, but I don't know the first thing about databases....

Thanks again,

JamesAs far as the login problem, in which mode is your SQL Server is running ? (Windows mode or Mixed mode) . You can login with a username and password only if it is running in Mixed mode.|||I think that's part of the problem....It isn't running....I'm not sure.

James|||GREAT NEWS!!!!

I happened to reboot the computer (for other problems) and I now have an SQL Server Service Manager in my Systray!!!

It has a "Not Connected - \\" at the bottom. I'd LOVE to try a couple of things, but I'm afraid that I'll lose what I have....

Any advice?

James

Friday, March 9, 2012

Newbie Error

Hi guys,
Your help please.
First off, I have searched the Forum for answers using the keywords and tried those clues first but with no luck. This one for example: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q282254

I had a copy of MSDE installed on my machine about 12 month ago but never used it so I uninstalled it. Then I downloaded and installed SQL Server 120-day Evaluation edition a few days ago. When I tried to run SQL Server I get
An error 1069 – (The service did not start due to logon failure)…

I'm using Windows XP.

How can I find out what the password is or how can I reset it so the SQL Server logon works?

Any ideas?

Thanks Guys

FBIt's a windows service, so you'll need to go to your "Administrative Tools".|||what exactly do I need to do to get it to work?
I have gone to Control Panel > Administative Tools > Services > right click, select properties then moved to the Log On tab. Then what? ...|||Oh yeah, OK I've done it. On the Log On tab, in Log on as: I've selected Local System account, rather than This account.
Fanstastic! 8-)