Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with Portal Export/ImportProblem with Portal Export/Import
Previous
 
Next
New Post
2/14/2012 8:50 PM
 

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?




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
2/15/2012 11:15 AM
 
Within the host settings there is a place to set allowed file types. Just add .js to that listing and then you will be fine.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/15/2012 1:09 PM
 
Thanks! (It didn't even dawn on me that that setting was applicable here.)



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with Portal Export/ImportProblem with Portal Export/Import


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out