pf » SQL Server Express 2005, Finally Installed

SQL Server Express 2005, Finally Installed

databases
sql server express enterprise manager

Back in February I blogged about my less than successful attempt at installing Microsoft SQL Server Express 2005. The comments from that post confirmed that I was not alone in these issues.

A helpful Microsoft employee has also posted some comments, with links to specific versions of .NET you need to install. They released a community beta release in June, so I decided to give it another go. After a few hours of tinkering, I did get it installed, and I'm a bit unimpressed with SQL Server Express Manager - more on that below.

So here's what I did this time to get it working:

  1. Uninstall any .NET frameworks you have installed.
  2. Install .NET Framework version 2.0.50215.312
  3. Reboot - Even though you aren't prompted to reboot, you want to do it now, otherwise the SQL Server Express 2005 installer will fail saying that you have unfinished installations that need a reboot. They are nice enough to get you half way through the installation before telling you this.

  4. Install SQL Server 2005 Express June CTP, build 9.00.1187
  5. Install The Microsoft SQL Server Express Manager June CTP

Though it took me way longer than it should have to install, there were some good points to all this. Microsoft has disabled a lot of features by default, including network connections. You can use the surface area tool to enable these features.

sql serface area tool screen shot

SQL Server 2005 Express also comes with the SQL Server Configuration Manager pretty much all this allows you to configure are network security settings.

sql server configuration manager

Connecting to SQL Express Manager

You would think that connecting to your SQL Server Express Manager wouldn't be too hard, simply enter your hostname, and login. So I put localhost in the Server Instance box. When you try that however you get a connection timeout:

Cannot connect to localhost

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server)

Okay, so I probably have some ports locked down, on windows firewall, or in SQL Server express. After disabling pretty much all network security, and the windows xp firewall, I was still getting the error.

Somehow I realized that you need to enter it as follows: computer_name\SQLSERVER_INSTANCE_NAME your SQL Server Express instance name will probably be SQLEXPRESS.

express manager connect

The SQL Server Express Manager

So now that I'm finally in the SQL Server Express Manager, I am expecting it to be somewhat like SQL Server Enterprise Manager. As I found out, it is very limited.

You can't really manage your server with it at all. It provides a read only view of your SQL Express Server, and allows you to run SQL statements.

In other words, you can see the tables you have, but you can't edit them, there isn't even a way to easily generate a SELECT * from tableName; by right clicking. You can also see Views, Stored Procedures, and users, but you can't manage any of these objects unless you execute system stored procedures manually. The only option in the right click menu is Refresh.

Another problem is that the query editor seams to always default to the master database, even if your focus is on an other one.

Needless to say I was a bit disappointed with SQL Express Manager. Unless I'm missing something, it seams to be pretty useless.

Microsoft is clearly leaving it up to third parties to provide a decent manager for SQL Server Express. The one thing that sets SQL Server apart from other databases is the ease of administration, this however does not appear to be a feature in the Express version.

I guess I can't forget that SQL Server Express is free.

The database engine

The actual database engine looks to be interesting, and a big step up from MSDE, but I haven't yet had time play with it. I'll post more on that when I get a chance.

Conclusion

Microsoft is clearly positioning SQL Server 2005 Express to compete with open source databases. But I think they have gone too far. The installation will take you a long time if you don't have the proper dependencies installed, and it is lacking in GUI management tools.



Related Entries
38 people found this page useful, what do you think?

WAF for CF
Trackback Address: 458/55E91111143A902608ED7566EE71A316
On 09/07/2005 at 4:13:17 PM MDT Ryan Guill wrote:
1
Does the sql server driver in cf work with the express?

On 09/08/2005 at 5:55:09 AM MDT Tjarko wrote:
2
At least they offer a "manager" with this version :-)

On 11/10/2005 at 2:13:08 PM MST var wrote:
3
I am not able to install sql server 2005 express edition components,However I could install Database services.it is giving me this message:-

