Showing posts with label storage. Show all posts
Showing posts with label storage. Show all posts

Tuesday, March 20, 2012

Can not attach MDF from HDS LUN

Hi..

We are trying to attach a database (MDF File without LDF File) in SQL2K SP4

MDF File is in HDS (Hitachi Data Storage) Lun or SAN Storage.

When we try attach the MDF File, we are getting an error. The error message is :

" Error 1813: Could not open new database 'Test'. CREATE DATABASE is aborted.

Device activation error. The physical file name 'F:\SQLData\Test_log.ldf' maybe incorrect "

When We try attach the MDF File, but We move the MDF File into Local Hard Drive (Drive C:), then We success to attached the MDF File and the LDF File is automaticlly generated without error.

i'm waiting for the solution

Thank's.

Brgds,

Dwiharto

How did you attach it? Try using sp_attach_single_file_db stored procedure instead.

Whether the data file resides on the SAN or not should not matter here.|||

I had try it before, but it is still doesn't working and still had same error message.

btw thanks for ur advice.

maybe u can tell me another way?

Thank's a lot Friend ...

|||Can you post the exact attach statement.|||

the statement :

sp_attach_single_file_db @.dbname = 'test',
@.physname = 'F:\SQLData\Test.mdf'

Thank's..

|||

The statement looks valid. (F:\) is a locally attached SAN, right? If this is a network attached san, you need to turn on trace flag (1807). Also, does the account used to start sqlserver service has full right to the SAN?

Monday, March 19, 2012

Can MSS 2005 be clustered using VM images i.e. with out a SAN

We would like to do MSS 2005 cluster failover testing with out Application,
however we do not have a SAN (or shared disk storage). Oracle provide the
ablity to create a 10G cluster using 2 Virtual Machines, so we were wondering
if Micrsoosft provides a a similiar solution for MSS 2005 and if so if there
is any documentation?
The lab manual from the course at www.clusterhelp.com does the whole thing
in Virtual Server.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Toronto, ON Canada
"mikekimber1" <mikekimber1@.discussions.microsoft.com> wrote in message
news:872804DE-56CD-454C-80E1-AD196E043D29@.microsoft.com...
We would like to do MSS 2005 cluster failover testing with out Application,
however we do not have a SAN (or shared disk storage). Oracle provide the
ablity to create a 10G cluster using 2 Virtual Machines, so we were
wondering
if Micrsoosft provides a a similiar solution for MSS 2005 and if so if there
is any documentation?
|||How about a TechNet webcast?
TechNet Support WebCast: How to cluster Microsoft SQL Server 2005 by using
Microsoft Virtual Server
http://support.microsoft.com/kb/891798/en-us
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"mikekimber1" <mikekimber1@.discussions.microsoft.com> wrote in message
news:872804DE-56CD-454C-80E1-AD196E043D29@.microsoft.com...
> We would like to do MSS 2005 cluster failover testing with out
> Application,
> however we do not have a SAN (or shared disk storage). Oracle provide the
> ablity to create a 10G cluster using 2 Virtual Machines, so we were
> wondering
> if Micrsoosft provides a a similiar solution for MSS 2005 and if so if
> there
> is any documentation?
>
|||Geoff, Tom,
Thanjs for this. We will give it a ago.
Regards Mike Kimber
"Geoff N. Hiten" wrote:

> How about a TechNet webcast?
> TechNet Support WebCast: How to cluster Microsoft SQL Server 2005 by using
> Microsoft Virtual Server
> http://support.microsoft.com/kb/891798/en-us
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "mikekimber1" <mikekimber1@.discussions.microsoft.com> wrote in message
> news:872804DE-56CD-454C-80E1-AD196E043D29@.microsoft.com...
>

Thursday, March 8, 2012

Can Iif( do a substring query on a storage field?

Ok,
This is what I don't understand. Hidden rows with downline dealers
only has '5678'. But the visible row that needs a drill down might
have in the dealerlineageid field (which is a field not to be
displayed)
'5678' and '2754' and 10 other dealer numbers (multiple dealer
numbers).
How would I know if '5678' is in there as a string value (which is just
one of the many numbers in that field)? If it has multiple
dealer numbers separated by commas? Wouldn't the expression for the
"hidden" value need to be a substring query? How would I do that?
Thanks,
TrintI always prefer preparing the data from base on. Where do you get the data
you want to render in the report, is there a chance to normalize it before
passing it to the report ?
HTH, Jens Suessmeyer.
--
http://www.sqlserver2005.de
--
"trint" <trinity.smith@.gmail.com> schrieb im Newsbeitrag
news:1113916563.747603.202200@.l41g2000cwc.googlegroups.com...
> Ok,
> This is what I don't understand. Hidden rows with downline dealers
> only has '5678'. But the visible row that needs a drill down might
> have in the dealerlineageid field (which is a field not to be
> displayed)
> '5678' and '2754' and 10 other dealer numbers (multiple dealer
> numbers).
> How would I know if '5678' is in there as a string value (which is just
> one of the many numbers in that field)? If it has multiple
> dealer numbers separated by commas? Wouldn't the expression for the
> "hidden" value need to be a substring query? How would I do that?
> Thanks,
> Trint
>|||No, it comes from a group within our company that is dedicated only
toward sql server and I am only in c#.net and reporting services.
Trint

Friday, February 10, 2012

Can I install SQL mobile on Storage Card ?

Hi,

SQL mobile apps like - .Net Frame work, SQLCE mobile etc - can they be install on the Storage Card? I am running out of space on my Verizon 6700 and don't have enought memory to install on the device. I cleaned up as much as I could still not enough space on the device.

Can this be done?

Thanks,

P

All my Windows Mobile 5 devices have SQL Compact Edition installed on the storage card. When you execute the installation cab files, you will be asked if you want to put the file on main storage or on the card.|||

Hi,

Are you talking about .NET Frame work, SQLcesa mobile files? There are 4 SQL mobile files that I need to install. Can they all be installed on Storage Card?

Thanks,

P

|||

After looking at my K-Jam's storage card, under the \Windows directory I found the following files:

sqlceca30.dll

sqlcecompact30.dll

sqlceoledb30.dll

sqlceqp30.dll

sqlcese30.dll

Hope this helps.

(I just noticed that this device also has another installation on the main storage. Cleanup!)

|||

Thanks for the help, but I still don't know if this answers my question. As far as I know - I always thought that SQL mobile files were supposed to be installed the device. The DB can reside on Storage Card but the the mobile files.

Anyone else has a comment?

P

|||

Both .NET CF 2.0 SP2 and SQL Compact 3.1 can be installed to a storage card. As Joao mentions, you are simply prompted during install, and given the option to install to either the device or the storage card.

|||After making sure that I only have one installation of SQL Compact Edition 3.1 on my device's storage card (with exactly the same files as I reported previously), I can confirm that the engine does work.