issues when first time using DasBlog

Topics: Support Request
Jun 4, 2009 at 3:36 PM
Edited Jun 4, 2009 at 3:38 PM

Hi There,

I am first time using the dasBlog and have a issue regarding login. I am setting up dasBlog on my local machine. I downloaded the webfiles, unzip it and created a virtual directory. I also modified the siteconfig.config and created a admin user in sitesecurity.config. Now when I open the dasblog in internet explorer, and login, the url changes to "default.aspx?page=admin" but it does not show up any admin controls. When I click on the "Configuration" link in the default first entry(which says something like congratulations and be sure after logging in to change your configuration), it says "You can't this page.".

Is there anything else I need to do? Is this a caching issue? i saw that the EnableStartPageCaching in the Siteconfig.config is false.

Thanks in advance,

regards,

Ashish

Update: I have downloaded the latest versoin which is 2.3.9074.18820.

Coordinator
Jun 4, 2009 at 4:33 PM
can you post a copy of the sitesecurity.config and the site.config?


Jun 5, 2009 at 6:28 AM

Here it the site.config and sitesecurity.config

Site.config --------------------------

<?xml version="1.0" encoding="utf-8"?> <SiteConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:newtelligence-com:dasblog:config"> <!-- REQUIRED: Your blog will not work properly until you configure these settings. --> <!-- Set the Root to the base URL of this blog, such as http://example com/joeuser/blog/ --> <Root>http://localhost/AshBlog/</Root> <!-- NotificationEMailAddress is the address used by the system to send you event (blog posts, comment posts) notifications. This address will NOT be published on the website. --> <NotificationEMailAddress>ashish@ashish.com</NotificationEMailAddress> <!-- IMPORTANT: Make sure you also edit the settings in siteSecurity.config (in the same folder as this file) --> <!-- END OF REQUIRED SETTINGS --> <!-- SUGGESTED: personalization settings (these can all be configured through the administration interface once your blog is up and running) --> <!-- Banner text. (Note: not all themes show the Subtitle or Description.) --> <Title>My DasBlog!</Title> <Subtitle>newtelligence powered</Subtitle> <Description>Ashish Sheth's Blog</Description> <!-- Default visual theme --> <Theme>dasBlog</Theme> <!-- Contact is the address that is posted on your website so that people can contact you. You can use the ObfuscateEmail setting below to make it harder for spammers to harvest your address.--> <Contact>dasblog@example.com</Contact> <Copyright>Your Name Here</Copyright> <!-- END OF SUGGESTED SETTINGS --> <!-- Note: All of the above comments will be removed from this file automatically when you run the application --> <RssDayCount>10</RssDayCount> <RssMainEntryCount>50</RssMainEntryCount> <RssEntryCount>50</RssEntryCount> <EnableRssItemFooters>false</EnableRssItemFooters> <RssItemFooter>This weblog is sponsored by <a href="http://www.newtelligence.com">newtelligence AG</a>. </RssItemFooter> <FrontPageDayCount>10</FrontPageDayCount> <FrontPageEntryCount>10</FrontPageEntryCount> <CategoryAllEntries>true</CategoryAllEntries> <FrontPageCategory /> <AlwaysIncludeContentInRSS>true</AlwaysIncludeContentInRSS> <EntryTitleAsLink>true</EntryTitleAsLink> <NotifyWebLogsDotCom>false</NotifyWebLogsDotCom> <NotifyBloGs>false</NotifyBloGs> <ObfuscateEmail>true</ObfuscateEmail> <SendCommentsByEmail>true</SendCommentsByEmail> <SendReferralsByEmail>true</SendReferralsByEmail> <SendTrackbacksByEmail>true</SendTrackbacksByEmail> <SendPingbacksByEmail>true</SendPingbacksByEmail> <SendPostsByEmail>false</SendPostsByEmail> <EnableBloggerApi>true</EnableBloggerApi> <EnableComments>true</EnableComments> <EnableCommentApi>false</EnableCommentApi> <EnableConfigEditService>false</EnableConfigEditService> <EnableEditService>false</EnableEditService> <EnableAutoPingback>false</EnableAutoPingback> <ShowCommentCount>true</ShowCommentCount> <EnableTrackbackService>false</EnableTrackbackService> <EnablePingbackService>false</EnablePingbackService> <EnableStartPageCaching>false</EnableStartPageCaching> <EnableBlogrollDescription>false</EnableBlogrollDescription> <EnableUrlRewriting>true</EnableUrlRewriting> <EnableFtb>true</EnableFtb> <EnableCrossposts>false</EnableCrossposts> <UseUserCulture>true</UseUserCulture> <ShowItemDescriptionInAggregatedViews>true</ShowItemDescriptionInAggregatedViews> <EnableClickThrough>true</EnableClickThrough> <EnableAggregatorBugging>true</EnableAggregatorBugging> <DisplayTimeZoneIndex>85</DisplayTimeZoneIndex> <AdjustDisplayTimeZone>true</AdjustDisplayTimeZone> <ContentDir>content/</ContentDir> <LogDir>logs/</LogDir> <BinariesDir>content/binary/</BinariesDir> <ProfilesDir>content/profiles/</ProfilesDir> <SmtpServer /> <EnablePop3>false</EnablePop3> <Pop3Server></Pop3Server> <Pop3Username></Pop3Username> <Pop3Password></Pop3Password> <Pop3SubjectPrefix></Pop3SubjectPrefix> <Pop3Interval>30</Pop3Interval> <Pop3InlineAttachedPictures>true</Pop3InlineAttachedPictures> <Pop3InlinedAttachedPicturesThumbHeight>100</Pop3InlinedAttachedPicturesThumbHeight> <ApplyContentFiltersToWeb>true</ApplyContentFiltersToWeb> <ApplyContentFiltersToRSS>false</ApplyContentFiltersToRSS> <EnableXSSUpstream>false</EnableXSSUpstream> <XSSUpstreamEndpoint>http://radio.xmlstoragesystem.com/RPC2</XSSUpstreamEndpoint> <XSSUpstreamUsername /> <XSSUpstreamPassword /> <XSSRSSFilename>rss-dasblog.xml</XSSRSSFilename> <XSSUpstreamInterval>3600</XSSUpstreamInterval> <ContentFilters> <ContentFilter find="\$g\((?<expr>[\w\s\d]+)\)" replace="<a href="http://www.google.com/search?q=$url(${expr})">${expr}</a>" isregex="true" /> <ContentFilter find="\$d\((?<expr>[\w\s\d]+)\)" replace="<a href="http://dictionary.reference.com/search?q=$url(${expr})">${expr}</a>" isregex="true" /> <ContentFilter find="dasBlog" replace="<a href="http://dasblog.info">dasBlog</a>" isregex="false" /> <ContentFilter find=":-o" replace="<img alt=":-o" src="~/smilies/openmouth.gif">" isregex="false" /> <ContentFilter find=":-S" replace="<img alt=":-S" src="~/smilies/frown.gif">" isregex="false" /> <ContentFilter find=":-D" replace="<img alt=":-D" src="~/smilies/veryhappy.gif">" isregex="false" /> <ContentFilter find=":'(" replace="<img alt=":'(" src="~/smilies/unhappy.gif">" isregex="false" /> <ContentFilter find=";-)" replace="<img alt=";-)" src="~/smilies/wink.gif">" isregex="false" /> <ContentFilter find=":-)" replace="<img alt=":-)" src="~/smilies/happy.gif">" isregex="false" /> </ContentFilters> <CrosspostSites /> <Pop3DeleteAllMessages>false</Pop3DeleteAllMessages> <Pop3LogIgnoredEmails>true</Pop3LogIgnoredEmails> <EnableReferralUrlBlackList>false</EnableReferralUrlBlackList> <ReferralUrlBlackList /> <EnableCaptcha>true</EnableCaptcha> <EnableReferralUrlBlackList404s>false</EnableReferralUrlBlackList404s> <EnableMovableTypeBlackList>false</EnableMovableTypeBlackList> <ChannelImageUrl /> <EnableCrossPostFooter>false</EnableCrossPostFooter> <EnableTitlePermaLink>true</EnableTitlePermaLink> <EnableTitlePermaLinkUnique>true</EnableTitlePermaLinkUnique> <EnableTitlePermaLinkSpaces>false</EnableTitlePermaLinkSpaces> <EncryptLoginPassword>false</EncryptLoginPassword> <EnableSmtpAuthentication>true</EnableSmtpAuthentication> <SmtpUserName></SmtpUserName> <SmtpPassword></SmtpPassword> <RssLanguage>en-us</RssLanguage> <EnableSearchHighlight>true</EnableSearchHighlight> <EnableAutoSave>false</EnableAutoSave> <CommentsRequireApproval>false</CommentsRequireApproval> <CommentsAllowHtml>true</CommentsAllowHtml> <validCommentTags> <tag name="a" attributes="href,title" allowed="true" /> <tag name="b" attributes="" allowed="false" /> <tag name="blockquote" attributes="cite" allowed="false" /> <tag name="em" attributes="" allowed="false" /> <tag name="i" attributes="" allowed="false" /> <tag name="strike" attributes="" allowed="true" /> <tag name="strong" attributes="" allowed="false" /> <tag name="sub" attributes="" allowed="false" /> <tag name="sup" attributes="" allowed="false" /> <tag name="u" attributes="" allowed="false" /> </validCommentTags> <CommentsAllowGravatar>false</CommentsAllowGravatar> <CommentsGravatarNoImgPath /> <CommentsGravatarSize /> <CommentsGravatarBorder /> <CommentsGravatarRating>R</CommentsGravatarRating> <EnableCommentDays>true</EnableCommentDays> <DaysCommentsAllowed>60</DaysCommentsAllowed> <SupressEmailAddressDisplay>true</SupressEmailAddressDisplay> <EnableDailyReportEmail>false</EnableDailyReportEmail> <UseSSLForSMTP>false</UseSSLForSMTP> <PreferredBloggingAPI>Moveable Type</PreferredBloggingAPI> <EnableGoogleMaps>false</EnableGoogleMaps> <GoogleMapsApiKey /> <EnableGeoRss>false</EnableGeoRss> <DefaultLatitude>0</DefaultLatitude> <DefaultLongitude>0</DefaultLongitude> <EnableDefaultLatLongForNonGeoCodedPosts>false</EnableDefaultLatLongForNonGeoCodedPosts> <HtmlTidyContent>true</HtmlTidyContent> <ResolveCommenterIP>true</ResolveCommenterIP> <AllowOpenIdComments>false</AllowOpenIdComments> <AllowOpenIdAdmin>false</AllowOpenIdAdmin> <BypassSpamOpenIdComment>false</BypassSpamOpenIdComment> <TitlePermalinkSpaceReplacement>+</TitlePermalinkSpaceReplacement> </SiteConfig>