Minimum Hardware Requirement The current system does not meet the recommended hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.

what am i doing wrong? I didnt had any previous versions of Visual studio.Net and I am installing in windows XP home edition service pack 2. Can any body give me any suggestions.

On 11/16/2005 at 6:04:49 PM MST Jack London wrote:
4
What about ColdFusion & SQL 2005 usage?

I have tried without any success.

Any idea?

On 11/27/2005 at 5:39:11 AM MST DRMad wrote:
5
You saved me pal! Thanks! I was frustrated playing with server configuration and still couldn't connect VBnet with it..... Thanks again!

On 12/23/2005 at 9:59:27 AM MST Takrim Khan wrote:
6
For me it worked only after uninstalling "SQL Server setup support files".

On 01/11/2006 at 10:23:40 AM MST Heath wrote:
7
By the way, you'll also need Windows Installer 3.0 to install that version of the .NET Framework. Windows Installer 3.0 needs Win2K SP3 or later. So what once was a simple MSDE install is now turned into a huge update job. Joy.

On 01/11/2006 at 1:31:43 PM MST Heath wrote:
8
Scratch that, you need Windows 3.0 to install .NET 2.0, but you need 3.1 to install SQL Express. Sigh.

On 01/17/2006 at 3:52:29 AM MST Nicholas wrote:
9
Thanks for posting this info. It saved me time! The connection info bit. Also, I just downloaded & installed MS SQL Server Management Studio Express which pretty much looks like the old Enterprise Manager. You can get it here http://www.microsoft.com/downloads/details.aspx?familyid=82afbd59-57a4-455e-a2d6-1d4c98d40f6e&displaylang=en

Thanks again, Nicholas

On 01/19/2006 at 2:32:45 AM MST Mike wrote:
10
Yes, mine only worked after uninstalling "SQL Server setup support files" as well. Cheers Takrim, that was driving me mad!

On 01/26/2006 at 1:03:12 AM MST stasion wrote:
11
I agree with you guys but if you try to use SQL Express in a VB enviroment you can edit the database. Try it.

On 02/02/2006 at 11:35:43 AM MST Don wrote:
12
I really liked Express2005 at first, when I went through the VWD2005 walkthrough. Now, I am trying to create a CF data source...NO CAN DO. The instance keeps refusing the connection. I tried opening it up from local to TCP/IP & Named Pipes. Has anyone got this to work yet?

On 02/03/2006 at 5:11:24 PM MST Seth Aaronson wrote:
13
I have been able to configure SQL 2005 Express with CFMX 7 Developer Edition. I created another login in SQL Server Management Studio that has sysadmin access to the database that I want as a source in CF. In the CF Admin data sources, name the CF source, the database name in SQL 2005, the computername\instance_name in the server field, then enter the new username and login you created in Management Studio for the database. You can also connect to it using the new JDBC type 4 drivers, after you add the .jar file into web-inf/lib folder. Again, all this is using the Dev. Edition, so, your mileage may vary. P.S. It also works in cfeclipse with the JDBC drivers and SQLExplorer, but I have not figured out how to list only one database on the server.

On 02/03/2006 at 9:23:24 PM MST Don wrote:
14
Yeah, I didn't think about that. I got it to work by installing DDJDBCAuth.dll and macromedia_drivers.jar and of course getting the port sync'd.

Unfortunately, I still can't get dreamweaver to attach. I will try making a user like you say.

On 02/05/2006 at 11:47:10 PM MST Anonymous wrote:
15
THANK YOU! I've just spent 2 hours trying to connect to (local), localhost, 127.0.0.1, etc...and kept getting the same stupid error message!

As soon as I read your post, and used the computer name/instance, it worked great.

On 03/20/2006 at 4:45:52 PM MST Christopher Cheng wrote:
16
For those who gave up, try one more thing: Start "SQL Server Configuration Manager", In "SQL Server 2005 Network Configuration" > "Protocols for SQLEXPRESS", Click on the tab "IP Addresses", Change all TCP Port to 1433. Yes, I mean all, even "IPAll", then it will work!

