in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Install questions

Last post 02-20-2008 12:40 PM by MrBruce. 24 replies.
Page 1 of 2 (25 items) 1 2 Next >
Sort Posts: Previous Next
  • 02-12-2008 4:06 PM

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Install questions

    I've read the ReadMe.txt file and I'm still unsure of how to proceed. Could some kind soul please take pity and offer some advice?

    1. dC3 beta download and extracted to a directory on my hard drive.

    So far so good -- but I'm remembering that back in 2.x you just needed to upload the contents on the Web directory to your host. Is that still correct? Or do I actually need to open the .sln and build the project? 

    2. What do I need to FTP up to my host? Just the Web directory? or the whole kit and caboodle???

    I muddled my way through and created a virtual directory in IIS on my local machine, and will do that on my host when I know what gets uploaded there!

    Thanks in advance! 

    --
    Bruce
    Filed under: ,
  • 02-12-2008 4:20 PM In reply to

    • ASI
    • Top 50 Contributor
    • Joined on 02-12-2008
    • Posts 21

    Re: Install questions

    You will want to go ahead and open it by the .sln file and build the entire solution. Then all you need to host would be everything in the Web folder.  Just make sure that all the required dlls make it up to the server as well.  Then run the install/install.aspx page.

     Couple things to look out for.

    1. Make sure you have SQL 2005 with Advanced Services.
    2. You need to create your database before you run the installer.
    3. Make sure you enable Full text indexing for that database.
    4. After the installer successfully creates the needed database items it will provide you with your new connection string.  This needs to go in the connectionString.config unlike CSK and web.config.

    Good Luck

  • 02-12-2008 4:23 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Thanks, ASI! I'll be giving that a try tonight!  Big Smile

    --
    Bruce
  • 02-14-2008 9:35 AM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Okay, I think I've followed all the advice on the forums to date trying to get dc3 installed, but no love yet!!! I am using VS2008 on a Vista box, and don't really care about getting a local copy up and running... just want to get things installed on my host and will work from there!

    When I try to run the install/install.aspx I get a configuration error that says:

    Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

    The Source Error refers to Line 41 of the web.config file which reads:

    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

    Can anyone provide some direction???

    --
    Bruce
  • 02-14-2008 9:56 AM In reply to

    • ASI
    • Top 50 Contributor
    • Joined on 02-12-2008
    • Posts 21

    Re: Install questions

    I have
    <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    on line 41.

    System.Core doenst not exisit that I know of. There is a MettleSystems.dashCommerce.Core but that shouldn't need to be added to the assemblies. Though the dll does need to exist in your bin directory.

  • 02-14-2008 9:59 AM In reply to

    Re: Install questions

    Bruce,

    Do a diff on the web.config that you download and the one you mention here - this is referencing .NET 3.5 assemblies, which are not in the web.config I sent out. I am wondering if VS2008 didn't do you some "favors".

    --
    Support dashCommerce - Buy Our Stuff!!


    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 02-14-2008 10:04 AM In reply to

    • ASI
    • Top 50 Contributor
    • Joined on 02-12-2008
    • Posts 21

    Re: Install questions

    Ahhh.. Looks like you upgraded the project to 3.5 when you opened in 2008?  I found that System.Core is a new assembly in the 3.5 framework.

    More here:
    http://blogs.msdn.com/pedram/archive/2007/11/07/system-core-dll-of-net-framework-3-5.aspx

    You can actually just delete that line in the web.config.  You might have some other things to delete as well.  If you havent made any changes you might just want to re-unzip dash and make sure you target the 2.0 framework in VS this time.

     Good luck.

  • 02-14-2008 10:10 AM In reply to

    • sgildner
    • Top 150 Contributor
    • Joined on 02-11-2008
    • Detroit, MI
    • Posts 8

    Re: Install questions

    When you open the solution in VS2008, it will ask if you want to convert it to 3.5.  If you choose to do this, it automatically adds.changes the appropriate references in your web.config file.  If you view the properties of the web project, you can change the Target Framework back to 2.0.  This will change your web config again to use the 1.0.61025.0 version of System.Web.Extensions.  In my experiences doing this (way too many times) VS2008 messes it up sometimes.  Might be better to make sure you're on 2.0 and copy over the original web.config file.  Good luck.

     Scott

  • 02-14-2008 10:29 AM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Chris, there are a number of differences throughout the file... unfortunately, I have no idea what to DO about those differences!!! Here are the ones that jump out as being very different, and not just related to ASP.NET 3.5:

    <assemblies>
    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /></assemblies>


    <modules>
    <remove name="ScriptModule" /><add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>


    <handlers>
    <remove name="ScriptHandlerFactory" />
    <remove name="ScriptHandlerFactoryAppServices" />
    <remove name="ScriptResource" /><remove name="WebServiceHandlerFactory-Integrated" />
    <add name="WebResource.axd*" path="WebResource.axd*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" />
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </handlers>


    <system.codedom>
    <compilers>
    <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
    <providerOption name="CompilerVersion" value="v3.5" />
    <providerOption name="WarnAsError" value="false" /></compiler></compilers></system.codedom>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /></dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /></dependentAssembly></assemblyBinding></runtime></configuration>




    Any advice???

    --
    Bruce
  • 02-14-2008 10:31 AM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Scott, thanks for that info! That may be my next experiment!!!

    --
    Bruce
  • 02-14-2008 10:44 AM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Okay, I followed your suggestions and did the following:

    1. Deleted everything from my host
    2. Deleted everything in my local directory
    3. Re-extracted dc3
    4. Opened the .sln file in VS2008, choosing to leave it as ASP.NET 2.0
    5. Built the solution
    6. Opened the Web directory
    7. Sent all files to my host
    8. Attempted to run install/install.aspx
    9. Got a different configuration error:

    Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Which relates to Line 39 (and is in the original web.config):

    Line 39:         <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    What now???

    --
    Bruce
  • 02-14-2008 12:05 PM In reply to

    • sgildner
    • Top 150 Contributor
    • Joined on 02-11-2008
    • Detroit, MI
    • Posts 8

    Re: Install questions

    That's covererd over here:

    http://dashcommerce.org/forums/p/47/65.aspx#65

    You're using the right assembly now, but now you need to make sure ASP.NET Ajax 1.0 is installed on the host.  Read the thread above, I had this issue when I installed on my server.

     Scott

  • 02-14-2008 12:47 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Scott,

    I'd read that post before, and thought there might be a problem. So I spoke with my host yesterday. He installed ASP.NET 3.5. His understanding is that since ASP.NET 3.5 includes/supports AJAX, there is no need to install it separately. Is that not true? Can somebody provide me with some documentation I can take back to him?

    --
    Bruce
  • 02-14-2008 12:57 PM In reply to

    • sgildner
    • Top 150 Contributor
    • Joined on 02-11-2008
    • Detroit, MI
    • Posts 8

    Re: Install questions

    Yes, Ajax is now built into ASP.NET 3.5, but you are not using asp.net 3.5, you are using asp.net 2.0 with DashCommerce.  Your web.config file is pointing to the 1.0 version of Ajax which is compatible with ASP.NET 2.0.  Go over to www.asp.net/ajax for information and a download link.  If you simply have your host install the ASP.NET Ajax extentions 1.0, your project will find the correct file to reference.  Right now it's not finding it because you have the 3.5 version installed on your host and not the 1.0 version.

    I plan on upgrading to 3.5 as soon as I get some time.  I don't know what kind of compatibility problems will exist between ajax 1.0 and 3.5, but I'll find out.

    Scott

     

  • 02-14-2008 1:04 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Install questions

    Thanks, Scott! I've just dashed off a note to my host asking him to install the AJAX extensions - as soon as he's done that I'll give it another try and report back. Thanks!

    --
    Bruce
Page 1 of 2 (25 items) 1 2 Next >