---------------------------------

SiteSecurity.config

---------------------------------

<?xml version="1.0" encoding="utf-8"?> <SiteSecurityConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Users> <!-- IMPORTANT: You will want to create an admin account for maintaining your blog. It is highly recommended that you create a new Name and Password for this account. Do not use your ISP, web host, or e-mail login information. The account should be unique to dasBlog. --> <User> <Name>admin</Name> <!-- The default password is "admin" (without quotes) --> <Password>chandrika</Password> <Role>admin</Role> <Ask>false</Ask> <DisplayName>Your DisplayName here!</DisplayName> <EmailAddress>myemail@myemail.com</EmailAddress> <OpenIDUrl>http://localhost/Ashblog/</OpenIDUrl> </User> <!-- An example contributor account. Users with the contributor Role can post content, but cannot change configuration settings. --> <!-- <User> <Name>SomeOtherUser</Name> <Password>blog-password</Password> <Role>contributor</Role> <Ask>true</Ask> <DisplayName>Some Other User</DisplayName> <EmailAddress>SomeOther@example.com</EmailAddress> <OpenIDUrl>http://www.example.com/blog/</OpenIDUrl> </User> --> <User> <Name>ashish</Name> <Password>myBlog</Password> <Role>admin</Role> <Ask>false</Ask> <DisplayName>Ashish</DisplayName> <EmailAddress>ashish@ashishsheth.com</EmailAddress> <OpenIDUrl>http://localhost/Ashblog/</OpenIDUrl> </User> </Users> </SiteSecurityConfig>

 

thanks and regards,

Ashish

Coordinator
Jun 5, 2009 at 9:40 PM

In your Site.Config the root address can't be "<Root>http://localhost/AshBlog/</Root>" it must be a fully qualified domain name. If you want to just use dasblog local during test etc., then create a dummy domain reference in your hosts file.

<Root>http://temp.com/AshBlog/</Root> will work if your IIS is set to host header acceptance of temp.com and your hosts file sees temp.com as your local IP number and your blog is in the referenced subdirectory.

Also be sure to change your password, you left a personal password in your SiteSecurity.config file posting :)

Tom