MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

File Not Found at System.Reflection.Assembly._nLoad

  Asked By: Angelique    Date: Dec 07    Category: MOSS    Views: 3043

MOSS 2007 Enterprise again, throwing the above error. I have a custom page
in _layouts that calls a custom DLL that has been working flawlessly (you
know -- more or less).

I installed a new build, the installer GAC-ed it as usual, and I changed the
version in web.config (changed it back just to be sure and got THAT
error)... but even though everything is where it's supposed to be, the error
above persists. I've done some googling and tried things like removing the
xmlns attribute where it shows up in web.config, but no change.

To my knowledge, nothing earth-shattering has changed in this assembly. I
just altered a method to call several other methods under certain conditions
-- methods that were already in use.

Any clues? Nothing's shaking loose here.



4 Answers Found

Answer #1    Answered By: Angel Matthews     Answered On: Dec 07

My full process for deploying solutions (utilizing WSPBuilder) is:

1. Uninstall solution

2. IISReset

3. Clean solution

4. Build (not Rebuild) solution

5. Deploy solution
This seems to do away with weird little issues with deploying .DLLs. Good luck!

Answer #2    Answered By: Ravindra Salvi     Answered On: Dec 07

How did you update the layout page ? did you do it manually ?

check the assembly attribute of your layout page.

Answer #3    Answered By: Rahul Sharma     Answered On: Dec 07

Try stopping IIS
Deleting the contents if the ASP.NET Temporary Files folder in windows\
microsoft.net\framework 2.x\
start IIS

Answer #4    Answered By: Jagjit Phutane     Answered On: Dec 07

Thanks, everyone. Turned out to be a super-secret reference to a missing
DLL that had nothing to do with the project.

Didn't find what you were looking for? Find more on File Not Found at System.Reflection.Assembly._nLoad Or get search suggestion and latest updates.