# Wednesday, January 03, 2007
« New Year -new blog layout | Main | Web.Config, Visual Studio and Intellisen... »

While updating the layout of the DasBlog I needed to alter some of the source code to output lists rather than tables etc and after uploading the latest version of the blog the login form suddenly failed to work. When logging into DasBlog it would accept the parameters and either kick me out to the error page or redirect me to the logged in page.

DasBlog includes some fairly indepth error logging (not using Phil Winstanley’s Error Reporting code mind you), one of the events it logs is logging in. I noticed that I would get one of two errors when logging in, when I was shown the error page it would say: “Password Challenge was null in ViewState! <br>   at newtelligence.DasBlog.Web.LoginBox.doSignIn_Click(Object sender, EventArgs e)” etc and when it took me to the front page it would log: “Audit: SecuritySuccess” and the standard who logged in from which IP etc.

As I’d edited the DasBlog source my immediate thought was that I’d changed something in the login process so I copied the original DLLs back onto the site and tried again without any success. After a fair amount of searching into the issue on Google and the DasBlog forums I was at a loss as to the issue so I asked on the DasBlog forum (http://www.dasblog.us/viewtopic.php?t=417).

A couple of people responded including Tom but sadly none of the suggestions applied to my situation. In the end I found that the issue was being caused because I was running the site under ASP.Net 2.0. When running DasBlog under ASP.Net 2.0 you need to make additional changes to the web.config file as outlined in the install documentation. When setting up the staging site I copied the directory from my main blog so I had the same content to test with, although I remembered to alter all the relevant areas in the site.config etc files, I had neglected to alter the cookie path setting in the web.config. So if you’re getting the same issues, check the web.config cookie path values.

Wednesday, January 03, 2007 11:00:53 PM (GMT Standard Time, UTC+00:00)
1) Your comment link doesn't take you down far enough on the page - I was left seeing a mostly blank page and had to scroll (ghast!)

2) Great blog post, especially this part: "as outlined in the install documentation". Which, the title of this post should have been "RTFM - DasBlog Login issues"

3) The CAPTCHA thing still doesn't work on the first page load of comments

4) Your "Comment (Some html is allowed:) doesn't show anything

5) Oh, posting back doesn't take me down far enough on the page.

Cheers.
Thursday, January 04, 2007 10:29:46 AM (GMT Standard Time, UTC+00:00)
Hello OBR,

Thanks for your comments though some would have been better under my new blog layout post but hey :P

1. Interesting, I think there are still a few CSS issues with IE6- which I've not had time to sort. ATM the comments are still using the original table layout which I need to sort so will sort that at the same time.

2. Pah, it kinda was a RTFM moment and also not, we all have them sometimes.

3. Ah, I thought I disabled it, turns out some of the configuration settings still aren't being saved correctly.

4. Sorted ta.

5. I'm guessing that's once again the anchor tag :)

Thanks for reading though ;)

btw the reader count is now to two (haven't you seen my other comment)!
Friday, January 05, 2007 2:18:05 AM (GMT Standard Time, UTC+00:00)
Point 1 should now be sorted (with content back -yey). Still not sure what was going on there but forced me to tart up the comments CSS :)

Tim
Friday, July 25, 2008 9:59:57 AM (GMT Daylight Time, UTC+01:00)
Hi,
I want to build a site using dasblog. I have unzipped on my local system and mapped to IIS.

Now I dont know how to login and how to create users.

I am able to login using admin/admin but don't know where is the "screen" for users to register themselves!

Please help!
Friday, July 25, 2008 10:33:31 PM (GMT Daylight Time, UTC+01:00)
Hi Sandeep,

Users cannot register themselves in dasBlog, you need to update the siteSecurity.config file, you can read more about it here: http://dasblog.info/siteSecurityconfigFile.aspx

HTH

Tim
Saturday, February 07, 2009 7:04:57 PM (GMT Standard Time, UTC+00:00)
I had this same problem and resolved it.
I had just installed dasBlog and I chose to make changes under the <strong>configuration</strong> option.

The only thing I had changed was the THEME.

I logged off and <i>attempted </i> to log back in and it failed every time.
I'm a softwar developer so I started examining the config files even though I've never used dasBlog before.

Finally, because of your (Tim's) notes I examined the site.config file and noticed that my theme had an entry, but my login page looked like the original theme (dasBlog).

I hacked the site.config file changing only the theme back to dasBlog (original theme set up via my godaddy installation).

I then attempted to log on again and <strong>it worked!</strong>

Thanks for your insight.
Comments are closed.