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 1 2991
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
Has anyone found a solution to this problem? Having the same problem here.
BizTalk Utilities - Frustration free BizTalk Adapters http://www.topxml.com/biztalkutilities This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hardy Wang |
last post by:
Hi all:
I read an article from
http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp
about how to install a windows service programmatically.
Based ont the code...
|
by: Mike |
last post by:
I want to create a windows service that will monitor another window service.
what i need for the service to do is, if a service is stopped I need it to
start the service back up
example:
...
|
by: SP |
last post by:
Hi All,
I wrote a windows service which is supposed to stop after specified amount
of time. I am calling OnStop() after specified time. OnStop() methods
executed but I dont see the service...
|
by: Jeremy S. |
last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows
Service and installing it on the local machine by opening the Visual Studio
Command Prompt and then executing .
Now I...
|
by: letibal |
last post by:
Hello,
I have written a windows service and created an installer for it.
The service runs under the system accounts. When started, it launches a
GUI.
By default, the InteractiveProcess property...
|
by: kkt49 |
last post by:
# vim: et sw=4 ts=8 sts
from wxPython.wx import *
import sys, os, time
import pywintypes
import win32serviceutil
import win32service
import win32event
import win32process
|
by: carson |
last post by:
I have written two windows services:
- service A does some crunching of local data files and uploads them to
a central processing computer via http.
- service B monitors a manifest file on a...
|
by: dmjpro |
last post by:
plz send me a good link which can clearify me how the J2EE framework works
i want the details information .... plz help
thanx
|
by: =?Utf-8?B?cmtibmFpcg==?= |
last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for
testing a sample web service application. However, the following line gives a
compilation error:
localhost.Service1...
|
by: dm3281 |
last post by:
I'm really starting to hate writing services -- or trying to, anyway.
Why do I need to rename my project to the service name?
Why do I need to set the "ServiceName" property to my service name?...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |