I had that line. The problem was another but I fixed it.
My site is on VB.NET, not C#. Now I have passed my global.asax from C# to VB and it works.
I didnt even need to use Web Application Proyect Template.
Who ever need help on that....I am avaible to help.
Thanks