Solved

SharePoint Content Type Templates

Posted on 2011-02-16
2
2,035 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

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now