Some more issues with .94

.Text Comments

I've updated my site to .Text .94, but unfortunately I have had some issues, though I followed Scott's instructions. Maybe I did something wrong during the setup, but here are my changes to the aggregated version of web.config to get my site working:

  1. Whenever I tried to go to the admin section of a blog, I got an error. .Text complained about missing templates of the admin pages. Therefore, I added following entries to the appSettings section:

    <add key="Admin.DefaultTemplate" value="~/Admin/Resources/PageTemplate.ascx" />
    <add key="Admin.DownlevelTemplate" value="~/Admin/Resources/PageTemplate.ascx" />
    <add key="Admin.DefaultContent" value="PageContent" />
    
    
  2. The authentification was set to Windows. I switched back to Forms authentification:

    <authentication mode="Forms">
      <forms name=".ASPXFORADMIN" loginUrl="login.aspx" protection="All"  timeout="90" />
    </authentication>
    
  3. Steve ~~~~ mentions to change the httpHandlers. Hmm, there is no httpHandlers section in my web.config. I admit I was already wondering when Scott moved all the handling stuff to blog.config. Someone has to tell ASP.NET to use that. Therefore:

    <httpHandlers>
      <add verb="*" path="*" type="Dottext.Framework.UrlManager.UrlReWriteHandlerFactory,Dottext.Framework" />
    </httpHandlers>
    

With these modification my .Text installation works like a charm :-)

Update:

  1. ASP.NET 1.1 validates the input, so I cannot use HTML in my posts. I've added following line:

    <pages validateRequest="false" />
    

Ooops, my fault. I was using the out-dated web.config. Note to myself: RTFM.

Comments