i have problem when i try build this application and the error is below.
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message: - --
-
<html>
-
<head>
-
<title>Configuration Error</title>
-
<style>
-
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
-
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
-
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
-
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
-
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
-
pre {font-family:"Lucida Console";font-size: .9em}
-
.marker {font-weight: bold; color: black;text-decoration: none;}
-
.version {color: gray;}
-
.error {margin-bottom: 10px;}
-
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
-
</style>
-
</head>
-
-
<body bgcolor="white">
-
-
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
-
-
<h2> <i>Configuration Error</i> </h2></span>
-
-
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
-
-
<b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
-
<br><br>
-
-
<b> Parser Error Message: </b>It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.<br><br>
-
-
<b>Source Error:</b> <br><br>
-
-
<table width=100% bgcolor="#ffffcc">
-
<tr>
-
<td>
-
<code><pre>
-
-
Line 24: ASP.NET to identify an incoming user.
-
Line 25: -->
-
<font color=red>Line 26: <authentication mode="Windows"/>
-
</font>Line 27: <!--
-
Line 28: The <customErrors> section enables configuration </pre></code>
-
-
</td>
-
</tr>
-
</table>
-
-
<br>
-
-
<b> Source File: </b> c:\inetpub\wwwroot\enterprise\web.config<b> Line: </b> 26
-
<br><br>
-
-
<hr width=100% size=1 color=silver>
-
-
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
-
-
</font>
-
-
</body>
-
</html>
-
<!--
-
[ConfigurationErrorsException]: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\inetpub\wwwroot\enterprise\web.config line 26)
-
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
-
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
-
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
-
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
-
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
-
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
-
at System.Web.Configuration.RuntimeConfig.get_CustomErrors()
-
at System.Web.Configuration.CustomErrorsSection.GetSettings(HttpContext context, Boolean canThrow)
-
at System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow, Boolean localExecute)
-
at System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e)
-
-->
-
--.
2 6632 Plater 7,872
Recognized Expert Expert
Looks to me like the real error is this: Parser Error Message:It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
it is..anywer i already fix it..thank anywer
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Soheil |
last post by:
I use webservice to connect to a server on Internet and sometimes(not
always), I recieve this error on calling webserice member functions.
Error:
**********************************
Client found...
|
by: daryl |
last post by:
I have a situation where a webservice has worked fine in a development
environment, but when placed into production has stopped working
(although at one time it was).
Using WSE 2.0/DIME, we...
|
by: Jesús Bosch |
last post by:
I get this error after trying to call a method in a webeservice. This
webservice returns an html page (as string), but I recieve this error.
Someone knows a solution for this?
Thanks!
Jesús...
|
by: msm2601 |
last post by:
Hello,
I have written a Pocket PC mobile application which calls a web service method.
But when code invoke web service method it raise error as
Client found response content type of...
|
by: Mark P |
last post by:
I've written a .Net 1.1 Web Service that receives a file and forwards the file to another Web Service (this one written in Java). The Web Service generally works, but intermittently gets the...
| |
by: Mark P |
last post by:
I've written a .Net 1.1 Web Service that receives a file and forwards the file to another Web Service (this one written in Java). The Web Service generally works, but intermittently gets the...
|
by: =?Utf-8?B?S2VzdGZpZWxk?= |
last post by:
Hi
Our company has a .Net web service that, when called via asp.net web pages
across our network works 100%! The problem is that when we try and call the
web service from a remote machine, one...
|
by: Abbas |
last post by:
Hi,
I have a web service that is failing when calling from a COM proxy
(front-end is in ASP), going to the URL using the browser works, I
also have an ASP.NET test page with it that also works. ...
|
by: sbettadpur |
last post by:
Hi All,
I am getting the following Error while connecting to the SQL reports using report viewer .I have given the path like:
...
|
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,...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |