Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Search Results page cannot find codebehind dll

Status
Not open for further replies.

parsifal

Programmer
Jan 15, 2003
1
CA
I have created a custom SearchResults page for a WSS site. It is a simple aspx application whose code behind assembly is installed in the GAC. The Site's home page has been edited to invoke my custom page instead of the default search results page.

My page worked fine for a couple of months and then stopped working. It now fails with a "could not load type <mynamespace.myclass>" error.

If I install the app in a non-Sharepoint site on the same server it works fine. A simple HelloWorld application has the same behaviour, so it doesn't appear to be a problem with my code.

It looks like the aspx page can not find the codebehind assembly, even though it is in the GAC. I know the assembly is in the GAC because I can list it using GacUtil.exe. I have checked that the namespace, class name and version number are correct by using ildasm.exe. I have also checked the file permissions, and I have tried setting full trust in the site's web.config. None of this helps.

I have run out of ideas. If anyone can help me out with this problem I would be gratful. Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top