Accessing a jsp from excel

Hi,
I have a jsp page in my weblogic server(version 9.2). It simply sets a session variable when the user visits the page for the first time. Now i am trying to access this jsp from a excel file(I am providing the URL of the page as a hyperlink). But the page is getting processed twice.
For example in my jsp I have the following code:
<%
System.out.println("Initially "+session.getAttribute("var"));
session.setAttribute("var","JAVA");
System.out.println("After setting"+session.getAttribute("var"));
%>
When I access this page from excel it is printing the following in console:
Initially null
After settingJAVA
Initially null
After settingJAVA
As you can see the statements are getting printed twice.
Can any one explain the reason for such a behaviour?
Edited by: gopi_3nath on Apr 3, 2008 4:35 AM

Just the same as normal HTML
In child window
window.opener.parentfunctionname()

Similar Messages

  • What ODBC driver to use in order access Filemaker Pro from Excel

    Hi
    I run Filemaker Pro 11 and Excel on my Mac OSX 10.5.
    I want to access my Filemaker database directly from Excel (to use the data in Pivot tables without first having to export the data from Filemaker). What ODBC driver should I use?

    Bruce, I have an indexed, 5 Billion record MS-Access Jet (Red) 4.x format database file system (no table linking), 1 table only, each MDB file acting as a partial table, not a database. This database contains 500 x 2-GIG files, each file with 10
    million rows - text compression/encryption turned on.  I created this 1 Terabyte file system (empty) using ODBC Administrator which came installed on my Windows 7 Home Premium Laptop (Factory installed, no Service Packs).  I used ODBC/SQL then
    to create the tables/indexes within the empty MDB files.   I have a MEMO data type in my table too with text as long as 528 characters.    I have used MIMEbase64 encoding too, so that the data is not humanly readable neither via SQL
    nor by opening an MDB file in WordPad.   I do the decoding during SQL processing.
    In my FILE DSN, I bumped Threads property to 510 from default 3, so that I could run 510 simultaneous/concurrent SQL processes on my Laptop, to produce reliable report output. 
    You might consider this little setup, if nothing else works, as long as the PCs have either Windows XP or 7 installed.   MS-Access ODBC driver is already installed for Jt 4.x format, and you can compact/repair the 4.x files using ODBC Administrator,
    or get the GUI/commandline utility JetComp.exe to do it, which is freely distributable.
    I know this is not likely your answer, but it is a good fall back perhaps for someone.

  • Problem in accessing Web Service from Excel

    Hi All,
    I have faced a new problem when calling WS from Excel.
    I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields
    such as
    medPlace -- String
    publictn - String
    amount - long
    This WS is working fine when I am testing from WS Nevigator.
    Now I have imported the WS in Excel and now the data types are like
    medPlace -- String
    publictn - String
    amount - double
    My requirement is to send the multiple row of the Excel to the WS at a time( I mean as a List). So when I have executed it first time I got error like “deserialisation error”. But I got an article (SAP Web Services and Microsoft Office: How to Create Simple Composite Applications ) by Marcus Schiffer and that problem is resolved.
    But Now I am getting the error like ......Client:Type conversion failure for element eXLSTRUCT0 HRESULT=0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.
    eXLSTRUCT0 - This is my structure name in input.
    Can you please help me to solve this issue.
    Thanks in advance
    Chandan

    "vikceo" <[email protected]> wrote in
    message
    news:gm1pl9$s5h$[email protected]..
    > hie
    >
    > here is the code:
    >
    > <mx:HTTPService id="headCountService"
    > resultFormat="e4x"
    > fault="headCountService_fault(event);"
    > result="headCountService_result(event);"
    >
    > url="
    http://localhost:8988/HeadCount-HeadCountService-context-root/headcountwsso
    > aphttpport"/>
    >
    >
    > private function
    headCountService_fault(evt:FaultEvent):void {
    > var title:String = evt.type + " (" + evt.fault.faultCode
    + ")";
    > var text:String = evt.fault.faultString;
    > alert = Alert.show(text, title);
    > }
    >
    > private function
    headCountService_result(evt:ResultEvent):void {
    > var statListAll:XMLList = new XMLList(evt.result.stat);
    > }
    >
    > I am calling the service in the main mxml file as
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > showFlexChrome="false"
    > layout="vertical"
    > preinitialize="headCountService.send();">
    >
    > And error is coming from the method
    headCountService_fault
    Is it possible that your web service is receiving something
    with an ill
    formed tag. I'd second bitwyse's suggestion.

  • Access to MDS from EXCEL only via IP Adress (no DNS)

    Hi,
    I set up MDS and it is working proper - IE access works with DNS name as well as server name to access.
    When I use EXCEL to access only IP adress works - DNS or servern name throw an error:
    The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate oXQwcqADCgEBomsEaWBnBgkqhkiG9xIBAgIDAH5YMFagAwIBBaEDAgEepBEYDzIwMTQwMjI1MTE0NDU0WqUFAgMCMLmmAwIBKakTGxFFVVJPUEUuTVlQVU1BLk5FVKoWMBSgAwIBAaENMAsbCWhlcmFzMzI2JA=='.
    ADDITIONAL INFORMATION:
    The remote server returned an error: (401) Unauthorized. (System)
    The target principal name is incorrect (System)
    BUT as I wrote: I can access via IE. MDS Services and MDS database are on separate servers. There is no entry (like "Anonymous") in security logs at the servers (I first thought about a Kerberos thing).
    Thanks, Wolfgang

    I did the same and it made no difference. And it was my understanding that turning on windows authentication causes issues with MDS. When I enable it with kernel mode turned off, it says HTTP request is unauthorized with client authentication scheme 'Negotiate'...The
    remote server returned an error...
    Gary Melhaff, DW Architect, MCTS SqlServer 2008 BI, Developer

  • Accessing a jsp from html

    Hi,
    Sorry if I have posted wrongly in this forum. I dont know where to post this question.
    Actually I have a jsp page . In that I have javascript function from where I open a window using window.open. I open a html page using that.
    Now from html page I have to access a function which is in the jsp page. i.e accessing a parent's function from child . But the parent is jsp and child is html. How to do that.?
    Please let me know.
    Thank you

    Just the same as normal HTML
    In child window
    window.opener.parentfunctionname()

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • Error while accessing EJB method from JSP

    Hi,
    I am trying to access a bean from a JSP and have the foll. code piece:
    String url = "t3://localhost:7001";
    public Context getInitialContext() throws Exception {
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    return new InitialContext(p);
    String getStackTraceAsString(Exception e)
    // Dump the stack trace to a buffered stream, then send it's contents
    // to the JSPWriter.
    ByteArrayOutputStream ostr = new ByteArrayOutputStream();
    e.printStackTrace(new PrintWriter(ostr));
    return(ostr.toString());
    %>
    <%
    String op="";
    try {
    // Contact the AccountBean container (the "AccountHome") through JNDI.
    Context ctx = getInitialContext();
    out.println("initial context got !!");
    DemoHome home = (DemoHome) ctx.lookup("demo.DemoHome");
    out.println("home got !!");
    %>
    <p>
    <%
    Demo ac = null;
    try {
    ac = (Demo) home.create();
    out.println("create called!!");
    if (ac==null)
    out.println("ac is null!");
    catch (Exception ee) {
    out.print("exception 1");
    %>
    <p>
    <%
    try {
    out.println("going to call method!");
    if (ac!= null)
    op = ac.demoSelect(); /* FAILURE POINT */
    else
    out.println("ac is null->error!!");
    out.println(ac.demoSelect());
    out.println("string got!!");
    out.println(op);
    catch (Exception e) {
    getStackTraceAsString(e);
    e.printStackTrace();
    out.println("error 2");
    catch(Exception e)
    out.println("error 3!");
    It gives an error on trying to access the method "demoSelect".
    e.printStackTrace gives the output:
    java.lang.RuntimeException: javax.ejb.EJBContext.getEnvironment is deprecated in EJB 1.1. EJB 1.1 compli
    ant containers are not required to implement this method. Use java:comp/env instead.
    <<no stack trace available>>
    JSP output is as foll.-->
    getting initial context initial context got !! home got !!
    create called!!
    going to call method! error 2
    What is wrong???
    pls help!

    Greetings,
    Hi,
    I am trying to access a bean from a JSP and have the
    foll. code piece:
    <%
    String op="";
    try {
    // Contact the AccountBean container (the "AccountHome") through JNDI.
    Context ctx = getInitialContext();
    out.println("initial context got !!");
    DemoHome home = (DemoHome) ctx.lookup("demo.DemoHome");
    out.println("home got !!");Though it doesn't seem to be the problem in this case, good EJB coding practices dictate that your code should be narrowing the home reference before calling any of it's methods (i.e. create(...) )... WebLogic may allow handling of its protocol objects in their native state, but other vendors do not... your application is not portable without narrowing.
    It gives an error on trying to access the method "demoSelect".
    e.printStackTrace gives the output:
    java.lang.RuntimeException: javax.ejb.EJBContext.getEnvironment is deprecated inThe error is not in your JSP, but in the bean... it seems your bean is attempting to acquire its "environment properties" in the pre-1.1 style, when...
    EJB 1.1. EJB 1.1 compliant containers are not required to implement this
    method. Use java:comp/env instead. ...instead, it should be looking them up in its JNDI namespace.
    What is wrong???
    pls help! Regards,
    Tony "Vee Schade" Cook

  • Need help in writing data from JSP to excel

    Hi ,
    I need help in writing the data from JSP to excel.I somehow able to retrieve the data into excel but unable to get the required format.
    For eg: The amount should be displayed in 0.00 format .when i am exporting it to excel it is displaying as 0 :( .
    I am using the following code in JSP.
    "out.print(amt + '\t');"
    Would like to know if there is any otherway where in i can get my requirement.
    Thanks
    Tom

    Hi,
    Try using format part of the JSTL tag libs.
    Syntax :
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <fmt:formatNumber value="40" pattern="$#,##0.00"/>
    I need help in writing the data from JSP to excel.I
    somehow able to retrieve the data into excelHow do u convert the jsp to excel?
    One way to convert the jsp page to excel, is to render it as an excel appl instead of html. Set the content type of the response to application/ms-excel.
    response.setContentType("application/ms-excel")Hope this Helps....

  • Accessing file shares from JSP

    Hi,
    I need to be able to access file shares from a JSP page. Here's the JSP code:
    <%@ page language="java" %>
    <%@ page import="java.io.*" %>
    <%@ page errorPage="errorPage.jsp" %>
    <%
    String fileSystemPath = "\\\\130.26.1.199\\MeetingManager30\\test.txt";
    File f = new File(fileSystemPath);
    f.createNewFile();
    %>The above code resides in a server with IP 130.9.68.6 and is deployed onto the Tomcat on the server.
    When I tried to run the above code, I got this error
    java.io.IOException: Access is denied at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:827) at org.apache.jsp.test_jsp._jspService
    (test_jsp.java:55) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service
    (JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 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(ApplicationFilterChain.java:247) at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke
    (StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke
    (StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke
    (StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
    nection(Http11Protocol.java:711) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
    (ThreadPool.java:687) at java.lang.Thread.run(Thread.java:536) Seems like I'm having a system level security setting problem here.
    I know it's a security issue, because I've encountered the equivalent problem in ASP/IIS, and I had to give a domain user rights to both the IIS Virtual Directory, and the file share to be able to access.
    Any ideas how to set up Tomcat to be able to access the file share successfully?
    Thanks in advance!

    Hello Veer,
    From what you have posted it looks like while logging your error another problem occurred. Did you get any output from your System.out calls? If not can you try adding a few in order to home in the problem area.
    Hussein Badakhchani
    www.orbism.com

  • How to transfer a set of data from Excel spread sheet to an Access database

    hi,
    Can any one please tell me how to transfer a set of data from Excel spread sheet to an Access database using SQL query.I'm using java API currently. I have done all sorts of ODBC connection in administrative tools.The file is in correct location. I have done certain coding but with errors.Help me to get rid of these errors,
    Coding:*
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection datacon=DriverManager.getConnection("jdbc:odbc:exdata","",""); *//For Excel driver*
    Connection datacon1=DriverManager.getConnection("jdbc:odbc:stock1","",""); *// For mdb driver*
    Statement datast=datacon.createStatement();
    Statement datast1=datacon1.createStatement();
    ResultSet excelrs=datast.executeQuery("select item_code,sdata,closing_stock from phy "); *//phy is the excel file*
    while(excelrs.next())
    String ic=excelrs.getString("item_code");
    System.out.println(ic);
    String d=excelrs.getString("sdate");
    double cs=excelrs.getDouble("closing_stock");
    int dbrs=datast1.executeUpdate("insert into second values('"+ic+"','"+d+"',"+cs+")"); *//second is the mdb*
    excelrs.close();
    }catch(Exception e)
    System.out.println(e);
    Error:*
    java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'C:\JavaGreen\phy.xls'. Make sure the object exists and that you spell its name and the path name correctly.
    thanks,
    kumar.

    JAVA_GREEN wrote:
    No i haven't mixed up.But the file from where i have to retrieve the data is in csv format.Even though i created another csv driver.and tried but i cud not find a solution to load/transfer a set of records from one file(in Excel/csv format) to another file(in mdb format).plz help me.Is there any other methods for this data transfer.A csv file is NOT an excel file.
    The fact that Excel can import a csv file doesn't make it an excel file.
    If you have a csv file then you must use a csv driver or just use other code (not jdbc) to access it. There is, normally, a ODBC (nothing to do with java) text driver that can do that.

  • Urgent-how to access custom tag from jsp tag

    I have a problem accessing a custom tag from a jsp expression.
    Details: I have a custom tag that returns a string variable. I need to access that variable from jsp expression <%%>.
    Can any body help me?

    Tags don't "return" values as in the normal sense.
    They can only support TEI (Tag Extra Information) that just stuffs a declared variable into the page's state.
    For example, if the tag class had a public method called getValue(), you could do the following:
    <xmp:mytag id="foo"/>
    <%
    out.println("value is " + foo.getValue());
    %>

  • Accessing String assigned in a JSP from a Servlet?

    Hello all, I was wondering if there is a way to access a String object that was assigned by an HttpSession object in a JSP from a Servlet. What happens is, in my application a user logs in, an HttpSession object is instantiated and all of the user credentials are assigned within a JSP like:
    HttpSession httpSession = request.getSession( false );
    String userName = httpSession.getAttribute("userName);
    ...{code}
    Next, I have a Servlet (which is really just a Proxy to a different server), that I need to log some information with, namely the userName String. Is there a way I can access that String without instantiating another HttpSession object? Because when the timeout occurs (or when the user clears his cache I have found), the HttpSession becomes invalidated (even if I use  +HttpSession#getSession( true )+) and the +HttpSession#getAttribute+ call fails (userName is just null). So is this possible to do?
    Thanks in advance!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    dnbphysicist wrote:
    I understand you cannot recover attributes from a dead session, this is why I wanted to be able to access a variable that is pulled from the Session immediately after login so I can still get to it even once the session is dead.
    Normally a session doesn't go dead after login.
    I imagine that by using application scope the app would confuse the userName with other users that are logged in?Certainly. It was just an example. But your data clearly belongs in the session, so just keep it in the session. If the session get invalidated while it should not get invalidated, then your problem truly lies somewhere else.
    I am definitely not arguing you latter point either :) A lot of this code I inherited unfortunately from previous developers and we are in desperate need of a redesign.I wish you much luck with that.

  • Problem with accessing init parameters from JSP file

    Hi,
    I have my init parameters and Jsp configured in web.xml
    <servlet>
              <servlet-name>TestJsp</servlet-name>
              <jsp-file>/Test.jsp</jsp-file>
              <init-param>
                   <param-name>username</param-name>
                   <param-value>Balboa</param-value>
              </init-param>
    </servlet> How do I access 'username' field from JSP file.
    Kindly help.
    Thanks.

    you can do this in the jsp
    <%=config.getInitParameter("username")%>or do it in the jspInit method in the jsp:
    <%!  String userName = null; 
      public void jspInit() {   
        ServletConfig config = getServletConfig();   
        userName   = config.getInitParameter("userName ");  
    %>
    Hello <%=userName%>

  • Problem with access to SipFactory from jsp-pages in JBoss environment

    Hello!
    I have an installation of the OCMS 10.1.3.3. deployed into a JBoss (jboss-4.0.5.GA) environment. Unfortunately I have a problem with accessing the SipFactory from a jps-page. Encouraged by the "messagesender" example I tried to get an instance of SipFactory from my jsp-page simply by calling:
    SipFactory sipFactory = (SipFactory) application.getAttribute(SipServlet.SIP_FACTORY);
    But unfortunately there seems to be no attribute "SipServlet.SIP_FACTORY" and I only get a null pointer. I have also tried running that code in the orignal messagesender example but it didn't work either. So I wonder if this should definetely work in a JBoss environment or if this might be a known problem. Is there anything that I could check/do regarding this problem? I suppose there must be an oracle module which should take care of making the SipFactory availabe after it is deployed. Perhaps something went wrong during the deployment?!
    Best regards,
    Tim

    Hi
    On JBoss, OCMS does not support converge applications.
    I.e the SipFactory can be retrieved from the servlet context when running on OC4J.
    Instead the SipFactory can be found in JNDI as described in the Developer's Guide:
    "External Access to SIP Servlets
    To enable convergent applications between SIP and HTTP, the OCMS Container allows you to get access to the javax.servlet.sip.SipFactory by looking it up through JNDI. The SIP Factory will be registered under the same name as the display name of your SIP servlet as illustrated in Example 2–12. The <display-name> in the sip.xml in this case must be "My sip app".
    Example 2–12 Accessing the Data for a SIP Session through JNDI
    InitialContext ic = new InitialContext();
    SipFactory sipFactory = (SipFactory)ic.lookup("sip/My sip app");"
    Cheers
    Lucas Persson

  • Need to access TestStand Sequence Step Parameters from Excel Macro

    Trying to create an EXCEL spreadsheet containing a list of all steps in a TestStand Sequence including Parameter names and types. How can I access the parameter names and types from EXCEL Visual Basic? It seems the API provides access to sequence parameters, but not step parameters.

    mmghost,
    Unfortunately, in TestStand 2.0, it is not possible to access the step parameter information.
    In TestStand 3.0, there are a few more APIs exposed that give you access to the step parameters. In TestStand 3.0, these are the steps you would take to get that information:
    1) Get a hold of the step object of interest. There are many ways to do this. For instance, starting with the Sequence Context you can get the Sequence object, and then get a step object from the sequence.
    2) From the Step object, get the Module object.
    3) At this point, you need to cast the Module object to the specific adapater type module you are using. For this example, we will assume that we are using the CVI adapter, so we would cast the Module object to a CVIModule o
    bject.
    4) The CVIModule object contains a Parameters collection of type CVIParameters, which contains the type information.
    For different adapter types you would just cast the Module object to a different specific module (LabVIEWModule, ActiveXModule, etc).
    Matt P.
    NI

Maybe you are looking for

  • How to change timestamp for MacMail (Lion) - 3hours ahead

    Hello How do you change the timestamp in MacMail (Lion)? It is three hours ahead. My computer time is correct (Pacific time). For example, I send something at 9AM it says 12PM. Please let me know if there is something in the preferences I can change.

  • Duplicate rows in Crystal XI

    Post Author: lfarrington CA Forum: General I have a report that was written in the version of Crystal that is part of Visual Studio 2005.  This report worked fine until we upgraded our server to run Crystal XI.  Now I have duplicated rows on the repo

  • Adobe LifeCycle Designer ES4 install error

    During install I am receiving an Error 1311.Source file not found:  I just downloaded and and now am running the install.   Why would this error occur

  • Addressbook sync error message in console

    Hello all, I've seen a couple of (non-answered) threads about addressbook sync issues here, but my question is, I guess, easier to answer. The following message keeps coming up in my console: AddressBookSync[91]: AddressBookSync (client id: com.apple

  • Error 50 when i try to update creative cloud

    When i try to update creative cloud ( for updating later lightroom) , I get error 50?