retroviz wrote:It sounds to me like you are missing a rather large step - the web application itself.
Easiest thing is to copy the NopCommerce.Web directory to the machine you will host the site on (or ftp). Your virtual directory should point to this directory.
Once you have built your db (using the scripts in the install directory) then you just need to open up web.config (in the root of your app) and change the connection string information to match the login's etc you have created for your db.
Then try browsing to your site.
Hope that helps
Ok I am not sure what you mean by NopComerece.Web directory. I am not also too familiar with Virtual directories and right now I just want to do stuff on local host. I will deal with my host site when I am finished my site.
However I have made progress. I loaded up the the web application that comes with the 2 files for the db. After going to the webconfig file I changed these 2 lines
<connectionStrings>
<add name="testConnectionString" connectionString="Data Source=CHOBO2;Initial Catalog=test;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<NopConfig>
<SqlServer ConnectionStringName="testConnectionString"/>
<Encryption PrivateKey="zsj%i2911ncmsdm1"/>
</NopConfig>
So I am not sure if that is right. I can get to the admin thing now though.
Now I have a couple questions.
1. Most of these things in the web application I don't think I need. Like this looks like a pretty done website. What do I actually need in order to through it in a new webapplication? I am guessing I need the web config(not sure which one there seems to be quite a few) file but what else?
2. Can I use still asp.net membership? I am looking through some of the files and looks like you have your own login stuff(I only see 2 new controls in the toolbox though - creditCardValidator and globalRadioButton).
3. This is what I am trying to do:
User creates an account
User can go into members area.
In members area user can sign up for a trail for 7 days(I am selling a subscription).
If after the 7 day trail(or they can skip it and buy a subscription right away). I want them to go through the sets of buying the subscription. After they have purchased and the payment has gone through I want to start there subscription(I will have a database table keeping track of this. When they try to login they will always be validated to see if the current date if not greater then expiry date).
Now I am not sure how to activate there account automatically since I don't know how to get a signal that they paid.
I am planning probably to just use paypal to start off with. I don't want to have a million accounts like google checkout and then get like $10 in each one.
So I am not sure what I need from that sample site. I also noticed the ajax used on the website does not work since the script manager is the one from vs2005(I have vs2008) not sure how to fix though.
4. Do I need SSL?