Method not found: 'Int32 Microsoft.VisualStudio.TestTools.UITest.Extension.UITestUtilities.get_IEVersion()'.

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.

Similar Messages

  • MSTest Coded UI Test Could not load file or assembly Microsoft.VisualStudio.TestTools.UITesting

    Hi,
    I have created some Coded UI Tests in a Test Project using Visual Studio Premium 2013 (Version 12.0.30723.00 Update 3).
    Those Coded UI tests run just fine when I run them from inside Visual Studio (Go to Test Explorer and hit Run).
    However If I try to run them using MSTest.exe or VSTest.Console.exe I am not able to.
    When I run the tests using MSTest I get the following error:
    Loading CodedUITests.dll...
    CodedUITests.dll
    Unable to load the test container 'CodedUITests.dll' or one of its dependencies.
     Error details: System.IO.FileNotFoundException: Could not load file or assembly
     'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0, Culture=neutral,
     PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
    find the file specified.
    If I run them using VSTest.Console.exe I get the following error:
    Starting test execution, please wait...
    Warning: Unable to load types from the test source 'C:\PathToTestProject\bin\Debug\CodedUITests.dll'.
    Some or all of the tests in this source may not be discovered. If you are running unit tests for Windows Store apps and referencing custom WinMD type then please visit
    http://go.microsoft.com/fwlink/?LinkId=238340 for more info. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..
    Warning: No test is available in CodedUITests.dll. Make sure that installed test
     discoverers & executors, platform & framework version settings are appropriate
    and try again.
    I try to find this issue online and was not able to find anyone with a similar problem.I am not sure if there is something corrupted with my VS
    instalation that may be causing this problem.
    Could someone help me with this?
    Thanks!
    Brazeta
    PS: This path "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies" exists in the machine where I have VS and where I am executing the MSTest command. This path contains all the Microsoft test assemblies, including "Microsoft.VisualStudio.TestTools.UITesting.dll"

    Hi Edward
    >> Do you mean that Coded UI tests run fine in VS, but failed with MSTest?
    Yes, that is exactly the case!
    >>Before you run with MSTest, have you changed the Coded UI project?
    No. In Visual Studio I can run the Coded UITests by going to Text Explorer and click the run button. Without changing anything else, if I try to run them in using mstest or vstest.console I am not able to
    >>Did you change the project after you run in vs?
    No. The project did not change at all
    >> Could you share us the MSTest command?
    I run the commands in "Developer Command Prompt fro VS2012". the commands are:
    MSTEST:
    mstest /testcontainer:CodedUITests.dll
    Microsoft (R) Test Execution Command Line Tool Version 11.0.50727.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading CodedUITests.dll...
    CodedUITests.dll
    Unable to load the test container 'CodedUITests.dll' or one of its dependencies.
     Error details: System.IO.FileNotFoundException: Could not load file or assembly
     'Microsoft.VisualStudio.TestTools.UITesting, Version=12.0.0.0, Culture=neutral,
     PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannotfind the file specified.
    VSTEST.CONSOLE
    vstest.console CodedUITests.dll
    Microsoft (R) Test Execution Command Line Tool Version 11.0.60315.1
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Starting test execution, please wait...
    Warning: Unable to load types from the test source 'C:\MyProjects\CodedUITests\bin\Debug\CodedUITests.dll'.
    Some or all of the tests in this source may not be discovered.
    If you are running unit tests for Windows Store apps and referencing custom WinMD type then please visit
    http://go.microsoft.com/fwlink/?LinkId=238340 for more info.
    Error details: System.IO.FileNotFoundException:
    Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting,
    Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
    The system cannot find the file specified..
    Warning: No test is available in CodedUITests.dll. Make sure that installed test
     discoverers & executors, platform & framework version settings are appropriate
    and try again.
    Information: Additionally, you can try specifying '/UseVsixExtensions' command i
    f the test discoverer & executor is installed on the machine as vsix extensions
    and your installation supports vsix extensions. Example: vstest.console.exe myTe
    sts.dll /UseVsixExtensions:true
    >>Have you set the platform (x64 or x32) in your test? If so, I think you could refer the link below:
    The selected platform is AnyCPU
    >>Was your UITesting in another dll? If so, you could refer the link below:
    The tests are all in the CodedUITests dll. All tests were created inside a test project (called CodedUITests, they run ok if I execute them in VS but the show the abouve error if I run them using the Developer Command Prompt for VS2012).
    I didn´t mention this before but I DO NOT have test controller and test agents installed in my PC! I just have Visual Studio installed (not 100% sure if I need the agent to run the UI Tests in the same PC where I have VS installed).
    I hope this information may be usefull,
    Best Regards,
    José Brazeta
    PS:
    I just try to create a very simple UI Test in another PC where I have Visual Studio 2013 Ultimate (Versio12.0.30723.00 Update 3).
    Using VS I created a new Solution with just 1 project (Coded UI Test Project) and recorded a very simple test (on IE and at the google page search for Coded UI Test and hit the search button).
    After compiling the Coded UI Test project in VS I can see the test in Test Explorer and If I run the test it all goes ok.
    Using the Developer Command Prompt for VS2012 if I navigate the the "Debug" folder of my project none of the following scripts will work:
    mstest /testcontainer:CodedUITestProject1.dll
    vstest.console CodedUITestProject1.dll
    I get the same error that I show in the bigining of this post.

  • Method not found: 'Void Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.set_DataCacheServiceAccountType('...

    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

  • SQL Server Setup failure.SQL Server Setup has encountered the following error: Method not found: 'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()'.. ----------

    Hi Team,
    Earlier i had SQL Server 2008 R2 on my Machine. For one work around i unistall SQL Server 2008 R2 and Trying to install SQL Server 2008 but i am not able to install with below error:
    TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    Method not found: 'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()'..
    Thanks

    Hi Lydia,
    i have followed the above step and i am able to proceed further but while installation i am getting the below error consistently.
    TITLE: Microsoft SQL Server 2008 Setup
    The following error has occurred:
    Locating the SQL Server Browser service component failed with Windows Installer return code '2'. The component ID: '{2E86FD41-C179-456E-8E6A-5157ED427228}'.
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22&EvtType=0x8510C01B%25400x31BA4472%25401222%254052007
    BUTTONS:
    &Retry
    Cancel
    2: 
    TITLE: Microsoft SQL Server 2008 Setup
    The following error has occurred:
    SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Retrieving full path to the SQL Server Browser service executable using Windows Installer
    API for the SQL Server Browser component with ID '{2E86FD41-C179-456E-8E6A-5157ED427228}'..
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22&EvtType=0x8510C01B%25400x31BA4472%25401222%254052007
    BUTTONS:
    OK
    After ignoring these step..installation getting complete but ..at the end i am not able to connect to server.
    Could you please help me on this.
    Thanks,
    Sumit

  • SQL Server Setup has encountered the following error: Method not found:'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()

    Hello,
    When I am installing SQL Server 2008 on win7, I encountered an error: SQL Server Setup has encountered the following error: Method not found:'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()‘
    What's the metter? What can I do to deal with it? 
    I need your speed answers.
    Thanks,
    Vicky Song

    Hello,
    Looking at your issue I am wondering if your media is corrupt. 
    What edition of SQL Server you are trying to install? Did you download that media? 
    If you downloaded it, perhaps you should try to download it again.
    Are you able to install that SQL Server 2008 on another machine without any problem?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Unable to cast object of type 'Microsoft.VisualStudio.TestTools.UITesting.UITestControl' to type 'Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinComboBox'.

    Hi,
    I used to cast the UITestControl to WinComboBox in CodedUI Test and it throws the Invalid Cast Exception
    Here is my code snippet:
    in this code, CalcButtonNew() method return UITestControl object and i am trying to cast it to WinComboBox.
    Thanks in Advance,
    Selvaraj C
    Selvaraj

    Hi Selvaraj,
    According to your description, could you please tell me why you want to cast it to WinComboBox?
    Could you please tell me where you hand code for the cast it to WinComboBox, is it in the UIMap.Designer.cs file or other .cs file?
    In addition, as you said that since the CalcButtonNew() method return UITestControl object. Now, you are trying to use the CalcButtonNew() method return WinComboBox object.
    I doubt that you may be not cast UITestControl to WinComboBox successfully by handing code.
    Since when we playback the UI action by the hierarchy to search the UI Map Control object in coded UI test. If the CalcButtonNew() method reture object is UITestControl, but you want to cast the UITestControl object directly to WinComboBox object. The
    CalcButtonNew() method will not search the WinComboBox control directly by the searchproperties so that you will not cast ITestControlto WinComboBox successfully.
    If I misunderstanding your issue, please tell me more detail information about your issue.
    If possible, I suggest you can share me your sample about your issue.
    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.

  • Method not found when displaying report in viewer CR Basic for VS 2008

    I searched and couldn't find anything regarding this.  When I try to display a report in the CrystalReportViewer, I get the following error message:
    method not found: 'Void CrystalDecisions.Shared.PageRender.set_ExceptionWindowTitle(System.String)'
    If I call PrintToPrinter for the report, it prints exactly as expected with no errors.  The report viewer control is on a separate generic form (since I have many different reports) and the report is passed to that form after it has been generated.
    I can't find any information regarding this error either on these support forums, or anywhere else on the internet.  I've tried installing the latest service pack and also removing and re-adding teh crystal reports references to my project without any change.
    Thanks for any help you can provide.

    Ok, I tried a completely fresh install of Visual Studio 2008 on a brand new Windows XP machine, same result.  I tried to do this on another developer's machine (who also has Visual Studio 2008 Professional), which resulted in this error when trying to load the ReportViewer (sorry for the long text).  It mentions something about redirecting to version 12 of crystal reports in the error message, which is strange because my project references 10.5, and I don't have crystal reports 12, which as I understand is the full retail version of Crystal reports 2008.  Any ideas?
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in ICE.exe
    System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>ICE.exe</AppDomain><Exception><ExceptionType>System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.</Message><StackTrace> at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs) in C:\_ICEDOTNET\ICE\Forms\frmPO.vb:line 2545
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81</StackTrace><ExceptionString>System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---&amp;gt; System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    === Pre-bind state information ===
    LOG: User = SAGENET\aingraham
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/_ICEDOTNET/ICE/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ICE, Version=1.0.0.40, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\_ICEDOTNET\ICE\bin\Debug\ICE.exe.Config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Redirect found in application configuration file: 10.5.3700.0 redirected to 12.0.2000.0.
    LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.EXE.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
    at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs) in C:\_ICEDOTNET\ICE\Forms\frmPO.vb:line 2545
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
    </ExceptionString><InnerException><ExceptionType>System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.</Message><StackTrace> at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args)
    </StackTrace><ExceptionString>System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    === Pre-bind state information ===
    LOG: User = SAGENET\aingraham
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/_ICEDOTNET/ICE/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ICE, Version=1.0.0.40, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\_ICEDOTNET\ICE\bin\Debug\ICE.exe.Config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Redirect found in application configuration file: 10.5.3700.0 redirected to 12.0.2000.0.
    LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.EXE.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
    </ExceptionString></InnerException></Exception></TraceRecord>

  • 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?

  • In VS 2012 , ReportClass.Export(Exportoptions) throwing Exception "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'".

    Hi  Team,
    Problem : we are getting below exception on vs-2012  "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'"
    Could you please help me why we are getting this Error?
    Note : Im not using  Exportstream method , just using only Export method (refer code sample) for exporting Crystal report.
    EnvironMent Details :
    Crystal Report Version : CRforVS_13_0_5.exe
    (SAP Crystal Reports runtime engine for >net Framework (64-bit)
    SAP crystal Reports ,version for Microsoft Visual studio)
    OS -Windows 7 -64 BIT
    RAM : 16 GB
    code where i Got the Exception
                   dfdoFile.DiskFileName = Path.Combine(reportPath, reportFileName);
                    expOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                    expOptions.ExportFormatType = ExportFormatType.CrystalReport;
                    expOptions.DestinationOptions = dfdoFile;
                    objReport.Export(expOptions);
    below is stack trace :
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
       at Medtech.BaseObjects.Report.CreatePDF(ReportClass objReport, DataView objRptDataView, String printerName, PrinterPaperOrientation
    i have attached Screenshot for your reference ,

    Hi Sandeep
    You are using Service Pack 5 (Crystal Report Version : CRforVS_13_0_5.exe). I'd like you to update your install to SP 13:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    and test.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
      Follow me on Twitter

  • 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.

  • Extension function error:  Method not found 'round'

    Hi
    In an RTF Template I'm including one of the following expression in a field:
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', xdoxslt:round(LOT_NET_SALES_VALUE))?>
    or
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', round(LOT_NET_SALES_VALUE))?>
    Preview from BI Publisher Template Builder for Word 10.1.3.3.3 works fine.
    But when I run the report from eBS, which has XML Publisher 5.6.3, the concurrent finishes in error with the following message:
    Post-processing of request 8058734 failed at 11-JUL-2009 19:26:41 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Checked the OPP Log at and got the following stack:
    [7/11/09 10:26:41 PM] [UNEXPECTED] [204214:RT8058734] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'round'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 18 more
    Why doesn't it recognize 'round' as a valid function?
    XML Pub v5.6.3 lists "round" as one of xsl functions.
    Any idea or workaround?
    Thanks in advance.
    David

    Any solution for the above problem?
    O.

  • F110 Auto. payment program ..Problem payment method not found

    Hi,
    I done the configuration for automatic payment program.with payment method c.
    when i am running the program the proposal is created but it is with a error saying no valid payment method found.
    Please guide me.
    Thanks
    Micheal

    I had given the payment method C in vendor master,Payment methods in country and payment methods in company code,Bank determination in FBZP.
    I am getting the same problem.Payment method not found.Please find the error list
    Information re. vendor 1900107 / customer  / paying company code 100 ...
    Payment with currency USD, payment method C: No valid payment procedure
    Information re. vendor 1900107 / paying company code 100 ...
    ... payment not possible because of reported error
    End of log
    Job finished
    Thanks and best regads
    Micheal

  • XML-22043: (Error) Extension function error: Method not found 'getDtformat'

    Hi,
    We are using a custom made function for formatting date in the XSL transformation. This jar file has been kept under the domain_name/lib folder, and it is working as expected in our Windows environment. However when I tried to deploy it in Linux environment, it is giving the error XML-22043: (Error) Extension function error: Method not found 'getDtformat' (Full stack trace attached below)
    Appreciate your help!
    Regards,
    Ebrahim Badusha.
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'>
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <
    javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'
    at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)
    at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:240)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:320)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:220)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.perform(BPEL2FromToOperationPerformer.java:55)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:69)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
    at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:103)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:145)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy316.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.callCreateAndInvoke(DeliveryHandler.java:790)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:487)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:162)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.request(CubeDeliveryBean.java:493)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy312.request(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:380)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1281)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Edited by: Ebrahim Badusha on Oct 21, 2011 12:42 PM

    Any solution for the above problem?
    O.

  • 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?
    Thanks

    Make 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

Maybe you are looking for

  • How to get the Survey result with a External Provider

    Hi all We have an scenario where we create a Survey and it's executed for a third party, and then they send to us the results for example in a excel sheet. Some know how we can upload the survey results per each client into CRM, Best Regards.

  • Help reqd on MM data uploading thru LSMW by view steps...

    Hi all.... Pls understand my requirement and post ur replies...i dont need the basic LSMW learning steps for MM,Vendor etc.,like that... My problem is...im want to upload my material master datas by steps like 1st i want to uplaod the basic views 1&2

  • Filter problem

    Hi, I hava a table with on the selection facet a af:SelectOneChoice to apply filters. This is working fine, but when there are now rows in the table then af:SelectOneChoice is not rendered. How Can I set that it must always be rendered? I first thoug

  • Nokia N8 HDMI Question

    i plugged my fone in to my hdtv and when ever the wire moves the fone will loose its hdmi connection. is this a problem with the HDMI port on my fone?

  • Patch 11.1.0.6.0 to 11.1.0.7.0

    Hello, i can't find an patch-File to get from the.6 Version to the .7 Version. My exact Version is: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production PL/SQL Release 11.1.0.6.0 - Production "CORE     11.1.0.6.0     Productio