Some more issues with .94
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:
-
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 theappSettings
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" />
-
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>
-
Steve~~~~mentionsto change the httpHandlers. Hmm, there is nohttpHandlers
section in myweb.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:
-
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.
Leave a Comment
Your email address will not be published. Required fields are marked *