Web Services Contraptions @ Sun

The soul...
The feeds...
The stats ...
The links...
Friday Oct 05, 2007

Blog Engine Upgrade

Ok - I just upgraded my blog engine to the 2.0 release of dasBlog. A big "Thank you!"
to the team for keeping up the great work.

One thing that does seem to work again is comments - so please giv it a try, if you like.

UPDATE: I just saw that the publishing times have been changed during the upgrade (or something else went wrong between the new version and Feedburner), so you will see a lot of new articles, that are not that new. Apologies.

UPDATE 2: Comments did not work for anonymous users - the error I got was:

System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

After some looking, I found an article by Ben Rush explaining the issue. You have to disable Event Validation by setting <%@ Page EnableEventValidation="false" %>. This is certainly less than ideal, but it seems to work.

The other major issue I encountered was that my ISP blocks port 25, so I have to use an alternate. However, dasBlog runs in Medium trust level, where this kind of operation is prohibited. Thus, I had to raise the trust level in the web.config file by setting:

<system.web>
    <trust level="Full" />
</system.web>

This is certainly not the right thing to do, so I will need to look into another solution.

One issue remains: when I set comment notification by email, I get a really strange error for unauthenticated comments:

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: sender rejected by administrator.

This is really painful.

Comments:

Post a Comment:
Comments are closed for this entry.