473,383 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Parse error message - repeat under managed account

Since I'm not getting any response from the community, I'm reposting this
under my managed account.

I've turned my web.config friendly error messages off and it may be easier
to view what I'm experiencing than try to translate it.

Here's the error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="netfraud.us.Global" %>

Here's the line in the global.asax:

<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global" %>

It was much worse but I am at this point now. I had Access forbidden and
Access Denied. FPSE 2K2 and I went round and round.

I have a subdomain: forums.netfraud.us which, during my battle with FPSE,
was down. It removed, or I told it to remove my RX (script only) settings
for the site. It now works again. The subdomain is actually
\webroot\forums. I don't know why I'm have such a mental block with .NET
and VS.2K3. Perhaps it is all the years of VS 6 and Classic ASP. Any
pointers to some reference for basic understanding and step through configs
would also be helpful. All references I have found are complicated configs.
They're not too technical, they just don't apply and the MSFT articles don't
seem to have much in them or it's How-To, but not What-To-Do when How-To
fails.
Ex. http://support.microsoft.com/default...297954&sd=tech

TIA...

Roland
Nov 19 '05 #1
14 2354
Please post the *exact* error message that you are seeing.

Thanks

--
Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com
"Roland Hall" <no****@nonononono.us> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
: Since I'm not getting any response from the community, I'm reposting this
: under my managed account.
:
: I've turned my web.config friendly error messages off and it may be easier
: to view what I'm experiencing than try to translate it.
:
: Here's the error:
:
: Line 1: <%@ Application Codebehind="Global.asax.vb"
: Inherits="netfraud.us.Global" %>
:
: Here's the line in the global.asax:
:
: <%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global"
%>
:
: It was much worse but I am at this point now. I had Access forbidden and
: Access Denied. FPSE 2K2 and I went round and round.
:
: I have a subdomain: forums.netfraud.us which, during my battle with FPSE,
: was down. It removed, or I told it to remove my RX (script only) settings
: for the site. It now works again. The subdomain is actually
: \webroot\forums. I don't know why I'm have such a mental block with .NET
: and VS.2K3. Perhaps it is all the years of VS 6 and Classic ASP. Any
: pointers to some reference for basic understanding and step through
configs
: would also be helpful. All references I have found are complicated
configs.
: They're not too technical, they just don't apply and the MSFT articles
don't
: seem to have much in them or it's How-To, but not What-To-Do when How-To
: fails.
: Ex. http://support.microsoft.com/default...297954&sd=tech
:
: TIA...
:
: Roland
:
:
Nov 19 '05 #2
1.
Have you compiled your application?

That is typical when the project hasn't
been recompiled, after a coding change.

Try rebuilding your solution.

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".

If not, change the Inherits line accordingly.

Btw, you could have spared yourself some hassle
if you had Googled for your problem.

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.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Roland Hall" <no****@nonononono.us> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
Since I'm not getting any response from the community, I'm reposting this
under my managed account.

I've turned my web.config friendly error messages off and it may be easier
to view what I'm experiencing than try to translate it.

Here's the error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="netfraud.us.Global" %>

Here's the line in the global.asax:

<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global"
%>

It was much worse but I am at this point now. I had Access forbidden and
Access Denied. FPSE 2K2 and I went round and round.

I have a subdomain: forums.netfraud.us which, during my battle with FPSE,
was down. It removed, or I told it to remove my RX (script only) settings
for the site. It now works again. The subdomain is actually
\webroot\forums. I don't know why I'm have such a mental block with .NET
and VS.2K3. Perhaps it is all the years of VS 6 and Classic ASP. Any
pointers to some reference for basic understanding and step through
configs
would also be helpful. All references I have found are complicated
configs.
They're not too technical, they just don't apply and the MSFT articles
don't
seem to have much in them or it's How-To, but not What-To-Do when How-To
fails.
Ex. http://support.microsoft.com/default...297954&sd=tech

TIA...

Roland

Nov 19 '05 #3
Hi Roland,

I can only see the line that is the problem, but i cannot find any
description of what is actually wrong. This is usually written above this
text line.

Could you please include this?

Thanks!

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
Roland Hall wrote:
Since I'm not getting any response from the community, I'm reposting this
under my managed account.

I've turned my web.config friendly error messages off and it may be easier to view what I'm experiencing than try to translate it.

Here's the error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="netfraud.us.Global" %>

Here's the line in the global.asax:

<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global" %>
It was much worse but I am at this point now. I had Access forbidden and
Access Denied. FPSE 2K2 and I went round and round.

