Query in jsp

Hi, I am an employee of megasoft ltd
Designated as Project Trainee working on Jakarta Struts.
While developing an application,
I have encountered with an error while running a jsp file in a struts application.
I have a folder called struts_example placed in webapps
under struts_example folder
i have created ther folders called main and WEB-INF.
I added three jsp programs under a folder named main
the three jsp programs are:
Login.jsp
Success.jsp
Failure.jsp
under WEB-INF folder
I have created folders called lib,classes and files called web.xml,struts-config.xml,struts-html.tld
under classes i have created another folder called com
under com i had two folders called actions and forms
under action i had LoginAction.class under forms i had LoginForm.class
under lib
i had files called
activation.jar
CalendarTags.jar
commons-beanutils.jar
commons-collections.jar
commons-collections.jar.old
commons-dbcp.jar
commons-digester.jar
commons-discovery.jar
commons-fileupload.jar
commons-lang.jar
commons-logging.jar
commons-pool.jar
commons-resources.jar
commons-services.jar
commons-validator.jar
dbtags.jar
gdk.jar
i18n.jar
jakarta-oro.jar
jaxen-full.jar
jstl.jar
jdbc2_0-stdext.jar
junit.jar log4j.jar
mail.jar
msbase.jar
mssqlserver.jar
msutil.jar
PlumtreeTags.jar
saxpath.jar
SQLUtils.jar
standard.jar
struts.jar
under tomcat directory
under common
under lib
i have activation.jar
ant.jar
commons-collections.jar
commons-dbcp-1.1.jar
commons-logging-api.jar
commons-pool-1.1.jar
jasper-compiler.jar
jasper-runtime.jar
jdbc2_0-stdext.jar
jndi.jar jta.jar
mail.jar
naming-common.jar
naming-factory.jar
naming-resources.jar
s0vlet.jar
tools.jar
i have listed all files in my application but
i have faced with this error given below:
Kindly do the favour immediately
Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext .java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2 95) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22 3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:619) at java.lang.Thread.run(Thread.java:595) Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext .java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2 95) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22 3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:619) at java.lang.Thread.run(Thread.java:595)
Please Reply Immediately.
Regards,
V.Chandra Mohan.
Project Trainee

... Kindly do the favour immediately
... Please Reply Immediately. A little pushy, aren't we? Anyway:
... Compile failed; see the compiler error output for details.Did you look at the compiler error output for details?

