• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2154
  • Last Modified:

SharePoint Content Type Templates

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
MSEC
Asked:
MSEC
1 Solution
 
Minesh ShahSharePoint & all about itCommented:
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
 
MSECAuthor Commented:
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now