Flash text "Invalid file name" error in Dreamweaver

I'm trying to create some flash text in Dreamweaver. But
after I've formatted the text in the dialog box and hit save, I get
the message "invalid file name" for my top.swf name. Can't figure
out why I'm getting the message, and it's not working. Anyone???
Working on this for a class and need to get my assignment done!
Thanks in advance!

> Too funny, thanks for the laugh. The name I'm trying to
save it as is top.swf.
> trying to create a "Top of page" navigation spot at the
bottom of my page.
> I've given up!
I'm guessing there is a "funky" character in the hd name or
in the path down
to the "local site folder"
please do this:
open a new file using File->New
--->do not save this file<---
type some text, select it, and make a link to something in
this site using
the property inspector folder icon to bring up the "browse to
file" dialog
box.
view source, copy that link, and paste into your reply.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • Invalid File Name Errors when syncing to Ipod

    Ever since an update last fall I have been getting Invalid file name errors when I try to sync my ipod. A window would pop up saying "Windows could not copy 'SONGNAME' to the iPod 'IPODNAME' because an unkown error occurred (-37)." I would press OK and another window would immediately pop up that would say, "Attempting to copy to the disk 'IPODNAME' failed. the file name is invalid or too long."
    The windows would keep popping up countless times until the sync would just seem to time out and stop.
    The problem songs would have no problem playing in iTunes.
    Prior to the update this did not happen. No new songs were added around this time and nothing was changed to my file directory structure. I was too busy to troubleshoot this problem at the time and hoped that another update would fix it. Well, here I am many months and updates later and still no fix. After fiddling with iTunes and resetting my Ipod multiple times (goodbye saved angry bird games)I have found out that:
    1. By writing down the file name when the error windows pop up I can get a partial list of the problem file names. I could not get a complete list of the problem files because the sync would time out before a full list could be compiled (the list appears to be in the hundreds).
    2. If I changed the name of the file by adding OR deleting one character, remapping the song in itunes, the song would then sync properly.
    3. If I changed the name of the file, remapped the location of the file within iTunes, changed the name of the file BACK to the original name that iTunes supposedly had a problem with, and then remapped the location of the song within iTunes, the song would then sync properly
    4. If I moved the song to a different directory without changing the file name, remapped the song within iTunes, the song would sync properly.
    5. If I moved the song to a different directory without changing the file name, remapped the song within iTunes, moved the file BACK to the original directory, remapped the song again, the song would sync properly.
    6. If I renamed the file and then named it back to the original file name WITHOUT remapping the file location in iTunes, the song would still not sync properly
    7. If I moved the file into a different directory and then back again without remapping the file location, the song would still not sync properly.
    8. Changing or deleting the tags has no effect at all.
    9. File name lengths are already under 200 characters and there are no special characters used.
    So, to sum up, I have found out a way to fix the issue. The problem is, that there are hundreds of songs that appear to be affected and renaming or moving every single one individually and then remapping is extremely inefficient and ignores the cause of the problem. I also did not want to delete the itunes library and then add all of the songs back in because I have many custom playlists that I have spent hours creating and I do not want to delete them.
    Is there a better way to fix the problem? Especially if someone knows the root cause?

    I got a procmon log file and examined it. I have the file and I could also provide you with that or screenshots of it.
    There is nothing unusual about it. I can see entires in which CR has successfully opened the report and has cached in a c:\windows\temp.
    However there is one or two non-successful entries that may be related, especially that examining the stack trace brings us to a call to get_ProductLocaleID():
    - A call to read reg entry HKU\S-1-5-20\Software\Business Objects\Suite 12.0\Crystal Reports\Locale fails with NAME NOT FOUND.
    - immediately after that and from the same process (w3wp.ex) there is a call to open directory "c:\" which is logged as ACCESS DENIED.
    Any subsequent unsuccessful calls seem to be results of exception handling in the debug code.
    Does this point to any setup issues with CR? We always run the redistributable x86 runtime when installing it.

  • "Invalid file name" error when trying to load the report in IIS/CR 2008

    We have deployed our application to many installations with no problem however in one particular case we get this error whenever we try to load any reports in our web app.
    I made sure that the DefaulAppPool user (Network Service) has read+excute on all folders as well as the IIS anonymous user.
    The anonnymous access is off but Windows Integrated Security is on.
    ASP.NET Version:2.0.50727.3082
    Web.config is healthy and is listed below.
    Other pages in the application which are not depenent on C.R load and run perfectly.
    I don't know what else to check
    thanks for you help
    jeff
    Web.Config Entries related to CR ***********
    <compilation debug="true">
    <assemblies>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    </assemblies>
    <buildProviders>
    <add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></buildProviders>
    </compilation>
      ERROR DETAILS *****************
    [COMException (0x800001fb): Invalid file name.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +418
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID() +31
       CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +474
       CrystalDecisions.ReportSource.CachedObjectReportSource.InternalGetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +15
       CrystalDecisions.Web.CrystalReportSource.get_ReportDocument() +184
       CrystalReportPageTemplate.OnInit(EventArgs e) in

    I got a procmon log file and examined it. I have the file and I could also provide you with that or screenshots of it.
    There is nothing unusual about it. I can see entires in which CR has successfully opened the report and has cached in a c:\windows\temp.
    However there is one or two non-successful entries that may be related, especially that examining the stack trace brings us to a call to get_ProductLocaleID():
    - A call to read reg entry HKU\S-1-5-20\Software\Business Objects\Suite 12.0\Crystal Reports\Locale fails with NAME NOT FOUND.
    - immediately after that and from the same process (w3wp.ex) there is a call to open directory "c:\" which is logged as ACCESS DENIED.
    Any subsequent unsuccessful calls seem to be results of exception handling in the debug code.
    Does this point to any setup issues with CR? We always run the redistributable x86 runtime when installing it.

  • Invalid file name error while copying some packages to USB disk.

    Hi
    I am trying to create my custom local repository by copying all the packages from /var/cache/pacman/pkg to /run/media/anand/SJCE_EEE/custompkgs on my USB storage device. But I get the following errors for some packages:
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/graphite-1:1.0.3-1-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/hsqldb-java-1:1.8.0.10-2-any.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/libmythes-1:1.2.3-1-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/libshout-1:2.3.0-1-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/phonon-1:4.6.0-2-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/rasqal-1:0.9.29-1-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/redland-1:1.0.15-3-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/redland-storage-virtuoso-1:1.0.15-3-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/vi-1:050325-2-i686.pkg.tar.xz’: Invalid argument
    cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/xf86-video-ati-1:6.14.6-1-i686.pkg.tar.xz’: Invalid argument
    But other packages copy properly to the USB storage device. If I remove : from the file names of packages mentioned above they copy properly. Is this because of the FAT32 file system on my USB disk?
    The above mentioned packages copy properly to my home directory which is ext4 file system.
    Any suggestions to correct this?
    Thanks in advance.
    Anand

    rsamurti, you asked the moderators to do this:
    Please remove : from package file names due to the problems reported in this post. Such packages cannot be copied to FAT32 file systems.
    This is up to you. Just "Edit" the post by yourself and mark this section deleted. (See the BBCode help for this.)
    And please leave an according comment stating something like the quote above there. It would be valuable information.

  • An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error

    I get the message “Server not responding” whenever trying to add files to my web site via DW. The following message appears: "An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error. Please try the operation again." 
    I called the hosting service provider, and they said they were able to upload a 20 mb document with no problem. I was also able to upload a document using Filezilla.
    Therefore, the problem must be with DW.
    When I go to Manage Sites and choose my site and get to the Test Connection button, the test is successful, which further confuses the issue.
    Any guidance would be greatly appreciated. 

    Does this help?
    http://forums.adobe.com/thread/861606
    Also check the log:
    http://forums.adobe.com/thread/937231
    It is possible it is a host issue but because they use a higher level account to test that they do not see the error.

  • Copying files from Mac to Windows-invalid file names

    Unfortunately, my boss likes Windows more than Macs, so we have puchased some new Dell computers to replace older G4 Macs.
    I'm having trouble copying existing files from a Mac (OS 10.4)to the shared drive on the Windows XP computer. I'm getting an error message:
    "You can't copy the item 'filename' because the name is too long or includes characters that the disk can't display." Sometimes it doesn't give a filename, it gives a similar message "Some items couldn't be copied..."
    I assume the person has used some "illegal" file names such as "Meeting minutes 10/7/07" Or maybe we have too many folders inside of folders.
    QUESTION: Is there a correct/better way to copy large quantites of files/folders from Mac to Windows? Or is there a program that will look at the Mac files and alert me to wrong or too long files names?
    Other ideas to copy these files?
    thanks,
    Bill

    You can use a freeware utility like Renamer4Mac or BatchRename'em both of which have built-in filters that will rename files for Windows compatibility.
    Thank you... This sounded to me like it would fix the problem, so I downloaded both and looked at them. However, the manual/help file is very sparse, so I don't know if it will do what I want to and how it would do it.
    1. I couldn't find any option in either program to: Look at all files in selected folder, and list any invalid file names for Windows.
    2. There doesn't seem to be an option to "rename files without bad Windows characters" or "Remove invalid for Windows characters"
    I just couldn't find any explanation of how it was offering to rename the files. I can't rename all files to sequential names, that would make it hard to find a file later.
    Thank you,
    Bill

  • Invalid subreport name Error code:-2147483086

    The setup used in this particular environment is to run reports via Crystal reports server 2008. We call the servers via the rassdk_java_dg_12_en and the setup works just fine BUT in one particular case.
    The report that fails have a main report with a datasource to SQL. The report does have about 20 - 25 subreports mostly based on the same datasource. There are however 6 subreports that uses ttx files as datasources.
    The report works fine when there is no data for the ttx subreports, but whenever a "change datasource" is tried to the ttx subreports the error "Invalid subreport name Error code:-2147483086" pops up.
    We have done noumerous tests on the pojo approach in other reports so the technic and code works just fine - it most be some special case in the report.
    Before we start to try to rebuild the report we will give you a chance to help us out. The report sucker is big and complex so a rebuild is not wanted...
    Here is the particular code involved
    private static void passPOJO(ReportClientDocument clientDoc,
                ReportPojoHolder pojoHolder, String reportName)
                    throws ReportSDKException,ClassNotFoundException {
            //Its a pojo data source, but it's nothing in it
            if (pojoHolder.getPojos().size() == 0) {
                return;
            String reportTable = pojoHolder.getTableName();
            Object pojo = pojoHolder.getPojos().iterator().next();
            POJOResultSetFactory factory = new POJOResultSetFactory(pojo.getClass());
            POJOResultSet resultSet = (POJOResultSet)factory.createResultSet(pojoHolder.getPojos());
            if(reportName == null || reportName.equals("")) {
                clientDoc.getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
            else {
                System.err.println("Setting data in " + reportName );
    //Here comes the error
                clientDoc.getSubreportController().getSubreport(reportName).
                    getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
    Here is the stacktrace:
    table: srptMainCustomerList;1, subrapport: AddressField
    table: srptusrinf;1, subrapport: AdvisorName
    table: srptusrinf;1, pojo: Beta
    table: srptusrinf;1, pojo: JensensAlpha
    table: srptusrinf;1, pojo: PerformanceChart
    Setting data in PerformanceChart
    2009-02-06 09:05:31,720 ERROR (CrystalReportServlet:doGet()) - [Username=Patrik Andrén, UserID=n249060, CustId=005563741684, Cstid=37385] - (Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed, ) - [applicationId=omega, omegaUserId=omega.userid, credentials=IT, groupName=IT, sessionId=yLkhJLtYpLlDQ5Jf5S2GkzhPfSZJBg2zZkT4LfQ0L1bJg2v20pz2!-2033571304!1233906968432, requestId=06968853:167:000], exception-stack=
    com.nordea.omega.report.exceptions.ReportGenerationFailedException: Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed,
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bl.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.verifyDatabase(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bl.byte(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ao.onDataSourceChanged(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
         at com.nordea.crystalreports.ReportHelper.passPOJO(ReportHelper.java:814)
         at com.nordea.crystalreports.ReportHelper.changeDataSource(ReportHelper.java:124)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:115)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:62)
         at com.nordea.omega.report.servlet.CrystalReportServlet.doGet(CrystalReportServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServi

    I have been able to wrestle this down after a lot of frustrating work. The error had nothing to do with pojos at all. The error was simple a store procedure that did not reply nothing.
    In the preparation of the subreport that did consist of the pojo data source. The report(server?) did send a "pre call" to the store procedure with NULL as parameters. The reply was unfortunately an "empty" reply. When we changed the reply to an empty result set it went pass the data sources.
    The error message given on this was "Invalid subreport name"! Not very helpful at all.
    I have used this new version for about 3 weeks now in a "proof of concept" work controlling if we would be able to upgrade from crystal 9/Harmoni to Crystal 2008/Crystal Report Server 2008. The answer will be yes. It will work. And with a minimum of report changes which is very nice.
    What have struck me the most during this work is a few proposals to improvements.
    1. Put the versions on jars and sdk's so it's obvious what's used. I spent a few days with an old version of a sdk believing that it was a newer than I already had. It should not be neccessary to go through a manifest file inside a jar in order to find out what the version is. Put it on the file names!
    2. Give proper error messages back when something goes wrong. If a parameter value is missing. Send back the parameter that's missed/misses a value for Gods sake. The programmer catching the error most know what's missed hence the message. Would save the user's of the API very much time.
    I spent about 5 - 10 days trying to find out what was wrong with my sub report name (This thread). It had nothing to do with the subreport name. It had to do with missing data from a called store procedure!
    3. The documentation can be a bit tricky to find. I saw that you have given away a eclipse plugin in order to gather the documentation inside the IDE. That's a good approach.
    If the error messages will be enhanced and more accurate it's a pretty handy api to work with. And the handling of unmanaged reports is a wet dream compared to usage of the Harmoni API. That's a real nightmare. The server seems to be very stable and just runs.
    I like this forum, fast replies when one is stuck is extremely helpful!
    /Patrik

  • Jpub invalid column name error

    I try to create a Wrapper for a PL/SQL Package in a Oracle8i database with jpublisher.
    I created Packages and Object Types with the SQl script Rational.sql. \oracle\ora81\sqlj\demo\jpub\Rational.sql
    jpub failed to produce any sqlj or java files, but produces a "invalid column name" error. This happened with all packages I have tested. Object Types are wrapped without problems.
    jpub -sql=RationalP -user=scott/tiger -url=jdbc:oracle:oci8:@xx
    SCOTT.RATIONALP
    ORA-00904: invalid column name
    JPub: Java Object Type Publisher, version 8.1.7.0.0 Production
    Thanks for Help, Konrad

    The database that your are running against is 8.1.6 or earlier.
    You are seeing an issue where JPublisher is not backwards compatible. It looks up system tables to determine the signatures of SQL types and of PL/SQL packages. A change happened with the 8.1.7 release in the representation for packages, but JPublisher did not keep backward compatibility. You can do one of the following:
    (1) Use the JPublisher version that came with your database. (Use the runtime.zip/translator.zip libraries under [Oracle Home]/sqlj/lib.)
    (2) Use the JPublisher from Oracle 9.0.1 or later. It also provides backward compatibility to 8i databases.
    Let us know if you have any further questions.

  • Invalid table name error ....

    Hi,
    I have written a function which takes table name dynamically and if column emp_id is null for more than 0 records then 1 is returned else 0 .
    My problem is when i compile iam getting invalid table name error .
    Below is my function :
    create or replace
    FUNCTION f_table ( tab_name in varchar2 ) return number is
    l_count number;
    begin
    select count(*) into l_count from tab_name where emp_id is null;
    if l_count >0 then
    return 1;
    else
    return 0;
    end if;
    end;
    Please help ...
    Thanks in advance ..

    Looks fine to me, you could use sign() for the last part:
    CREATE OR REPLACE FUNCTION f_table (tab_name IN VARCHAR2)
    RETURN NUMBER
    IS
      l_count NUMBER;
      v_sql VARCHAR2 (2000);
    BEGIN
      v_sql := 'SELECT COUNT (*) FROM ' || tab_name || ' WHERE emp_id IS NULL';
      EXECUTE IMMEDIATE v_sql
      INTO l_count;
      RETURN sign(l_count);
    END;And if you have large tables, you could consider not counting it all, and do something like this:
    CREATE OR REPLACE FUNCTION f_table (tab_name IN VARCHAR2)
    RETURN NUMBER
    IS
      l_count NUMBER;
      v_sql VARCHAR2 (2000);
    BEGIN
      v_sql := 'SELECT COUNT (*) FROM ' || tab_name || ' WHERE emp_id IS NULL AND rownum = 1';
      EXECUTE IMMEDIATE v_sql
      INTO l_count;
      RETURN l_count;
    END;Regards
    Peter

  • "unable to create *file name*" error

    I imported videos from ipod touch to iphoto. Then i try to export the videos on either desktop or external hard-drive and it gives me the "unable to create *file name*" error in both cases. To export videos i go FIle-Export, choose kind "original". Tried to do it with several different albums, and it doesn't work on any of them. Didn't have an issue for exporting pictures though.
    Please help!
    Nina

    What exactly was selected when you did the test?
    Regards
    TD

  • Oracle Invalid Column Name Error in JSP

    I was wondering if anyone could provide some help. I am new to JSP, Beans and Oracle and I am getting a java.sql.SQLException: ORA-00904: invalid column name error when I run the JSP below. The Java Bean's code it is referencing is also included and this bean is just storing information from the server from a previous login page.
    Eventually I need to display more columns from the database using this JSP, but since I can even get this one working, I am at a loss!
    PLEASE HELP!!!!
    I have even tried to replace the beans reference in the sql with just a login and password I know exists in the database! Same error... Help!
    I am running Tomcat and Oracle 9i!
    <!--
    Assign-->
    <html>
    <head>
    <title>Student Signon on page</title>
    </head>
    <body bgcolor="#FDF5E6">
    <h1 align="center">>Student Signon on page</h1>
    <%@ page import="java.sql.*" %>
    <%@ page import="BeanAs2.Bean5b" %>
    <%
    String driverClassString = "oracle.jdbc.driver.OracleDriver";
    String driverConnectString;
    driverConnectString = "jdbc:oracle:thin:@midas2:1521:globaldb";
    String user = "system";
    String passwd = "manager";
    %>
    <jsp:useBean id="Bean5b" class="BeanAs2.Bean5b" />
    <jsp getProperty id = "Bean5b" property = "login" />
    <jsp getProperty id = "Bean5b" property = "pswd" />
    <%
    Connection connection = null;
    try {
    Class.forName(driverClassString);
    connection = DriverManager.getConnection(driverConnectString, user, passwd);
    catch (Exception e) {
    out.println("Cannot close connect to database!"+e);
    if (connection != null) {
    String login =Bean5b.getpassword();
    String pswd =Bean5b.getStudentlogin();
    String sql = "SELECT studentinfo.familyname FROM STUDENTINFO WHERE studentinfo.username='login' AND studentinfo.password='pswd';";
    try { // execute the query
    //SELECT studentinfo.familyname FROM STUDENTINFO WHERE studentinfo.username='s40079703' AND studentinfo.password='p4007swd'
    Statement stmt = connection.createStatement();
    ResultSet rst;
    rst = stmt.executeQuery(sql);
    // Fetch the query result, and dispaly them in a table
    while (rst.next()) {
    %>
    <tr>
    <td> <%= rst.getString("system.teaching.code") %> </td>
    </tr>
    <%
    stmt.close();
    connection.close();
    } catch(Exception e) {
         out.println("Cannot fetch data from database!"+e);
    %>
    </body></html>
    package BeanAs2;
    import java.util.*;
    public class Bean5b {
         // all variables must not be public in a bean
    private String Studentlogin;
    private String password;
    public String getStudentlogin() {
    return this.Studentlogin;
    public String getpassword() {
    return this.password;
         public void setStudentlogin(String login) {
              this.Studentlogin = login;
         public void setpassword(String pswd) {
              this.password = pswd;

    Hi
    Thanks for your reply, I should of looked at my code before I copied over. The field should of been "studentinfo.familyname" which I was calling, I have just been changing so much code in this to try and see what the problem is, I didnt fix this before I copied this over.... trust me, I have tried everything........ Hence when I correctly called the "concatination the login name and password to the query properly" as you pointed out, I got rid of the error, BUT now it returning NO DATA????? (the table is populated - I have checked this!!!!)
    The table I am trying to get information from sits under a schema called system. It has the following columns;
    STUDENTID NUMBER 8
    FAMILYNAME VARHCAR 60
    GIVENNAME VARCHAR 60
    USERNAME VARCHAR 9
    PASSWORD VHARCHAR 60
    The database is called globaldb. My computer is called Midas2
    Whats more, the query works in Oracle sql*plus!!! Returning the relevent data!!!
    Actually here is the code for the JSP, with all the changes and none of the mistakes of my previous post...........,
    Pleaes help!!!
    <html>
    <head>
    <title>Student Signon on page</title>
    </head>
    <body bgcolor="#FDF5E6">
    <h1 align="center">>Student Signon on page</h1>
    <%@ page import="java.sql.*" %>
    <%@ page import="BeanAs2.Bean5b" %>
    <%
    String driverClassString = "oracle.jdbc.driver.OracleDriver";
    String driverConnectString;
    driverConnectString = "jdbc:oracle:thin:@midas2:1521:globaldb";
    String user = "system";
    String passwd = "manager";
    %>
    <jsp:useBean id="Bean5b" class="BeanAs2.Bean5b" />
    <jsp getProperty id = "Bean5b" property = "login" />
    <jsp getProperty id = "Bean5b" property = "pswd" />
    <%
    Connection connection = null;
    try {
    Class.forName(driverClassString);
    connection = DriverManager.getConnection(driverConnectString, user, passwd);
    catch (Exception e) {
    out.println("Cannot close connect to database!"+e);
    if (connection != null) {
    String login =Bean5b.getpassword();
    String pswd =Bean5b.getStudentlogin();
    String sqlQuery;
    sqlQuery = ("SELECT studentinfo.familyname FROM STUDENTINFO WHERE studentinfo.username='" + login + "' AND studentinfo.password='" + pswd + "'"); %>
    <% try { // execute the query
    Statement stmt = connection.createStatement();
    ResultSet rst;
    rst = stmt.executeQuery(sqlQuery);
    // Fetch the query result, and dispaly them in a table
    while (rst.next()) {
    %>
    <tr>
    <td> <%= rst.getString("studentinfo.familyname") %> </td>
    </tr>
    <%
    stmt.close();
    connection.close();
    } catch(Exception e) {
         out.println("Cannot fetch data from database!"+e);
    %>
    </body></html>

  • Sybase JDBC driver & Invalid column name error

    I submitted a note a year ago concerning JDBC-ODBC bridge and SQL Server db. Same Invalid column name error. The resolution was a bug in the XSU code.
    This time the error is with a jconnect5 JDBC driver from Sybase to a Sybase ASA db. ASA is Adaptive Server Anywhere.
    <ERROR xsql-timing="140">oracle.xml.sql.OracleXMLSQLException: S0022: Invalid column name 'name'.</ERROR>
    However if I use a Sybase JDBC driver from INet Software of Germany, I get the desired result of my query.
    Below are sample XSQLConfig.xml definitions.
    INet Software Sybase JDBC driver definition:
    - <connection name="deasa">
    <username>dba</username>
    <password>sql</password>
    <dburl>jdbc:inetsyb:LEMKAU:2638?database=asademo</dburl>
    <driver>com.inet.syb.SybDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    Sybase jconnect5 Sybase JDBC driver definition:
    - <connection name="asa">
    <username>dba</username>
    <password>sql</password>
    <dburl>jdbc:sybase:Tds:lemkau:2638?ServiceName=asademo</dburl>
    <driver>com.sybase.jdbc.SybDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    I believe the bug has to do with the numeric codes that the drivers use to determine data types are not properly interpreted.
    See XML General note title "insert-request, xsu 2.1.0 beta & SQL Server" for reference.
    Steve.

    Thanks for the notification. We will look into this issue...

  • Case Decode - invalid column name error

    select Workweek, max( decode( Type, T34, prct, null ) ) Bad,
                        max( decode( Type, T35, prct, null ) ) Repair,
                        max( decode( Type, T36, prct, null ) ) Good
    FROM
    (select Workweek, Type, round(ratio_to_report(sum(Testtime_in_Minutes)) over(partition by Workweek)*100,3) prct
    FROM
    (select ts.lot as Lot, ts.wafer_id as Wafer, dt.SORT_X as X, dt.SORT_Y as Y, ts.devrevstep as PRODUCT, ts.operation as OPERATION, dt.INTERFACE_BIN as INTERFACE_BIN, (dt.TEST_TIME)/60.0 as Testtime_in_Minutes,
    ts.TEST_END_DATE_TIME as Test_End_Time, ts.Program_Name, ts.test_end_work_week as Workweek,
    (CASE
    WHEN (dt.INTERFACE_BIN > 9 AND dt.INTERFACE_BIN < 15) THEN 'T34'
    WHEN (dt.INTERFACE_BIN =30 OR dt.INTERFACE_BIN =31 OR dt.INTERFACE_BIN = 32 OR dt.INTERFACE_BIN = 33) THEN 'T35'
         ELSE 'T36'
         END ) Type
    from a_testing_session ts, a_device_testing dt
    where ts.test_end_work_week >= 200715
    and (ts.devrevstep like '9600%')
    and dt.lao_start_ww = ts.test_end_work_week
    and dt.ts_id = ts.ts_id)
    GROUP BY Workweek, Type)
    This sql query above does not run properly, gives invalid column name error. However, the entire select statement surrounded by the () works. There must be an error in the first 4 lines someplace, but I do not see it.

    Assuming type is a string, I assume you meant
    MAX( DECODE( type, 'T34', prct, NULL )) Badwhere T34 is a string literal. Otherwise, you'd need to have columns named T34, T35, and T36 in your inner select.
    One note, though, it's probably a bad idea to have a column named Type. While it's legal to do so, TYPE is a keyword in SQL, so that name will at a minimum be confusing.
    Justin

  • Select * from {tablename}  : invalid table name error

    Hi,
    I want to get data from a table and the table should be passed at runtime from selecting a table from the drop down list.In case of insertion of values I am getting no errors.But when I pass the table name as an argument I am getting invalid table name error.I think there is any syntax errors.I appreciate any help.
    Regards,
    Sivaram

    you cannot use parameter for table name in PreparedStatement.
    you can either generate the sql dynamically, such as String sql="select * from "+tablename, or you can check whether the database vendor has special api for this.

  • "Invalid Cursor Name" error at high volumes

    I have a customer using the Microsoft ODBC driver to connect from NT to a remote HP-UX box running Oracle. At transaction volumes of thousands per hour, they are receiving "Invalid cursor name' errors from the ODBC cursor library approximately a dozen times per hour. The number of cursors available on Oracle is configured at 1,250. Any idea what might be causing this would be appreciated. Thanks.

    Have you tried switching to the Oracle ODBC driver? It sounds like this may be a problem in the Microsoft driver. If that's the case, you'll probably want to bring the issue up with Microsoft.
    Justin

Maybe you are looking for

  • Voice over wont turn off on iphone 4s after ios 8. Update

    Voice over somehow got turned on after the ios 8 update and when i go to double tap and turn it off it wont turn off it just turns right back on

  • Unable to Obtain Cover Flow View in iTunes 8.1

    I no longer am able to view in cover flow. The screen remains dark without any images on it. Is there a preference setting to change?

  • Sending Emails in APEX

    Hi, I am trying to send an email from my application using apex.oraclecorp.com Below is the process defined. DECLARE l_body CLOB; l_body_html CLOB; v_name varchar2(900); r_name varchar2(900); st_date date; ed_date date; BEGIN FOR C1 IN (select "USERN

  • Wine xauth issue (Xorg 7.0)

    I can't find xauth, and an updatedb for locate takes ages on my drives... Where is xauth now? Also, what can I do instead of softlinking to let wine know where xauth is? Is there a config entry I can change or something? gksu wine /root/.wine/drive_c

  • Business Packages required for SAP EP.

    Hi Friends, I have installed SAP NetWeaver  with software Units AS Java, DI, EP Core and EP. Then updated the system with SP Stack 17. Now, I need to apply business packages for following modules. Employee Self Service Management Self Service Expense