Microsoft Knowledge Base Email Alertz

Error message when you try to use a feature in SharePoint Server 2007 to open an InfoPath form in a Web browser: The URL URLToken/FormServerTemplates/InfoPath.xsn is an unsupported relative URL

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 938218 - Last Review: July 17, 2007 - Revision: 1.0

Error message when you try to use a feature in SharePoint Server 2007 to open an InfoPath form in a Web browser: "The URL <URLToken>/FormServerTemplates/InfoPath.xsn is an unsupported relative URL"

SYMPTOMS

In Microsoft Office SharePoint Server 2007, you create a feature that opens a Microsoft Office InfoPath form in a Web browser through InfoPath Forms Services. In the Elements.xml file of the feature, you use a URL token other than the ~sitecollection URL token in the URL parameter of the URLAction tag. For example, you use the ~site URL token. However, when you try to use the feature, you receive an error message that resembles the following:
The URL URLToken/FormServerTemplates/InfoPath.xsn is an unsupported relative URL. Use an absolute URL or prefix with '~sitecollection', for a site-collection-relative URL.

CAUSE

This behavior occurs if you use a URL token other than the ~sitecollection URL token. Not all URL tokens work with InfoPath forms.

RESOLUTION

Use the ~sitecollection URL token when you work with InfoPath forms and with InfoPath features in SharePoint Server 2007.

MORE INFORMATION

For more information about features, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms460318.aspx (http://msdn2.microsoft.com/en-us/library/ms460318.aspx)
For more information about URL tokens, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms473643.aspx (http://msdn2.microsoft.com/en-us/library/ms473643.aspx)

APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
kberrmsg kbtshoot kbprb kbexpertiseinter KB938218
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Damien - damien NOSPAM-AT-NOSPAM monavie.com Report As Irrelevant  
Written: 8/9/2007 9:24 AM
Can you expand on this a bit? How and where do I specify a token?