an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > beta 2 install fails during create demo data
Last Post 3/3/2008 12:46:23 PM By michael. 2 replies.
3/3/2008 8:34:14 AM
michael
Posts: 2
Joined: 3/3/2008
beta 2 install fails during create demo data

For some reason, the installer is trying to access drive d: during the install of demo data.  My drive d: happens to be a dvd drive, and the install fails.

I don't have any references to drive d: in my command line.   See the error message below.

C:\dev30\dotshoppingcart2\DotShoppingCartV2Beta\OpenSourceEdition\Install>InstDS
C.exe  .\SQLExpress dotshoppingcart c:\dbdata c:\key mail.ameritus.com info@amer
itus.com
Creating database .\SQLExpress.dotshoppingcart at c:\dbdata ...
Unhandled Exception: System.ApplicationException: "sqlcmd -E -S .\SQLExpress -v
DatabaseName="dotshoppingcart" PrimaryFilePhysicalName="c:\dbdata\dotshoppingcar
t.mdf" PrimaryLogFilePhysicalName="c:\dbdata\dotshoppingcart_log.ldf" DBDataPath
="c:\dbdata" -i "C:\dev30\dotshoppingcart2\DotShoppingCartV2Beta\OpenSourceEditi
on\Install\CreateDB.sql" -b" returned (1)
   at DotShoppingCart.OpenSource.Core.RunCmd.RunProcess(String filename, String
arguments) in D:\temp\OpenSourceEdition\Core\RunCmd.cs:line 44
   at DotShoppingCart.OpenSource.Core.DBDeployment.CreateDSCDatabase(String serv
er, String dbName, String path) in D:\temp\OpenSourceEdition\Core\DBDeployment.c
s:line 29
   at InstDSC.InstDSC.CreateDB() in D:\temp\OpenSourceEdition\InstDSC\Program.cs
:line 94
   at InstDSC.InstDSC.Install() in D:\temp\OpenSourceEdition\InstDSC\Program.cs:
line 86
   at InstDSC.InstDSC.Main(String[] args) in D:\temp\OpenSourceEdition\InstDSC\P
rogram.cs:line 81

3/3/2008 9:02:01 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: beta 2 install fails during create demo data

This is the exception stack which shows you where in the source code was failing. The source code was from D:\temp\OpenSourceEdition\Core\RunCmd.cs in the host machine when was compiled. The real error is

sqlcmd -E -S .\SQLExpress -v
DatabaseName="dotshoppingcart" PrimaryFilePhysicalName="c:\dbdata\dotshoppingcar
t.mdf" PrimaryLogFilePhysicalName="c:\dbdata\dotshoppingcart_log.ldf" DBDataPath
="c:\dbdata" -i "C:\dev30\dotshoppingcart2\DotShoppingCartV2Beta\OpenSourceEditi
on\Install\CreateDB.sql" -b" returned (1)

Try running this command directly to see what is wrong.

DotShoppingCart Staff
3/3/2008 12:46:23 PM
michael
Posts: 2
Joined: 3/3/2008
Re: beta 2 install fails during create demo data

Well, running the command indicates it executed successfully.  <img alt="" src="/Forums/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif" />

thanks