I have a subdomain: forums.netfraud.us which, during my battle with FPSE,
was down. It removed, or I told it to remove my RX (script only) settings for the site. It now works again. The subdomain is actually
\webroot\forums. I don't know why I'm have such a mental block with .NET
and VS.2K3. Perhaps it is all the years of VS 6 and Classic ASP. Any
pointers to some reference for basic understanding and step through configs would also be helpful. All references I have found are complicated configs. They're not too technical, they just don't apply and the MSFT articles don't seem to have much in them or it's How-To, but not What-To-Do when How-To
fails.
Ex. http://support.microsoft.com/default...297954&sd=tech
TIA...

Roland

Nov 19 '05 #4

"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:eG**************@TK2MSFTNGP14.phx.gbl...
: Please post the *exact* error message that you are seeing.
Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'netfraud.us.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="netfraud.us.Global" %>
Source File: D:\websites\netfraud\global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Nov 19 '05 #5
"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. */

Nov 19 '05 #6
"Kristofer Gafvert" wrote in message
news:xn****************@news.microsoft.com...
: Hi Roland,
:
: I can only see the line that is the problem, but i cannot find any
: description of what is actually wrong. This is usually written above this
: text line.
:

Please include what? That's all I get. That's the error. I don't see that
anywhere in my web.config. This is the error I get after running rebuild.

"Could not copy built outputs to the Web. A file named 'netfraud.us.dll'
already exists in the project and cannot be replaced while working offline."

I never told it to work offline and I don't even know how to set it in
offline mode or online mode. WHAT is offline referring to?

