Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 932742 - Last Review: February 27, 2007 - Revision: 1.0
Error message when you try to access a custom application that includes ASP.NET resource files in Windows SharePoint Services 3.0 or in SharePoint Server 2007: "Resource file not found"
You deploy a custom application that includes ASP.NET 2.0 resource (.resx) files on a server that is running Microsoft Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007 by using Windows SharePoint Services solution deployment. Then, you try to access the custom application. When you do this, you receive the following error message:
This issue occurs when the ASP.NET 2.0 resource files for the custom application reside in the Resources folder under the virtual directory instead of in the App_GlobalResources folder. In this scenario, the application cannot load the
resource files correctly.
For compatibility with earlier versions of ASP.NET, ASP.NET 2.0 resource files must reside in the App_GlobalResources folder on the server that is running Windows SharePoint Services 3.0 or SharePoint Server 2007.
To work around this issue, copy all the files from the Resources folder to the App_GlobalResources folder. The App_GlobalResources folder is located under the following folder on the server that is running Windows SharePoint Services 3.0 or SharePoint Server 2007:
\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryName
APPLIES TO
- Microsoft Office SharePoint Server 2007
- Microsoft Windows SharePoint Services 3.0
| kbtshoot kbexpertiseinter kbinfo KB932742 |
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