473,386 Members | 1,712 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,386 software developers and data experts.

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.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
Nov 21 '05 #1
1 4151
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

"John" wrote:
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

Nov 21 '05 #2

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

Similar topics

3
by: silesius | last post by:
Hi all, I'm new to asp.net and are just working on a few examples to get some practice. The following is a simple webservice with two web methods. The HowMuchWillItCost method works fine the...
5
by: Daniel Rimmelzwaan | last post by:
Hello all, I don't know what to do anymore, I thought I was not coding my stuff correctly, but I am having problems with Visual Studio it seems. When I create a new webservice on my local...
3
by: Trygve Lorentzen | last post by:
Hi, I don't know if this is a stupid question, but I observe that my webservice is created for each call to a webmethod. More precisely an instance of the webservice class is created for each...
0
by: JeffL | last post by:
I am trying to either redirect or throw an error through a webservice that has been called through Microsoft webservice.htc element. What I want to be able to do is if a user which no longer...
3
by: Robbert van Geldrop | last post by:
By making a call to a webservice I receive the following error page, we did a complete new build but the error still exist: The installation of the webservice is on an win 2003 standard service...
1
by: Andreas Cieslik | last post by:
Hello, What is the best and professional way to deploy a DLL that consumes the customers webservice url instead of my coded webservice url of my local test system? Is there a way to keep it...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
4
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.