Re: Server Error

From: Andrew Dimech (andrew_dimech_at_yahoo.co.uk)
Date: 12/29/04


Date: Wed, 29 Dec 2004 13:54:37 +0100

Yes, this is happening to all my web services and yes i also tried with a
simple hello web service.

I thought some assemblies might be corrupted as i had bad clustors on HD so
I runned chkdsk volume: /F /R /V. But it still didn't work.

from where can i get fuslogvw?

Thank You....Andrew

"Christoph Schittko [MVP]" <INVALIDEMAIL@austin.rr.com> wrote in message
news:OjrSkPV7EHA.1524@TK2MSFTNGP09.phx.gbl...
>
> You said this is happening for all your web services? Is there anything
> shared between the services? Have you tried a simple hello world
> service?
>
> From looking at the stack trace I am guessing that it's one of your
> assemblies that's not loading correctly. All involved .NET assemblies
> seem to be loaded into your process.
>
> Have you tried running the fuslogvw tool to see which assembly is not
> loading correctly?
>
> HTH,
> Christoph Schittko
> MVP XML
> http://weblogs.asp.net/cschittko
>
>
>> -----Original Message-----
>> From: Andrew Dimech [mailto:andrew_dimech@yahoo.co.uk]
>> Posted At: Tuesday, December 28, 2004 9:53 AM
>> Posted To: microsoft.public.dotnet.framework.aspnet.webservices
>> Conversation: Server Error
>> Subject: Server Error
>>
>> Hi,
>>
>> For some wierd reason all my webservices on IIS5.1 are not working.
>> Everything else is though...web froms, windows forms, etc.
>>
>> Even if i try to test them through the web browser i get this error:
>> System.BadImageFormatException: An attempt was made to load a program
> with
>> an incorrect format
>>
>> any idea why?
>>
>> Your help is appreciated....Andrew
>>
>>
>>
>> Stack Trace:
>>
>> [BadImageFormatException: An attempt was made to load a program with
> an
>> incorrect format.]
>> System.Xml.Schema.XmlSchemaParticle.set_MinOccurs(Decimal value) +0
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessor(XmlSche
> ma
>> GroupBase
>> group, ElementAccessor accessor, Boolean repeats, Boolean
>> valueTypeOptional,
>> String ns) +805
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessors(XmlSch
> em
>> aGroupBase
>> group, ElementAccessor[] accessors, Boolean repeats, Boolean
>> valueTypeOptional, String ns) +100
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportTypeMembers(XmlSchemaCo
> mp
>> lexType
>> type, MemberMapping[] members, String name, String ns, Boolean
>> hasSimpleContent) +252
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(MembersM
> ap
>> ping
>> mapping, String ns) +48
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportElementMapping(XmlSchem
> aE
>> lement
>> element, Mapping mapping, String ns, Boolean isAny) +222
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportElement(ElementAccessor
>> accessor) +225
>>
>>
> System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(XmlMembe
> rs
>> Mapping
>> xmlMembersMapping) +68
>>
>>
> System.Web.Services.Description.SoapProtocolReflector.CreateLiteralMessa
> ge
>> (Message
>> message, MessageBinding messageBinding, XmlMembersMapping members,
> Boolean
>> wrapped) +395
>>
>>
> System.Web.Services.Description.SoapProtocolReflector.CreateMessage(Bool
> ea
>> n
>> rpc, SoapBindingUse use, SoapParameterStyle paramStyle, Message
> message,
>> MessageBinding messageBinding, XmlMembersMapping members) +78
>>
> System.Web.Services.Description.SoapProtocolReflector.ReflectMethod()
>> +449
>>
>>
> System.Web.Services.Description.ProtocolReflector.ReflectBinding(Reflect
> ed
>> Binding
>> reflectedBinding) +1951
>> System.Web.Services.Description.ProtocolReflector.Reflect() +506
>>
>>
> System.Web.Services.Description.ServiceDescriptionReflector.ReflectInter
> na
>> l(ProtocolReflector[]
>> reflectors) +495
>>
>>
> System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type
>> type, String url) +112
>> System.Web.Services.Protocols.DocumentationServerType..ctor(Type
> type,
>> String uri) +158
>>
> System.Web.Services.Protocols.DocumentationServerProtocol.Initialize()
>> +269
>> System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
> type,
>> HttpContext context, HttpRequest request, HttpResponse response,
> Boolean&
>> abortProcessing) +106
>>
>> [InvalidOperationException: Unable to handle request.]
>> System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
> type,
>> HttpContext context, HttpRequest request, HttpResponse response,
> Boolean&
>> abortProcessing) +205
>>
>>
> System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Ty
> pe
>> type, HttpContext context, HttpRequest request, HttpResponse response)
> +82
>>
>> [InvalidOperationException: Failed to handle request.]
>>
>>
> System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Ty
> pe
>> type, HttpContext context, HttpRequest request, HttpResponse response)
>> +154
>>
>>
> System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpCo
> nt
>> ext
>> context, String verb, String url, String filePath) +94
>> System.Web.HttpApplication.MapHttpHandler(HttpContext context,
> String
>> requestType, String path, String pathTranslated, Boolean useAppConfig)
>> +699
>>
>>
> System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecution
> St
>> ep.Execute()
>> +95
>> System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean&
>> completedSynchronously) +173
>>
>
>



Relevant Pages

  • Re: Business Objects / COM+ / MTS
    ... could be two seperate assemblies made available through .net remoting. ... CF> multiple web services using Microsoft and .Net. ... wsUpdateChecking- this webservice will update the amount ... If either call failed, the entire transaction ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: WebServices and getting FileNotFoundException
    ... There might be some other dependency that is not available. ... app to help you debug the assemblies that are being loaded or that have ... > application that communicates with our business tier through Web Services. ... > sounds like a permissions problem as running as SYSTEM grants many more ...
    (microsoft.public.dotnet.framework)
  • Re: WebServices and getting FileNotFoundException
    ... There might be some other dependency that is not available. ... app to help you debug the assemblies that are being loaded or that have ... > application that communicates with our business tier through Web Services. ... > sounds like a permissions problem as running as SYSTEM grants many more ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: WebServices and getting FileNotFoundException
    ... There might be some other dependency that is not available. ... app to help you debug the assemblies that are being loaded or that have ... > application that communicates with our business tier through Web Services. ... > sounds like a permissions problem as running as SYSTEM grants many more ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Serialization Question
    ... System.Xml.Serialization.TypeScope.ImportTypeDesc(Type type, Boolean ... xmlReflectionMember, String ns, XmlReflectionMemberxmlReflectionMembers) ... HttpContext context, HttpRequest request, HttpResponse response, Boolean& ...
    (microsoft.public.dotnet.languages.vb)