an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > error received on installation
Last Post 11/2/2008 1:55:08 PM By lukezy. 3 replies.
11/2/2008 2:31:12 AM
micahsdad1402
Posts: 31
Joined: 11/2/2008
Location:Melboune Australia
error received on installation
Hi,
 
running the installation and get the following error:
 
C:\websites\localuser\dotshoppingcart\Install>InstDSC.exe isaiah dotshoppingcart
 d:\mssql\data c:\websites\localuser\dotshoppingcart\key isaiah john@goldrushtec
hnology.com.au
Creating database isaiah.dotshoppingcart at d:\mssql\data ...
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part
 of the path 'd:\mssql\data\FTData\dotshoppingcart'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path,
DirectorySecurity dirSecurity)
   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directo
rySecurity)
   at System.IO.Directory.CreateDirectory(String path)
   at DotShoppingCart.OpenSource.Core.Utils.EnsurePathExist(String path) in D:\s
ites\OpenSourceEdition\Core\Utils.cs:line 421
   at DotShoppingCart.OpenSource.Core.DBDeployment.CreateDSCDatabase(String serv
er, String dbName, String path, Boolean outputToConsole) in D:\sites\OpenSourceE
dition\Core\DBDeployment.cs:line 30
   at InstDSC.InstDSC.CreateDB() in D:\sites\OpenSourceEdition\InstDSC\Program.c
s:line 94
   at InstDSC.InstDSC.Install() in D:\sites\OpenSourceEdition\InstDSC\Program.cs
:line 86
   at InstDSC.InstDSC.Main(String[] args) in D:\sites\OpenSourceEdition\InstDSC\
Program.cs:line 81


The SQL server is on a differnt server to the web server.
 
the path I am specifying is on the SQL server
 
path d:\mssdl\data\ftdata\dotshoppingcart hasn't been created.
 
No idea where the d:\sites\OpenSourceEdition....  is coming from. The web server doesn't have a d drive.
 
Web Server is Windows 2003 Web Edtion
SQL server is SBS server.
 
Running as domain admin user.
 
open source version of DotShoppingCart



 
11/2/2008 7:28:14 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: error received on installation
"d:\sites\OpenSourceEdition" is the exception stack saying where the code was complied. Here is the real error see below yellow background. Just fix the path.
 
InstDSC.exe isaiah dotshoppingcart  d:\mssql\data c:\websites\localuser\dotshoppingcart\key isaiah john@goldrushtec hnology.com.au
 
DotShoppingCart Staff
11/2/2008 1:26:56 PM
micahsdad1402
Posts: 31
Joined: 11/2/2008
Location:Melboune Australia
Re: error received on installation
Thanks for your response.
 
However this is the correct path where my sql databases are stored (on the sql server).
 
My suspicion is the installer assumes that your sql server is the same server as the web server, which in my case it isn't (at least in the virtual sense). Both servers are virtual servers on the same hardware....
 
The problem is that even though this is open source (probably a loose definition), I don't have access to the installer source to fix it.
 
 
JJ.
11/2/2008 1:55:08 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: error received on installation
Yes, it assumes sql server and web server are the same server. All the source code is available via the first link in http://www.dotshoppingcart.com/Page/Community/Download.aspx. The installer is located in InstDSC project.
DotShoppingCart Staff