This is the whole page. I'm completely discouraged with VS.NET. I cannot
even see default.aspx.vb in my solution explorer. And if there's code
there, I didn't put it there.

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="default.aspx.vb"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>netfraud.us</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<style type="text/css">
BODY, TABLE, TR, TD { font: normal 9pt sans-serif }
.banner { text-align: center }
.header { font: bold 28pt sans-serif }
.links { cursor: pointer; background: #ddd; width: 100% }
.tbl2 { text-align: center }
.c { text-align: center }
.tleft, .tright { width: 24%; vertical-align: top; }
.tmid { width: 44%; vertical-align: top; }
.t2 { width: 2% }
.t24 { width: 24%; color: white; background-color: #000; font-weight:
bold }
.t44 { width: 44%; color: white; background-color: #000; font-weight:
bold }
</style>
<script type="text/javascript">
function golink(str) {
var wname = "blank";
//,"width=" + screen.availWidth + ", height=" + screen.availHeight
var w = window.open('http://' + str,wname);
}
function gomail(str) {
location.href="mailto:" + str;
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<fieldset>
<table cellpadding="1" cellspacing="2" width="96%" border="0">
<tr class="banner">
<td class="header">
<img alt="netfraud.us logo" border=0 src="/images/netfraudlogo.jpg" />
</table>
</fieldset>
<div class="tbl2">
<fieldset><legend style="COLOR: black">netfraud.us</legend>
<br />
<table cellspacing="1" cellpadding="1" width="96%" border="0">
<tr>
<td class="t24">
<div class="c">Community</div>
<td class="t2">
&nbsp;
<td class="t44">
<div class="c">News</div>
<td class="t2">
&nbsp;
<td class="t24">
<div class="c">Resources</div>
<tr>
<td class="tleft">
<div><span class="links"
onclick="location.href='http://forums.netfraud.us/'">Forums (Registration
required)</span></div>
<td class="t2">
&nbsp;
<td class="tmid">
<div><span class="links"
onclick="golink('www.isp-planet.com/news/2001/neustar_011121.html')">Neustar
Completes Transition of .US</span></div>
<td class="t2">
&nbsp;
<td class="tright">
<div><span class="links"
onclick="gomail('s******@neustar.us')">Neustar Customer Support</span></div>
<div><span class="links"
onclick="golink('netfraud.us/asp/rgpr.asp')">Redemption Grace Period
Reports</span></div>
</td>
</tr>
</table>
<br />
</fieldset>
</div>
<form id="Form1" method="post" runat="server">
</form>
</body>
</HTML>

--
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. */
Nov 19 '05 #7

"Kristofer Gafvert" <kg******@NEWSilopia.com> wrote in message
news:xn****************@news.microsoft.com...
: Hi Roland,
:
: I can only see the line that is the problem, but i cannot find any
: description of what is actually wrong. This is usually written above this
: text line.

Ok, it appears there is a button called "show all files". Wondering why the
default is to not have all files shown. Has MSFT not learned from Windows
Explorer and worms that all files should be shown by default?

Ok, I can now see .vb files but I still cannot open global.asax, just the
..vb one and there is another beneath that, .resx, which I assume is a
resource file.

I see a bin folder. It has 2 files in it:

netfraud.us.dll
netfraud.us.pdb

Can I delete the .dll and try a rebuild?

--
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. */
Nov 19 '05 #8
Hey, Roland, do you want to try an experiment ?

Delete the code-behind global.asax file,
and replace it with this global.asax file :

global.asax:
========
<script language="VB" runat="Server">
Sub Application_OnStart(Sender as Object, E as EventArgs)
End Sub

Sub Application_OnEnd(Sender as Object, E as EventArgs)
End Sub

Sub Session_OnStart(Sender as Object, E as EventArgs)
End Sub

Sub Session_OnEnd(Sender as Object, E as EventArgs)
End Sub

Sub Application_AuthenticateRequest(ByVal sender as Object, ByVal e as
EventArgs)
End Sub

Sub Application_Error(ByVal sender as Object, ByVal e as EventArgs)
End Sub
</script>
=======

Try that, compile and run your application again,
and let me know how you do.

Backup (copy) your current global.asax and global.asax.vb files,
so you can restore them, if you want to go back to them.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Roland Hall" <no****@nonononono.us> wrote in message
news:eV**************@TK2MSFTNGP15.phx.gbl...
"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. */

Nov 19 '05 #9
re:
Ok, it appears there is a button called "show all files".
Wondering why the default is to not have all files shown.
OK, glad you found that out.

Try deleting those two files ( global.asax and global.asax.vb )
and using the *single* ( not code-behind ) file I sent in my
previous message.

You can delete the netfraud.us.dll
and netfraud.us.pdb before recompiling your app.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Roland Hall" <no****@nonononono.us> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
"Kristofer Gafvert" <kg******@NEWSilopia.com> wrote in message
news:xn****************@news.microsoft.com...
: Hi Roland,
:
: I can only see the line that is the problem, but i cannot find any
: description of what is actually wrong. This is usually written above
this
: text line.

Ok, it appears there is a button called "show all files". Wondering why
the
default is to not have all files shown. Has MSFT not learned from Windows
Explorer and worms that all files should be shown by default?

Ok, I can now see .vb files but I still cannot open global.asax, just the
.vb one and there is another beneath that, .resx, which I assume is a
resource file.

I see a bin folder. It has 2 files in it:

netfraud.us.dll
netfraud.us.pdb

Can I delete the .dll and try a rebuild?

--
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. */

Nov 19 '05 #10
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
: Hey, Roland, do you want to try an experiment ?
:
: Delete the code-behind global.asax file,
: and replace it with this global.asax file :
:
: global.asax:
: ========
: <script language="VB" runat="Server">
: Sub Application_OnStart(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Application_OnEnd(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Session_OnStart(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Session_OnEnd(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Application_AuthenticateRequest(ByVal sender as Object, ByVal e as
: EventArgs)
: End Sub
:
: Sub Application_Error(ByVal sender as Object, ByVal e as EventArgs)
: End Sub
: </script>
: =======
:
: Try that, compile and run your application again,
: and let me know how you do.
:
: Backup (copy) your current global.asax and global.asax.vb files,
: so you can restore them, if you want to go back to them.

I'll try anything. (O:=

I can go to Windows Explorer and open my global.asax and it opens in VS.NET,
although I am unable to do it by calling the file from within VS.NET. I
must be VS.NET stupid.

This is all that is in it.
<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global" %>

And, that's my error that lists.

I can't backup the files. It says they're in use. I stopped the web site
but something else must have that file in use. Any ideas?

--
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. */
Nov 19 '05 #11
You can do two things at this point.

1. Delete the global.* files and substitute a new, non-code-behind
global.asax with the content I sent in my previous message.

or...

2. Change
<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global" %>

So it reads :
<%@ Application Codebehind="Global.asax.vb" Inherits="Global" %>

Whichever way you want to handle that should work.

Just recompile the app after you make the changes.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Roland Hall" <no****@nonononono.us> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
: Hey, Roland, do you want to try an experiment ?
:
: Delete the code-behind global.asax file,
: and replace it with this global.asax file :
:
: global.asax:
: ========
: <script language="VB" runat="Server">
: Sub Application_OnStart(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Application_OnEnd(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Session_OnStart(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Session_OnEnd(Sender as Object, E as EventArgs)
: End Sub
:
: Sub Application_AuthenticateRequest(ByVal sender as Object, ByVal e as
: EventArgs)
: End Sub
:
: Sub Application_Error(ByVal sender as Object, ByVal e as EventArgs)
: End Sub
: </script>
: =======
:
: Try that, compile and run your application again,
: and let me know how you do.
:
: Backup (copy) your current global.asax and global.asax.vb files,
: so you can restore them, if you want to go back to them.

I'll try anything. (O:=

I can go to Windows Explorer and open my global.asax and it opens in
VS.NET,
although I am unable to do it by calling the file from within VS.NET. I
must be VS.NET stupid.

This is all that is in it.
<%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global"
%>

And, that's my error that lists.

I can't backup the files. It says they're in use. I stopped the web site
but something else must have that file in use. Any ideas?

--
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. */

Nov 19 '05 #12

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:Oy**************@TK2MSFTNGP10.phx.gbl...
: You can do two things at this point.
:
: 1. Delete the global.* files and substitute a new, non-code-behind
: global.asax with the content I sent in my previous message.
:
: or...
:
: 2. Change
: <%@ Application Codebehind="Global.asax.vb" Inherits="netfraud.us.Global"
%>
:
: So it reads :
: <%@ Application Codebehind="Global.asax.vb" Inherits="Global" %>
:
: Whichever way you want to handle that should work.
:
: Just recompile the app after you make the changes.

since redoing the server extensions, I've found other issues.

I had this error:
Cannot execute a program. "...vbc.exe"

I gave the _web applications group RX to vbc.exe, csc.exe and cvtres.exe. I
think IIS Lockdown was blocking them.

I now have this error:
Server Error in '/' Application.
----------------------------------------------------------------------------
----

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: BC30182: Type expected.

Source Error:

Line 12: End Sub
Line 13:
Line 14: Sub Application_AuthenticateRequest(ByVal sender as Object, ByVal e
as
Line 15: EventArgs)
Line 16: End Sub
Source File: D:\websites\netfraud\global.asax Line: 14

I think the line wrap from news got me here...

I fixed that and ran a rebuild and it's working.
I owe ya' one.

--
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. */
Nov 19 '05 #13
re:
I fixed that and ran a rebuild and it's working.
Glad to know that!

re: I owe ya' one.
I'm happy you can work with ASP.NET now.
That's the only "payment" I need. :-)

Have fun writing ASP.NET web apps !

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Roland Hall" <no****@nonononono.us> wrote in message
news:Ot**************@tk2msftngp13.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:Oy**************@TK2MSFTNGP10.phx.gbl...
: You can do two things at this point.
:
: 1. Delete the global.* files and substitute a new, non-code-behind
: global.asax with the content I sent in my previous message.
:
: or...
:
: 2. Change
: <%@ Application Codebehind="Global.asax.vb"
Inherits="netfraud.us.Global"
%>
:
: So it reads :
: <%@ Application Codebehind="Global.asax.vb" Inherits="Global" %>
:
: Whichever way you want to handle that should work.
:
: Just recompile the app after you make the changes.

since redoing the server extensions, I've found other issues.

I had this error:
Cannot execute a program. "...vbc.exe"

I gave the _web applications group RX to vbc.exe, csc.exe and cvtres.exe.
I
think IIS Lockdown was blocking them.

I now have this error:
Server Error in '/' Application.
----------------------------------------------------------------------------
----

Compilation Error
Description: An error occurred during the compilation of a resource
required
to service this request. Please review the following specific error
details
and modify your source code appropriately.

Compiler Error Message: BC30182: Type expected.

Source Error:

Line 12: End Sub
Line 13:
Line 14: Sub Application_AuthenticateRequest(ByVal sender as Object, ByVal
e
as
Line 15: EventArgs)
Line 16: End Sub
Source File: D:\websites\netfraud\global.asax Line: 14

I think the line wrap from news got me here...

I fixed that and ran a rebuild and it's working.
I owe ya' one.

--
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. */

Nov 19 '05 #14
"Juan T. Llibre" wrote in message
news:e2*************@TK2MSFTNGP15.phx.gbl...
: re:
: > I fixed that and ran a rebuild and it's working.
:
: Glad to know that!
:
: re:
: > I owe ya' one.
:
: I'm happy you can work with ASP.NET now.
: That's the only "payment" I need. :-)

Well, at least it's possible. I'm still a whiney little school girl when it
comes to VS.NET. (O:= I need to do a lot more reading.

: Have fun writing ASP.NET web apps !

Thanks Juan.

--
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. */
Nov 19 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Spartanicus | last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning: "Unknown Parse Mode! The MIME Media Type...
6
by: Ehartwig | last post by:
I recently created a script for user verification, solved my emailing issues, and then re-created the script in order to work well with the new PHP 5 that I installed on my server. After...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
2
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of...
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
1
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C programming. FYI Although I have called this...
8
by: =?Utf-8?B?TWFydGluIFNhY2hz?= | last post by:
I have been using MSCONFIG (XP Pro) for four years with no problem. I always use it in Administrator. Last night, when I attempted to go into selective startup mode, I got the following error...
1
by: FightClubDiego | last post by:
Hey.. I've been working on these sign up / log in forms for my new Game Site, and everything else in the game works but the registration!! I keep ketting the unexpected $end and Im tired of it! Here...
1
by: maconbot | last post by:
hi all, please exuse my email ">" i am working on location. > hey team, thanks for the quick reply. > > i am trying to parse a pop3 account and populate it into flash. > > the how to code......
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.