473,769 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.InvalidO perationExcepti on

Hello all,

I've moved my old ASP1.1 with WSE2.0 SP3 to ASP2.0 and have found
strange error which raises spontaneously. Here is the stack trace:

System.InvalidO perationExcepti on
Message: The XML Web service help page encountered an internal error.
Source: System.Web.Serv ices
at
System.Web.Serv ices.Protocols. WebServiceHandl er.WriteExcepti on(Exception
e)
at
System.Web.Serv ices.Protocols. WebServiceHandl er.CoreProcessR equest()
at
System.Web.Serv ices.Protocols. SyncSessionless Handler.Process Request(HttpCon text
context)
at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean& completedSynchr onously)

Nested Exception

Exception: System.Web.Http UnhandledExcept ion
Message: Exception of type 'System.Web.Htt pUnhandledExcep tion' was
thrown.
Source: System.Web
at System.Web.UI.P age.HandleError (Exception e)
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean
includeStagesAf terAsyncPoint)
at System.Web.UI.P age.ProcessRequ est(Boolean
includeStagesBe foreAsyncPoint, Boolean
includeStagesAf terAsyncPoint)
at System.Web.UI.P age.ProcessRequ est()
at System.Web.UI.P age.ProcessRequ estWithNoAssert (HttpContext
context)
at System.Web.UI.P age.ProcessRequ est(HttpContext context)
at ASP.defaultwsdl helpgenerator_a spx.ProcessRequ est(HttpContext
context)
at
System.Web.Serv ices.Protocols. DocumentationSe rverProtocol.Wr iteReturns(Obje ct[]
returnValues,
Stream outputStream)

Nested Exception

Exception: System.Xml.Sche ma.XmlSchemaExc eption
Message: Undefined complexType
'http://schemas.xmlsoap .org/soap/encoding/:Array' is used as a base
for complex type restriction.
Source: System.Xml
at System.Xml.Sche ma.XmlSchemaSet .InternalValida tionCallback(Ob ject
sender, ValidationEvent Args e)
at
System.Xml.Sche ma.BaseProcesso r.SendValidatio nEvent(XmlSchem aException
e, XmlSeverityType
severity)
at
System.Xml.Sche ma.Compiler.Com pileComplexCont entRestriction( XmlSchemaComple xType
complexType,
XmlSchemaComple xContent complexContent,
XmlSchemaComple xContentRestric tion complexRestrict ion)
at
System.Xml.Sche ma.Compiler.Com pileComplexType (XmlSchemaCompl exType
complexType)
at System.Xml.Sche ma.Compiler.Com pile()
at System.Xml.Sche ma.Compiler.Exe cute(XmlSchemaS et schemaSet,
SchemaInfo schemaCompiledI nfo)
at System.Xml.Sche ma.XmlSchemaSet .Compile()
at
System.Xml.Seri alization.XmlSc hemas.Compile(V alidationEventH andler
handler, Boolean
fullCompile)
at System.Web.Serv ices.Descriptio n.SchemaCompile r.Compile(XmlSc hemas
schemas)
at
System.Web.Serv ices.Descriptio n.WebServicesIn teroperability. AnalyzeDescript ion(ServiceDesc riptionCollecti on
descriptions, BasicProfileVio lationCollectio n violations)
at
System.Web.Serv ices.Descriptio n.WebServicesIn teroperability. CheckConformanc e(WsiProfiles
claims, ServiceDescript ionCollection descriptions,
BasicProfileVio lationCollectio n violations)
at ASP.defaultwsdl helpgenerator_a spx.Page_Load(O bject sender,
EventArgs e)
at System.Web.Util .CalliHelper.Ev entArgFunctionC aller(IntPtr fp,
Object o, Object t, EventArgs e)
at System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct
sender, EventArgs e)
at System.Web.UI.C ontrol.OnLoad(E ventArgs e)
at System.Web.UI.C ontrol.LoadRecu rsive()
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean
includeStagesAf terAsyncPoint)
Does anyone know the remedy for this problem?

Thank you in advance!

Dec 11 '05 #1
0 2570

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

Similar topics

5
4029
by: David Conorozzo | last post by:
I am able to create new sources using CreateEventSource. I can call GetEventLogs, I can delete sources, I can see if sources exist BUT, as soon as I try a "WriteEntry", I get an exception: {System.InvalidOperationException} : {System.InvalidOperationException} HelpLink: Nothing InnerException: {System.ComponentModel.Win32Exception}
4
1984
by: Hari Koduru | last post by:
Hi All, I am getting the following exception in an ASP.NET application. Exception Details: System.InvalidOperationException: Application is restarting. I have been to the following Support page
1
6203
by: Trygve Lorentzen | last post by:
Hi, my webservice is running on Win2000 SP4, IIS 5.0 fully patched, connecting to a MySQL database and mainly returning Typed DataSet's from webmethods. After running for a while, generally a few days, the webservice stops responding and the .NET windows app client fails with no informative error message. When I try to run any webmethod from the webservice locally in the browser I first get a "This page cannot be display IE error...
1
18202
by: Marc | last post by:
Hi! I'm working with a C# client that calls a php web service. I've created a wrapper to call the service using .NET wsdl tool (adding a web reference). The call to the server works fine, it is serialized correctly, and the server returns a response (I've captured the response and it's correct!) but when the .NET deserialize this response, it throws the exception "System.InvalidOperationException: There is an error in XML
5
19599
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was having a problem in the calling program. I searched online and found suggestions that I return an Array instead so I modified my code (below) to return an Array instead of an ArrayList. Now I get the message when I try to run just my webservice...
0
1908
by: banduraj | last post by:
I get an System.InvalidOperationException when trying to Serialize a struct that has a type refrenced from another library. The exception is: System.InvalidOperationException was unhandled Message="Unable to generate a temporary class (result=1).\r\nerror CS0012: The type 'SecureSpeak.Protocol.ssContactItem' is defined in an assembly that is not referenced. You must add a reference to assembly 'SecureSpeak.Protocol, Version=1.0.0.0,...
0
2056
by: nicomp | last post by:
I created a Web Service: I imported System.Data.SqlClient so I could access SQL server tables programmatically. The web service builds and deploys with no problems. When I try to add the corresponding Web Reference to the Web Site project I get the error listed below. I am able to create other Web Services on the same server and I am able to add Web Referneces to them. I have narrowed it down to the "Imports System.Data.SqlClient"...
3
14225
by: Joseph Geretz | last post by:
System.InvalidOperationException: WebServiceBindingAttribute is required on proxy classes. My environment: Visual Studio 2005, targeting FX 2.0; I've developed a Web Service which uses DIME to transfer file attachments to and from the server. I'm using WSE 2.0 SP3 which is supposed to support FX 2.0, as far as I know. (We will soon move on to MTOM, however I'm stuck with DIME for now; the solution was originally written for FX 1.1, and I...
6
5083
by: Michael | last post by:
I need to copy a huge file (around 300Mb) from a mapped network drive to another. I have created a console application and used System.IO.File.Copy function. But I want to know the process of this copying work. Is there any way? I am thinking that I can get the file size, but I don't know how to get the size copied. Thanks.
4
4347
by: QC | last post by:
Hi, this morning found that my Service had crashed, and the error was "Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized". I have no clue WHY the ConnectionString wouldn't be initialized as I do not play with anything near it in my code. my service is running perfectly from last few years, and the same code executed millions of time. I am using VS 2003, .net 1.1. Do you have any...
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10208
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9987
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3952
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 we have to send another system
2
3558
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.