On 03/24/2006 at 5:55:06 AM MST Arshad wrote:
17
I downloaded the driver class from Microsoft site. and added the jar file (sqljdbc.jar) to my class path.

I am using WSAD 5.2. It is an IBM IDE tool.

I am trying to connect SQL Server 2005 Express database through my java code. When I loaded the driver I got the following error message:

java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver

I am using following java code to load the driver class:

Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");

Any help would be appriciated.

On 03/24/2006 at 6:22:50 AM MST Pete Freitag wrote:
18
Arshad - double check your classpath, that's typically the cause of a ClassNotFound Exception.

On 04/03/2006 at 7:41:46 AM MDT ararat wrote:
19
To me nothing happenes. I got VB 2005 professional but never database files are updated with applications. Made unistall, total formatting and still the same. Now after uninstalling it carefully i still have sqlserver on services and the setup shows that dotnet is installed also sql server 2005 express. Even those dos commands did not work on it. A very complete mess. Just going back to vb 6.0 enterprise which works like a charm. If Microsoft does not produce any tool for complete unistall of 2005 vb, dotnet, sqlserver no way of playing with it. I'm not going to format PC another time.

On 04/07/2006 at 3:54:51 AM MDT Carl Tipton wrote:
20
I have recently started playing with Visual C# express ( a little of VB express with the conclusion that VB had changed so much from VB6 that I might as well stick with C++/C# languages and let the VB side slide)

Anyway I found that the best way to install SQL server express was to install a full express version of a programming language (no MSDN if you like) then install the SQL server express management studio on top of that.

It work well this way - I tried install SQL server express separately a couple of times and a right mess was created as outlined in the thread.

I think the database not updating problem outlined by ararat is because local databases are copied by default into the project folder and so as not to update the database at runtime.

try running the app from outside Visual studio a couple of times and the DB will up date, I think that the probem.

On 04/24/2006 at 12:53:10 AM MDT Roohullah wrote:
21
I want to ask that is it possible to Install sql server using V-Basic code ?

On 04/25/2006 at 1:20:22 PM MDT kenneth wrote:
22
how do i make jobs on mssql studio express? i want to make automatic jobs like on enterprise manager

On 05/26/2006 at 3:58:30 PM MDT djinks wrote:
23
I cannot read the first part of this page with either ff or ie.

On 06/18/2006 at 5:10:28 PM MDT Olly wrote:
24
Hi there, after renting an SQL server 2005 from host-it.co.uk. I have connected with SQL STudio Mangement and created my 3 main tables, and relationships. I then have conencted to it using MS Web Developer 2005 Express and amd a front end of web pages using c# and asp2.0 . And Login etc. All works perfectly on Loacl Host (Built into Web Developer) but when uploaded to my available web space I type in the url and nothing happens. Any ideas would be great. My Login.apsx page is set to Start Page in Web Developer.

On 06/26/2006 at 3:17:06 AM MDT Phil wrote:
25
Hi Olly - Chances are that you need to have a default page in your web site - look at creating a page called Default.aspx that simply redirects to the MyLogin.aspx page. Another option is to change your Web.Config to use forms authentication that forces the redirect to MyLogin.aspx.

Hope this helps...

On 07/31/2006 at 10:59:27 PM MDT Peter H wrote:
26
Thanks for the (local)\SQLEXPRESS tip....

On 10/12/2006 at 5:35:09 AM MDT David wrote:
27
where can I download the express manager? Apparently, it didnt come with the SQL Server Express 2005 installation.

On 10/24/2006 at 6:09:50 AM MDT johnson wrote:
28
Hi , I am getting this error when i am trying to connect the database(sql server 2005) from coldfusion mx7Can anyone advise An unexcepted error occurred. The name of the exception is: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.UnknownHostException:

