I've encountered a really weird problem and I need your help with it.
I have a few custom classes that inherit from ApplicationBase in various
assemblies in /bin/ folder (one of them is Tweet on Publish, but there are
others affected as well). For some reason the application is restarted (by
editing web.config for example) these custom classes are not loaded by
Application.RegisterIApplications - their assemblies are not even checked by
TypeFinder.FindClassesOfType! (I've added a bunch of writes to log to see what
assemblies are checked and which classes are loaded at the end.)
What is even stranger is sometimes these classes do get loaded, and I cannot
see the difference in the conditions.
I'm running 4.0.3, ASP.NET 2.0.50727 on Windows Server 2003 R2, IIS 6
Classes inherited from ApplicationBase are not loaded
<!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"MS 明朝"; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"\@MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"MS Mincho";} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"MS Mincho";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->
Hi guys
I've encountered a really weird problem and I need your help with it.
I have a few custom classes that inherit from ApplicationBase in various assemblies in /bin/ folder (one of them is Tweet on Publish, but there are others affected as well). For some reason the application is restarted (by editing web.config for example) these custom classes are not loaded by Application.RegisterIApplications - their assemblies are not even checked by TypeFinder.FindClassesOfType! (I've added a bunch of writes to log to see what assemblies are checked and which classes are loaded at the end.)
What is even stranger is sometimes these classes do get loaded, and I cannot see the difference in the conditions.
I'm running 4.0.3, ASP.NET 2.0.50727 on Windows Server 2003 R2, IIS 6
Well, that is an ugly formatting on top. Sorry.
is working on a reply...