Solved

SharePoint Content Type Templates

Posted on 2011-02-16
2
2,060 Views
Last Modified: 2012-05-11
We recently brought up our production SharePoint environment with the content databases from our development environment.  In our production environment, just like in our dev environment, we are using the content type hub functionality.  However, whenever we try to republish a content type that has a specified template, we get this error:
urlOfFile
Parameter name: Specified value is not supported for the urlOfFile parameter.

These templates were all uploaded on the dev site using the "Upload a New Document Template" functionality on the Advanced Settings section of the content type.  If I put "/_cts/" before the file name, which is where the template is uploaded to with the above method, it works fine.  

This was never a problem in the dev environment.  Two things have changed with the new environment.  We now have different Alternate Access Mappings and we now use Kerberos to authenticate users.  However, we also recently configured the DEV environment to use Kerberos, and it's still functioning correctly.  

Why is this happening, and is there a way to fix it without going into every content type and changing the URL reference? URL Before URL Fixed
0
Comment
Question by:MSEC
2 Comments
 
LVL 10

Accepted Solution

by:
Minesh Shah earned 500 total points
ID: 35350059
This is an AAM issue,
after changing AAM, you need to change such internal links.
only thing you need to do is to give the right url in the above screen shot.
give a complete url of the template (in this url, make sure you give the AAM part also).
only then it will work.
0
 

Author Closing Comment

by:MSEC
ID: 35853184
This is not a great solution because it requires re-uploading the templates and then going in and fixing every single content type.  We ended up turning off the Content-Type Hub and just creating the content types that we needed in the other site collection.  It was just as much work.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question