473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

facing problem with ref key word in Managed C++ using In WCF(MSE 5.0)?

hi , We developed our application on (Microsoft Enterprise library)MSE 4, then upgraded to MSE5. The problem is that they have removed pointer support in MSE5, which means our code does not support the latest version. we are using managed c++ wrappers and wcf service.
i am getting these exceptions when i am trying run the service.

System.ArgumentException: The type 'System.Int32&' may not be used as a type argument.
at System.RuntimeType.ThrowIfTypeNeverValidGenericArg ument(RuntimeType type)
at System.RuntimeType.SanityCheckGenericArguments(Run timeType[] genericArguments, RuntimeType[] genericParamters)
at System.RuntimeType.MakeGenericType(Type[] instantiation)
at Microsoft.Practices.EnterpriseLibrary.Validation.V alidatorFactory.WrapAndInstrumentValidator(Validat or validator, Type type)
at Microsoft.Practices.EnterpriseLibrary.Validation.V alidatorFactory.FindOrCreateValidator(ValidatorCac heKey cacheKey, Func`3 wrapAndInstrument)
at Microsoft.Practices.EnterpriseLibrary.Validation.V alidatorFactory.CreateValidator(Type targetType, String ruleset)
at Microsoft.Practices.EnterpriseLibrary.Validation.V alidationFactory.CreateValidator(Type targetType, String ruleset)
at Microsoft.Practices.EnterpriseLibrary.Validation.I ntegration.WCF.ValidationParameterInspector.Create InputParameterValidator(ParameterInfo param,
String ruleSet)
at Microsoft.Practices.EnterpriseLibrary.Validation.I ntegration.WCF.ValidationParameterInspector..ctor( OperationDescription operation, String ruleS
et)
at Microsoft.Practices.EnterpriseLibrary.Validation.I ntegration.WCF.ValidationBehavior.ApplyDispatchBeh avior(OperationDescription operationDescript
ion, DispatchOperation dispatchOperation)
at Microsoft.Practices.EnterpriseLibrary.Validation.I ntegration.WCF.ValidationBehavior.ApplyDispatchBeh avior(ContractDescription contractDescriptio
n, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime)
at Microsoft.Practices.EnterpriseLibrary.Validation.I ntegration.WCF.ValidationBehavior.ApplyDispatchBeh avior(ServiceEndpoint endpoint, EndpointDisp
atcher endpointDispatcher)
at System.ServiceModel.Description.DispatcherBuilder. InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRunt ime()
at System.ServiceModel.ServiceHostBase.OnBeginOpen()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpa n timeout)
at System.ServiceModel.Channels.CommunicationObject.O pen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.O pen()
at GlobalToWCFServerSideWrapper.WcfServerInterface.Wc fServiceThreadProc(Object data) in m:\siva.arvapalli_view_global1\pdms003\globalmessa ge\global
towcfserverwrapper\wcfserverinterface.cpp:line 110
Closing down SERVICE1..
..normal end


i am suspecting this problem because of ref key word in Managed c++. please help me how to use alternative approach for ref implementation in our service

Thanks in advance.....
Sep 12 '14 #1
0 1046

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Andy Davis | last post by:
I have a table of data in Access 2002 which is used as the source table for a mail merge document using Word 2002 on my clients PC. The data is transferred OK but I've noticed that any dates which...
7
by: Zeke | last post by:
I'm using the following code to create word document but the problem is if you go to task manager you'll see a WINWORD.EXE process is running but not the application, here is the code: ...
0
by: Balakrsihna | last post by:
Hi All, Can anyone tell me how to replace an image in MS Word 2003 using c#.net. I am converting an html file to word doc and sending this as attachment using System.Web.Mail; the...
1
by: Killian | last post by:
All, I'm using a word application in ASP.net (server side) to open an existing document, do a mail merge on it and then serve the created document to the client. The problem I am having is...
16
by: Simon Verona | last post by:
I have a problem with automating MS Word through vb.net My code is : Dim objword As new Word.ApplicationClass Try objWord.Documents.Open(letterfile)...
2
by: Howard Kaikow | last post by:
MSFT KB article 302896 includes a step by step example demonstrating how to build an Office COM in VB .NET, Yesterday, I implemented the example and it works correctly when starting each of the...
0
by: Killian | last post by:
All, I'm using a word application in ASP.net (server side) to open an existing document, do a mail merge on it and then serve the created document to the client. The problem I am having is...
2
by: pramodkh | last post by:
Hi All I am parsing a word doc using perl. I am using Win32::OLE module for this. I am able to get the Paragraphs/styles/Text from the word doc. But facing some problem when I am trying to get...
0
by: shivapadma | last post by:
i want to know how multiple tables are added to the MS word document using vb.net i wrote following code to insert one table in MS word document using vb.net 1.opened MS word document 2.inserted...
0
by: Pramod Elig | last post by:
I developed this code which works fine in my current system which has office 2007, but when I run in word 2000 this doesn’t work. Can you please help me to code word automation using late binding. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.