Scott Hanselman

Upgrading FreeTextBox on dasBlog without Recompiling

May 27, '05 Comments [4] Posted in ASP.NET | DasBlog | XML
Sponsored By

Some folks have had trouble with FreeTextBox under dasBlog not working. The symptom is that the FreeTextBox won't render at all. There's no error and no idea why. It's very frustrating. While we're working on the "no error" issue, the underlying problem isn't dasBlog.

DasBlog builds with a reference to the strongly-typed FreeTextBox 3.0.5000.1. However, you may have 3.0.5000.3. Or, like me, downloaded and installed the latest 3.0.5000.5.

You need to tell .NET that you know what you're doing and say "when you ask for this version, please bind to that version." 

So, added to the web.config of my dasBlog:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>  
            <assemblyIdentity name="FreeTextBox" publicKeyToken="5962a4e684a48b87" culture="neutral"/> 
                <bindingRedirect oldVersion="3.0.0.0-3.0.5000.4" newVersion="3.0.5000.5" /> 
        </dependentAssembly>
    </assemblyBinding>
</runtime>

And everything works great. I suggest you do this if you've updated FreeTextBox. Note also that this is needed regardless of whether FreeTextBox is in the GAC or not.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Friday, May 27, 2005 10:31:15 PM UTC
can we get freetextbox as comment editor in dasBlog? :)
Max S
Saturday, May 28, 2005 9:02:13 AM UTC
Too bad, I upgraded to the latest version of FreeTextBox but I'm still getting issues.

In fact, they're the same issues as seen here http://www.chrisg.org/Blog/CommentView,guid,b45c2bca-f799-4f0b-875e-90b2d9e6f8aa.aspx. That's been logged as a bug at https://sourceforge.net/tracker/index.php?func=detail&aid=1154718&group_id=127624&atid=709018 but closed for some reason, although it's in fact still a real problem ;-)

Any ideas yet? I'm running IE6 as well, with a fresh install, and it does work in FireFox.
Saturday, May 28, 2005 6:32:30 PM UTC
Email me and we'll fix the problem. Likely either you need to confirm that the FreeTextBoxResources.axd is setup in your web.config, or you haven't copied all the FTP/ folder over into dasBlog.

Email me your version of FreeTextBox.dll, your FTB/ folder and your web.config. Also do a DIR /S > foo.txt from your dasBlog folder and email the foo.txt file to me.

These problems are always fixable. There's some file missing on your system.
Scott Hanselman
Sunday, May 29, 2005 9:58:49 AM UTC
Scott, have you seen this yet? www.rainbowportal.net. I'm playing with it this weekends and IT JUST ROCKS. beside "obvious" portal stuff, components like Amazon books, weather, daily dilbert - omg. These guys done amazing job.
Max S
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.