On 11/16/2006 at 4:34:49 AM MST jvvnmurty wrote:
29
i want driver manager connection url for sql server2005

On 11/30/2006 at 7:54:38 AM MST culkeeny wrote:
30
Does anyone know if a client is needed to access SQL Server Express? Does installation require a dedicated server, or can I install in a folder on a file server?

On 12/08/2006 at 5:17:38 PM MST Anonymous wrote:
31
Wow dude ty so much for this tutorial the part about putting sqlexpress after your computer name was my issue. MS should make it clearer. (*rages at MS*)

On 02/08/2007 at 11:44:14 AM MST Andi C wrote:
32
Great. Well with SQL Enterprise Admin you could create a new database, right? So how do i go about creating a database with SQL 2005 then? Any hints?

On 03/22/2007 at 12:42:45 PM MST baudrunner wrote:
33
It seems a lot of you like to blog more that you like to work. I had no trouble installing SQL 2005 Server Express or locating and installing the SQL 2005 Server Studio Manager Express GUI. Creating databases with the manager is a snap and can be done through the dialogs or via the script editor, which by the way is capable of the very most sophisticated SQL scripting. You can download the samples to prove it. Having said all that, the most important feature that is lacking, amd I find that disappointing, is the ability to export the database to different formats. Oh well, you get what you pay for.

On 03/29/2007 at 6:16:39 AM MST Svetoslav Marinov wrote:
34
Hi,

what OS are you running ?

Svetoslav http://devcha.blogspot.com/

On 04/27/2007 at 1:02:29 AM MDT sudeep wrote:
35
After installing MS-sql server 2005, when i open configuration manager, there is no listing of services..please help me out

On 04/27/2007 at 1:29:06 AM MDT Svetoslav wrote:
36
Does your system meet all the requirements:

http://www.microsoft.com/sql/editions/express/sysreqs.mspx

On 05/30/2007 at 2:11:13 PM MDT Vincenzo wrote:
37
hi to all, I've a problem, when I installed Sql Server 2005 Enterprise x64 not ask istance name. Do you now default istance name or how do I create a new istance. I opened Management Studio but in local and network I can't find a server...

On 06/21/2007 at 9:53:49 PM MDT Michelle wrote:
38
Thanks ,I had problem Connecting to SQL Express Manager but machinename\SQLEXPRESS worked

On 08/16/2007 at 2:54:54 PM MDT jceh wrote:
39
Had no trouble installing and all seems to work in SQL environment, although I can only get it to work by opening up pretty much all protocols and starting the network services, even though I'm only using the local service. However, as soon as ODBC and Access got involved I hit all sorts of problems. Worked to start with then just stopped. Started, stopped, rechecked, restarted, 3 hours dicking about then set back to original settings and rebooted and it all works fine again. No idea why it decided to go crazy or why it sorted itself out. I've an incling my dual core processor might be involved somewhere (says it only supports 1 processor but seems to work most of the time) or possibly McAfee Security Suite 7... although I suspect the former more.

On 10/18/2007 at 5:59:29 AM MDT Tom wrote:
40
Very disappointed about the limitations this version has compared with the paid version. After all it was not worth the time and efforts to install and configure it properly.

On 10/29/2007 at 3:05:01 AM MST Hilary wrote:
41
Does anyone know if the Microsoft® SQL Server? 2005 Developer Edition behaves and installs any better? (Currently wrestling with the Express edition. I also have the hardware warning although according to the blab I should be OK)

On 11/08/2007 at 11:02:18 PM MST brh wrote:
42
I installed visual studio 2005 pro.Edt. succesfully, but the the ms.sql server dev.Edit. that came with it as a pack, wouldn't show or install the studio manager. Can anybody help?

