Re: Parse error message - repeat under managed account

From: Roland Hall (nobody_at_nonononono.us)
Date: 04/16/05


Date: Sat, 16 Apr 2005 01:09:58 -0500


"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:OygJZxiQFHA.3868@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. */


Relevant Pages

  • Re: Compilation Error
    ... delegate requires a Sub that takes an Object and an instance of EventArgs ... > Compilation Error ... without even the implied warranty of merchantability ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to call a Sub function from .ASPX file ?
    ... Public Class EFiling_Funct ... Public Shared Function TestFunct(ByVal strInput As String) ... Sub Page_Load ... >> Compilation Error ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Display a Recordset value in a Textbox
    ... variables from your recordset variables. ... variables makes it easier to read and reference, ... sub Prt ... without even the implied warranty of merchantability ...
    (microsoft.public.scripting.vbscript)
  • Re: Question from and .Net newbie
    ... Compilation Error ... Sub cmdSelectall_clicked ... criteria selection with some buttons, ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Onunload server side code
    ... : Sub window.onunload ... : But this doesnt work. ... without even the implied warranty of merchantability ... Technet Script Center - http://www.microsoft.com/technet/scriptcenter/ ...
    (microsoft.public.scripting.vbscript)