Monday, May 12, 2008

Moss 2007 "File not found" - error

When I hit any page under _layouts, I get a page which reads "File Not Found".

Error-
File Not Found. at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) # at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) # at System.Reflection.Assembly.Load .........


with this error everything is working fine in my moss. but all popup stops. llike date control popup,people picker popup and even site setting page "/_layouts/settings.aspx" is also gives this error.


I remember this error occur after web.config is being changed by IIS tool and it adds an attribute (xmlns) to the tag (because I have and requirement to increase request time out)
like :

The only thing solves this problem is by removing that extra attribute.

3 comments:

Anonymous said...

This category of error comes usually when some Assembly or DLL is referenced and is not present at the desired location. Or may be because the version of the Assembly or DLL is not same as that of referenced .


Amit Tyagi

Vidyasagar Anumolu said...

The point mentioned here looks very simple but it really saved my day. I was Googleing to solve this issue for 6-7 hours and at last I found this. Comparing the web.config file, I found some xmlns node. After removing the xmlns node, the website started working normal. Thanks a lot for this posting. The name really suits here... Sharepoint Kings....Thanks a lot

Vidyasagar Anumolu said...

The point mentioned here looks very simple but it really saved my day. I was Googleing to solve this issue for 6-7 hours and at last I found this. Comparing the web.config file, I found some xmlns node. After removing the xmlns node, the website started working normal. Thanks a lot for this posting. The name really suits here... Sharepoint Kings....Thanks a lot




Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com