ICompanyService.GetGeneralService(System.String) Method Not found error
Hi,
When I am running my code in SAP 2007, I am getting following on calling of UDO.
Method not found: 'SAPbobsCOM.GeneralService SAPbobsCOM.ICompanyService.GetGeneralService(System.String)'
I could not understand why this error is occuring, although same code in running very well in SAP 8.8 and 8.81.
Please suggest me a solutions.
Hi
sorry it is mistake from me. Check this SAP note regarding GeneralService it is available from SAP Business One 2007 A SP00 PL46 onwards . Please check you PL version
How to use the GeneralService functionality to access UDOs via DI API.
Solution
The GeneralService allows access to User-Defined Objects (UDOs) via the DI API. Using the GeneralService, you can add, update and delete UDOs. This feature was added in SAP Business One 2007 A SP00 PL46.
The following is an example of how to add data to a UDO. This example relates to a UDO with the following properties:
Type = Document
Unique ID = "Ex_1"
Name = "EX_DOC"
User-Defined Field = "Field1"
Child Object Name = "EX_DOC_LINE"
User-Defined Field (Child Object) = "Property1"
Use this (VB.NET) code to add data to the UDO:
Dim oGeneralService As SAPbobsCOM.GeneralService
Dim oGeneralData As SAPbobsCOM.GeneralData
Dim oGeneralDataChild As SAPbobsCOM.GeneralData
'Get the UDO by referencing the Unique ID (using the CompanyService Object)
oGeneralService = oCompanyService. GetGeneralService("EX_1")
'Create data for new row in UDO - (Document Table)
oGeneralData = oGeneralService.GetDataInterface(SAPbobsCOM. GeneralServiceDataInterfaces.gsGeneralData)
oGeneralData.SetProperty("U_Field1", "A")
'Create data for new row in the UDO Child - (Document Row Table)
oGeneralDataChild = oGeneralData.Child("EX_DOC_LINE"). Add()
oGeneralDataChild.SetProperty("U_Property1", "B")
oGeneralService.Add(oGeneralData)
See the following Blog for more information and another example:
"UDO Access via DI API (in PL46)"
http://www.sdn.sap. com/irj/scn/weblogs?blog=/pub/wlg/13008
Regards
Arun
Similar Messages
-
Method not found error even though method exists....
hello
i m a newbee to sun and oracle technologies
these days i m doing teh SRDemo tutorial with JDeveloper (ADF)
I m having a problem and cannot figure out its solution so far
problem is i have a utility funtion defined in a AFDUTIL javaclass,
when i call this function in any class ,
and one of its method
compiler gives me error method not found
even though i select the method from the list, plus when from cotenxt menu it can go to method as welll
please help me to solve this issue
regardswell the code behind for the button is as follows
public String cancelButton_action() {
This action is actually reused from two pages, so we just need to ensure that we
use the correct binding container reference.
DCBindingContainer dcBindings =
(DCBindingContainer)ADFUtils.findBindingContainer(getBindings(),
"app_SRCreatePageDef");
Reset the product list to the first item:
DCIteratorBinding productsIter =
dcBindings.findIteratorBinding("findAllProductsIter");
productsIter.setCurrentRowIndexInRange(0);
Clean out the description field:
AttributeBinding problem =
(AttributeBinding)dcBindings.getControlBinding("problemDescription");
problem.setInputValue(null);
Navigate back to the list page
return "GlobalHome";
and in ADF UTILS the method findBindingContainer is defined as
public static BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName){
BindingContext bctx = ((DCBindingContainer)bindings).getBindingContext();
BindingContainer foundContainer = bctx.findBindingContainer(pageDefName);
return foundContainer;
plus in source code of cancelbutton window message gives error BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName) cannot invoke BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName)(ADFUTILS)
Message was edited by:
user518797 -
Method not found error when creating COM object
i am trying to initiate a COM object with CF and Imagemagick
on windows 2003. when i initiate the object i get the error "The
selected method convert was not found." if i do a dump of the
method in the COM object but i cant call it. what am i missing?
the code i am using is attached.
the VBscipt sample that comes with imagemagick works fine,
its just that CF cant all it. any ideas?
thanks
NFHi,
Have you had a reponse or find the solution?
I have a similar problem, no error message but that kill the
session.
Thanks
Didier -
I am using an action servlet to call a UseCase Object which calls a Data Access Object and shoot data back to the Servlet and then completes it's task. When when I go to call the UseCase it tells me my method does not exist. Anybody have any ideas.
Thanks in advance
//The Call from the ActionServlet
try {
containers = trackingUC.getContainerListByFreightBill(shipmentTrackForm.getWebID(), freightBillPart1, freightBillPart2) ;
//The UseCase
public Collection getContainerListByFreightBill(String webId, String freightBillPart1, String freightBillPart2)
throws UsecaseException {
//The Data Accessor
public Collection getContainerListByFreightBill(String webId, String freightBillPart1, String freightBillPart2)
throws DataAccessException {
When it gets called and assigned it says it can not find that method. What am I doind wrong.Hi,
Do u have an interface which is implemented by UseCase class???
For eg:
if you have an interface defined say IUseCase which is implemented by UseCase class and if you create the UseCase object as given below:
IUseCase useCase = new UseCase()
The method implemented in UseCase should also be defined in the interface. -
Cannot execute custom component.:Method not found error
Hi,
I have created a custom component. When i execute the component i am getting error message :"Unable to execute service ABC and function XYZ." The service method XYZ is not defined.
intradoc.data.DataException: !csMethodNotDefined,XYZ
Where else i have to define my method in component wizard?
Please provide inputs
Thanks in advanceIf you haven't done it yet, get a copy of the Bex's book http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846
The chapter 10 will explain how a service, and its methods are bound to Java package whose classes extend the standard interfaces. -
After install SharePoint 2013 SP 1, I have a broken list Workflows.
The logs contants the following error:
05/13/2014 14:49:03.86 w3wp.exe (0x2FB4) 0x0774 SharePoint Foundation
DistributedCache air4g
Monitorable Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.MissingMethodException: Method not found: 'Void Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.set_DataCacheServiceAccountType(Microsoft.ApplicationServer.Caching.DataCacheServiceAc
countType)'.
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()
at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)
at
Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)
at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCacheInitializer.Init(Object state)'.
As I understand, I have to install some update in the system, but windows update don't show any available updates.
Any ideas?Hi,
According to your post, my understanding is that you got a broken list Workflows after install SharePoint 2013 SP1.
I recommend to check is that your cachecluster is up and running through:
Get-CacheHostConfig -ComputerName $env:computername -CachePort 22233
when your cache is up and running, run the following 2 commands:
Remove-SPDistributedCacheServiceInstance
Add-SPDistributedCacheServiceInstance
For more information, you can refer to:
Distrubited Cache in SharePoint 2013
SharePoint 2013 - Distributed Cache: ErrorCode ERRCA0017 SubStatus ES0006 e ES0001
Replacing missing named caches to a SharePoint Distributed Cache cluster
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
SetJPEGEncodeParam method not found in JPEGImageEncoder jdk 1.5 and jdk 1.6
Hi,
We are group of students working on college project.
We want to capture webcam and show stream on screen.
We are using JMF and class JPEGImageEncoder.
Here we are getting setJPEGEncodeParam method not found error.
Please see detail error message and source code attached below.
Thanks in advance.
Regards,
Vinayak & Surendra
// Error and Warnings
SwingCapture.java:125: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
^
SwingCapture.java:125: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
^
SwingCapture.java:126: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
^
SwingCapture.java:128: cannot find symbol
symbol : method setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
location: class com.sun.image.codec.jpeg.JPEGImageEncoder
encoder.setJPEGEncodeParam(param);
^
1 error
3 warnings
// Source code
import javax.swing.*;
import javax.swing.event.*;
import java.io.*;
import javax.media.*;
import javax.media.format.*;
import javax.media.util.*;
import javax.media.control.*;
import javax.media.protocol.*;
import java.util.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import com.sun.image.codec.jpeg.*;
public class SwingCapture extends Panel implements ActionListener
public static Player player = null;
public CaptureDeviceInfo di = null;
public MediaLocator ml = null;
public JButton capture = null;
public Buffer buf = null;
public Image img = null;
public VideoFormat vf = null;
public BufferToImage btoi = null;
public ImagePanel imgpanel = null;
public SwingCapture()
setLayout(new BorderLayout());
setSize(320,550);
imgpanel = new ImagePanel();
capture = new JButton("Capture");
capture.addActionListener(this);
String str1 = "vfw:Logitech USB Video Camera:0";
String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
di = CaptureDeviceManager.getDevice(str2);
ml = di.getLocator();
try
player = Manager.createRealizedPlayer(ml);
player.start();
Component comp;
if ((comp = player.getVisualComponent()) != null)
add(comp,BorderLayout.NORTH);
add(capture,BorderLayout.CENTER);
add(imgpanel,BorderLayout.SOUTH);
catch (Exception e)
e.printStackTrace();
public static void main(String[] args)
Frame f = new Frame("SwingCapture");
SwingCapture cf = new SwingCapture();
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
playerclose();
System.exit(0);}});
f.add("Center",cf);
f.pack();
f.setSize(new Dimension(320,550));
f.setVisible(true);
public static void playerclose()
player.close();
player.deallocate();
public void actionPerformed(ActionEvent e)
JComponent c = (JComponent) e.getSource();
if (c == capture)
// Grab a frame
FrameGrabbingControl fgc = (FrameGrabbingControl)
player.getControl("javax.media.control.FrameGrabbingControl");
buf = fgc.grabFrame();
// Convert it to an image
btoi = new BufferToImage((VideoFormat)buf.getFormat());
img = btoi.createImage(buf);
// show the image
imgpanel.setImage(img);
// save image
saveJPG(img,"c:\\test.jpg");
class ImagePanel extends Panel
public Image myimg = null;
public ImagePanel()
setLayout(null);
setSize(320,240);
public void setImage(Image img)
this.myimg = img;
repaint();
public void paint(Graphics g)
if (myimg != null)
g.drawImage(myimg, 0, 0, this);
public static void saveJPG(Image img, String s)
BufferedImage bi = new BufferedImage(img.getWidth(null),
img.getHeight(null), BufferedImage.TYPE_INT_RGB);
Graphics2D g2 = bi.createGraphics();
g2.drawImage(img, null, null);
FileOutputStream out = null;
try
out = new FileOutputStream(s);
catch (java.io.FileNotFoundException io)
System.out.println("File Not Found");
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
param.setQuality(0.5f,false);
encoder.setJPEGEncodeParam(param);
try
encoder.encode(bi);
out.close();
catch (java.io.IOException io)
System.out.println("IOException");JPEGImageEncoder isn't a JMF class...so this isn't a JMF question. You need to go to the appropriate forum, which would be Java2D, I believe.
Also, is there a specific reason you're not just capturing from your web camera directly? -
SetJPEGEncodeParam method not found
Hi,
We are group of students working on college project.
We want to capture webcam and show stream on screen.
We are using JMF and class JPEGImageEncoder.
Here we are getting setJPEGEncodeParam method not found error.
Please see detail error message and source code attached below.
Thanks in advance.
Regards,
Vinayak & Surendra
// Error and Warnings
SwingCapture.java:125: warning:
com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and
may be removed in a future release
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
^
SwingCapture.java:125: warning: com.sun.image.codec.jpeg.JPEGCodec is
Sun proprietary API and may be removed in a future release
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
^
SwingCapture.java:126: warning:
com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and
may be removed in a future release
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
^
SwingCapture.java:128: cannot find symbol
symbol : method setJPEGEncodeParam
(com.sun.image.codec.jpeg.JPEGEncodeParam)
location: class com.sun.image.codec.jpeg.JPEGImageEncoder
encoder.setJPEGEncodeParam(param);
^
1 error
3 warnings
// Source code
import javax.swing.;
import javax.swing.event.;
import java.io.;
import javax.media.;
import javax.media.format.;
import javax.media.util.;
import javax.media.control.;
import javax.media.protocol.;
import java.util.;
import java.awt.;
import java.awt.image.;
import java.awt.event.;
import com.sun.image.codec.jpeg.*;
public class SwingCapture extends Panel implements ActionListener
public static Player player = null;
public CaptureDeviceInfo di = null;
public MediaLocator ml = null;
public JButton capture = null;
public Buffer buf = null;
public Image img = null;
public VideoFormat vf = null;
public BufferToImage btoi = null;
public ImagePanel imgpanel = null;
public SwingCapture()
setLayout(new BorderLayout());
setSize(320,550);
imgpanel = new ImagePanel();
capture = new JButton("Capture");
capture.addActionListener(this);
String str1 = "vfw:Logitech USB Video Camera:0";
String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
di = CaptureDeviceManager.getDevice(str2);
ml = di.getLocator();
try
player = Manager.createRealizedPlayer(ml);
player.start();
Component comp;
if ((comp = player.getVisualComponent()) != null)
add(comp,BorderLayout.NORTH);
add(capture,BorderLayout.CENTER);
add(imgpanel,BorderLayout.SOUTH);
catch (Exception e)
e.printStackTrace();
public static void main(String[] args)
Frame f = new Frame("SwingCapture");
SwingCapture cf = new SwingCapture();
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
playerclose();
System.exit(0);}});
f.add("Center",cf);
f.pack();
f.setSize(new Dimension(320,550));
f.setVisible(true);
public static void playerclose()
player.close();
player.deallocate();
public void actionPerformed(ActionEvent e)
JComponent c = (JComponent) e.getSource();
if (c == capture)
// Grab a frame
FrameGrabbingControl fgc = (FrameGrabbingControl)
player.getControl("javax.media.control.FrameGrabbingControl");
buf = fgc.grabFrame();
// Convert it to an image
btoi = new BufferToImage((VideoFormat)buf.getFormat());
img = btoi.createImage(buf);
// show the image
imgpanel.setImage(img);
// save image
saveJPG(img,"c:\\test.jpg");
class ImagePanel extends Panel
public Image myimg = null;
public ImagePanel()
setLayout(null);
setSize(320,240);
public void setImage(Image img)
this.myimg = img;
repaint();
public void paint(Graphics g)
if (myimg != null)
g.drawImage(myimg, 0, 0, this);
public static void saveJPG(Image img, String s)
BufferedImage bi = new BufferedImage(img.getWidth(null),
img.getHeight(null), BufferedImage.TYPE_INT_RGB);
Graphics2D g2 = bi.createGraphics();
g2.drawImage(img, null, null);
FileOutputStream out = null;
try
out = new FileOutputStream(s);
catch (java.io.FileNotFoundException io)
System.out.println("File Not Found");
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
param.setQuality(0.5f,false);
encoder.setJPEGEncodeParam(param);
try
encoder.encode(bi);
out.close();
catch (java.io.IOException io)
System.out.println("IOException");
}look at: javax.imageio.ImageIO
File myFile = new File(myFileName);
myFile.createNewFile();
ImageIO.write(myImage, "JPEG", myFile);also post your code with code tags--otherwise the forum software will alter your code, using some of it as formatting sequences. -
Method not found while running tests using MTM.
Test method SupportSoft.RequestAssist.TestScenarios.TestSecnario.ValidatingAttachingFileRequestByUser threw exception: System.MissingMethodException: Method not found: 'Void SupportSoft.CommonUtilities.GUIInteraction.ImplicitWaitForElement(OpenQA.Selenium.IWebDriver,
System.String, System.String)'.
I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method. The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
But when we trigger run from MTM, this issue is seen.
Please help me out here.
Thanks and Regards,
Payal Prajapati.Hi Payal,
>>The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
According to your description, you mean that when you run the automated test method from Test Explorer in the VS IDE, it works fine, am I right?
If yes, as you said the error message:
>>I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method.
I suggest you could try to check if you associated with the automated test method in the MTM by opening your test case and then select the ASSCIATED AUTOMATION tab check if associated the automated test method.
(1) If the it is blank in the ASSCIATED AUTOMATION tab , I assume that you did not associated with the automated test method into the MTM, so I suggest you could try to associated with the automated test method in the MTM and then check this issue again.
About how to automated test method into a test case for the MTM,
please refer to the following steps:
1: You can create a test case from MTM and then you can input the test case ID and then press the Enter like the following screen shot.
2: After the test case edit window is opened, you can select the ASSOCIATED AUTOMATION option to open this Choose Test Window, and then associated the
automate test method.
For more information:
https://msdn.microsoft.com/en-us/library/dd380741.aspx?f=255&MSPPError=-2147217396
(2) If you could see the automated test method in ASSCIATED AUTOMATION tab from MTM like my screen shot, please try to copy this automated test case to Test Agent machine and then check if you can run it successfully.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I am trying to use Coded UI record and play back for a web application. If I create a new solution and a project and record and play back, it works fine.
But when I try to add a new Coded UI project to an existing solution and try to the record and play back, the play back fails with the following error:
Test Name: Login1
Test FullName: Test.LoginNS.Login1
Test Source: c:\CodedUITestProject1\Test\Login.cs : line 29
Test Outcome: Failed
Test Duration: 0:00:06.0481823
Result Message:
Test method TestWebUI.LoginNS.Login1 threw exception:
System.MissingMethodException: Method not found: 'Int32 Microsoft.VisualStudio.TestTools.UITest.Extension.UITestUtilities.get_IEVersion()'.
I looked at the version of the dll "Microsoft.VisualStudio.TestTools.UITest.Extension" and its 11.0.
Any pointers or help would be really appreciated.Hi singhguru87,
Thanks for posting in the MSDN forum.
>>If I create a new solution and a project and record and play back, it works fine.
>>But when I try to add a new Coded UI project to an existing solution and try to the record and play back, the play back fails...
The real issue is that whether there are other projects in your existing solution, if so, how about unloading the other projects one by one? So we could know that whether other projects impact this coded UI test project.
Or you could take a backup for your solution , and then copy other projects from existing one to your new solution which works well, how about the results?
Please compare the new coded UI test code with the previous new one, do you make sure that they have the same code?
Please also compare the project property like .NET Framework version and Platform target (Any CPU/X86/X64).
If still no help, please collect the detailed coded UI test log, maybe you could get more useful information.
https://msdn.microsoft.com/en-us/library/jj159363.aspx?f=255&MSPPError=-2147217396
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I've just tried building my very 1st CMP bean using Forte4J and deployed it over to an ias6sp3 server. Everything was compiled and deployed successfully but when i try to invoke a finder method, i'm getting a "method not found" error at my KJS log. Any idea why this happens? Thanks.
FYI, im still on EJB1.1
Can anyone pls help?
Thanks in advanced. -
Hi ,
oracle apps version : 11.5.10.2 and database version 11.2.0.2.
OS version Solaris Sparc 64 Bit.
We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
Regards
KkHi ,
D:\Documents and Settings\800045916>java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
Regards
Kk -
I have uploaded my Application which was running fine in other IDE to jdev 10.1.3, when i compile the follwing error error in jsp page.
Error(400,8): method include(java.lang.String, boolean) not found in class javax.servlet.jsp.PageContext
My jsp code where error is shown is
<jsp:include page="querySections/generation.jsp" flush="true">
<jsp:param name="TSN" value="<%=strParamValue[1]%>"/>
<jsp:param name="SectionID" value="<%=String.valueOf(lngSectionID)%>"/>
</jsp:include>
pl help me in solving this its urgent...
Thanks & Regards
LakshmiHi,
code snippet looks okay and is identical with what JDeveloper generates.
Frank -
Tomcat error: "method not found"
I'm starting a new thread because the issue is method not found.
So kindly bear with me.
I'm using Tomcat 5 with Javac 1.4.2. I have created a test class
called hellothere. The idea is to call a method from JSP.
package helloworld;
import java.lang.*;
public class hellothere {
public String sayworld()
String st="hello from hellothere";
return st;
public int returnint()
return 1;
And the jsp looks like:
<%@ page import="helloworld.*" %>
<html>
<head>
<title> hello there </title>
<body>
<%
hellothere h=new hellothere();
String st2=h.sayworld();
out.println(st2);
out.println(h.returnint());
%>
</body>
</html>
The error I get is:
method not found helloworld.hellothere.sayworld()Ljava/lang/String;
blah blah
When I call the returnint after commenting sayworld I get the same error, i.e. method returnint not defined.
Does anyone know what's going on?
ThanksMake sure that there is only one version of the class
file on your system. Then check spelling and
capitalization of the method names.
You are not trying to run this from an IDE are you?No. I was using Tomcat 5. I don't see this problem with Tomcat 4.
Thanks -
Error of method not found in C# class in VS 2013 on win7
I am changing a C# code in a solution (it has many files and projets) from VS 2013 on win 7.
I added some properties in class1. It was built well.
But, it has run-time error:
Method not found : class1.set_p1(system.string)
The code logic is as follows:
public class class1
public string p1 {get; set;} // **have updated**
class1 is defined in a C# project that has been added in the solution.
public abstract class class2 : class1
class2 ins2;
ins2.p1 = myData.order.data_file; // myData is from an xml file after deserialize and serialize, data_file is a file path.
I have cleaned up the solution before building. I have also search the error online but none of them can solve my problems.
Any help would be appreciated.Check your dependencies in your projects. I understand the project was added to the solution but was it also added to the projects that will be 1. implementing/inheriting types from that project and 2. consuming types from that project
Check your name spaces to make sure that the type class1 is not also defined in another namespace in that or even a different project. In that case class1 might not have that property available because its pointing to the wrong type.
If that does not solve your problem it would be helpful to include.
the fully qualified namespaces of the types in your type hierarchy that are giving you the problem
the full calling code, the sample above is not correct in syntax.
the project dependencies for the code in question and where the types are located in each project
Mark as answer or vote as helpful if you find it useful | Igor
Maybe you are looking for
-
Report Error Message in BPM Alert?
Hi, I designed a BPM with a transformation step and a send step. For each step I have an exception branch where I want to trigger an alert, when something goes wrong. I already configured in TC ALRTCATDEF an alert category (Dynamic Text activated). A
-
Leopard lost my external HD, how to boot from Tiger
When I upgraded (?) to Panther, it wanted to do a backup to my external HD, but it was going to be to large, so I told it not to. The next day when I started up, I typed in the password to my external HD and got a window saying Device not found. I ha
-
hi i am trying to create new legal entity but ended up with the following error: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-12535: TNS:operation timed out in Package xle_legal_address_swi Procedure create_legal_address
-
Do special charaters in address title pose issue with published pages?
I have published my site to michaelblatchford.com. All the pages work properly except for my Resumé page. When the link to the Resumé page is followed from any other page, I get the Server Error 404: File not Found. I went and changed my Resumé to Re
-
Hi Guys, I am trying to create a report that shows a PO that is generated from an SO using the Procurement Document function in the Logistics tab of a Sales Order. I believe that the tables I require are OPOR, POR1, ORDR, RDR1, with the required fiel