I have a custom content type defined, with a document template, similar to below:
<ContentType
ID="0x010100120A74C7DFDA4C6fA8C3E519B41F421E"
Name="My Excel Library"
Group="My Content Types"
Description="">
<FieldRefs>
<FieldRef ID="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" Name="Description" Required="FALSE" />
</FieldRefs>
<DocumentTemplate TargetName="MyTemplate.XLSX" />
</ContentType>
<Module Name="My Template" SetupPath="Features\MyContentTypes" Url="_cts/My Template">
<File Url="MyTemplate.XLSX"/>
</Module>
Now if I provision a library with this content type added to it, and click 'New' on the list view menu, I see my content type. If I then click on my content type, my document template gets opened successfully, but ONLY when using Windows authentication.
With forms based authentication, I get the standard IE login prompt (domain\username and password). Since I'm a forms user, my credentials won't work here. If I click 'Cancel', it still opens Excel (since my document template is an .xlsx file), but instead of my document template, Excel tries to render my custom login.aspx page for forms authentication (not very pretty).
Any thoughts? Can I not use a custom document template with forms authentication?