Groups | Blog | Home
all groups > dotnet web services > september 2004 >

dotnet web services : webservice global.asx error


John
9/22/2004 11:37:59 PM
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.Global'.

Source Error:

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

Source File: d:\webs\...\global.asax Line: 1

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

Thanks

Regards

D.Mitchell
9/23/2004 4:43:02 AM
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="Global.asax.vb" Inherits="Global" %>

Good luck - Dominic

[quoted text, click to view]
AddThis Social Bookmark Button