By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,667 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,667 IT Pros & Developers. It's quick & easy.

Errors when trying to add a web reference

P: n/a
I am currently trying to follow the Que Publishing exam guide to the Microsoft Exam 70-320. I followed the guide to a tee, but when I try to add a web reference to my server side soap extension it gives me the following error:-

An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'BugTracker.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebService1.Global" %>

Source File: f:\inetpub\wwwroot\70-320\320C05\BugTracker\global.asax Line: 1

I have even tried creating a perfectly fresh web service created by visual studio and still get the same error when I try to use a web reference to it. I have also tried removing "BugTracker.Global" and replacing it with "Global" but to no avail. All my namespaces are correct as well.

Does anyone have any ideas how I may rectify this error as it is driving me mad!

Many thanks

Paul



Dec 6 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Paul,

That seems to be the kind of error when attempting to call a web application
with no assemblies compiled.
Does your web-service assembly exists or can be accessed from the bin
directory?

--

Best regards,

Abel Eduardo Pereira
"msnews.microsoft.com" <pc*******@hotmail.com> wrote in message
news:ub****************@TK2MSFTNGP09.phx.gbl...
I am currently trying to follow the Que Publishing exam guide to the
Microsoft Exam 70-320. I followed the guide to a tee, but when I try to add
a web reference to my server side soap extension it gives me the following
error:-

An error occurred during the parsing of a resource required to service this
request. Please review the following specific parse error details and modify
your source file appropriately.

Parser Error Message: Could not load type 'BugTracker.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="WebService1.Global" %>

Source File: f:\inetpub\wwwroot\70-320\320C05\BugTracker\global.asax
Line: 1

I have even tried creating a perfectly fresh web service created by visual
studio and still get the same error when I try to use a web reference to it.
I have also tried removing "BugTracker.Global" and replacing it with
"Global" but to no avail. All my namespaces are correct as well.

Does anyone have any ideas how I may rectify this error as it is driving me
mad!

Many thanks

Paul


Dec 6 '05 #2

P: n/a
This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C5FA9D.491DDAF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am currently trying to follow the Que Publishing exam guide to the =
Microsoft Exam 70-320. I followed the guide to a tee, but when I try to =
add a web reference to my server side soap extension it gives me the =
following error:-

An error occurred during the parsing of a resource required to service =
this request. Please review the following specific parse error details =
and modify your source file appropriately.

Parser Error Message: Could not load type "BugTracker.Global".

Source Error: Line 1: <%@ Application Codebehind=3D'Global.asax.cs" =
Inherits=3D'WebService1.Global" %>

Source File: f:\inetpub\wwwroot\70-320\320C05\BugTracker\global.asax =
Line: 1

I have even tried creating a perfectly fresh web service created by =
visual studio and still get the same error when I try to use a web =
reference to it. I have also tried removing "BugTracker.Global" and =
replacing it with "Global" but to no avail. All my namespaces are =
correct as well.

Does anyone have any ideas how I may rectify this error as it is driving =
me mad!

Many thanks

Paul =20
=20
=20

------=_NextPart_000_001B_01C5FA9D.491DDAF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D'text/html; =
charset=3Diso-8859-1">
<META content=3D'MSHTML 6.00.3790.2541" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DTahoma size=3D2>I am currently trying to follow the =
Que Publishing=20
exam guide to the Microsoft Exam 70-320. </FONT><FONT face=3DTahoma =
size=3D2>I=20
followed the guide to a tee, but when I try to add a web reference to my =
server=20
side soap extension it gives me the following error:-</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2><STRONG>An error occurred during the =
parsing of a=20
resource required to service this request. Please review the following =
specific=20
parse error details and modify your source file=20
appropriately.</STRONG></FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma color=3D#ff0000 size=3D2><STRONG>Parser Error =
Message: Could=20
not load type "BugTracker.Global".</STRONG></FONT></DIV>
<DIV><FONT face=3DTahoma color=3D#ff0000 =
size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma color=3D#ff0000 size=3D2><STRONG>Source Error: =
Line 1: &lt;%@=20
Application Codebehind=3D'Global.asax.cs" =
Inherits=3D'WebService1.Global"=20
%&gt;</STRONG></FONT></DIV>
<DIV><FONT face=3DTahoma color=3D#ff0000 =
size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma color=3D#ff0000 size=3D2><STRONG>Source File:=20
f:\inetpub\wwwroot\70-320\320C05\BugTracker\global.asax&nbsp;&nbsp;&nbsp ;=
Line:=20
1</STRONG></FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>I have even tried creating a perfectly =
fresh web=20
service created by visual studio and still get the same error when I try =
to use=20
a web reference to it. I have also tried removing "BugTracker.Global" =
and=20
replacing it with "Global" but to no avail. All my namespaces are =
correct as=20
well.</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>Does anyone have any ideas how I may =
rectify this=20
error as it is driving me mad!</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>Many thanks</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>Paul&nbsp;=20
<BR>&nbsp;<BR>&nbsp;<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_001B_01C5FA9D.491DDAF0--
Is this written in VB.NET and did you ever change the Root NameSpace of the
project properties? I have seen this error when I changed the Root
Namespace.

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Jan 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.