Win32Exception, Error creating window handle

Stack Trace: at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.TextBoxBase.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.TabControl.UpdateTabSelection(Boolean updateFocus)
   at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.TabControl.WmSelChange()
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.Control.WmNotify(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr 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 NetEase.YW.MH.MH_oic.Program.Main()
Error Code:-2147467259, Inner Error Code:8
Source:System.Windows.Forms
I read several posts online about this, but all suggested fixes didnt seem to fix the problem.
At first I though it was a memory issue but there is plenty of available memory, then i started to think that im runing out of handles or topping the GDI Objects max number that seems to be 500 per process(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows)
but when i go to process explorer (or task manager) and select to view the GDI Object Count and # of Handles it doesnt seem to be huge.
I noticed that my application throws that error when the GDI Count goes over 500, but i see VS2010 with bigger number yet its running fine.
Does anybody have any suggestions what could be causing this?
If you had a similar experiece i could really use some hints.
Thanks alot.

Originally, no lock in my code, I add lock at using TabControl
because of this error ,
but it didn't work. 
The one that created them in callback of Receive event.
private void DataRequest_Receive(DataRequest dataRequest, Data data)
MethodInvoker wrapper = new MethodInvoker(delegate
TabPage tp;
ListViewPlus lv;
lock (tabControl2)
if (!tabControl2.TabPages.ContainsKey(data.TabPage))
tp = new TabPage(data.TabPage) { Name = data.TabPage, Tag = dataRequest };
tabControl2.Controls.Add(tp);
tabControl2.SelectedTab = tp;
lv = new ListViewPlus
Name = "dataLV",
Dock = DockStyle.Fill,
View = View.Details,
Scrollable = true,
FullRowSelect = true,
GridLines = true,
lv.Columns.Add("type");
lv.Columns.Add("data");
lv.Visible = true;
tp.Controls.Add(lv);
else
tp = tabControl2.TabPages[data.TabPage];
lv = tp.Controls["dataLV"] as ListViewPlus;
if (lv == null)
return;
lv.BeginUpdate();
lv.Items.Clear();
foreach (var line in data.LvData)
ListViewItem lvi = new ListViewItem(line);
lv.Items.Add(lvi);
lv.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
lv.EndUpdate();
if (InvokeRequired)
Invoke(wrapper);
else
wrapper();

Similar Messages

  • Error creating window handle and out of memory

    Hello everyone !
    I am having a .Net Windows application (VB.Net) that creates a lot of reports (the same report document for different clients and dates) for exporting them to PDF.
    While the first 75 reports are performed well the 76th report causes an error while creating the window handle and I get an out of memory error as well.
    Searching this forum and the internet I tried a lot of things to get this problem solved:
    - closing, disposing any report as well as setting it to nothing after exporting it to disk (also doing this for used dataset and datatable)
    - doing a single report operation in an own class that is set to nothing immediately after use
    - using garbage collector (methods: "Collect" and "WaitForPendingFinalizers")
    - defining the report, used dataset and datable within "using .. end using" blocks
    - take a single report object for all exports (implemented as singleton)
    - using a background thread to handle report and operation on it
    - changing registry entry "PrintJobLimit" to an higher value as well as to -1
    But none of my tries helped me so far, it's always the 76th report that collapses.
    Interesting thing: Exporting as PDF is not needed for causing the error (switched this off for all reports to test any difference).
    My system:
    - Visual Studio 2008 and .Net 3.5 Service Pack 1
    - Crystal Reports Basic for Visual Studio 2008 Service Pack 1
    Any help is appreciated.
    Thank You very much,
    M.Deister
    Edited by: M.Deister on Sep 20, 2011 2:17 PM

    Hello,
    Saving the report as RPT doesn't save the data which is why it's failing to log on, you have to export it to RPT format, then use that in your test.
    Also, I assume you are using the Report Engine. Try using InProc RAS to load and run the report.
    Just a few lines of code change is all it needs.
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.ReportAppServer.CommonControls;
    using CrystalDecisions.ReportAppServer.CommLayer;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.ObjectFactory;
    using CrystalDecisions.ReportAppServer.DataSetConversion;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportSource;
    using CrystalDecisions.Windows.Forms;
         public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
    private void btnOpenReport_Click(object sender, System.EventArgs e)
        rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument(); // ReportClientDocumentClass();
        openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
        //openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
        openFileDialog.FilterIndex = 1;
        //rptClientDoc.MinorVersion();
         if (openFileDialog.ShowDialog() == DialogResult.OK)
              object rptName = openFileDialog.FileName;
            try
                rpt.Load(rptName.ToString(), OpenReportMethod.OpenReportByTempCopy);
                rptClientDoc = rpt.ReportClientDocument;
                btnReportName.Text = rptName.ToString();
                //btnReportName.Text = rptClientDoc.DisplayName.ToString();
            catch (Exception ex)
                MessageBox.Show("ERROR: " + ex.Message);
                return;
            rptClientDoc = rpt.ReportClientDocument;
    Don

  • View not copied or enhanced with wizard Error while creating Event Handler method in Z Component

    Hello Friends,
    In one Z Component (Custom Component), in one of the views, while creating event handler, it gave me error message that view not copied or enhanced with wizard.
    I am aware that in Standard Component, if we want to create the event handler method then we need to first Enhance the Component and then we need to enhance the view.
    But, in the Z Component (Custom Component), how to create event handler method in one of the views as while creating event handler method i am getting view not copied or enhanced with wizard error.

    Hi,
    Add a method in views impl class with naming convention eh_on__* with htmt and html_ex parameters.  I dont have have the system right now. Please check any existing event import export parameters.
    Check out do handle event method in the same class.
    Redefine that method.  Call that event method in this handle method. See existing code for reference.
    Attach that event to the button on click event in .htm page.
    Regards,
    Bhushan

  • Why i'm getting exception InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created ?

    I have a backgroundworker1 dowork event and inside:
    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
    BackgroundWorker bgw = (BackgroundWorker)sender;
    if (bgw.CancellationPending == true)
    return;
    else
    this.BeginInvoke(new MethodInvoker(delegate
    timer1.Stop();
    Button1Code();
    timer1.Start();
    trackBar2.Enabled = false;
    trackBar1.Enabled = false;
    while (true)
    bitmaps = ImagesComparison.get_images_with_clouds(b1);
    for (int i = 0; i < bitmaps.Length; i++)
    ConvertTo1or8Bit.BitmapToGIF(bitmaps[i], @"c:\convertedgifs\" + i.ToString("D6") + ".gif");
    break;
    The exception is on the BeginInvoke part.
    In the last few days i was running the program many times and i didn't have this exception even once.
    And now every times i'm running it i'm getting the exception.
    System.InvalidOperationException was unhandled by user code
    HResult=-2146233079
    Message=Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    Source=System.Windows.Forms
    StackTrace:
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
    at System.Windows.Forms.Control.BeginInvoke(Delegate method)
    at mws.ScanningClouds.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ScanningClouds.cs:line 715
    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    InnerException:
    Line 715 is: this.BeginInvoke(new MethodInvoker(delegate

    Where are you starting the background worker from?  Possibly the constructor of the form?
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • Error in creating windows 8.1 VMs from templates

    hello experts,
    I have created a template on  Windows 8.1 on SCVMM 2012 R2 (OS:Windows Server 2012) ,Now am try to create a Windows 8.1 VM on another Hyper-v Host where Windows Server 2012 r2 is installed but creation has got failed with error in job list :
    Error (2915)
    The Windows Remote Management (WS-Management) service cannot process the request. The object was not found on the server (hyper-v host name .com).
    WinRM: URL: [http://hyper-v host name.com:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/virtualization/v2/Scvmm_EthernetSwitchPortInternalSettingData?InstanceID=Microsoft:Definition\1f59a509-a6ba-4aba-8504-b29d542d44bb\Default]
    Unknown error (0x80338000)
    Recommended Action
    Ensure that the VMM agent is installed and running. If the error persists, restart the virtualization server (hypr-v host name.com) and then try the operation again. 
    This error can also happen due to an older version of the VMM agent on the virtualization server. Ensure that the VMM agent is upgraded to the latest version, and then try the operation again.
    please help me to resolved the issues and use created windows 8.1 templates for deploy VMs on Windows server 2012 r2 Hyper-V host.
    Regards
    Richa KM

    I am running with an idea here that the key is here:  Scvmm_EthernetSwitchPortInternalSettingData
    Your virtual port profile.  You are defining a setting that does not exist.  (I am guessing at this since the only thing is an error message).
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • Wine (error x create window)

    After on of the updates I noticed that the wine doesn't run any games. Meanwhile, almost all programs (with rare exceptions) work perfectly.
    This error occurs when the game tryes to draw its window, with the wine gives the corresponding error. Something like "x create window error"
    First time I noticed that some months ago. Since those time I tryed to reinstall wine, remove .wine, and even reinstall system (not because of wine). No one of these things does not help.

    Can you post your system info under the help menu?
    Give any more details on what you are doing before it happens?

  • Fit Image CS4: Error: Unable to create Window - OS error [1400]:210

    Hi there,
    I'm running Vista Ultimate 64 bit Photoshop CS4 Extended and have come across a problem with the Automate/Fit Image script. I have read the other posts here concerning a bug in the script, but I'm not even getting to the stage of the script giving me any options to run - I just get the following in a Script Alert message box: Fit Image CS4: Error: Unable to create Window - OS error [1400]:210
    I can see that the script is in the Presets/Scripts directory OK. Anyone with any ideas please?

    Thanks for that reply. I tried this again and it's working now. The only thing I can think of is that I have closed and opened Photoshop a number of times since having the problem and that may have fixed it.
    I find that if I am doing a lot of work in quick mask mode on large images with the pen tool, after a while, Photoshop starts to develop a very significant lag time, taking a number of seconds to draw the next point or respond to the tool (I'm on Vista 64 bit with 12 GBs of RAM, so it shouldn't be RAM, GeForce 8800 GTS video card 640MB dedicated video memory). I find that I have to frequently close Photoshop to get the tool response time back to normal. Perhaps the inability to draw a dialog box was somehow linked with this kind of problem....

  • After Effects error:creating resource file on Windows

    Hi
    I have a problem with a set of plugins we are developing. We have about 20 different plugins. But after I apply the 10th plugin, it gives the following error on Windows only (CS6):
    After Effects error:creating resource file "....aex" ( 3 :: 0 )
    I can have as many instances of the same plugin but once I have a total of 10 different then this error always comes up
    One thing that is being enabled in the plugin is this flag:
    PF_OutFlag_KEEP_RESOURCE_OPEN
    Is this the culprit?
    Thanks in advance
    DonJ

    I still think it is a permissions/ user privileges/ policies/ security issue - if it runs on one account, it is unlikely the plug-in is damaged or you installed the 32bit version in CS5 or vice versa. I strongly suspect the plug-in is unable to probe your graphics card and thus never initializes. Perhaps it's being blocked by some security tool or your user account doesn't have the permissions to load system drivers. The latter can be fixed by changing the respective entry in your group policy editor (gpedit.msc). The respective point would be in Computerkonfiguration --> Windows-Einstellungen --> Sicherheitseinstellungen --> Lokale Richtlinien --> Zuweisen von Benutzerrechetn --> Laden und Entfernen von Gerätetreibern. And of course temporarily turn off security stuff to verify it's not the problem.
    Mylenium

  • Windows Error: 0x80070006 - The handle is invalid

    Hi community
    I set up a new App-V server App-V 5.0 SP1 including
    Management, Publishing and Reporting Server. Additionally I installed HF04
    (KB2940354) on it.
    I published an App-V package for Domain Computers.
    On the other side I've a RDS App-V Client with
    App-V 5.0 SP2 incl. HF02 (KB2934349). The RDS Client is configured via GPO and I verified that the settings are now correct.
    If I try to synchronize from RDS Client manually I get following output in Power Shell:
    PS C:\Users\<username>> Sync-AppvPublishingServer
    cmdlet Sync-AppvPublishingServer at command pipeline position 1
    Supply values for the following parameters:
    ServerId: 1
    Sync-AppvPublishingServer : Application Virtualization Service failed to complete requested operation.
    Operation attempted: RefreshPublishingServer.
    Windows Error: 0x80070006 - The handle is invalid
    Error module: Publishing. Internal error detail: 45500D2780070006.
    Please consult AppV Client Event Log for more details.
    At line:1 char:1
    + Sync-AppvPublishingServer
    + ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidResult: (:) [Sync-AppvPublishingServer], ClientException
        + FullyQualifiedErrorId : RefreshPublishingServerError,Microsoft.AppV.AppvClientPowerShell.SyncAppvPublishingServer
    In App-V Eventlog on the RDS Client there are 2 Events resulting my manual action:
    1. Event ID 19203
    HttpRequest sendRequest failed.
    URL: http://<URL>:82 /
    Error code: 0x45500D27 - 0x80070006
    2. Event ID 10102
    Getting server publishing data failed.
    URL: http://<URL>:82 /
    Error code: 0x45500D27 - 0x8007000
    Who can help me out here?

    Hi Steve
    Meanwhile I found out that everything runs fine if I implement App-V Client settings manually on the RDS Client instead of populating with GPO. I use the same GPO settings like in our development environment where everything runs good.
    Here the desired output (anonymized):
    PS C:\Users\<user>> Get-AppvPublishingServer
    Id                     
    : 1
    SetByGroupPolicy        : True
    Name                   
    : <Name>
    URL                    
    : http://<FQDN>:82
    GlobalRefreshEnabled    : True
    GlobalRefreshOnLogon    : True
    GlobalRefreshInterval   : 1
    GlobalRefreshIntervalUnit                          
    : Hour
    UserRefreshEnabled      : False
    UserRefreshOnLogon      : False
    UserRefreshInterval     : 1
    UserRefreshIntervalUnit : Hour
    PS C:\Users\<user>> Get-AppvClientConfiguration
    Name                   
    Value                      
    SetByGroupPolicy
    PackageInstallationRoot D:\App-V\InstallationRoot  
    True
    PackageSourceRoot       False
    LocationProvider        False
    AutoLoad               
    2                          
    True
    EnablePackageScripts    1                          
    True
    ReestablishmentInterval 5                          
    False
    ReestablishmentRetries  3                          
    False
    CertFilterForClientSsl  LOCAL_MACHINE\MY\1.3.6.1.5.5.7.3.2 
    False
    VerifyCertificateRevocationList                    
    1 False
    SharedContentStoreMode  0                          
    False
    MigrationMode          
    0                          
    False
    RoamingFileExclusions   False
    RoamingRegistryExclusions                          
    SOFTWARE\CLASSES    False
    AllowHighCostLaunch     0                          
    False
    PackageStoreAccessControl                          
    0 False
    IntegrationRootUser     %localappdata%\Microsoft\AppV\Client...  
    True
    IntegrationRootGlobal   D:\App-V\RootGlobal        
    True
    VirtualizableExtensions exe,com,bat,cmd,vbs,ps1,cpl,jar,wsf,...  
    False
    IgnoreLocationProvider  0                          
    False
    ReportingEnabled        0                          
    False
    ReportingStartTime      False
    ReportingRandomDelay    False
    ReportingInterval       False
    ReportingServerURL      False
    ReportingDataCacheLimit False
    ReportingDataBlockSize  False
    ExperienceImprovementOptIn                         
    0 True
    EnablePublishingRefreshUI                          
    0 False
    ProcessesUsingVirtualComponents                    
    {%SystemRoot%\explorer.exe, %Program...                       
    False
    EnableDynamicVirtualization                        
    1 False

  • My photomerge not responding and there is an error that says error 1: unable to create window.

    photomerge not responding and there is an error that says error 1: unable to create windows. Internal error. line 364. var w = new windows (res)
    Any help is highly appreciated.
    The problem was solve by installing my PhotoShop Elements 9.  I don't know why.
    Ray

    Signing in with a new ID creates a new iCloud account.  However, each device is limited in the number of iCloud accounts that it is allowed to create.  Once you reach that limit, you cannot create another account.  All you can do is re-use one of the accounts previously created, or create a new account to use on another iOS device or Mac (running OS X Lion or higher), if you have one.

  • Create Window Error

    Hi,
    Sometimes I get this error message:
    "Error 1 : Unable to create Window - OS Error : [1400]".
    Photoshop cannot create a panel and I have this error message with all the scripts, but it works after having restarted Photoshop.
    Do you know why ?
    Thanks

    Can you post your system info under the help menu?
    Give any more details on what you are doing before it happens?

  • Error creating IP directory, probably because of invalid windows folder

     
    Hi all,
    after doing just one of the first steps of the first tutorial for my zynq eval board - I invoked a zynq processing system ip core - I already got an error message:
    [IP_Flow 19-1671] Failed to create IP instance 'aximm_temp'. Error creating IP directory 'c:/Users/franl/AppData/Roaming/Xilinx/Vivado/.Xil/Vivado-5680-franl-??/coregen/aximm_temp'.
    Beware the two question marks in the path name. Unfortunately I haven't found anything similar on the internet or in a forum. Neither did I find a way to get rid of the question marks. Has anybody a solution for that?
    Best regards, Frank

    Hi everybody,
    finally I've solved the problem: Xilinx seems to create a temp file folder that contains the name of the computer. The name of my computer contains latin and cyrillic characters: frank-пк. Vivado replaced the cyrillic characters with questionmarks: frank-?? and tries to create a folder with that name, which of course is impossible on windows machines. After changing the name of my computer to "frank" everything was ok.
    Thanks anyways for the help!
    Best regards,
        Frank

  • Error : CONFIRMATION window is already open

    Hello,
    I have a sceanrio where i have to open a same dynpro application with different set of  values. Let say I have service order with 2 operation. User can do confirmation against these operations. List of service orders are displayed in ALV list. once user selects a service order  and clicks on enter confirmation. once he completes confirmation against operation, he gets op up info as service is order is confirmed.
    on Ok button clock of this pop up , i need to search if there is another operation availale in this service order then display the next operation details in the current window else window should be closed.
    here i am using lr_window = l_window_manager->create_window(
                WINDOW_NAME = 'CONFIRMATION'
    lr_window->open( ).
    but its giving me error , CONFIRMATION window is already open.
    Pl suggest how to do this.
    thanks,
    Sharada

    Hi Sharada
    there is no need to open window second time.
    CREATE WINDOW
    OPEN WINDOW
    View in window POP is now active and remains active until closed.
    ACTION 1,
    ACTION 1,...
    .... keep using POP window...
    FINALLY
    button for Action CLOSE call method controller to raise event
    CLOSE WINDOW (in caller via method that is controller Event handler)
    regards
    Phil

  • Call Library Function Node produces error in Windows 7

    Hi,
          I've created a simple program using LabVIEW 8.5 that uses calls in winscard.dll to read and write to a Smart Card.  I use Call Library Function Node to call functions in C:\Windows\System32\winscard.dll.  This program works without a problem in Windows XP both within LabVIEW 8.5 and once it is compiled.  I am also able to get this program to run without a problem when I run it in LabVIEW 2011 on a Windows 7 machine.  However, when I run the program compiled with LabVIEW 8.5 on Windows 7, the first call I make to a function in the DLL returns Windows System Error 2 (file not found).  Subsequent calls to other DLL functions return errors about invalid handles, which makes sense. 
    Can I compile the project in LabVIEW 2011 and save it back to a LabVIEW 8.5 compatible project file?
    Thanks,
    Jason Mazzotta

    Bannu wrote:
    Hi All,
    I am also having the similar issue. I have a VI, developed in LV2010 on Windows XP machine with a dll call using "Call Library Function Node".
    It is working fine in all WindowsXP machines but not in Window7 PCs.
    Getting Error when i tried to open in Windows7 machine:
    Error loading "DLL path....". Invalid access to memory location.
    Please let me know how to make this working on both machines [XP and Win7].
    Thanks,
    Soumya
    Way to little information to say anything useful about it. Attach your VI, explain what it should do, explain what the DLL is you try to call! You don't call your mechanicien saying your car doesn't start and expect him to diagnose the problem over the phone either with that much information.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Cannot retrieve teplate structure: Error creating PDF

    Hi,
    I've installed a Composite Form as the start of a process, and when I go to Administration and try to generate the PDF file I get the following error:
    Cannot retrieve teplate structure: Error creating PDF
    When I go to the log, I get this trace:
    Error creating PDF
    com.sap.caf.eu.gp.base.exception.EngineException: Error creating PDF
    at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.createInstanceDocument(FormAdapterMediator.java:462)
    at com.sap.caf.eu.gp.model.forms.preproc.FormPreprocessor.instanciateTemplate(FormPreprocessor.java:1982)
    at com.sap.caf.eu.gp.model.forms.preproc.FormPreprocessor.createImpersonalizedFormInstance(FormPreprocessor.java:1170)
    at com.sap.caf.eu.gp.ui.admin.uforms.UnpersonalizedFormsManager.createNewForm(UnpersonalizedFormsManager.java:888)
    at com.sap.caf.eu.gp.ui.admin.uforms.UnpersonalizedFormsManager.createForm(UnpersonalizedFormsManager.java:457)
    at com.sap.caf.eu.gp.ui.admin.uforms.wdp.InternalUnpersonalizedFormsManager.createForm(InternalUnpersonalizedFormsManager.java:190)
    at com.sap.caf.eu.gp.ui.admin.uforms.CreateUForm.onActionOK(CreateUForm.java:243)
    at com.sap.caf.eu.gp.ui.admin.uforms.wdp.InternalCreateUForm.wdInvokeEventHandler(InternalCreateUForm.java:156)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1395)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1215)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:506)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:526)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:248)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:230)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.caf.eu.gp.model.forms.exceptions.AdapterException: Error creating PDF
    at com.sap.caf.eu.gp.model.forms.exceptionhandling.ExceptionHandler.throwAdapterException(ExceptionHandler.java:851)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeDSFormAdapter.createInstanceDocuments(AdobeDSFormAdapter.java:180)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeAdapter.createInstanceDocument(AdobeAdapter.java:204)
    at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.createInstanceDocument(FormAdapterMediator.java:456)
    ... 70 more
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest...
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentCreationContext.execute(PDFDocumentCreationContext.java:136)
    at com.sap.tc.adobe.pdfdocument.impl.PDFCreationContextImpl.execute(PDFCreationContextImpl.java:90)
    at com.sap.caf.eu.gp.model.forms.adapter.pdf.AdobeDSFormAdapter.createInstanceDocuments(AdobeDSFormAdapter.java:152)
    ... 72 more
    Caused by: com.sap.tc.adobe.pdfobject.core.PDFObjectRuntimeException: Logical Target ConfigPort_Document not mapped to a physical system.
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.invoke(PDFObjectDII.java:349)
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.doSoapCall(PDFObjectDII.java:81)
    at com.sap.tc.adobe.pdfobject.core.PDFObject.render(PDFObject.java:3610)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:152)
    at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
    ... 75 more
    Caused by: com.sap.engine.services.webservices.espbase.discovery.TargetNotMappedException: Logical Target ConfigPort_Document not mapped to a physical system.
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getDSTTemplateForSystem(DestinationsHelperImpl.java:894)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getWSDLUrl(DestinationsHelperImpl.java:397)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:222)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:187)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:175)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:160)
    at com.sap.tc.adobe.pdfobject.core.PDFObjectDII.invoke(PDFObjectDII.java:278)
    ... 79 more

    The address is http://<host>:<port>/inspection.wsil
    It need not be localhost. Any address that's visible to the WAS where you are configuring should work. Make sure to provide the user account and password configured for ADS on the security settings of the destination.
    One other thing I forgot to ask - did you do all the steps requried to configure ADS with CE? If not, please send me your email address and I'll send you the doc.
    Thanks!
    Rao

Maybe you are looking for

  • How do I get my internal camera to connect and turn on?

    My internal camera is not connected and I need to know how to get my camera to turn on.  Thanks for the input.

  • Rotated Images

    When I download a picture to Desktop it transfers the picture to a folder called Rotated Images no matter which ISP I am using. It also happen if I drop an image /picture onto the desktop: it sits there apx 3 seconds then creates a Rotated Images fol

  • How long can a disk repair take?

    I was having a huge kernal panic problem so I upgraded my iMac G4 to Tiger, the crashes increased. Then I updated Tiger via Software Update on 12/2. I haven't made it to a full boot-up yet. Tiger's untilies could not repair the directories so I tried

  • Bapi to set user status of a task

    Hi, I am looking for a bapi or method to set the user status of a task. We have created a status profile for user status and need to set the user status of the task in the dpr_attributes badi based on some conditions. I tried bapi BAPI_BUS2175_SET_ST

  • Blocked Nokia account

    Hi, My Nokia account is blocked. Plz help me.