Possible Duplicate:
Resource files creates unnecessary ULS log entries

With invariant resources in the SharePoint solutions, we have a lot of spammed logs, such as

Failed to open the file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\ProjectResources.en-US.resx'. 
#20015: Cannot open "": no such file or folder. 
(#2: Cannot open "": no such file or folder.) 
Failed to read resource file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1

Our college didn't find any solution to tell SharePoint what resource are correct and where isn't any errors. So, I want to turn off exactly this logs. Where are a lot off categories in diagnostics logs. How can i determine what category this log belong to?


Maybe you could make a copy of the ProjectResources.resx, then rename it as ProjectResources.en-US.resx.

| improve this answer | |
  • Yes, I can. But it's very uncomfortable to copy and rename file after any changes. Wow, I can make it in the feature receiver! It will be helpfull in most cases, but make copy for each locale isn't usefull. Now feature receiver is solving my case. Thx :) – IAfanasov Feb 3 '12 at 10:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.