File Not Found Error?

Hi,

When I execute one of the following scenarios, I get the error message "File Not Found":
- Site Actions -> Create
- Site Actions -> Edit Page -> Add a Web Part
- Site Actions -> Site Settings

And, by modifying the attribute "customErrors mode='On' " in the web.config file I got the following error message which explains more the problem:

----
File Not Found. at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail) at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
----

But, when I checked for the relative files to "Create" (which is create.aspx) and "Site Settings" (which is settings.aspx) in "/12/TEMPLATES/LAYOUTS" folder, the files are well existing.

So what can be the problem? and how to resolve it?

Thanks.
FileNotFoundError.PNG
pgirardierAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Uday EthirajuluCTOCommented:
did you made any changes to web.config? or by any tools

if yes,
refer : http://www.sharepointkings.com/2008/05/moss-2007-file-not-found-error.html

Thanks,
~Uday, http://www.mstechblogs.com/sharepoint
0
pgirardierAuthor Commented:
No, this happened while testing a custom field type.

I followed the instruction in the suggested URL which consists in removing the extra xmlns attribute (xmlns="urn:schemas-microsoft-com:asm.v1") in the config file, but this did not resolve the problem.

Is there another method?
Thanks.
0
pgirardierAuthor Commented:
Well, I could resolve this problem basing on the described idea in this article:
http://home.infusionblogs.com/kguenther/Lists/Posts/Post.aspx?ID=1829

And, I have read many articles about this error. But, all of theme could not be applied in my case. In fact, it seems that this error is very generic and it can be caused by many different causes like it is described in this blog: http://amargalla.com/sharepoint/42-file-not-found-error-on-sharepoint-pages

Particularly, in my case, the problem is resolvd by copying the DLL file "Microsoft.SharePoint.ApplicationPages.dll" from "/12/CONFIG/BIN" to "/VirtualDirectories/80/_app_bin".
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.