RE: 2.0 web service msi

Tech-Archive recommends: Fix windows errors by optimizing your registry




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(Module module,
RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32&
namedArgs) +104
System.Reflection.CustomAttribute.GetCustomAttributes(Module
decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount,
RuntimeType attributeFilterType, Boolean mustBeInheritable, IList
derivedAttributes) +482

System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeFieldInfo
field, RuntimeType caType) +72
System.Reflection.RuntimeFieldInfo.GetCustomAttributes(Boolean
inherit) +33

System.Xml.Serialization.XmlAttributes..ctor(ICustomAttributeProvider
provider) +207

System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel
model, String ns, Boolean openModel, XmlAttributes a) +1752

System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel
model, String ns, ImportContext context, String dataType, XmlAttributes
a, Boolean repeats, Boolean openModel) +638


thanks for the help

Has anyone found a solution to this problem? Having the same problem here.

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
.



Relevant Pages

  • RE: MSI Web Setup Project Installer fails in Windows 2003
    ... >The installer has encountered an unexpected error installing this ... This may indicate a problem with this package. ... Did you try to install to another VDir? ... >I have a .NET MSI Web Setup Project that will not execute on my ...
    (microsoft.public.dotnet.framework.setup)
  • MP Installation problems
    ... are having problems with the installation of the management point on the SMS ... MSI: Grabbed execution mutex. ... MSI: Doing action: INSTALL ...
    (microsoft.public.sms.setup)
  • MSI Web Setup Project Installer fails in Windows 2003
    ... I have a .NET MSI Web Setup Project that will not execute on my ... MSI: Product not registered: beginning first-time install ... Server 4.0 or higher and Windows NT 4.0, Windows 2000, or Windows XP. ...
    (microsoft.public.dotnet.framework.setup)
  • Problem installing IEWebControls With Windows Server 2003
    ... MSI: Resetting cached policy values ... MSI: Attempting to enable all disabled priveleges before calling Install on Server ... MSI: Package name extracted from package path: 'iewebcontrols.msi' ... Action start 15:06:36: FatalErrorForm. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Installation operation failed: event ID 11708
    ... Microsoft SQL Server Desktop Engine -- Installation operation failed. ... when i try to install the msde by using SqlSetup.exe and use the verbose logging flags ... MSI: Executing op: ... MSI: Invoking remote custom action. ...
    (microsoft.public.sqlserver.msde)