Global.asax and Pre-Compilation of WebSite Problems

Global.asax and Pre-Compilation of WebSite Problems

Old forum URL: forums.lhotka.net/forums/t/1411.aspx


Jav posted on Friday, October 06, 2006

I am using the technique described on page 539 of the VB book to create a "hybrid" membership scheme.  The crucial part of the scheme appears to be the single line of code that goes in Global.asax.

This worked splendidly until I downloaded the WebDeployment software from
http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/
and used it to compile the code and install it on my staging website. 

That's when the user authentication fell apart.  It appears that the line of code in Global.asax is somehow not being executed.  The Global.asax is not one of the files that I can see in the compiled stuff, and copying it manually to the site does no good.  I am assuming that the functionality of Global.asax code is probably meant to be included in the single compiled assembly.

Would appreciate some help.  It took a while for me to understand this stuff and to finally have it working.  I would hate to throw it all away.

Jav

Copyright (c) Marimer LLC