Re: Server Error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dilip Krishnan (dkrishnan_at_NOSPAM.geniant.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 06:54:05 -0800

Hello Andrew,
      Open a VS.net command window and type fuslogvw. You could also try
the aspnet_regiis command http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfASPNETIISRegistrationToolAspnet_regiisexe.asp
and see if it helps

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> 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(XmlS
>> che ma
>>
>>> GroupBase
>>> group, ElementAccessor accessor, Boolean repeats, Boolean
>>> valueTypeOptional,
>>> String ns) +805
>> System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessors(Xml
>> Sch em
>>
>>> aGroupBase
>>> group, ElementAccessor[] accessors, Boolean repeats, Boolean
>>> valueTypeOptional, String ns) +100
>> System.Xml.Serialization.XmlSchemaExporter.ExportTypeMembers(XmlSchem
>> aCo mp
>>
>>> lexType
>>> type, MemberMapping[] members, String name, String ns, Boolean
>>> hasSimpleContent) +252
>> System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(Membe
>> rsM ap
>>
>>> ping
>>> mapping, String ns) +48
>> System.Xml.Serialization.XmlSchemaExporter.ExportElementMapping(XmlSc
>> hem aE
>>
>>> lement
>>> element, Mapping mapping, String ns, Boolean isAny) +222
>> System.Xml.Serialization.XmlSchemaExporter.ExportElement(ElementAcces
>> sor
>>
>>> accessor) +225
>>>
>> System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(XmlMe
>> mbe rs
>>
>>> Mapping
>>> xmlMembersMapping) +68
>> System.Web.Services.Description.SoapProtocolReflector.CreateLiteralMe
>> ssa ge
>>
>>> (Message
>>> message, MessageBinding messageBinding, XmlMembersMapping members,
>> Boolean
>>
>>> wrapped) +395
>>>
>> System.Web.Services.Description.SoapProtocolReflector.CreateMessage(B
>> ool 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(Refl
>> ect ed
>>
>>> Binding
>>> reflectedBinding) +1951
>>> System.Web.Services.Description.ProtocolReflector.Reflect() +506
>> System.Web.Services.Description.ServiceDescriptionReflector.ReflectIn
>> ter na
>>
>>> l(ProtocolReflector[]
>>> reflectors) +495
>> System.Web.Services.Description.ServiceDescriptionReflector.Reflect(T
>> ype
>>
>>> 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(Htt
>> pCo 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+IExecut
>> ion St
>>
>>> ep.Execute()
>>> +95
>>> System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
>> Boolean&
>>
>>> completedSynchronously) +173
>>>



Relevant Pages

  • Re: GUIDs, snks, reflection and ILMerge
    ... You might be better off just ensuring that any calls into the web service ... assemblies into a single executable. ... I need to enforce that only this dll makes ... I believe a GUID would be sufficient to identify the calling dll, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CodeDom V Emit with Dynamic Proxy
    ... .NET assemblies are never unloaded unless you unload ... service client and marshaled the calls between my main app domain and the ... A product we need to integrate with exposes a web service BUT its methods ...
    (microsoft.public.dotnet.framework.clr)
  • Re: CodeDom V Emit with Dynamic Proxy
    ... .NET assemblies are never unloaded unless you unload ... service client and marshaled the calls between my main app domain and the ... A product we need to integrate with exposes a web service BUT its methods ...
    (microsoft.public.dotnet.framework.clr)
  • Problem with manifest, the specified module could not be found
    ... assemblies, and I hope you can help me shed some light on it. ... I'm deploying a web service, which uses some 3rd party dll ... The webservice is xcopied to the server, and the dll in question ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Ambiguous Web Service References
    ... If each assembly has a reference to the same web service and names the ... "built into" other assemblies developed by other programmers. ... VS2005-generated code always generates "Public" proxy objects. ... But wrapping a web service seems hokey. ...
    (microsoft.public.dotnet.languages.vb)