On 11/11/2007 at 11:46:20 AM MST ChrisW wrote:
43
Thanks for the info, but I just ahve to ask: Why would anybody use this instead of other free solutions e.g. Oracle XE, which is a piece of cake to install, or an open-source package ike MySQL or Postgres? The latter two offer completely cross-platform support, and anything you put into Oracle XE will be deployable to pretty much any other Oracle DB, so why bang your head against the brick wall of MS SQL Server Express?

On 12/04/2007 at 12:53:22 PM MST DavidC wrote:
44
In response to "ChrisW" ...

Maybe because your customer is using a Sql Server 2005 database.

On 03/06/2008 at 12:26:57 AM MST Andre wrote:
45
If anybody still looks at this, I found a slightly different way to refer to the SQL server with 2005...

When you run the setup, and it asks for your name and company, deselt the option that says 'Hide advanced settings'. The very next page will give you a choice of a personal server instance name (to use as <computer>\<instance>) or you can select 'Default instance' which allows you to specify the server by nothing more than your PC name.

I'm still trying to find a way to access as a . or (local) as with MSDE2000... Anybody have any ideas?

On 04/08/2008 at 10:31:09 PM MDT mbm wrote:
46
Hi, I sucessfully installed sql express, but i not able to find option to run sql server management studio. where to locate it??

On 04/09/2008 at 6:27:39 AM MDT Andre wrote:
47
Hi MBM,

Did you download the SQ Express 2005 files or do you have it on CD? The Management Studio is a separate application to the database desktop engine.

You can always go and download it from the MS website, here's the link: http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&displaylang=en

On 10/01/2008 at 9:22:53 AM MDT ashok gundeti wrote:
48
while connecting the Database i got the error , I tried more but could not get solution that error is ( Under default setting SQLServer does not allow remote connectons another one is could not open a connection to Sqlserver )here what problem was please send me answer thank you.

On 10/01/2008 at 9:22:53 AM MDT ashok gundeti wrote:
49
while connecting the Database i got the error , I tried more but could not get solution that error is ( Under default setting SQLServer does not allow remote connectons another one is could not open a connection to Sqlserver )here what problem was please send me answer thank you.

On 10/02/2008 at 12:08:22 AM MDT Andre wrote:
50
Hi Ashok Gundeti,

SQL Server 2005 disallows network access to the database by default, you will need to enable this in the SQL Server Configuration Manager (Start > Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Configuration Manager).

Once opened, expand the option for 'SQL Server 2005 Network Configuration' on the left hand side, and select 'Protocols for MSSQLSERVER'. On the right had side, you will now need to enable the protocols you use to specify the server remotely.

Try that and see if you still get the same errors again? I suspect the two errors may be related to each other.

On 10/14/2008 at 9:02:24 AM MDT ashok wrote:
51
How should i give the server name while connecting the database engine, this very problematic , I vexed with this how will i go,please anybody give me idea , I am trying to connect this last 15 days

On 01/28/2009 at 4:12:55 PM MST Manoj wrote:
52
Actually you don't need to go through all that uninstalling .NET and related steps....you can simply install it from command prompt with the upgrade flag set, as described here - http://web-win-programming-code-tutorial.blogspot.com/2009/01/sql-management-studio-installation.html

On 02/09/2009 at 6:04:03 AM MST eshun wrote:
53
4.

Note When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:

On 02/09/2009 at 6:07:48 AM MST eshun wrote:
54
4.

Note When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:

On 03/16/2009 at 1:15:34 AM MST Mike wrote:
55
You are a lifesaver Pete! Thanks for the many hours and days you have saved me. When I connected to SQL Express, having localhost\SQLEXPRESS as the server name is what worked for me!

On 03/26/2009 at 4:54:20 PM MST Mehrnaz wrote:
56
I have installed , fine , but I dont have the SQL Server Driver on my ODBC so can not restore or attach any database !!!!

On 06/23/2009 at 12:52:17 PM MDT shank wrote:
57
thank u yaar i was also havin the same problem...hope this works for me.




  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags