Parser Error Message: Could not load type..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan Crawford

    Parser Error Message: Could not load type..

    Hi

    I made a small change to a .Net 2 framework website and uploaded it today
    and went to the site and got

    Parser Error Message: Could not load type
    'Tgsi.CortijoRo mero.Website.Gl obal'.
    Source Error:
    Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
    Inherits="Tgsi. CortijoRomero.W ebsite.Global" %>

    If you rename the global then it gives the same error with another class. I
    am pretty sure that there is no code error
    and positive that the dll is uploaded to the right bin directory. I have
    recompiled it and uploaded it countless times.

    The ISP says that it is a script error and cant assist.

    I have downloaded the entire failing site and uploaded it to another ISP,
    reconfigured the
    db connection and it works perfectly (I also did this on two local servers
    without issue)

    I am still up the creek as I don't know what is wrong, the ISP isn't helping
    and we don't
    have a website.

    I would be grateful if anyone has any idea because it is killing me

    thanks

    jc








    --
    ===============
    Jonathan Crawford
    jc@tgsi.net
    ===============

  • Guest's Avatar

    #2
    Re: Parser Error Message: Could not load type..

    Please look at this:


    Thanks
    TimeLive timesheet software in just US$ 200 with unlimited users. ASP.Net
    source code in just US$ 400
    TimeLive web timesheet
    TimeLive web based timesheet


    Thanks
    "Jonathan Crawford" <jc@jcrawford.c o.ukwrote in message
    news:%23ylP0aA% 23IHA.3612@TK2M SFTNGP04.phx.gb l...
    Hi
    >
    I made a small change to a .Net 2 framework website and uploaded it today
    and went to the site and got
    >
    Parser Error Message: Could not load type
    'Tgsi.CortijoRo mero.Website.Gl obal'.
    Source Error:
    Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
    Inherits="Tgsi. CortijoRomero.W ebsite.Global" %>
    >
    If you rename the global then it gives the same error with another class.
    I am pretty sure that there is no code error
    and positive that the dll is uploaded to the right bin directory. I have
    recompiled it and uploaded it countless times.
    >
    The ISP says that it is a script error and cant assist.
    >
    I have downloaded the entire failing site and uploaded it to another ISP,
    reconfigured the
    db connection and it works perfectly (I also did this on two local servers
    without issue)
    >
    I am still up the creek as I don't know what is wrong, the ISP isn't
    helping and we don't
    have a website.
    >
    I would be grateful if anyone has any idea because it is killing me
    >
    thanks
    >
    jc
    >
    >
    >
    >
    >
    >
    >
    >
    --
    ===============
    Jonathan Crawford
    jc@tgsi.net
    ===============

    Comment

    • Jonathan Crawford

      #3
      Re: Parser Error Message: Could not load type..

      Hi

      I had found that one before mailing the list
      I find it a little sad that MS don't deal with this kind of thing
      in any depth. If you copy the error into MSDN search,
      the first entry is about security permissions and the rest non relevant.

      My code was compiled correctly. I am not a beginner.
      I even created a brand new project with one page and no
      script and put it on the site, and got the same error

      I put the site on 3 other servers and it worked perfectly

      If it was me, I would delete the website in IIS and recreate it,
      but I can't as the ISP says it is a script file error and haven't
      responded for 48 hours.

      This is one of the truly awful things about MS, how they can
      build systems which fail so catastrophicall y whilst giving
      either an irrelevant error messages or none at all. To be
      honest they make working life grim, and that is before getting started on
      ISP's.

      regards

      jc







      <livetecs@gmail .comwrote in message
      news:7F7FF516-F6A9-49A0-9EC5-2DAEC0007BDE@mi crosoft.com...
      Please look at this:

      >
      Thanks
      TimeLive timesheet software in just US$ 200 with unlimited users. ASP.Net
      source code in just US$ 400
      TimeLive web timesheet
      TimeLive web based timesheet

      >
      Thanks
      "Jonathan Crawford" <jc@jcrawford.c o.ukwrote in message
      news:%23ylP0aA% 23IHA.3612@TK2M SFTNGP04.phx.gb l...
      >Hi
      >>
      >I made a small change to a .Net 2 framework website and uploaded it today
      >and went to the site and got
      >>
      >Parser Error Message: Could not load type
      >'Tgsi.CortijoR omero.Website.G lobal'.
      >Source Error:
      >Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
      >Inherits="Tgsi .CortijoRomero. Website.Global" %>
      >>
      >If you rename the global then it gives the same error with another class.
      >I am pretty sure that there is no code error
      >and positive that the dll is uploaded to the right bin directory. I have
      >recompiled it and uploaded it countless times.
      >>
      >The ISP says that it is a script error and cant assist.
      >>
      >I have downloaded the entire failing site and uploaded it to another ISP,
      >reconfigured the
      >db connection and it works perfectly (I also did this on two local
      >servers without issue)
      >>
      >I am still up the creek as I don't know what is wrong, the ISP isn't
      >helping and we don't
      >have a website.
      >>
      >I would be grateful if anyone has any idea because it is killing me
      >>
      >thanks
      >>
      >jc
      >>
      >>
      >

      Comment

      Working...