Link to home
Create AccountLog in
Avatar of MSEC
MSECFlag for United States of America

asked on

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? User generated image User generated image
ASKER CERTIFIED SOLUTION
Avatar of Minesh Shah
Minesh Shah
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of MSEC

ASKER

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.