Error in CF form in a Flash format...

Hi
I receive the following error when loading a CF form in a
Flash format...
Errors, warnings or exceptions were found when compiling
/mystore/admin/purchases_not_processed.cfm. Visit the online Flex
documentation or API reference for further information.
1 Error found.
Error
C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
A function in the code exceeds the 64K byte limit (actual
size = '122810'). Since the problem occurs in the
compiler-generated deferred instantiation code, please
refactor/componentize portions of this document.
How do i overcome this error?
I hope someone can assist with this...
Thanks in advance...
Regards
Mr Pappy

Hi
I receive the following error when loading a CF form in a
Flash format...
Errors, warnings or exceptions were found when compiling
/mystore/admin/purchases_not_processed.cfm. Visit the online Flex
documentation or API reference for further information.
1 Error found.
Error
C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
A function in the code exceeds the 64K byte limit (actual
size = '122810'). Since the problem occurs in the
compiler-generated deferred instantiation code, please
refactor/componentize portions of this document.
How do i overcome this error?
I hope someone can assist with this...
Thanks in advance...
Regards
Mr Pappy

Similar Messages

  • Error in CF form in flash format

    Hi
    I receive the following error when loading a CF form in a
    Flash format...
    Errors, warnings or exceptions were found when compiling
    /mystore/admin/purchases_not_processed.cfm. Visit the online Flex
    documentation or API reference for further information.
    1 Error found.
    Error
    C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
    A function in the code exceeds the 64K byte limit (actual
    size = '122810'). Since the problem occurs in the
    compiler-generated deferred instantiation code, please
    refactor/componentize portions of this document.
    How do i overcome this error?
    I hope someone can assist with this...
    Thanks in advance...
    Regards
    Mr Pappy

    Karl, is your problem still happening?
    If so, are you sure that your web site (is it IIS) is set so that the CFIDE it points to is the one inside CF11?  We see from the screenshot you shared that inside the stack trace it points to the page as running in some /CFIDE folder (as if it’s the root of a file system—and it’s odd, because there’s no drive reference, which would be there normally on Windows.)
    Normally, it should point to the coldfusion11\cfusion\wwwroot\CFIDE folder, which is where CF11 puts that folder by default.  If your web site is pointing at some other folder for that, it could simply be that your Admin was using a different version of code for that mail settings page than CF11 is expecting you to use.
    Let us know if that helps.
    /charlie

  • Flash Format Forms No Workie

    I'm able to test a simple CFForm with Flash format on my
    personal web account and it works great. However, in the same MX 7
    environment the form won't generate. It will generate a Flash
    plugin component, but no form elements.
    I suspect that there is some possible configuration change I
    need to make on the server side for Flash formatted forms to
    appear? CFIDE directory permissions? Enable some service?
    eg, this one works:
    http://www.somareview.com/testme.cfm
    eg, this one with the same code does not work:
    http://www.clarku.edu/temp/flashform.cfm
    Thanks for any suggestions,
    Chuck

    Dear Chuck,
    I guess you have fixed the problem. Both sites work well to
    me.
    Keiko

  • Formatting error in SFP Form

    Hi Experts ,
    I want to generate one SFP form YLFN_INVOICE_FORM_PT , via one output type ZP00 using TC VF03.
    Previously the Print preview was coming , but now no  Print Preview is coming.
    Please check how i am doing.
    1) Goto VF03 , selecting the billing type ZP00 and pressing the Print Preview.
    2) Its Blank and come to Screen of VF03.(Invoice Display)
    Can u suggest what should i check in form or in Layout. After so many hours of debugging i found Formatting Error at last.
    But when i am checking with the previous version i am not getting any layout difference and also my form is also activated.
    Please help me out . <removed by moderator>
    Waiting for your reply.
    VIvek
    Edited by: Thomas Zloch on Sep 7, 2011 2:29 PM

    you got a smartform i guess, right?
    if so, implement a call to FM SSF_READ_ERRORS right under the call of your smartform.
    It will catch all the errors thrown during form processing.
    You can then go via SE91 message SSFCOMPOSER with your message numbers of your return table and check what´s wrong.
    Probably a table or template doesnt fit into main window, or some main window has another width in different pages. But well thats guessing, just find it out.

  • Format variable using bind in a flash format form

    Greetings
    All though seems like a simple question, I seem to be missing something here. I have a form (in flash format) that calculates a value when a form item is selected. The value is actually a dollar value. I output the variable value in a cfformitem but I con't figure out how to diplay it as a dollor value, moreover, a value with trailing zeros when the value is a full dollar.
    For example:
    The amount $1.00 displays as 1 (I add the dolloar sign)
    or $23.80 displays as 23.8
    Code below:
    <cfif 
    IsDefined("Form.Submit")>
    Total Cost:
    <cfoutput>#form.TotalCost#</cfoutput><br />
    </cfif> <cfform  format="flash"><cfformitem 
    type="script">
    var charge = '';
    var p1 = 40.50;
    var p2 = 29.75;
    function cost():Void
    charge = 0;
    // share price
    if (specialneeds.value==true) {
    if (Session1.value==1) {
    charge = (charge + p2);
    if (Session2.value==1) {
    charge = (charge + p2);
    if (Session3.value==1) {
    charge = (charge + p2);
    // double price
    else {
    if (Session1.value==1) {
    charge = (charge + p1);
    if (Session2.value==1) {
    charge = (charge + p1);
    if (Session3.value==1) {
    charge = (charge + p1);
    }</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
     <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
     <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
     <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
     <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
     <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
     <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>
    Any ideas how I can get around this?
    Thanks for any input.

    Awesome, Thank You BKBK!
    Since I call this function several times, I just had to add:
    integerPart = 0;
    decimalPart = 0;
    decimalPartWithoutPoint = "0";
    At the beginning of the function. Commented code below for future reference.
    <cfif  IsDefined("Form.Submit")>
    Total Cost:<cfoutput>#form.TotalCost#</cfoutput><br />
    </cfif> <cfform  format="flash"><cfformitem 
    type="script">
    var charge = 0;
    var charge2 = 0;
    var integerPart = 0;
    var decimalPart = 0;
    var decimalPartWithoutPoint = "0";
    var p1 = 40.50;
    var p2 = 29.75;
    function cost():Void
    charge = 0;
    integerPart = 0;
    decimalPart = 0;
    decimalPartWithoutPoint = "0";
    // share price
    if (specialneeds.value==true) {
    if (Session1.value==1) {
    charge = (charge + p2);
    if (Session2.value==1) {
    charge = (charge + p2);
    if (Session3.value==1) {
    charge = (charge + p2);
    // double price
    else {
    if (Session1.value==1) {
    charge = (charge + p1);
    if (Session2.value==1) {
    charge = (charge + p1);
    if (Session3.value==1) {
    charge = (charge + p1);
    // Charge amount * 100, round the value to nearest whole number (cents now become dollars) and rounds to nearest cent
    charge=Math.round(charge*100)/100;
    charge2=Math.round(charge*100)/100;
    // get the closest integer that is less than or equl to the charge amount, or the dollar value
    integerPart = Math.floor(charge);
    // get the total number of cents from the transaction
    decimalPart = charge - integerPart;
    // this converts the decimalPart to a string if it is not a zero
    if (decimalPart != 0) decimalPartWithoutPoint = decimalPart.toString().split(".")[1];
    // this takes the interger & decimal values, converts it to a string then adds a "0" to the string
    if (decimalPart == 0 || decimalPartWithoutPoint.length == 1) charge = integerPart.toString() + "." + decimalPartWithoutPoint + "0";
    //var myAlert = mx.controls.Alert.show("Charge2 = " + charge2 + "\nIntegerPart = " + integerPart + "\ndecimalPart = " + decimalPart + "\nCharge = " + charge, "Math Information", mx.controls.Alert.OK, this);
    //myAlert.show;
    }</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
     <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
     <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
     <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
     <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
     <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
     <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>

  • CFSELECT validation in Flash format form

    In the past, I have used Javascript validation in CFFORMs to
    validate CFSELECT input, due to the bug in Coldfusion validation
    (most of my client sites are on shared servers, so I can't modify
    the cfform.js file).
    The Javascript I found somewhere worked great:
    <!-- Validation Functions -->
    <SCRIPT LANGUAGE = "JavaScript">
    function ExtendJS(FormName) {
    if (!SingleSelectRequired(FormName,'Event_Description')) {
    alert("You must select a Vendor from the drop-down list.");
    return false;
    function
    SingleSelectRequired(Form, Field) {
    var itemSelected =
    eval("document." + Form + "."
    + Field + ".selectedIndex");
    if (itemSelected == 0) {
    return false;
    } else {
    return true;
    </SCRIPT>
    Then, in my CFFORM tag:
    <cfform
    name = "formName"
    action = "index.cfm?section=4&submit=1"
    preservedata="Yes"
    enctype = "multipart/form-data"
    method = "POST"
    format = "HTML"
    onSubmit = "return ExtendJS('FormName')">
    Now I'm exploring CFFORM format="Flash"... well, not just
    exploring, way down the road developing a web app ... and I've
    discovered my old validation methods don't work. It seems I have to
    use Actionscript now.
    Does anyone have a good Actionscript form validation
    implementation they can share with me? Or point me in a different
    direction if I'm off base here?
    Thanks,
    max

    It's hard for me to believe I'm the only one who has had
    problems with CFFORM format="flash" cfselect validation. But hours
    of searching turned up VERY LITTLE. I managed to cobble something
    together, so for anyone else who has this problem, and happens
    across my post, here's how I solved it:
    <cfsavecontent variable="validate">
    // perform client side validation here if you want
    var validationError = "False";
    var myString = "Please Select a value for the following:";
    var alertTitle = "Data Input Required";
    if (theForm.testSelect.value == 'none')
    var validationError = "True";
    var myString = myString + " Location,";
    if (theForm.testSelect2.value == 'none')
    var validationError = "True";
    var myString = myString + " Option2,";
    if (validationError == 'True')
    alert(myString,alertTitle);
    return false;
    </cfsavecontent>
    <cfform name="theForm" action="" format="flash"
    height="220" width="450" onSubmit="#validate#">
    <cfselect name="testSelect" width="100" size="1"
    multiple="no" required="Yes" query="q1" display ="firstname" value
    ="firstname" selected="" queryPosition="Below">
    <option value="none">Select One
    </cfselect>
    <cfselect name="testSelect2" width="100" size="1"
    multiple="no" required="Yes" query="q1" display ="lastname" value
    ="lastname" selected="" queryPosition="Below">
    <option value="none">Select One
    </cfselect>
    <cfinput name="Location" type="text" label="Location"
    value="" width="300" required="Yes" message="Please provide a
    location" />
    <cfinput name="Test2" type="text" label="Test" value=""
    width="300" required="Yes" message="Please provide a test" />
    <cfinput type="submit" name="submitBtn" value="Send Data"
    width="100">
    </cfform>

  • R12 - Format Payment Instructions XML Parsing Error: not well-formed

    We are going from 11.5.10 to R12,
    We followed the Note : 562806.1 to generate the XML file but we are getting the following error?
    XML Parsing Error: not well-formed
    Location: http://XXXXXXXXXXXXXX.com:8030/OA_CGI/FNDWRR.exe?temp_id=3412576704
    Line Number 1, Column 9:%PDF-1.4
    --------^
    Any help or suggestions would be great!
    Thanks

    Please see if the solution in (BI Publisher Reports End With Error When There Is An Ampersand Character ( & ) On The Xml Data File [ID 1081175.1]) is applicable.
    Thanks,
    Hussein

  • Cfgrid not displaying in flash format

    <cfform format="flash" width="1000"
    action="editContact.cfm">
    <cfgrid name="contact" query="contact_details"
    selectmode="edit" insert="yes" delete="yes" height="200"
    width="1000" align="middle">
    <cfgridcolumn name="ID" display="no">
    <cfgridcolumn name="FIRST_NAME">
    <cfgridcolumn name="LAST_NAME" >
    <cfgridcolumn name="JOB_TITLE">
    <cfgridcolumn name="EMAIL" >
    <cfgridcolumn name="PHONE">
    </cfgrid>
    <br>
    <cfinput type="submit" value="submit" name="submit">
    </cfform>
    Hi, the code above using cfgrid in flash format used to
    display perfectly. But after some time, without changing the code,
    cfgrid is not displaying anymore. Any reasons why this is
    happening? Thanks.

    What error do you see? Anything?
    Try tracing the page request by using coldfusion/jrun's
    sniffer.exe,
    Charles, or some other
    tool. See what is going on. If the applet is starting to load,
    enable the java console and review the errors there.
    Does this issue happen on multiple client machines or just
    one? What version of CFMX7 are you using (run sysinfo from
    cfadmin).

  • Error occurred when uploading file (unknown file format) in t.code SFP

    Hi,
    According to SAP Note 1465628 - ESI Limit increased and length of temp. ESI no increased, when we are doing Step 4. PDF form changes (valid for ECC 6.0 and above)....and point (i)...in transaction SFP (From - HR_IN_ESI_005_99), system shows the below message.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Plz guide..

    Hi Anil,
    Refer following links :
    Re: Adobe Form assignment
    Adobe Uploading form error unknown file forma
    Hope this will help.
    Regards,
    Vivek

  • Adobe Uploading form error unknown file forma

    Hello,
    I am working on adobe form. I want to upload an form from another system using tranaction SFP and process
    menu 'UTILITIES UPLOADING FORM OBJECT'.
    I download the form from a environnement ECC6 in XML FILE. (by process downloading SFP transaction)
    I upload the same form for another system ECC6 with using this same XML file (by process uploadind form SFP transaction)
    But in the process of uploading from this XML file, I get this error
    "*Error occurred when uploading file (unknown file format)" message number FPUIFB068
    Does any body know why I get this error ?
    I don't find any OSS note about it.
    Best regards
    Christine

    Hello,
    I have no solution regarding your problem, but has an experience with a "dirty" way. If I needed to "copy" or "move" the form from one system to another, I just generated the form in the first system (got PDF file), opened this form outside SAP (in LCD launched from windows installation folder), copied the content of the form to clipboard, opened the blank for in SAP, paste the content there, do some minor changes and save/ activate/ run.
    For me it worked ok, even if the form was complex.
    If anybody else can provide the "proper" / "clean" solution, I would like to hear that as well.
    Regards Otto

  • Error message with forms 6i and OAS

    Hello,
    I 'm executing an applet (forms6i&OAS), while executing http://mycomputer:8001/web_html/mybase
    i have the error:
    keyconfailbundle oracle.forms.engine
    runformbundle exception
    java.lang.illegal argument exception: unknown format type...
    can u please help
    thnaks in advance
    the applet code is the following
    <HTML>
    <HEAD><TITLET>titlz</TITLE></HEAD>
    <BODY >
    <APPLET CODEBASE="/web_frms/"
    CODE="oracle.forms.engine.Main"
    ARCHIVE="f60all.jar"
    WIDTH="750"
    HEIGHT="700">
    <PARAM NAME="serverPort" VALUE="9000">
    <PARAM NAME="serverHost" VALUE="mycomputer">
    <PARAM NAME="serverArgs"
    VALUE="module=d:\Direc\pic userid=scott/tiger@inter">
    </APPLET>
    </BODY>
    </HTML>

    You will need to startup the database before you can run any sql command.

  • In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3

    In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3 I get this error message Scene 1, Layer 'Layer 3', Frame 1, Line 2, Column 7
    1119: Access of possibly undefined property showMenu through a reference with static type Class. This is the debug scrip this.loadVariables("_urls.txt") Stage.showMenu=false; stop(); I don't know how to fix this. Can any one Help. The movie loads to 99% then stops and reloads again. over and over again.

    Stage is a protected keyword in AS3 and it has no property showMenu
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Stage.htm l

  • XML Parsing Error: not well-formed (C# Visual Studio 2013)

    I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error when I load the xml file into a browser:
    Firefox
    XML Parsing Error: not well-formed Location: file:///C:/Users/fenwky/XmlDoc.xml Line Number 2, Column 6:?> -----^
    Chrome
    This page contains the following errors: error on line 2 at column 16: colon are forbidden from PI names 'xsl:transform'
    This is what my c# code looks like in visual studio 2013:
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);

    Hi
    Kylee Fenwick,
    Could you show us your CSV file? And the code how do you imports a csv and exports an xml file?
    Best regards,
    Kristin
    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.
    Hi Kristen,
    Thank you in advance for your healp. Here is my CSV file:
    Item Code;Item Description;Current Count;On Order
    A0001;"Wheels, Horse on";5;No
    A0002;"Wheels, Elephant on";2;No
    A0003;"Wheels, Dog on";0;Yes
    A0004;"Wheels, Seal on";3;No
    A0005;"Wheels, Bear on";7;No
    A0006;"Bear, Teddy";2;Yes
    A0007;"Clown,";5;No
    A0008;"Puppy(crouch),";3;No
    A0009;"Puppy(stand),";2;No
    A0010;"Puppy(jump),";2;Yes
    A0011;"Pupp(lying),";1;Yes
    A0012;"(50), Cart with Blocks";0;Yes
    A0013;"(100), Cart with Blocks";5;No
    A0014;"(200), Cart with Blocks";4;No
    A0015;"Carriage, Train with 0";12;No
    A0016;"Carriage, Train with 1";10;No
    A0017;"Carriage, Train with 2";5;Yes
    A0018;"Carriage, Train with 3";4;Yes
    A0019;"Carriage, Train with 4";5;No
    A0020;"Carriage, Train with 5";2;No
    A0021;"(20), Building Blocks";15;No
    A0022;"(30), Building Blocks";13;No
    A0023;"(40), Building Blocks";16;No
    A0024;"(50), Building Blocks";5;Yes
    A0025;"(100), Building Blocks";2;Yes
    A0026;"(200), Building Blocks";8;No
    A0027;"Windmill,";5;No
    A0028;"Farmhouse,";6;Yes
    A0029;"Fencing,";22;Yes
    A0030;"Barn,";12;Yes
    A0031;"Tractor,";6;Yes
    A0032;"Animals,";3;Yes
    A0033;"House,";9;No
    A0034;"Car,";12;No
    A0035;"(small), Building";4;No
    A0036;"(medium), Building";3;No
    A0037;"(tall), Building";4;No
    A0038;"Shop,";7;No
    A0039;"Lights, Traffic";5;Yes
    A0040;"Station, Petrol";4;Yes
    And here is my code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    using System.Xml.XPath;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
    const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // New code
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
    const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
    //const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    private void WXML_Click(object sender, EventArgs e)
    WriteXML();
    public void WriteXML()
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Test code //
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    // Test code //
    // Transform the file and output an HTML string.
    string HTMLoutput;
    StringWriter writer = new StringWriter();
    xslt.Transform("XmlDoc.xml", null, writer);
    HTMLoutput = writer.ToString();
    writer.Close();
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    // String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    // newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);
    private void btExportComplexXML_Click(object sender, EventArgs e)
    WriteXMLComplex();
    public void WriteXMLComplex()
    // Creates stringwriter
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Uses XML transformation.
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Saves document.
    doc.Save(xmlfilecomplex);
    //Creates a CSVReader Class
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;

  • Error while Creating form on remote Database

    Hi All
    I m getting error while creating form on remote database thru
    Database link
    Line/Column Error
    7099/21 PLS-00454: with a returning into clause, the table
    expression cannot be remote or a subquery
    7099/9 PL/SQL: SQL Statement ignored
    7749/16 PLS-00454: with a returning into clause, the table
    expression cannot be remote or a subquery
    7749/9 PL/SQL: SQL Statement ignored
    and statement at line specified is insert statement. and at end
    of insert statement Returning caluse is there as follows
    RETURNING ROWID INTO "_ROWID";
    This returning clause is causing error. Does anybody knows how
    to handel it??
    Thanks
    Yogesh

    Yogesh
    I haven't seen the ora-03116 problem.
    What version of Portal are you running? Are the databases at the same version? Does your table have longs or anything strange in it?
    Can you query the table via the synonyms and link in sqlplus as the application schema? This is a good test because it eliminates Portal.
    You should try setting up synonyms etc for the emp table. If you still get the problem then Oracle may be able to replicate it. If not, then there's sth funny about your table maybe.
    I agree with Vishnu about creating everything in sqlplus. I create all my links and synonyms in sqlplus. They are all public. I have 2 synonyms: one takes you over the link the other takes you to the right schema. It's flexible and it works.
    data database: D grants to P (local schema) on table T
    public syn T = D.T (sys) (get the right schema)
    portal dbase : public db link to data database connecting as P
    public syn T = T@dblink (sys) (over the link)
    P is a schema created in both databases.
    Test is: P in portal dbase can "select * from T" and gets the right data.
    I never, ever refer to a schema when defining a form. ie. never P.T or D.T or whatever. I always refer simply to a synonym. For the above my form would be defined simply on the table T.
    Hope this helps
    Greg

  • Error while generating form 16 in portal - Screen output without connection

    Dear Gurus,
    We are facing error while generating form 16 through portal and getting the below error in portal.
    Screen output without connection to user.    error key: RFC_ERROR_SYSTEM_FAILURE
    When we checked for dumps in R/3 the following dump is coming:
    DYNPRO_SEND_IN_BACKGROUND with error message :
    Message class : FPRUNX
    Message number: 102: No job started.
    Then we tried to execute the form 16 through R/3 itself using tcode PC00_M40_F16 after putting in the relevant values in the selection screen and then press on PRINT FORM button, but surprisingly the system logs out without giving any error or dump.
    We tried doing it repeatedly and once in these attempts we got an error saying Initialization of font server module failed.
    We are not getting clue as to why this is happening. <<Text removed>>
    Regards
    Edited by: Matt on Jul 27, 2011 9:50 AM

    Dear,
    This might be the problem of Adobe Acrobat Reader. what is the version of Adobe you are using ?? If it 9.0, then uninstall it and reinstall 8.0 and then check .
    Could you please check your installed SAPGUI component? If component 'Engineering Client Viewer' is installed, please uninstall
    it. And try to call same transaction again.
    BR, Deepak

Maybe you are looking for