in

dashCommerce

An ASP.NET Open Source e-Commerce Application

MettleSystems error

Last post 05-02-2008 1:54 PM by yitzchok. 26 replies.
Page 2 of 2 (27 items) < Previous 1 2
Sort Posts: Previous Next
  • 04-13-2008 3:48 PM In reply to

    • yocuteem
    • Top 25 Contributor
    • Joined on 03-17-2008
    • Philadelphia Area
    • Posts 46

    Re: MettleSystems error

    I had to put the whole site in a virtual directory, and I had to put the admin folder in a virtual directory as well in order to get both the root and admin sites working.

    Tim

    Tim
  • 04-14-2008 8:32 AM In reply to

    Re: MettleSystems error

    I did not use any virtual directory. I made a new website on my server and copied all the files from the  "Web" folder to the folder I had setup as a website on the server. Configured the web.config and done.

     The only problem I got was that it was impossible to do a build using vs2005 Express because of all the "csproj" error it generated. I then uses VS2008 on another machine, intalled Subsonic, ajax1.1, dotnetframework2.0 and dnf2.0sp1. converted it to 3.5 and it worked fine.

     Then after some forum browsing here, I found out that I forgot to install the webprofile generator add-in. So i tried to install it, only to find out that in vs2005 express there is no support for add-ins.

     Why not put a allready 'build' version into the download . You only have to add it to a website, configure the settings and it runs. Saves all the troubles for building, downloading all the tools and plugins you need for building.

     

     

     

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

    • giggss
    • Top 500 Contributor
    • Joined on 04-10-2008
    • Posts 2

    Re: MettleSystems error

    Hi,  can i know what settings did you changed to your web.config file? I still cannot load the admin folder..

  • 04-14-2008 10:48 AM In reply to

    Re: MettleSystems error

    >> Why not put a allready 'build' version into the download . You only have to add it to a website, configure the settings and it runs. Saves all the troubles for building, downloading all the tools and plugins you need for building.

    We will do this once we get to release. Most folks like to be able to debug through it to help the project with patches and ideas and such.

    --
    Support dashCommerce - Buy Our Stuff!!


    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us! Documentation? Help us write some!
    Filed under:
  • 04-14-2008 4:10 PM In reply to

    Re: MettleSystems error

    In the web.config...  I am sorry, it was the connectionstring.config.  I made some changes to  the connectionstring pointing to our sql2005 server database.


    Steps you could take:
    Create a new folder on one of the drives of your webserver, Setup a website in IIS, point to the new created folder as the website location.
    Build the site in vs2005/2008 on your local drive. Then Copy the content of the builded "Web" folder to the folder on the webserver you have configured a new website for. You only need to copy the content of the "Web"  folder to new created website directory to get it running for testing. Then go to the testdomain in your browser (you have setup in IIS)  testwebsite/install/install.aspx . Create acount, follow the steps presented.

    If you test it on your local machine you need to create a virtual directory and copy the content of the "Web" folder to your web dir. Or point to the "Web" folder directly.

    Notes:
    - With "Web" folder I mean the /Web/ folder what was extracted from the zip.
    - Also make sure that in IIS, website properties, the [.NET tab] the 2.0 framework is selected.
    - Also make sure asp.net ajax1.0 extensions are installed on the server running IIS


    SQL:
    In SQL server (express) login with SA account, create a new database (for example "testshop").
    In connectionstring.config (in "Web" folder) alter the active connection string, if you have the DB running on a server point to the servername\SQLname and to the "testshop" dbname.

    In my case it is:
    <add name="dashCommerce" connectionString="Server=SQLDEVSERV\SQL2005 ;Initial Catalog=testshop;User Id=sa;Password=sa-password;" providerName="System.Data.SqlClient" />

    * I dont recomend to use the SA user in production environment, but since we are testing... *

     

    Hope this helps

  • 04-15-2008 2:21 AM In reply to

    Re: MettleSystems error

    I have got the same problem. To resolve this problem you will need to install VS 2005 Team Suite Service Pack 1 to you Visual Studio.

     http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

     This will allow you VS2005 to create and open web applications project. (VS2005 uses website project by default)

     Install Web Profiler if you have not already done so.

     After installing, open VS2005 and right click on web.config and select generate profile. re-compile the web project.

     This should solve the problem

  • 05-01-2008 8:54 AM In reply to

    Re: MettleSystems error

     hey what about my case?

    I've created a virtual directory for web/install/admin.

    run the server/install/install.aspx but no luck..mettlesystem error

    i've tried to open the solution but im only using web developer 2008 express edition.? so does it mean i cant install the dashCommerce?

    I have asp3+ framework, sql server express 2005, c# express 2008, web developer express 2008, and IISv5.1?

    i havent installed webprofile and subsonic coz it says on the documentation:

    Developers
    If you are planning on developing dashCommerce, you will need the following installed on your
    development machine as well as the software included in the list above.
    • Microsoft Visual Studio 2005 Standard
    • ASP.NET WebProfile Generator
    • SubSonic 2.0.3

     em i still missing something?

  • 05-01-2008 6:32 PM In reply to

    Re: MettleSystems error

    If someone is interested to build the site without using VS (You might need VS Express installed) you can try this

    • Download and Install MSBuild Runner
    • Right click on dashCommerce.sln in the root directory press MSBuild select the target version and press Build
    • Then add it to IIS and it should work.
    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 05-01-2008 11:11 PM In reply to

    Re: MettleSystems error

    BTW i get rid of the namespace MettleSystem error but im getting this one..

     Error    105    The type or namespace name 'dashCommerce' does not exist in the namespace 'MettleSystems' (are you missing an assembly reference?)    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\6e6f2d1f\5f0f3a9c\App_Code.tknxc4bp.0.cs    19   

    what does it mean? 

  • 05-01-2008 11:36 PM In reply to

    Re: MettleSystems error

    First you only need one virtual directory and thats for the main folder "Web"

     
    The following is if you don't want to install standerd or a greater version of VS
    Make sure that you built Core,Content,Localization,Store,Web (Not from VWD) (if you tried changing anything then reset all the files)

    You can try running (This will build the whole Solution)
    [.NET Folder (v2.0.50727/v3.5)]\MSBuild.exe YOUR_PATH_TO_THE_SLN_FILE (/t:Build)
    So for example
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe "C:\dashCommerce3\dashCommerce.sln" /t:Build

    Also try Deleting all the files in Temporary ASP.NET Files folder
    Then try running the install file

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

    Re: MettleSystems error

     Hi yitzchok,

    I've tried rebuilding the solution using lines below:

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe "D:\dashCommerce\dashCommerce.sln" /t:Build

    but Im back to to this:

    CS0246: The type or namespace name 'MettleSystems' could not be found (are you missing a using directive or an assembly reference?)

    I've also installed webprofiler and my subsonic is running smoothly but still im having the same problem.

    Do you thinks I cant run this using VWD 2008 express? coz its the one im using. And if it says that im missing a reference..? where can I find it to add a reference to dashCommerce. 

     

    add:

     

    [<b>edited by:</b> redzer0 at 6:43 AM (GMT -5) on 2 May 2008]
    Just an additional, I have add the a reference to this dll:
    MettleSystems.Licensing.dll

    after adding the reference the error below is gone:
    CS0246: The type or namespace name &#39;MettleSystems&#39; could not be found (are you missing a using directive or an assembly reference?)

    but im prompted with this new one:
    Error    1    The type or namespace name &#39;dashCommerce&#39; does not exist in the namespace &#39;MettleSystems&#39; (are you missing an assembly reference?)    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dashcommerceweb\b78e428c\b6d31acb\App_Code.8ochzrvi.0.cs    19   

    pls help.. tnx a lot..

     

    Filed under:
  • 05-02-2008 1:54 PM In reply to

    Re: MettleSystems error

    This sound like an error coming from using VWD to change stuff in the site you can't use VWD (Well till they came out with support for WebApplications)

    What I have tried was just using MSBuild

    • Get a fresh copy of dC or (Clear all the bin folders in all the projects if you/vwd didn't change any files).
    • Build with MSBuild
    • Create a Virtual Directory in IIS and set it to the Web folder (Set Read and Script Only)
    • Run the installer
    • Update the Connection String

    And your done.

    EDIT:

    redzer0:
    Error    1    The type or namespace name &#39;dashCommerce&#39; does not exist in the namespace &#39;MettleSystems&#39; (are you missing an assembly reference?)    c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dashcommerceweb\b78e428c\b6d31acb\App_Code.8ochzrvi.0.cs    19   

    Make sure that you have the built files in the websites bin folder including MettleSystems.dashCommerce.Web.dll

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
Page 2 of 2 (27 items) < Previous 1 2