Last post Aug 24, 2007 08:06 AM by Richard Ernst
Aug 01, 2007 04:36 PM|entiusgj|LINK
I thought I could learn from the code of the Personal Website Kit, as usual I learn more from get it working.
I installed Personal Website Kit on a Windows 2003 server with VS 2005 and SQL Standard Edition. If I run the Kit from VS it is working perfect, can navigate and log in. Can add users, roles and so on with ASP.net configuration.
I published (VS option: Publish website) the website to a C:\InetPub folder and added the site to IIS Manager. The site is coming up perfectly, with locahost or through the IP address of the server.
The problem starts with the login. The user name and password that are valid when running under VS are giving the message ‘Your login attempt was not successful. Please try again.’ message.
Cannot find why it is not working and what the difference is. The connect string is is working under VS and apparently also under IIS because there is no error message.
Can someone help me with this?
Aug 01, 2007 05:22 PM|jeric2k5|LINK
Well are you using a hosting company or just hosting it through your local server? Chances are that you are not using the valid connection string because the one that comes within the Web.config is for a local server. Also most hosting companies do not
let you use pre-made databases - Godaddy for instance - so you would have to convert your database to SQL scripts and upload it to the hosting company's database and then you would have to the proper connection strings. Your error message with the login is
definitely a database issue though.
Also I would suggest using Jeremy Wadsworth's personal website kit, which you can get from his website after you sign up for an account at .. www.jeremywadsworth.com. My website and plenty of other people's have it running - my site is in my signature -
it includes things such as user management and blogging support and everything else you need plus it comes with his SQL scripts already. Hope I helped, Good luck.
Aug 02, 2007 02:15 AM|entiusgj|LINK
Aug 24, 2007 08:06 AM|Richard Ernst|LINK
I foud this site:
It may help.