Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Need help to create database without SSMS Expand / Collapse
Author
Message
Posted Tuesday, September 15, 2009 12:57 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, September 23, 2009 10:09 AM
Points: 23, Visits: 31
Hi folks!

I've installed SQL Server 2008 Express Edition (just the engine!) into my client. Now, I need to use a SQL Server Manager tool different that SSMS: I can't use SSMS in my client.

So, I'm trying to use 2 tools for management: Toad for SQL Server 4.1 Freeware and SQL Manager 2008 For SQL Server Lite (from EMS).

My problem is that in both tools, when I'll create database, I get the error message: The logical file name "MyDB" is already in use. Choose a different name.

I don't know why it's in use 'cause I've just installed the SQL Server and I don't create any database... my SQL Server is with no one database, zero database!

I've already uninstalled the SQL Server and delete all folder into Program Files, so I've reinstalled the SQL Server and problem still happens.

I'm using de sa user to do this operations.

What's wrong? Please, I need help.
Post #788469
Posted Tuesday, September 15, 2009 1:02 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:04 AM
Points: 15,442, Visits: 9,590
Run this in your query tool:
select *
from master.sys.sysaltfiles
where name = 'MyDB';

Try that, see what it finds.


- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #788471
Posted Tuesday, September 15, 2009 1:15 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, January 03, 2014 3:52 PM
Points: 6,066, Visits: 5,277
Definitely use GSquared's query, but I have a question, you can use 3rd party tools but not vendor supplied tools? I'm not sure that makes any sense..

You could always use the SQLCMD command line tool and issue the CREATE DATABASE command directly.. Also look in the express instances data directory to see what database files are there.

CEWII
Post #788480
Posted Tuesday, September 15, 2009 1:20 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, September 23, 2009 10:09 AM
Points: 23, Visits: 31
I know that it looks crazy but it's real 'cause I can't install Power Shell into my client 'cause he doesn't have original Windows and it doesn't validate the install...

Here in my job everything is original and I use SSMS with no problem but I'm with this problem into my client.
Post #788486
Posted Tuesday, September 15, 2009 1:24 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, September 23, 2009 10:09 AM
Points: 23, Visits: 31
About GSquared's query: the result has no line... nothing!

There's another detail: ANY name I use I get the error.....
Post #788490
Posted Tuesday, September 15, 2009 1:25 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:04 AM
Points: 15,442, Visits: 9,590
He doesn't have a licensed copy of Windows?

I recommend convincing him to shift to a free OS (FreeBSD is my favorite in that category, but lots of others like Ubuntu Linux instead), and a free database (MySQL is good). Then you don't have to worry about licensing issues, and so on. And, with WINE, he can probably run whatever Windows programs he needs, if any.

Trying to support an illegal copy of Windows will just get you more pain than it's worth. If he wants free, he should get what's officially free. Otherwise, the risk of ending up needing a security update that he can't get is just about 100%.


- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #788491
Posted Tuesday, September 15, 2009 1:31 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, September 23, 2009 10:09 AM
Points: 23, Visits: 31
GSquared (9/15/2009)
Trying to support an illegal copy of Windows will just get you more pain than it's worth.


That's reason I don't install Power Shell and NO ONE program there... he's doing everything alone: I'll give just the database to him...

But, thanks for alert.

Any idea about how to solve this problem?
Post #788498
Posted Tuesday, September 15, 2009 1:37 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:04 AM
Points: 15,442, Visits: 9,590
On a matter of principle, I don't support illegal software. I'd be doing that indirectly if I go any further on this. I have too much respect for the amount of work that goes into building, marketing, selling, etc., to violate that.

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #788509
Posted Tuesday, September 15, 2009 1:44 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, September 23, 2009 10:09 AM
Points: 23, Visits: 31
Yes, I agree with you...

I'm trying to convence (is this word correct?) this client to use original software... there is the Open Licence that offers good price and a easy set of payment...

Here in my job is everything original...
Post #788519
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse