webservice global.asx error

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

    #1

    webservice global.asx error

    Hi

    When I try to get reference to my remotely hosted web service, I get the
    following error;

    Parser Error Message: Could not load type 'localhost.Glob al'.

    Source Error:

    Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
    Inherits="local host.Global" %>

    Source File: d:\webs\...\glo bal.asax Line: 1

    What is it that I need to do to fix this?

    Thanks

    Regards


  • D.Mitchell

    #2
    RE: webservice global.asx error

    I've had this a couple of times. Can't remember why at the moment but to
    solve it you need to open the global.asax file with notepad and remove the
    namespace. The file content should read,

    <% Application Codebehind="Glo bal.asax.vb" Inherits="Globa l" %>

    Good luck - Dominic

    "John" wrote:
    [color=blue]
    > Hi
    >
    > When I try to get reference to my remotely hosted web service, I get the
    > following error;
    >
    > Parser Error Message: Could not load type 'localhost.Glob al'.
    >
    > Source Error:
    >
    > Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
    > Inherits="local host.Global" %>
    >
    > Source File: d:\webs\...\glo bal.asax Line: 1
    >
    > What is it that I need to do to fix this?
    >
    > Thanks
    >
    > Regards
    >
    >
    >[/color]

    Comment

    Working...