Similar Messages

  • SQL query with JSP and WML-parameters

    Hey,
    Could you help me?
    I'm trying to do the following. WML deck card 1 send parameter to same WML deck's card help. I try to read the parameter with JSP in card help by putting the parameter to SQL query, but it doesn't work. I can read the parameter with WML in card help. I can also print the value of the parameter with JSP if I generate WML with JSP.
    /*parameter sending from card 1 to card help*/
    out.println("<go href='#helpcard'>");
    out.println("<setvar name='valittukurssi' value='$(valittukurssi)'/>");
    /*parameter read with WML in card help */
    <p>Valitse kurssi.
    $valittukurssi</p>
    /'parameter read with JSP by generating WML with JSP*/
    out.println("<p>$valittukurssi</p>");
    /* SQL query with JSP */
    ResultSet uudettulokset = uusilause.executeQuery("select * from kurssi where lyhenne='$valittukurssi'");
    Thanks,
    Rampe

    You're problem is easy to fix. You're confusing WML variables with JSP variables. See below:
    >
    /*parameter sending from card 1 to card help*/
    out.println("<go href='#helpcard'>");
    out.println("<setvar name='valittukurssi'
    value='$(valittukurssi)'/>");
    Above you set a var that will work on the phone, not in JSP.
    /*parameter read with WML in card help */
    <p>Valitse kurssi.
    $valittukurssi</p>
    Yes the above does display the parameter, because it is a client side WML var, but you cannot use this variable in the JSP code (that's why your SWL fails).
    /'parameter read with JSP by generating WML with
    JSP*/
    out.println("<p>$valittukurssi</p>");Here's you're problem, the above line is EXACTLY the same as the one before it. When the container parses through this JSP code it translates the above line to:
    <p>$valittukurssi</p> on the WML page and the CLIENT uses it's local variable to display it.
    What you need and want is to have a variable that can be used in JSP code and output to your WML page. Here's how it's done:
    out.println("<go href='#helpcard'>");
    String some_name = "valittukurssi";
    out.println("<setvar name='"+some_name+"'
    value='$("+some_name+")'/>");
    //note that you may have to escape the ( and ) with a \
    //so we displayed the variable above into the WML page, now we can use it in the SQL query:
    /* SQL query with JSP */
    ResultSet uudettulokset =
    uusilause.executeQuery("select * from kurssi where
    lyhenne='"+some_name+"'");//the end of the command is: " ' " ) ;
    Frank Krul
    Got Node?

  • Checking the status of the insert query in JSP

    frendz,
    i am working with JSP .i have some content to be inserted in the database.i have used the insert query in SQL for that.i am able to check whether it has been inserted properly in the SQL but i want to check the status of the insert query with its return value(so that i can confirm it does not return a error).so please help.

    The Statement#executeUpdate() returns an int with the row count. Get hold of it.
    Also see the Statement API: http://java.sun.com/javase/6/docs/api/java/sql/Statement.html
    Apart from this, I recommend you to use PreparedStatement instead. It will not only ease setting Java objects in a query (no hassle anymore with quotes), but it will also prevent you from SQL injections.
    Prepare here: http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
    SQL injections: http://en.wikipedia.org/wiki/SQL_injection

  • Sql Query in JSP

    Hi All
    Had a quick question about a SQL Query in a JSP - Can I duplicated an exact same record in a table with a new primary key without using the insert statement??
    Say for example I have the following table:
    OrderNo OrderName OrderType
    ======= ========== ========
    1 Books Books
    2 CDs CDs
    3 DVDs DVDs
    I want to make an exact copy of OrderNo 3 with new OrderNo 4, so that it will be something like:
    4 DVDs DVDs
    Any ideas friends??
    Later

    Thanks Nikki, you are right. Actually it is my fault, I framed the question in a wrong way. Well, I found out the solution for that and here is the answer
    insert into [tablename] (OrderNo) select 42506 from [sametablename] where OrderNo=42405

  • Handling sql query in jsp while extracing records from 3 tables

    hi to one and all,
    i want to implement the sql query given below in jsp in execute query statement . the query is working in sql but not when implemented using jsp. please help me in resolving this.
    Query
    SELECT e.Department , e.ETitle , s.basic , s.da, c.address1 , c.address2 from Employee e , Salary s , Contactdetails1 c where e.id = s.id and e.id =c.id

    It would help if you gave us a little more info to go on like;
    a) post your code
    b) post the error message the compiler is giving you

  • SQL QUERY IN JSP PAGE

    Dear Friends,
    There is a table named as EXPENSES having fields as sl_no, name.
    I want to find the MAXIMUM value of the sl_no.
    For that i am using the query as " SELECT MAX(sl_no) FROM EXPENSES "
    In JSP file my code is ......................
    ResultSet rs= stmt.executeQuery(" SELECT MAX(sl_no) FROM EXPENSES ");
    if(rs.next()) {
    out.println(rs.getInt("sl_no"));
    this out.println line throws a exception as "column not found"
    My aim is just to find the maximu value of a field from a table by using the jsp as a front end.
    So please reply me how can I slove that problem.

    It should work: ID must be a table field.
    StringBuffer buf = new StringBuffer(1024);
    Statement stmt = connection.createStatement();
    String ID = "2";
    String val = null;
    if (app != null) {
       buf.append("SELECT emp_name from table where ID  = " + "'" +ID + "'");
    rs = stmt.executeQuery(buf.toString());
    while (rs != null && rs.next()) {
       val = rs.getString(1);
    }Message was edited by:
    skp71

  • SQL Query in JSP with variable problem

    Researching this but I haven't found an answer yet. I want to pass a user variable to the SQL query. Anyone know how? Thought the form call out might work but it doesn't. Thanks!     <%
         String selectX = request.getParameter("choice");
         String pSQLStr = "SELECT asset, tenant FROM fritco WHERE asset = '::selectX::'";
              try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection con = DriverManager.getConnection("jdbc:odbc:MyDataSource", "username", "password");
              Statement stmt = con.createStatement();
              ResultSet result = stmt.executeQuery(pSQLStr);

    Yes.
    Use a Prepared Statement.
    Saves you from sql injection attacks.
    String selectX = request.getParameter("choice");
    String pSQLStr = "SELECT asset, tenant FROM fritco WHERE asset = ?";
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:MyDataSource", "username", "password");
    PreparedStatement stmt = con.prepareStatement(pSQLStr);
    stmt.setString(1, selectX);
    ResultSet result = stmt.executeQuery(); Suggestions for improvements.
    - Set up a JNDI datasource to retrieve your connection from. WIll do connection pooling for you, rather than creating a new DB connection each time.
    - Don't have any sql code in your JSP at all - that should be in beans.
    - If sql code MUST be in your JSP, use a taglib for it like the JSTL sql taglib
    - Don't use scriptlet code (<% %>) in JSPs. If you want to run java code use beans/servlets.
    Cheers,
    evnafets

  • How to change datasource viewobject main query in .jsp

    Hi i have datasource DataSource viewobject="test"
    now in .jsp page i need to change it main query and after some things again back to default how i can doo it ?
    Thanks for tips!
    ID.
    Jdeveloper Studio Edition Version 11.1.1.6.0
    ADF Business Components
    11.1.1.61.92

    if you want to change where clause or modify the whole query look here
    Changing the WHERE clause or VO Query at runtime in Oracle ADF | Techartifact

  • Problem In Executing Query In JSP-Oracle

    I have one Query with some conditions in it. It showing error in JSP page when Run it like FROM keyword not found where expected, but this query running well in Oracle SQL Developer. The query is given below.
    SELECT SCC.STACK_ID, S.SEVERITY_LOWER AS SEVERITY, S.LOWERSPECLIMITRISK AS RISK, SCC.SENS, S.NMBR || ' - ' || S.DESCRIPTION AS STACK, 'LSL = ' || S.DESIGNLOWERSPECLIMIT AS "SPEC LIMIT", SCC.ROW_IN_STACK AS "STACK ROW" FROM STACKS S, STACK_CONT_C SCC WHERE S.STACK_ID = SCC.STACK_ID AND (SCC.CONT_ID = :c_id) AND (SCC.SENS < 0) AND (S.DESIGNLOWERSPECLIMIT IS NOT NULL) UNION SELECT SCC.STACK_ID, S.SEVERITY_UPPER AS SEVERITY, S.UPPERSPECLIMITRISK AS RISK, SCC.SENS, S.NMBR || ' - ' || S.DESCRIPTION AS STACK, 'USL = ' || S.DESIGNUPPERSPECLIMIT AS "SPEC LIMIT", SCC.ROW_IN_STACK AS "STACK ROW" FROM STACKS S, STACK_CONT_C SCC WHERE S.STACK_ID = SCC.STACK_ID AND (SCC.CONT_ID = :c_id) AND (SCC.SENS >= 0) AND (S.DESIGNUPPERSPECLIMIT IS NOT NULL) ORDER BY SEVERITY DESC

    Your sql string contains double quotes in it. Are you escaping them properly in Java?
    Please show your code for invoking this sql statement?
    What jdbc driver are you using? oracle thin? oci8? ODBC?

  • To check the success of failure of the insert query in JSP

    frendz,
    i am working with JSP .i have some content to be inserted in the database.i have used the insert query in SQL for that.i am able to check whether it has been inserted properly in the SQL but i want to check the status of the insert query with its return value(so that i can confirm it does not return a error).so please help.

    gymm wrote:
    This is not the right forum to ask technical questions. Please try the JSP forum:
    http://forum.java.sun.com/forum.jspa?forumID=45
    Where do you think that we are in? Didn't you mean the JDBC forum? It is here: http://forum.java.sun.com/forum.jspa?forumID=48
    Anyway, the topic continues here: http://forum.java.sun.com/thread.jspa?threadID=5257050

  • Portal time out with large jdbc query in JSP bean

    Hi,
    My JSP portlet always times out while waiting to complete two large JDBC queries. The error shown in my jserv.log file is:
    [28/03/2002 12:41:51:221 GMT+08:00] page/Fetching timed out for an Unknown Reason. Killing fetcher name=content-fetcher2 label=174 url=http://mephistopheles.au.oracle.com/servlet/agcharts time=120633
    [28/03/2002 12:43:10:595 GMT+08:00] page/UncaughtException in thread name=content-fetcher2, starting a new fetcher after exception
    java.lang.ThreadDeath
    Is there some particular settings I can modify to prevent the content fetcher from timing out? Cheers

    Thanks. The charts portlet now can be delayed up to the required ~10mins before returning data from the large query. This works in conjunction with changes in the directives/parameters for Jserv and httpd(Note:180548.1)
    Shankar,
    Normally, you can increase the time out in the portlet tag of the provider.xml file. The timeout is in seconds, you should also increase the provider timeout. This is done in the provider registration screen.
    <timeout>60</timeout>
    <timeoutMessage>My Portlet Timed Out</timeoutMessage>
    Please note that if you set the timeout too high and your portlet is really not coming up, you page will wait the 60, 90, 120, etc seconds for the portlet to timeout, so be careful will portlet and provider timeouts.
    Sue

  • Database query from jsp

    hi! All
    i am making the following query to the MySQL database from a jsp page but I get error. please help.
    i am asking user to type in first few letters of person's first name and i use that string to find the match.
    String getName = request.getParameter("search_name"); // gets the few letters entered by user
    // fname is a field in the Employee table
    rs = statement.excuteQuery("Select fname, lname, from Employee where fname.indexOf('" + getName + "') != -1");
    Thanks in advance

    It looks like you have Java code in your select statement.
    I don't know what database your using but you want something
    like this.
    <%
    String getName = request.getParameter("search_name");
    /* I use ingress for my rdms and in ingress you use the keywork 'like'
       to match against character data. The '%' character is the wild card. So, this
       query looks for fname's that have any number of characters followed
       by the value stored in the java string getName, followed by any
       number of characters. */
    rs = statement.excuteQuery("Select fname, lname, from Employee where fname like '%" + getName + "%'");
    %>-S-

  • MySQL query in JSP

    a table "address", which has a column "x" and a column "id".
    i want to update the column "x" in each row.
    in JSP file, do a loop
    for (int i=1,i<100,i++) {
    CoorX = i*i;
    ID = i;
    sql = "UPDATE address SET x=CoorX WHERE id=ID";
    i got error says "General error, message from server: "Unknown table 'CoorX' in field list" "

    That is because the values in your variables CoorX and ID are not sent to the DB. Change:sql = "UPDATE address SET x=CoorX WHERE id=ID"; to sql = "UPDATE address SET x=" + CoorX + " WHERE id=" + ID; (Why it says "unknown table" and not "unknown column", I don't know...)

  • Problem while querying from jsp

    I have a query like this ...
    Select name,description,start_date from Events where TO_CHAR(start_date,'MM/DD/YYYY')='09/19/2004';
    I want to execute the same query using java for which i say
    String QQQ="Select name,description,start_date from Events where TO_CHAR(start_date,'MM/DD/YYYY')='?/?/?'"
    PreparedStatement stmt = conn.prepareStatement(QQQ);
    stmt.setString(1,"09");
    stmt.setString(2,"27");
    stmt.setString(3,"2004");
    But I am not getting the results. Is there anything wrong with the Qusetion marks(?) in the query ?
    I get the results if i directly enter the value for the question mark.
    Please help.
    Thanks.

    You would either need to explicitly concatenate the bind variables, i.e.
    String QQQ="Select name,description,start_date from Events where TO_CHAR(start_date,'MM/DD/YYYY')=? || '/' || ? || '/' || ?"or you would need to have a single bind variable and pass the whole string
    String QQQ="Select name,description,start_date from Events where TO_CHAR(start_date,'MM/DD/YYYY')=?"
    stmt.setString(1, "09/27/2004" );Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query regarding JSP in appache server

    i have a problem with JSP .
    I am new to JSP. worked with asp with IIS, and servlet with Apachee server,
    but how am i going to run the jsp page .in appache server.
    Plz can u come on line for a help by yahoo or hotmail messenger ,or else send me reply
    Its urgent

    Go to
    http://jakarta.apache.org/tomcat/index.html
    get Tomcat 3 or 4

Maybe you are looking for

  • "Safari wants to use login keychain" how do I stop this message popping up

    Hello out there! Everytime I go to a new web page in Safari I box pops up on the screen with the message " Safari wants to use the login keychain. Please enter the keychain password." I click on the "cancel" button and the message disappears and I ca

  • SCCM 2007 Dead DP cleanup?

    Hi, We have some orphan DPs in SCCM 2007 that are dead that no longer exist. However in hirarchy the system is still trying to send packages to the child DP's. Severity Type Site code Date / Time System Component Message ID Description Error Mileston

  • Flash Player in Nokia 5320

    Hi Everyone, I am using Opera Mini to access my Facebook account on Nokia 5320, but when i try to play a video posted on my wall I get a message to update the Flash Player. When I click on the upgrade button it takes me to original Adobe website wher

  • I cannot get "home sharing" to work on my Apple TV device

    I cannot get "home sharing" to work on Apple TV.I I type in my apple id and password to no avail. Why isn't the apple tv device taking this info and activating home share?

  • Getting error after enabling the Transaction in SSIS package in Windows Server 2008 R2 Standard machine

    Hi, I created a package with "Execute SQL Task and Data Flow Task". I am able to execute successfully in my server having "Windows Server 2008 R2 Standard" Operating System. But after enabling the Transaction in my SSIS Package I am not able to execu