Xtremax - Web Design

15 Nov, 2009

Content Migration in Dot Net Nuke (DNN)

Posted by: Mr Otter In: .NET| DNN

If you have worked on a DNN project, one of the problems are that the images entered using the HtmlModule is hardcoded with the location of the context path.  This essentially means that any changes in the context path of the web application will result in a tonne load of missing images.

Well, I did remember that MySQL had some simple string replace function to address the problem… and after some surfing on the net… wola… The solution to changing all the image path:

update dbo.dnn_HtmlText set DesktopHtml = REPLACE(Cast(DesktopHtml as NVARCHAR(4000)), ‘/aapaf/Portals/0/banners/side’ ,’/aapaf2/Portals/0/banners/side’);

Yes… I know this is not rocket science… just wanted to blog it down here to remind myself during the migration process… and hopefully.. who knows?  It might just help some frustrated soul in the future…

Bookmark and Share

1 Response to "Content Migration in Dot Net Nuke (DNN)"

1 | WILLARD

June 30th, 2010 at 9:30 am

Avatar


Pillspot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality pills. Order pills online

Buy:Prevacid.Zyban.Lumigan.Mega Hoodia.Valtrex.Accutane.Retin-A.Synthroid.Prednisolone.Human Growth Hormone.Actos.Petcam (Metacam) Oral Suspension.100% Pure Okinawan Coral Calcium.Nexium.Arimidex.Zovirax….

Comment Form

Xtremax Web Design Portfolio

    Opera Estate Primary SchoolNational Association of Travel Agents SingaporeFUMIYAMA CORPORATIONEngineering Education PortalBOON HI-TECH SUPERSTORESingapore Tourism Board

About Xtremax

This is all about a group of hard-core web developers who go about rambling about their daily efforts to make the internet world a better and more accessible place.