Invalid column name while loading member error in EIS
we have changed the sort_order_01 column as LEVEL01_SORT_ORDER in SQL server view, but it is not reflecting in EIS during member load, however we added manually LEVEL01_SORT_ORDER in table properties of dimension member, but it is not reflecting in EIS, it is poping the error as:Invalid column name "sort_order_01".
hi techies kindly throw some light on this
we have done the same, even then it is not reflecting in OLAP model and Meta Outline.Problem is whether in the sql server or in the EIS ..
Please suggest & help me out.
sunil
Similar Messages
-
Dimension processing failure - Invalid Column Name
Hello
I have copied our Account Dimension from Prod to Dev because we are testing 7.5MS.
I have Maintained Properties and modified dimension successfully.
But when I process i get the foll error :
- OLE DB error: OLE DB or ODBC error: Invalid column name 'ID13'.; 42S22; Invalid column name 'SEQ13'.; 42S22; Invalid column name 'YE_REF13'.; 42S22; Invalid column name 'SOLVEORDER13'.; 42S22; Invalid column name INPUT_SCHEDULE13'.; 42S22; Invalid column name 'ICMATCH13'.; 42S22; Invalid column name 'IC_SMRY13'.; 42S22; Invalid column name 'FORMULA13'.; 42S22; Invalid column name 'DRILLKEY13'.; 42S22; Invalid column name 'ALTECHUNUSED13'.; 42S22; Invalid column name 'ALTECHUNUSED12'.; 42S22; Invalid column name 'ALTECHUNUSED11'.; 42S22; Invalid column name 'ALTECHUNUSED10'.; 42S22; Invalid column name 'ALTECHUNUSED9'.; 42S22; Invalid column name 'ALTECHUNUSED8'.; 42S22; Invalid column name 'ALTECHUNUSED7'.; 42S22; Invalid column name 'ALTECHUNUSED6'.; 42S22; Invalid column name 'ALTECHUNUSED5'.; 42S22;
Invalid column name 'ALTECHUNUSED4'.; 42S22; Invalid column name 'ALTECHUNUSED3'.; 42S22; Invalid column name 'ALTECHUNUSED2'.; 42S22;
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'AppSet', Name of 'Account' was being processed.
Server: The operation has been cancelled.
When I changed everything thing back to the old dimension it all works fine again.
Any help please?
Rgds
Perven
Edited by: Pervendren Naidoo on Jul 29, 2010 11:18 AM
Edited by: Pervendren Naidoo on Jul 29, 2010 11:18 AMIt seems to be something wrong into your dimension.
Check the member 42S22 especially regarding hiereachy.
Regards
Sorin Radulescu -
Okay, I'm by no means a cold fusion expert. But I have been teaching myself over the last year since our website was built off of Cold Fusion. So I need help because I am trying to build a site where people can enter in their e-mail address, and name (first and last) for a sweepstakes that we have on our catalog.
I have create a table called "Sweepstakes" so on my MS SQL 2005 Web Box there is a table under the database called "dbo.sweepstakes". I have replicated basically everything that a original database that was already created to capture user's email address for catalog request and what have you. The original database to capture user's request catalogs from us is called "dbo.InfoRequest" (just a FYI) and this was the database I basically replicated in a way.
So after saying all this, I continue to receive this error message and I can not figure out why. So here is the error message that I am getting.
This is the error when trying to load the database from the "webview" basically. We have an Admin Console to the website and in their, there is a section to list the contents of a specific database. So if you requested a catalog, you put in your name, email address, etc on to the website and when you hit submit on the website it insert it into the database called "dbo.InfoRequest". So when the Spring comes and I want to get a list of people that have request a catalog, I go to our website's admin console and inside there, there is a "List Catalog Request". When you click on it, it loads a file called "ListCatalogRequest.cfm" and it displays the "dbo.InfoRequest" database on the screen in a table format basically. So I am trying to replicate that for this sweepstakes we are having on our website / catalog but without using the "dbo.InfoRequest" database. Since we are doing a drawing, I'd rather it be in it's own database for viewing a drawing. So I have copied the "ListCatalogRequest.cfm" file and renamed it to "ListSweepstakesEntrys.cfm" and changed a couple of things in the file to point to the "dbo.Sweepstakes" that I created this morning and here are the results when you bring up the "ListSweepstakesEntrys.cfm" file.
If you need the results and / or code from either "ListSweepstakesEntrys.cfm" or "IISAdminSecurity.cfm" please let me know.
THANK YOU FOR ALL YOUR HELP IN ADVANCE!
--- ListSweepstakesEntrys.cfm ---
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name 'Sweepstakes'.
The error occurred in E:\data\webs\m_k_tweb2007\admin\iiAdminSecurity.CFM: line 298
Called from E:\data\webs\m_k_tweb2007\admin\ListSweepstakesEntrys.cfm: line 2
Called from E:\data\webs\m_k_tweb2007\admin\iiAdminSecurity.CFM: line 298
Called from E:\data\webs\m_k_tweb2007\admin\ListSweepstakesEntrys.cfm: line 2
296 : WHERE
297 : Username = '#Client.Username#'
298 : AND Password = '#Client.Password#'
299 : AND Active = 'Y'
300 : AND UserType = 'A'
SQL SELECT [Sweepstakes] AS TableAccessLevel, MinimumSecurity, IDNumber FROM AdminUsers WHERE Username = 'username' AND Password = 'password' AND Active = 'Y' AND UserType = 'A'
DATASOURCE M_k_tWeb2007
VENDORERRORCODE 207
SQLSTATE 42S22
Resources:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Remote Address 24.XX.XX.XX
Referrer http://m_k_t.com/admin/admin.cfm
Date/Time 24-Feb-10 07:32 AM
Stack Trace
at cfiiAdminSecurity2eCFM1992009626.runPage(E:\data\webs\m_k_tweb2007\admin\iiAdminSecurity. CFM:298) at cfListSweepstakesEntrys2ecfm1853454474.runPage(E:\data\webs\m_k_tweb2007\admin\ListSweeps takesEntrys.cfm:2) at cfiiAdminSecurity2eCFM1992009626.runPage(E:\data\webs\m_k_tweb2007\admin\iiAdminSecurity. CFM:298) at cfListSweepstakesEntrys2ecfm1853454474.runPage(E:\data\webs\m_k_tweb2007\admin\ListSweeps takesEntrys.cfm:2)
java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name 'Sweepstakes'.
at macromedia.jdbc.base.BaseExceptions.createException(Unknown Source)
at macromedia.jdbc.base.BaseExceptions.getException(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at macromedia.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at macromedia.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at macromedia.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source)
at macromedia.jdbc.base.BaseStatement.execute(Unknown Source)
at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
at coldfusion.sql.Executive.executeQuery(Executive.java:753)
at coldfusion.sql.Executive.executeQuery(Executive.java:675)
at coldfusion.sql.Executive.executeQuery(Executive.java:636)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
at cfiiAdminSecurity2eCFM1992009626.runPage(E:\data\webs\m_k_tweb2007\admin\iiAdminSecurity. CFM:298)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63)
at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:255)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:1925)
at cfListSweepstakesEntrys2ecfm1853454474.runPage(E:\data\webs\m_k_tweb2007\admin\ListSweeps takesEntrys.cfm:2)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)OK, this is more a SQL question than a CF question, but not to worry.
You say this:
I have create a table called "Sweepstakes"
My emphasis.
But your query is this:
SELECT [Sweepstakes] AS TableAccessLevel, MinimumSecurity, IDNumber FROM AdminUsers WHERE Username = 'username' AND Password = 'password' AND Active = 'Y' AND UserType = 'A'
The question I pose to you is: does a SELECT statement in SQL take the name of a table?
Hint: no.
Best you revise your SQL docs, I think.
Adam
PS: it's "ColdFusion", not "Cold Fusion". Not that it really matters :-) -
SSMA for Sybase - Table Not Load: Invalid Column Name fill_factor
I am trying to convert from Sybase 11.5 to SQL 2005 and when I refresh from database I receive the following errors. Fill_Factor is not a column in the tables in Sybase. Any thoughts on what might be going on?
Analyzing metadata...
Converting procedure Mortality.dbo.proc_exposure_1 ...
Sybase Server Object Collector error: table : company_mortality_rate_tbl
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Sybase Server Object Collector error: table : study
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Converting procedure Mortality.dbo.proc_mortality_output ...
Sybase Server Object Collector error: table : sysindexes
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Sybase Server Object Collector error: table : sysindexes
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Sybase Server Object Collector error: table : exposure_array
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Sybase Server Object Collector error: table : mortality_rate_table
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Converting procedure Mortality.dbo.proc_study_work_1 ...
Sybase Server Object Collector error: table : study_working
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.
Sybase Server Object Collector error: table : study_working
[Native Error code: 207]
[DataDirect ADO Sybase Provider] Invalid column name 'fill_factor'.
Error occurred while loading content.Hi,
Even I am getting the same error when trying to see the table structure in sybase from SSMA tool.
Sybase Server Object Collector error: table : EFTArchive_bk2
Invalid column name 'fill_factor'.
Error occurred while loading content.
I am not sure how to fix this.
This answer doesn't help me. "In SQL Server 2005 the fill_factor is spelled as FILLFACTOR." As I am
getting this error sybase database itself.
I am using SSMA to migrate data from sybase to sql. when I select the tables in sybase, I am getting
above error. (Invalid column name "fill_factor")
Could some please help me how to fix this error? -
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> -
Strange error "Invalid column name 'not applicable'
When I am trying this piece of code on Solaris 10 having sybase ASE 12.5 installed :
ResultSet rs = stmt.executeQuery("sp_helpdb master");
while(rs.next()){
System.out.println(rs.getString(1));
I am getting the following error:
Invalid column name 'not applicable'
This query returns multiple result sets.
I am able to print all values in the first result set only.
Its failing in rs.next();
I am using jConnect 5.2 driver.
The same query is executing fine on Solaris 8 having ASE 12.0 installed.
If i use :
ResultSet rs = stmt.executeQuery("sp_helpdb master");
then there is no problem in Solaris 10
Plz help me.
Its urgentYou need to use execute() not executeQuery() in the scenario below and use the multi-result set logic
If you are using jConnect, see the samples for an example. -
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 -
Error querying fact: -2417217900 invalid column name
Dear Xperts
while validating script logic it gives error"error querying fact: -2417217900 invalid column name P_ACCT"
P_ACCT dimension created by me.
problem has started today while creating new script logic.
as old logic created earlier was sucessfully validated
new logic was created refering document 330 for bpc,so there is no scripting error
pls guide me through this.
thanks
kashyapthanks for ur advice
i was able to validate logics previously.
i tried way you sugested but was unable to validate.
i also tried updating that dimension members but it was giving me some olap querry error while processing dimension after changing dimension members.
so finally i deleted that dimension created new one did whole process again
& was successfull
but i wanted to know why this error could have occured
thanks
kashyap -
Adding dim property - Error processing (Invalid column name)
BPC 5.1 SP3
I'm trying to add FormulaH1 and FormulaH2 properties to a user-defined dim containing two hierarchies. Properties are added and processed without any issues. However, when I subsequently try to process the member sheet, which has two new columns ("FormulaH1" and "FormulaH2"), I receive this error:
- Error occurs during UpdateRemainData. Invalid column name 'formula13'.
Column 13 in the member sheet contains the new "FormulaH2" property. (Column 12 has the "FormulaH1" property).
Any ideas what might be causing this error? I do see the new columns added to the mbr table. I've tried changing the property lengths and "In App" settings---get the same error when processing the member sheet.
Are there issues with added Formula properties to a user-def dim? Or, is there something else going on here?Answered my own question....
I only need to add one property called "Formula". BPC will then add the H1 and H2 "property" columns in the member sheet. -
when i run the following query i getbthe error invalid column name .My db oracle 8i,NT.
rs8 = stmt2.executeQuery("select a.c_x12n_position_cd, a.c_x12n_sequence_cd, a.c_x12n_composite_id, " +
"a.c_x12n_table_area_cd, a.c_x12n_requirement_cd, a.c_x12n_reference_designator, " +
"a.c_x12n_loop_level_nb, b.c_dg_type_code, b.c_dg_usage_cd, b.c_dg_max_occurrences_nb, " +
"b.c_dg_min_occurrences_nb from T_x12n_supplement a, T_Data_Group_Format b, " +
"T_Message_Node_Directory c " +
"where (a.c_dgc_ik = c.c_dgc_ik) " +
"and (a.c_dgc_ik = b.c_dgc_ik) " +
"and (a.c_dg_ik = c.c_dg_ik) " +
"and (a.c_dg_ik = b.c_dg_ik)");Run the query in SQL*Plus. It will give you more information about which column it doesn't like.
-
Invalid column name error in JDBC adapter
Hi all,
My scenario is Proxy->XI->JDBC.
I get the following error in receiver JDBC adapter.
Unable to execute statement for table or stored procedure. 'Account_Master' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'A7'.
There is no column by name A7 in the table nor there is a field by that name in the data type.
Can anyone provide any helpHi Swatantra,
compare your message-type with the database table!
There must be difference!
Regards Mario -
After 8.8 Upgrade Invalid Column Name error on UDF in Sales Order
I have upgraded a dtaabase from 2005A to 8.8 SP00 PL15.
I encountered a UDF/UDT warning (Note 1360832) in the Pre-Upgrade CHeck but proceeded in any case.
After the upgrade as soon as I enter the BP in a Sales Order, I get the following error.
[Microsoft] [SQL Server Native Client 10.0] [SQL Server] [Invalid Column Name U_CampPB1.2)
[Microsoft] [SQL Server Native Client 10.0] [SQL Server] Statement 'Withholding Tax' (OWHT) could not be prepared.
This UDF was one of many reported in the Upgrade Wizard Log File as having an incorrect Type.
" Type is different; Should be A, Is M".
There are hundreds of instances of this message in the log.
I don't know whether the error is related to the Type is different warning.
I don't get the error when I add an AR Invoice.
In addition I cannot find any documentation on the different UDF Type codes.Hi,
should you have any errors before or after upgrade, log a message to a support. That's the best solution.
JimM -
Having an interesting problem with a site I'm fixing. I'm
sure I'm looking past the obvious, so maybe some of you can help:
ASP Pages display results from recordset based on a session
variable (memberID) that is created during user login.
Recordset looks like this:
<%
Dim rs__MMColParam
rs__MMColParam = "%"
If (Session("memberID") <> "") Then
rs__MMColParam = Session("memberID")
End If
%>
<%
set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = MM_cnConnection_STRING
rs.Source = "SELECT id, adminusername, anotherone1,
anotherone2, anotherone3 FROM dbo.basic1 WHERE adminusername = '" +
Replace(rs__MMColParam, "'", "''") + "'"
rs.CursorType = 0
rs.CursorLocation = 2
rs.LockType = 3
rs.Open()
rs_numRows = 0
%>
Seems correct to me, unles I'm overlooking something obvious.
Unfortunately I keep getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
name 'SESSIONVAR'.
(Note: in this error above, SESSIONVAR is the name of the
session variable memberID)
Strange thing is, as long as the session variable is a #,
everything works. If it's a word, it won't work. So it appears the
session variables are being defined and passed to the next page.
As for the database, it's a SQL Database
column 'adminusername' is a NVARCHAR with a 4000 char limit
Thanks in advance for any help.Are you sure the query is the same? It looks like the one you posted has a syntax error
SELECT e.emp_id, e.dep_id
FROM emp e, loc ct, dep dt
WHERE[b] c.dep_id[/b] IN (SELECT dt.dep_idYou've aliased the LOC table to CT in the FROM clause, but you're using the alias C in the WHERE clause. You use the correct alias CT in the query in your IN clause.
Justin -
We are migrating a web app from JDK 1.2 environment to a JDK 1.5 server enviroment. Previously the web app used the classes12.zip package, now we are using ojdbc14.jar for the new server environment.
Now this particular app uses Oracle7 Server Release 7.3.3.6.0. to retrieve data. I would run a query and get the result set explicitly using the column name.
sql_query = " SELECT DISTINCT(INSIDE_SALES_TEAM_NAME) AS D_INSIDE_SALES_TEAM_NAME FROM AGED_INVENTORY" ;
rset.getString("D_INSIDE_SALES_TEAM_NAME");
However, after migration to ojdc14.jar (using Oracle JDBC driver 9.2.0.8.0) I can't retrieve the resultset in the above-mentioned fashion. I will always get
java.sql.SQLException: Invalid column name
If I use the following, then I do not get any error in retrieving data from the resultset.
rset.getString(1);
Any cause for this scenario?
Thanks,
TAYes of course. I just the posted code snippet. This code used to work in old web server environment. Now we have to modify the resultset line to make it work when using ojdc14.jar.
-
Error : ABEND RS_EXCEPTION (000): Invalid column name 'TXTMD'
Dear Team,
Am getting this Dump / Error Msg. when tring to execute the query in BI Java Stack, the same query is executing perfectly in BI ABAP Stack, could some one throw some light to how to fix this, we are in process of Upgradating from BI 3.5 to BI 7.0 EHP1,
all production report of earlier version is being upgraded to BI. 7, currently our Java Stack is on SP 6.
The details of the error Msg:
The initial exception that caused the request to fail was:
Termination message sent
ABEND RS_EXCEPTION (000): [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column name 'TXTMD'.
MSGV1: [Microsoft][SQL Server Native Client 10.0][SQL
MSGV2: Server]Invalid column name 'TXTMD'.
pl. revert. Your early responses are highly appreciated..!
Thanks in Advance.Nasiroddin,
according following post:
Re: 500 Internal Server Error
might be that some of variables linked to characteristics that is contained in free characteristics area is corrupted. Try to remove it.
BR
m./
Maybe you are looking for
-
Form will not open with adobe reader when using chrome and mozilla
The form opens fine in internet explorer, but when opened with chrome and mozilla it says that parts of the document could not be displayed and the 'submit form' and 'print' functions do not work? how do I get it so that the forms open with adobe rea
-
I set up a new airport time capsule. Most devices connected fine however now my apple tv 2nd gen won't work. I turn it on and it searches for time and date but goes no further. I can't by pass it either. Any suggestions?
-
Computer to projector via HDMI = static/flashing blue computer/no signal
Hi.. So I have been using my late 2012 Mac Book Pro with a mini display to HDMI adapter to my projetcor. Over the past few months the quality started to decline, and would have little static blips for a second when watching something. Most recently
-
Not overriding the coherence-cache-config.xml but showing the error...
Hi, I have created a file called tangosol-coherence-override.xml file in the specified path which is " C:\Program Files\Oracle\Coherence for .NET" and the coherence.jar file is located in path which is "C:\Program Files\Oracle\Coherence for .NET\lib"
-
Am I stuck with slow Mavericks?
I am running Mavericks on an older (late 2009) MacBook Air. When I upgraded to Mavericks awhile back, I found that my machine was heating up fairly often and performed tasks extremely slow. I figured out that the memory was constantly full. I read th