I have Exported a portal from a DotNetNuke 6.1.3 installation and am trying to create a copy of the portal in another 6.1.3 installation using the exported template.
I'm getting this error:
Error parsing Portal TemplateThe extension '.js' is not allowed. The file has not been added. at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType) at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite) at DotNetNuke.Entities.Portals.PortalController.ParseFiles(XmlNodeList nodeFiles, Int32 portalId, FolderInfo objFolder) at DotNetNuke.Entities.Portals.PortalController.ParseFolders(XmlNode nodeFolders, Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.ParseTemplate(Int32 PortalId, String TemplatePath, String TemplateFile, Int32 AdministratorId, PortalTemplateModuleAction mergeTabs, Boolean IsNewPortal) at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String portalName, UserInfo adminUser, String description, String keyWords, String templatePath, String templateFile, String homeDirectory, String portalAlias, String serverPath, String childPath, Boolean isChildPortal)
This appears to be due to a script that is on every page that includes this:
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Short of deleting the script and trying again, is there a way to fix this?
And ... should this be happening?