Vineet,

It sounds like you should be okay.  There was also a patch to the 
SetupActions/Program.cs file that displays a message saying "Press any key to 
continue.".  

When it says you are unable to open the files, are you trying to double click?  
If so that's not going to work.  The MDF file is the actual database and when 
the SetupAction scripts runs it attaches the database to SQLServer, thus using 
it by another process.  In order to view that newly created database, Open SQL 
Management Studio, connect to .\MSSQLServer, and expand Databases, you should 
see a StockTraderDB on that list.

-Ben

________________________________________
From: Vineet ghatge [[email protected]]
Sent: Saturday, April 25, 2009 11:37 PM
To: [email protected]
Subject: DATABASE HELP

Hello all,

I have managed to create "SetupActions.exe" according to steps described by
Scott Golightly on Apr 6(Subject:How to create and populate DB)
After running the "SetupAction.exe" in the command prompt(as an
administrator) i got the following as the output:-

-Setting up database
-Config.Appsettings:
-dbserver is .\MSSQLExpress
-installPath is C:\StockTraderDemo\
dbadmin is sa
authType is SQL
.......................................(cursor stops here)
Does this mean it that it finished populating database? How do I knw that I
finished populating the database???.

 While the command prompt runs at following path C:\Program Files\Microsoft
SQL Server\MSSQL.1\MSSQL\Data,it creates two files:-
1)StockTraderDB.mdf----SQL Server Database Primary Data File
2)StockTraderDB_log.LDF---SQL Server Database Transaction Log File

But I am unable to open the file instead throws an error saying "its being
used by another process". I did not understand why?? .

I am running the whole process on Windows XP OS

With Regards,
Vineet Ghatge H

Reply via email to