A
Andrew Dimech
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(XmlSchemaGroupBase
group, ElementAccessor accessor, Boolean repeats, Boolean valueTypeOptional,
String ns) +805
System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessors(XmlSchemaGroupBase
group, ElementAccessor[] accessors, Boolean repeats, Boolean
valueTypeOptional, String ns) +100
System.Xml.Serialization.XmlSchemaExporter.ExportTypeMembers(XmlSchemaComplexType
type, MemberMapping[] members, String name, String ns, Boolean
hasSimpleContent) +252
System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(MembersMapping
mapping, String ns) +48
System.Xml.Serialization.XmlSchemaExporter.ExportElementMapping(XmlSchemaElement
element, Mapping mapping, String ns, Boolean isAny) +222
System.Xml.Serialization.XmlSchemaExporter.ExportElement(ElementAccessor
accessor) +225
System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(XmlMembersMapping
xmlMembersMapping) +68
System.Web.Services.Description.SoapProtocolReflector.CreateLiteralMessage(Message
message, MessageBinding messageBinding, XmlMembersMapping members, Boolean
wrapped) +395
System.Web.Services.Description.SoapProtocolReflector.CreateMessage(Boolean
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(ReflectedBinding
reflectedBinding) +1951
System.Web.Services.Description.ProtocolReflector.Reflect() +506
System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(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(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +82
[InvalidOperationException: Failed to handle request.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +154
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
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+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
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(XmlSchemaGroupBase
group, ElementAccessor accessor, Boolean repeats, Boolean valueTypeOptional,
String ns) +805
System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessors(XmlSchemaGroupBase
group, ElementAccessor[] accessors, Boolean repeats, Boolean
valueTypeOptional, String ns) +100
System.Xml.Serialization.XmlSchemaExporter.ExportTypeMembers(XmlSchemaComplexType
type, MemberMapping[] members, String name, String ns, Boolean
hasSimpleContent) +252
System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(MembersMapping
mapping, String ns) +48
System.Xml.Serialization.XmlSchemaExporter.ExportElementMapping(XmlSchemaElement
element, Mapping mapping, String ns, Boolean isAny) +222
System.Xml.Serialization.XmlSchemaExporter.ExportElement(ElementAccessor
accessor) +225
System.Xml.Serialization.XmlSchemaExporter.ExportMembersMapping(XmlMembersMapping
xmlMembersMapping) +68
System.Web.Services.Description.SoapProtocolReflector.CreateLiteralMessage(Message
message, MessageBinding messageBinding, XmlMembersMapping members, Boolean
wrapped) +395
System.Web.Services.Description.SoapProtocolReflector.CreateMessage(Boolean
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(ReflectedBinding
reflectedBinding) +1951
System.Web.Services.Description.ProtocolReflector.Reflect() +506
System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(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(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +82
[InvalidOperationException: Failed to handle request.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +154
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
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+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173