"Juan T. Llibre" wrote in message
news:uD****************@TK2MSFTNGP15.phx.gbl...
I'm hating MSFT today. Everything I just wrote disappeared.
: 1.
: Have you compiled your application?
I don't know s**t about VS.NET. It's a nightmare compared to VS6, at least
to me. Nothing is intuitive and help is crap. Actually it's worse than
crap but crap says enough.
: That is typical when the project hasn't
: been recompiled, after a coding change.
:
: Try rebuilding your solution.
I've tried that. I get an error.
It's my default page. How complex could it be. It refers to a
default.aspx.vb file which I do not see in solution explorer. I really
detest when something is not intuitive and it's overly complex for no
reason. It's Word Not-So Perfect all over again.
: 2.
: Open up your global.asax.vb file (the code-behind file for the global.asax
: file)
: and make sure its namespace is actually "netfraud.us" and that the
: classname is actually "Global".
I don't have one of those either but when I open the global.asax it doesn't
show me that. It shows me global.asax.vb. It opens it in Design view. It
lists some text in the middle that I cannot copy so I will have to retype
it. Thank you MSFT for making just one more element more difficult than it
has to be since you probably have to write extra code to keep it from being
hightlighted and copied.
"To add components to your class, drag them from Server Explorer or Toolbox
and use the Properties window to set their properties. To create methods
and events for your class, click here to switch to code view."
I click to switch to code view but I see nothing referring to namespace.
Imports System.Web
Imports System.Web.SessionState
Public Class Global
Inherits System.Web.HttpApplication
#Region " Component Designer Generated Code "
Public Sub New()
MyBase.New()
'This call is required by the Component Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Required by the Component Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Component Designer
'It can be modified using the Component Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
components = New System.ComponentModel.Container()
End Sub
#End Region
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the application is started
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session is started
End Sub
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
' Fires at the beginning of each request
End Sub
Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As
EventArgs)
' Fires upon attempting to authenticate the use
End Sub
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Fires when an error occurs
End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
End Sub
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the application ends
End Sub
End Class
As you can see, not a lot there.
: If not, change the Inherits line accordingly.
:
: Btw, you could have spared yourself some hassle
: if you had Googled for your problem.
However helpful that sounds I did google, for days.
:
:
http://www.google.com/advanced_search?hl=en
:
: Going to the "Advanced Search" Google page
: and doing an *exact phrase* search for
:
: <%@ Application Codebehind="Global.asax.vb" Inherits="
:
: turns up about 650 references to the same problem.
:
: The first few have the same recommendations I just posted
: regarding how to fix this well-known problem.
Well, I must be missing it because I don't see a fix in your answer. Please
point out my obvious oversight.
I also don't have a netfraud.us.Global, if that is supposed to be a
filename.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */