I set up membeship [adding roles using web admin tool etc...] all working fine at localhost but when I publish it to web it gives error. Below links were suggested but not clear for me. I opened the command prompt but not familiar with dod prompts, could not do the steps. Is this the only way if yes, can somebody give more details or better way to do this. Basically all what to do with membership is working fine at local host but not sure how to make it work on web. Open the command prompt on your local computer, and navigate to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 Execute the command: aspnet_regsql.exe -S DBServerName -U DBLogin -P DBPassword -A all -d DBName Please view "http://kb.discountasp.net/article.aspx?id=10417" on this error. If you are setting up membership roles please view "http://kb.discountasp.net/article.aspx?id=10413". I used Visiual 2008 to set up users
If your only database is the ASP.NET membership database, an easier way to do this is to take your ASPNETDB.MDF database file and attach it to your DiscountASP SQL database. You will still need to make the connectionStrings changes to your web.config though. This KB article has more info on how to do an attach: http://kb.discountasp.net/article.aspx?id=10431 Aristotle DiscountASP.NET www.DiscountASP.NET
Thank you for the reply. I really do not have any databases and will use this only for memebership but being told still need to first activate $10 month sql database option. So checking other options right now. I understand paying for databases extrabut I think you should be able to use login feature with user roles within the price of web hosting.
Hi, Here's a very good lightweight XML Membership provider for those who can't afford SQL Server: http://www.codeplex.com/aspnetxmlproviders Salute, Mark note: SQL Server is the best option but this is a good fallback. Technical Evangelist for DiscountASP.NET http://www.iis7test.com/webcasts/ http://weblogs.asp.net/markwisecarver/ http://blogs.windowsclient.net/wisecarver/default.aspx (Microsoft IT Usability http://msitusability.multiply.com/)