I have a 2.0 web service. When I do a direct copy solution folder to a
different machine the web service works. I have created a web
deployment project and web setup project in VS 2005 to create a msi.
When I install web service through msi I get the below error
Binary format of the specified custom attribute was invalid.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
What am I missing when installing through msi?
Exception Details: System.Reflection.CustomAttributeFormatException:
Binary format of the specified custom attribute was invalid.
Stack Trace:
[CustomAttributeFormatException: Binary format of the specified custom
attribute was invalid.]
System.Reflection.CustomAttribute._CreateCaObject( Void* pModule,
Void* pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) +0
System.Reflection.CustomAttribute.CreateCaObject(M odule module,
RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32&
namedArgs) +104
System.Reflection.CustomAttribute.GetCustomAttribu tes(Module
decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount,
RuntimeType attributeFilterType, Boolean mustBeInheritable, IList
derivedAttributes) +482
System.Reflection.CustomAttribute.GetCustomAttribu tes(RuntimeFieldInfo
field, RuntimeType caType) +72
System.Reflection.RuntimeFieldInfo.GetCustomAttrib utes(Boolean
inherit) +33
System.Xml.Serialization.XmlAttributes..ctor(ICust omAttributeProvider
provider) +207
System.Xml.Serialization.XmlReflectionImporter.Imp ortStructLikeMapping(StructModel
model, String ns, Boolean openModel, XmlAttributes a) +1752
System.Xml.Serialization.XmlReflectionImporter.Imp ortTypeMapping(TypeModel
model, String ns, ImportContext context, String dataType, XmlAttributes
a, Boolean repeats, Boolean openModel) +638
thanks for the help