Last post Sep 19, 2007 04:12 PM by zowens
Sep 19, 2007 02:19 PM|Deeko|LINK
Sep 19, 2007 03:06 PM|zowens|LINK
We put those in the main DB (I like having everything in 1 database). So the ASP.NET Web Configure stuff should work since the override the default membership provider and point it to the main DB and not use the ASPNETDB thing.
Sep 19, 2007 03:18 PM|Deeko|LINK
Thanks for the quick reply Zack. If I read you right this means I dont have to configure anything else apart from whats in the Getting started steps on the project page of this kit? If it runs in development mode but not on my IIS server it means its ost
probably the way I have set it up o the IIS? Is there any other settings I have to change to overide the default membership provider?
The 'only' steps I have followed are the 4 ones that are listed:
Basically, all you need to do to get started is the change the web.config in a few places. I recommend regenerating the templates as well.
1 - EDIT YOUR CONNECTION STRING!
If you are using the express version, open the ConnectionStrings.config and CHANGE YOUR CONNECTION STRING to map to your particular location.
If you are using the Standard version (only difference being that Standard can't run in the Express editions of Visual Studio) you need to make 2 edits. FIRST go to the ConnectionString.config in the website. Edit the connection string. Next go to the App.Config
in the ClubStarterKit.Data project. Edit that connection string.
2 - Edit the application settings
Open the web.config file in the root of the website. You have one choice to make in the app settings, whether or not you want to host your photos on the file system or your database.
Do not make edits to the FCKeditor:UserFilesPath or FCKeditor:BasePath settings.
To edit the Name that appears at the top of the site, or the slogan, address, copyright, etc. Open your website and log in as an administrator. Now go to the home page and click "Edit Settings".
3 - Edit the mail settings
The ASP.NET Membership provider looks at the <system.net> section of the web.config file to look for the properties of your SMTP settings. Edit the mail settings from lines 231-237. You also need to edit the SMTP settings as described in the previous section.
4 - Generating SubSonic DAL classes
I highly recommend generating up the DAL classes once again. This ensures that your configuration of the database was sucessful. Take a look at the following for instructions on regenerating the DAL classes.
Sep 19, 2007 03:33 PM|zowens|LINK
It should just work... whether you are using IIS or not.
Sep 19, 2007 03:59 PM|Deeko|LINK
Schoolboy error Im afraid [:$] Two problems were causing it. Number one was I hadnt set the project folder to ASP.NET version 2 and also hadnt renamed the connection string when I moved the project over to another folder for IIS. Thanks again Zack I will
continue to use this excellent kit and will monitor your project closely. If I have any more issues I'll post them up but Ill think carefully next time! - Deeko
Sep 19, 2007 04:12 PM|zowens|LINK
It's ok... we (me and the team :)) are here to help [:D]