Error when make controller with MVC entity framework

error when make MVC with entity framework, WHY??

Hi Arif Kalbu,
It would be better if you could share us the detailed error message, so I could provide useful informaiton or provide the correct forum for this issue, you know that this forum is to discuss the VS IDE.
But if the real issue is related to the MVC project, maybe the ASP.net forum would be better: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
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

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • SAP DMS : Error when opening document with ECL control: INVALID_DATA

    We are receiving following error while try to view .FAX file through SAP Document viewer
    "2D viewer - Unable to opend Document"
    "Error when opening document with ECL control: INVALID_DATA"
    Appreciate your quick effort.
    Thanks,
    Sam.

    Yes, We have checked in both ways, I have also followed other threads on the same issue
    But not able to find the solution for the issue. We are facing the issue when we are using files scannned by Kodak Scanner i1420 in tiff format.
    But If I will attach any other tiff files from directory then It can viewed through SAP Document Viewer.
    I appreaciate your help in this regards.
    Thanks,
    Sam,

  • Mvc with oracle entity framework

    Hi,
    I am new to both MVC and Oracle EF...i have installed the necessary components (ODAC beta 3) and tried out the tutorial that oracle has put up and was able to successfully finish it...
    Now i want to create a new MVC 3 app (based on MVC Movie tutorial available online) ...
    I have a model generated from my oracle database..however when i add a controller in MVC, the controller does not seem to recognize my model..What do i need to do so that controller can recognize the model that i generated from oracle database..????
    Is there an example out there that builds an asp.net MVC app using oracle entity framework??
    Thanks.

    Hello,
    is a week that I document but I still have a bit of confusion.
    Work on Oracle 11g with VS2010 I installed ODTwithODAC112030.
    I have to make a data entry form after the registration of an account.
    Can I create an application with MVC and EntityFramework then using Razor for pages CSHTML?.
    WHAT HAVE I DONE:
    1) Creating the Oracle schema QUESTIONARIO.
    2) Execution of InstallAllOracleASPNETProviders.sql
    3) Create application with MVC 3
    4) Insert the web.config connection parameters
    <connectionStrings>
        <add name="OraQuestConnString" connectionString="DATA SOURCE=...;....;USER ID=QUESTIONARIO;PASSWORD=*****" providerName="Oracle.DataAccess.Client" />
    5) Insertion of the parameters in the web.config for the management of user profiles
    <membership defaultProvider="OracleMembershipProvider">
    <profile>
            <providers>
              <clear />
              <add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider, Oracle.Web, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraQuestConnString" applicationName="questionario_casa_ufficio" />
            </ Providers>
          </ Profile>
          <roleManager enabled="true" defaultProvider="OracleRoleProvider"> .......
    6) The application works and I registered users ORA_ASPNET_USERS etc..
    7) I have created the table "Questionnaire" in the DB
    8) I have created the Model of table "Questionnaire"
    9) I created the corresponding Controller and the Views pages with Razor who created in the "Views/Questionnaire" directory all management pages (Index.cshtml - Create.cshtml - Edit.cshtml - Delete.cshtml)
    10) when the application starts tells me I can not open the databasel SQL-Server, I suppose that it work only with SQL Server!! Or did I do something wrong?
    11) Then I create the Model from DATABASE using "ADO. NET Entity Data Model"
    12) But I did not understand if I can use the EDMX Model to create pages with Razor or with another tool.
    13) Is there an automated way to create pages of data management starting from the Model EMDX or do I have to create them all manually?
    Please help me.
    Thank you very much

  • Internal error when redefinind service with entity types and associations

    Dear gateway specialists,
    I have created a gateway service with several entity types and several associations together with corresponding navigation properties.
    Then I have created another service in which I want to redefine the first service with all the entity types and associations.
    But the redefinition ends with an internal error (message no. /IWBEP/SBCM001) and the navigation properties are not imported (entities and associations seem to be o.k.).
    What could be the reason for the error? And why might the navigations not be imported?
    Thanks!
    Regards,
    Juergen
    P.S. I found SAP note 2027049 "Service Builder Redefiniton - Extend of Odata service with Associations" which I've implemented, but without success

    Hi,
    on debugging I found out that the changes coming with SAP note 2027049 are  actually causing the problem:
    In method DO_EXECUTE_COMMAND of program /IWBEP/LFG_MOD_GENI02 the note inserts the following piece of code:
    IF gt_odata_associations IS NOT INITIAL.
      LOOP AT gt_odata_associations ASSIGNING <ls_association>.
           READ TABLE gt_odata_entities ASSIGNING <ls_entities>
              WITH KEY name = <ls_association>-left_end.
           IF sy-subrc = 0.
                READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>
                   WITH KEY name = <ls_entities>-name.
                IF sy-subrc = 0.
                     READ TABLE gt_navigation_props ASSIGNING <ls_nav_prop>
                        WITH KEY source_entity_id = <ls_entity_types>-entity_id.
                     IF sy-subrc = 0.
                          ls_entity_np-name = <ls_nav_prop>-name.
                          ls_entity_np-technical_name = <ls_nav_prop>-external_name.
                          ls_entity_np-relation_ship = <ls_association>-name.
                          ls_entity_np-from_role = <ls_association>-left_end.
                          ls_entity_np-to_role = <ls_association>-right_end.
                          APPEND ls_entity_np to <ls_entities>-nav_props.
                     ENDIF.
               ENDIF.
           ENDIF.
      ENDLOOP.
    ENDIF.
    SORT gt_odata_entities BY technical_name.
    But the statement
         READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>...
    is not correct. It leads to wrong results if an entity has more than one navigation properties as the key is not fully specified.
    Regards,
    Juergen

  • Seeding multiple databases with single Entity Framework context

    I am developing a single-instance, multi-tenant web application, with a SQL database using Entity Framework 6 Code-First. 
    I want to have a separate database for each client, generated from the same EF models, with a single DbContext. The database to connect to will be determined by the subdomain that the client is using the web app from. 
    This seems to work fine and the correct database is connected to depending on the subdomain. However my issue is seeding the databases with data. This is the code I have:
    foreach (var connString in ConfigurationManager.ConnectionStrings.Cast<ConnectionStringSettings>()))
    Configuration.PerformDatabaseMigration(connString.Name);
    This then calls the PerformDatabaseMigration method: 
    public class Configuration : DbMigrationsConfiguration<DataContext>
    public Configuration()
    AutomaticMigrationsEnabled = false;
    AutomaticMigrationDataLossAllowed = false;
    public static void PerformDatabaseMigration(string connStringName)
    var databaseInitialiser = new Configuration { TargetDatabase = new DbConnectionInfo(connStringName) };
    var dbMigrator = new DbMigrator(databaseInitialiser);
    dbMigrator.Update();
    protected override void Seed(DataContext context)
    base.Seed(context);
    var superAdmin = new User { Id = 1, UserName = "SuperAdmin" };
    context.Users.AddOrUpdate(superAdmin);
    The issue is that when seeding this data for the second database, the context passed into the Seed method already has the admin user added to the `DbSet<User>` property of the context, even though the context is for the second databse connection, not
    the first. It appears that the context is not being cleared from seeding the first database, and so I receive a `DbUpdateException`, as my User.Username field is a unique index.
    Cannot insert duplicate key row in object 'dbo.Users' with unique index 'IX_UserName'. The duplicate key value is (SuperAdmin).\r\nThe statement has been terminated.
    public class User : ModelBase, IUserIdentity, IPrincipal, IIdentity 
        [Index(IsUnique = true)]     
      [Required]     
      [StringLength(40)]       
    public string UserName { get; set; }

    Hello Attune,
    >>This seems to work fine and the correct database is connected to depending on the subdomain. However my issue is seeding the databases with data.
    Is that you firstly create these databases and then call the PerformDatabaseMigration method to seed these database with data? Do you have a try to seed these database data when creating the database with AutomaticMigrationsEnabled = true; with your provided
    configuration class, I tested it and it could work as seeding same data to different database:
    internal sealed class Configuration : DbMigrationsConfiguration<CFs.CFContext>
    public Configuration()
    AutomaticMigrationsEnabled = true;
    public static void PerformDatabaseMigration(string connStringName)
    var databaseInitialiser = new Configuration { TargetDatabase = new DbConnectionInfo(connStringName) };
    var dbMigrator = new DbMigrator(databaseInitialiser);
    dbMigrator.Update();
    protected override void Seed(CFs.CFContext context)
    base.Seed(context);
    var superAdmin = new ApplicationUser() { ApplicationUserID = 1, FirstName = "", LastName = "" };
    context.ApplicationUsers.AddOrUpdate(superAdmin);
    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.

  • Error when creating BufferedImage with IndexColorModel from a byte array.

    Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer.
    The color model I have is:
    int [] cmap = new int [numColors];
    cmap[i++] = 0xffa0f000;  /etc.
    new IndexColorModel(8, 22, cmap, 0, true,  transparentIndex,  DataBuffer.TYPE_BYTE );Thanks for your help
    -Ben
    Ps.
    I've was looking at some example code (http://javaalmanac.com/egs/java.awt.image/Mandelbrot2.html?l=rel), and can't figure out how to go from the color model they're using to the one I have (the 8 bit one specified above). When I replace the 4bit colormodel in the code below with the 8bit color model specified above, I get the following error:
    [java] java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false
    [java] at java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
    Code:
    byte[] pixelArray = (byte[]) getData_CHAR();                
    int width = 5120;
    int height = 3520;
    int numbytes = width*height;
    //create DataBuffer using byte buffer of pixel data.
    DataBuffer dataBuffer = new DataBufferByte(pixelArray, numbytes, 0);
    //prepare a sample model that specifies a storage 8-bits of pixel data in an 8-bit data element
    int bitMasks[] = new int[]{0xf};
    SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(DataBuffer.TYPE_BYTE, width, height, bitMasks);
    //create a raster using the sample model and data buffer
    WritableRaster writableRaster = Raster.createWritableRaster(sampleModel, dataBuffer, new Point(0,0));
    //generate 16-color model
    byte[] r = new byte[16];
    byte[] g = new byte[16];
    byte[] b = new byte[16];
    r[0] = 0; g[0] = 0; b[0] = 0;
    r[1] = 0; g[1] = 0; b[1] = (byte)192;
    r[2] = 0; g[2] = 0; b[2] = (byte)255;
    r[3] = 0; g[3] = (byte)192; b[3] = 0;
    r[4] = 0; g[4] = (byte)255; b[4] = 0;
    r[5] = 0; g[5] = (byte)192; b[5] = (byte)192;
    r[6] = 0; g[6] = (byte)255; b[6] = (byte)255;
    r[7] = (byte)192; g[7] = 0; b[7] = 0;
    r[8] = (byte)255; g[8] = 0; b[8] = 0;
    r[9] = (byte)192; g[9] = 0; b[9] = (byte)192;
    r[10] = (byte)255; g[10] = 0; b[10] = (byte)255;
    r[11] = (byte)192; g[11] = (byte)192; b[11] = 0;
    r[12] = (byte)255; g[12] = (byte)255; b[12] = 0;
    r[13] = (byte)80; g[13] = (byte)80; b[13] = (byte)80;
    r[14] = (byte)192; g[14] = (byte)192; b[14] = (byte)192;
    r[15] = (byte)255; g[15] = (byte)255; b[15] = (byte)255;
    //create buffered image    
    ColorModel colorModel = new IndexColorModel(4, 16, r, g, b);
    BufferedImage image = new BufferedImage(colorModel, writableRaster, false, null);Message was edited by:
    ben_weisburd
    Message was edited by:
    ben_weisburd

    I had the same problem too.
    anyone found the solution for this problem?
    thanks
    Bruno Rabino
    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

  • Runtime error when syncing P1i with PC

    I get a runtime error when syncing my P1i to PC. The error is linked with this file, 'dxp syncml.exe', and the application is said to request the 'Runtime to terminate it in an unusual way'. How do you fix this?

    Thanks Joanne. Let me give you feedback on whats happening so far.
    After some doing, I discovered that my firewall is controlled by Norton Firewall Provider. (Bear in mind I am a novice in terms of managing these computer protocols). To modify the firewall settings, Norton calls this in their the control panel  'Smart firewall', I go to program control then configure. A list of programs came up with the options to add, modify, remove or rename. I searched the list and found that DXP SyncML.exe and mRouterRuntime.exe were listed and set to 'Auto' in the Access column. I noticed that under access, the options include auto, allow, block and custom. I reasoned that 'allow' is the highest level of access, and to support the sync feature, I changed the status to 'allow' from 'auto' for the DXP SyncML and mRouterRuntime executable files. If you believe it is ok and safer to keep the auto status, advise me.
    I did not find in the listing any of these programs; Bearer Abstraction Layer (SCBAL.exe), Generic Device Management Executable (Generic.exe) or Symbian Connect Object Model for Symbian Connect QI (SymbianConnectRuntime.exe).I did a search and located the generic.exe and the other two files under 'common files' in 'teleca shared' folder, and 'symbian' in 'shared' and 'symbianconnectruntime', respectively.
    Norton's control panel for Smart Firewall gave me three options when adding programs: allow, block and manual configure internet settings. The last of the three was recommended by Norton. However, I selected 'allow' for the generic.exe, symbianconnectruntim.exe and scba.exe.Please advise if you believe I need to modify the terms I entered to set up this procedure (is there a better setting that allow me to achieve the same level of functionality without compromising my security?)
    Now Joanne, whats left is for me to try the sync after making these changes. I feel as if I accomplished a lot by only reaching this far. I will have to do a reinstallation of the SE PC Suite before moving on though. Let me explain.
    When the sync failed repatedly because of the unexpected termination linked with the dxp syncml.exe, I uninstalled the SE PC Suite which was done from a disc, and installed a version from the Sony website. That version is 1.6.0, with a copyright date of 2006. With this, the sync worked. By the way I am using Windows 7 Starter. Now what I am going to do later is uninstall this version of the suite, and reinstall the one from the disc that was linked with the problem we are solving. When I do that later, I will give you feedback.
    Just in case you are wondering, I have a vested interest in using the PC Suite from the disc. This application works fine for the file manager component where the drive on the phone and removable media card are read. In the 1.6.0 version, I cannot get the file manager to see the phone as connected though when I put the card (is that called M2 disc?) in the phone, it reads. So, I although sync is working with the 1.6.0 version from the website, I want to use the version I have on disc if the sync component gets over the problem we are trying to solve.
    Hope I am on the right  track so far I thank you profusely for your patience and dealing with my qeurry; the solution will make a world of a difference for me and many other P1i owners. Look foward to the follow up
    Rohan Bell

  • Fatal error when updating Payload with Java hw Worklist API

    Hi all,
    I am receiving an error when I want to update some non-String-type fields
    of a task payload. I access the fields in the payload with facade-classes, generated by Schemac.
    The fact is that I can read all the payload fields, but when I try to set values in non-String typed fields of the payload I'm getting a run-time error:
    java.lang.NullPointerException at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(ConcurrentReaderHashMap.java:308) at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:427) at org.collaxa.thirdparty.dom4j.tree.NamespaceCache.get(NamespaceCache.java:82) at org.collaxa.thirdparty.dom4j.Namespace.get(Namespace.java:60) at com.collaxa.cube.xml.dom.DOMUtil.createElement(DOMUtil.java:382) at com.collaxa.cube.xml.dom.DOMUtil.createElement(DOMUtil.java:350) at com.collaxa.cube.xml.BaseFacade.setChildElementValue(BaseFacade.java:323) at nl.nak.www.ns.vocht.Userpayload.setAge(Userpayload.java:327) at nl.nak.gui.action.ProcessTaskAction.execute(ProcessTaskAction.java:107) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at nl.nak.gui.custom.CustomActionServlet.process(CustomActionServlet.java:35) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    My XSD file for the payload looks like this:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.comp.nl/ns/vocht"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.comp.nl/ns/vocht">
    <element name="userpayload">
    <complexType>
    <sequence>
    <element name="name" type="xsd:string" />
    <element name="lastname" type="xsd:string" />
    <element name="age" type="xsd:int" />
    <element name="amount" type="xsd:decimal"
    </complexType>
    </element>
    </schema>
    The code where I make a connection to the
    WorkList service and how I retrieve the payload is listed below.
    Note that a specific task is set in the Session at in a previous step:
    try{
    String user="jcooper";
    String password="welcome";
    //maak een verbinding
    RemoteWorklistServiceClient client = new RemoteWorklistServiceClient();
    client.init();
    out.println("connectie geinitialiseerd");
    //authenticatie
    IWorklistContext ctx = client.authenticateUser(user, password);
    Userpayload ut = (Userpayload) UserpayloadFactory.createFacade(payload);
    ut.setName("tom");
    ut.setLastname("Cooper");
    //EXCEPTION THROWN HERE
    ut.setAge(1);
    ut.setAmount(new BigDecimal(2));
    taak.setPayload(ut.getRootElement());
    String action = "DONE";
    client.customTaskOperation(ctx, taak.getTaskId(), action);
    out.println("taak geapproved :: "+payload.toString())
    return null;
    catch(Exception e)
    //PRINT DEBUG INFORMATIE
    e.printStackTrace(new PrintWriter(out));
    sp.addActionError(errors,"nl.nak.view.standaard.errors.system",null);
    saveErrors(request,errors);
    return null; //mapping.findForward("failure");
    At run-time the null-pointer exception is thrown when the Age field is set.
    Can anynone help me with this problem?
    Thanks in advance!
    Tom Hofte
    Message was edited by:
    [email protected]

    If it is a stored procedure, the action should be EXECUTE and not UPDATE and the structure should be similar to this:
    <StatementName5>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName > 
      </StatementName5>
    From help.sap
    Regards,
    Prateek

  • Error when creating MD with a blob on detail

    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

    I had the same problem too.
    anyone found the solution for this problem?
    thanks
    Bruno Rabino
    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

  • Help with Oracle Entity Framework and synonyms

    Hi.
    I have some troubles using schemas and synonyms of tables. It means that we are working with diferent schemas, one of those is the owner of tables and other one use synonyms with permissions to access, modify and delete in these tables, this one is the schema that the application use. So whats the way to use this synonyms to tables using the application schema with Entity Framework?
    While I'm using the application data schema I couldn't get data from tables, because the application schema doesn't have tables just use synonyms to them.
    Thanks in advanced
    Cesar.

    I have the same problem. I have created a data connection in the VS2010 server explorer to my oracle database. In the filter I have added the schemas that my user id has access to and the tables are shown in the server explorer. However, when I go through the ADO.NET entity wizard, the tables are not shown.

  • Errors when viewing data with Crystal Report Viewer.

    we receive the following errors when we try to merge a crystal report with data, we are using a crystal  report viewer to display the report.
    Can someone help us with where we might be going wrong?
    Thanks
    Rajesh
    General Information
    Additional Info:
    ExceptionManager.MachineName: CCS104
    ExceptionManager.TimeStamp: 02/10/2008 12:40:31
    ExceptionManager.FullName: Congestion.Framework.ExceptionManagement, Version=33.36.0.0, Culture=neutral, PublicKeyToken=null
    ExceptionManager.AppDomainName: /LM/W3SVC/1/ROOT/BackOfficeTR4-1-128674174088125000
    ExceptionManager.WindowsIdentity: NT AUTHORITY\SYSTEM
    Renewal charges Statement Id : 37171
    Unknown Database Connector Error
    Error in File C:\WINNT\TEMP\{AE9A7C1D-F11A-41CC-B2F7-BC1062DC3A5B}.rpt:
    Unknown Database Connector Error
    Stack Trace :    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.  (Object 
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)
       at Congestion.Core.PresentationTier.BackOffice.WF_NewReport_P.DownloadPDFStatement(Int64 lngCanId, Int64 lngFasId, String strChargeType)
       at Congestion.Core.PresentationTier.BackOffice.WF_NewReport_P.Page_Load(Object sender, EventArgs e)
    Source : CrystalDecisions.ReportAppServer.DataSetConversion

    Hi,
    Its a best practice to use the code given below in the unload event of the page or the code can also be written in a button press event so that the disposing is ensured manually(If sessions are in use).
    boReportDocument.Close();
    boReportDocument.Dispose();
    GC.Collect();
    Note: boReportDocument is the object of ReportDocument.
    This code disposes the report object after using it.
    Check the issue with [filemon|http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx] utility.
    Amit

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

Maybe you are looking for

  • In module pool program -  i want to control size of screen.

    Hi, In module pool program , I am handling 2 screen . while calling the 2 nd screen , i want to display the window size as i required. Plz help me. Regards, Rani.

  • Retention policy configuration

    Hi, I need some clarification regarding the two configuration parameter of retention policy, so please help me regarding this , I am giving my view about both the configuration 1 . CONFIGURE RETENTION POLICY TO REDUNDANCY 3; Explanation => This confi

  • My email and Internet is not working on MacBook Pro.  On iPad everything works.  On MacBook in mail I get the following message":

    Cannot send message using the server icloud The server "p07-smtp.mail.me.com" cannot be contacted on the default ports. Select a different outgoing mail server from the list below Can anyone help me on this?  Thanks

  • 9iAS and 9iDS Forms

    Hi, I've install Oracle 9iAS and 9iDS on one pc, both as default, just different home. I've made simple Form, but I can't run it. Browser show me next message : "The page cannot be displayed" 1. What I have to run and configure? 2. Is it good idea to

  • Ipod not starting up

    Whenever I turn my Ipod on the little Apple picture starts to come on and then after about 15 seconds it a little folder with an exclamation point comes up and on the bottom of the screen it sayd www.apple.com/support/ipod and then turns back off. Wh