The return of the "Unexpected Data Type" error
I've searched the forum and only found discussions of this from over a year ago, so either I'm a loner or this is rearing its ugly head again.
I've got a project that I've been working on between two machines, both running AE 11.0.2.11 with the same plug-ins. One is a macbook pro, one is a macpro. Both are running 10.6.8 (I believe that's snow leopard). I've been saving the project files and assets to the dropbox folder on my machines so that everything is always in sync between them. ***It's been working flawlessly for months.*** I haven't updated anything recently, other than installing Adobe Acrobat on the desktop machine a few days ago.
This morning on my desktop machine, I couldn't get the project to open without getting the "unexpected data type" error. Holding down shift did nothing. I instinctively started a new project and imported the .aep I was trying to open. No errors! Then I tried to change work spaces and the error came up again. I hit caps lock and tried again. No go. At one point the workspace drop-down had bullets next to *two* of the workspaces, as if they were both active simultaneously.
My workaround for the moment was to go to my dropbox on the website and revert to a previously saved version of the same project (thank *YOU* dropbox) from a few days ago. That opened fine, though it's missing a few hours' work.
My fear is that this will recur and I will have to keep going back in time to keep working (two steps forward, one step back) and I've got a deadline to meet. I will try to stay away from custom workspaces, as one poster to this forum says they are generating that error in CS6 (no helpful replies to that thread).
Anyone else experiencing this in 2013? Any ideas? All help is much appreciated.
AE CS6 11.0.2.11
Mac Pro OS v 10.6.8
Processor: 2x 2.66ghz dual core intel xeon
12Gb 667mhz DDR2 RAM
I just started getting the same error today. Never would've imagined workspaces would have ANYTHING to do with this. But I just went to workspaces and clicked 'reset workspace' for whatever I was on, reloaded the project and no error. WTF Adobe??
Similar Messages
-
hi Experts,
while running SQL Query i am getting an error as
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
T2.LineText
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,T2.LineText
how to resolve the issueDear Meghanath,
Please use the following query, Hope your purpose will serve.
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
CAST(T2.LineText as nvarchar (MAX))[LineText]
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,CAST(T2.LineText as nvarchar (MAX))
Regards,
Amit -
Dear Experts,
i am getting the below error when i was giving * (Star) to view all the items in DB
[Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. 'Items' (OITM) (OITM)
As i was searching individually it is working fine
can any one help me how to find this..
Regards,
Meghanath.SDear Nithi Anandham,
i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
Regards,
Meghanath -
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value
I am trying to insert records into a temporary table with date values concatenated with other string values into one large string value.I am getting the following error:
Msg 242, Level 16, State 3, Line 12
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Msg 241, Level 16, State 1, Line 28
Conversion failed when converting date and/or time from character string.
-My code below
Declare
@hdrLOCAL char(255),
@CR char(255),
@BLDCHKDT DATETIME,
@BLDCHTIME DATETIME,
@hdrline int
SELECT @hdrLOCAL = DDLINE FROM DD40400 WHERE INDXLONG =1
SELECT @CR = DDLINE FROM DD40400 WHERE INDXLONG =2
SELECT @hdrline =1
SELECT
@BLDCHKDT = CONVERT(varchar(20),T756.PAYDATE,105) ,
-- convert(varchar,getdate(),15)
@BLDCHTIME= CONVERT(varchar(20),T756.PAYDATE,105)
FROM STATS.dbo.DD10500 T762
LEFT OUTER JOIN STATS.dbo.DD10400 T756 ON (
T762.INDXLONG = T756.INDXLONG
AND T756.INCLPYMT = 1
WHERE (T756.INCLPYMT = 1)
AND (T762.DDAMTDLR <> 0)
Create TABLE [dbo].[##DD10200B](
[INDXLONG] [int] NOT NULL,
[DDLINE] [varchar](8000) NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
BEGIN
INSERT INTO ##DD10200B (INDXLONG,DDLINE)
VALUES (1,@hdrLOCAL +',' + @CR +','+ @BLDCHKDT +',' + @BLDCHTIME )
END
Msg 242, Level 16, State 3, Line 12
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Msg 241, Level 16, State 1, Line 28
Conversion failed when converting date and/or time from character string.
The Best thing in Life is LifeSince the Variable
BLDCHKDT and BLDCHTIME are of type date time why are you trying to assign it a value
of type varchar
and the format 105 gives you dd-mm-yyyy but SQL server takes the default format as mm-dd-yyyy so the error occurs for all dates that
are greater than 12
try the below code
Declare
@hdrLOCAL char(255),
@CR char(255),
@BLDCHKDT Varchar(50),
@BLDCHTIME Varchar(50),
@hdrline int
SELECT @hdrLOCAL = DDLINE FROM DD40400 WHERE INDXLONG =1
SELECT @CR = DDLINE FROM DD40400 WHERE INDXLONG =2
SELECT @hdrline =1
SELECT
@BLDCHKDT = CONVERT(varchar(20),T756.PAYDATE,105) ,
-- convert(varchar,getdate(),15)
@BLDCHTIME= CONVERT(varchar(20),T756.PAYDATE,105)
FROM STATS.dbo.DD10500 T762
LEFT OUTER JOIN STATS.dbo.DD10400 T756 ON (
T762.INDXLONG = T756.INDXLONG
AND T756.INCLPYMT = 1
WHERE (T756.INCLPYMT = 1)
AND (T762.DDAMTDLR <> 0)
Create TABLE [dbo].[##DD10200B](
[INDXLONG] [int] NOT NULL,
[DDLINE] [varchar](8000) NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
BEGIN
INSERT INTO ##DD10200B (INDXLONG,DDLINE)
VALUES (1,@hdrLOCAL +',' + @CR +','+ @BLDCHKDT +',' + @BLDCHTIME )
END
the only change done is
@BLDCHKDT Varchar(50),
@BLDCHTIME Varchar(50),
Surender Singh Bhadauria
My Blog -
Below select statement results in "The conversion of a nvarchar data type to a datetime data type resulted in an out of range value" error. By the way Terms
field's data type is nvarchar
SELECT * from INVOICE
where convert(datetime,Terms)
BETWEEN
'01/01/14'
and
'01/30/15'If you can't use TRY_CONVERT (It's only available in 2012+) You should be able to validate the data with something like this (based on your example date formats):
DECLARE @notDate TABLE (Terms NVARCHAR(10))
INSERT INTO @notDate (Terms) VALUES
('01/01/14'),('02/29/14'),('01/32/15'),('13/13/14'),('13/3/14'),('13-13/14'),('02/29/12'),('02/29/13')
SELECT *,
CASE WHEN (LEN(Terms) - 2) <> LEN(REPLACE(Terms,'/','')) OR LEN(Terms) <> 8 THEN 'Bad Form'
WHEN LEFT(Terms,2) > 12 THEN 'Bad Month'
WHEN LEFT(Terms,2) IN (9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '30' THEN 'Bad Day'
WHEN LEFT(Terms,2) = 2 AND LEFT(RIGHT(Terms,5),2) > (28 + CASE WHEN (2000+RIGHT(Terms,2)) % 400 = 0 THEN 1 WHEN (2000+RIGHT(Terms,2)) % 100 = 0 THEN 0 WHEN (2000+RIGHT(Terms,2)) % 4 = 0 THEN 1 ELSE 0 END) THEN 'Bad Day'
WHEN LEFT(Terms,2) NOT IN (2,9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '31' THEN 'Bad Day'
END
FROM @notDate
Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question. -
Conversion failed when converting the varchar value 'undefined' to data typ
Conversion failed when converting the varchar value 'undefined' to data type int.
hi, i installed oracle insbridge following the instruction in the manual. in rate manager, when i tried to create a new "Normal rating" or "Underwriting", im getting the following exception
Server Error in '/RM' Application.
Conversion failed when converting the varchar value 'undefined' to data type int.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Conversion failed when converting the varchar value 'undefined' to data type int.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): Conversion failed when converting the varchar value 'undefined' to data type int.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1948826
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844747
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlDataReader.HasMoreRows() +157
System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +197
System.Data.SqlClient.SqlDataReader.Read() +9
System.Data.SqlClient.SqlCommand.CompleteExecuteScalar(SqlDataReader ds, Boolean returnSqlValue) +50
System.Data.SqlClient.SqlCommand.ExecuteScalar() +150
Insbridge.Net.Fwk.DAO.DataAccess.ScalarQuery(String connectionString, String command, Transaction transType, Object[] procParams) +110
[Exception: Cannot Execute SQL Command: Conversion failed when converting the varchar value 'undefined' to data type int.]
Insbridge.Net.Fwk.DAO.DataAccess.ScalarQuery(String connectionString, String command, Transaction transType, Object[] procParams) +265
Insbridge.Net.Fwk.DAO.SqlProcessor.ExecuteScalarQueryProc(String subscriber, String datastore, String identifier, String command, Transaction transType, Object[] procParams) +101
Insbridge.Net.Fwk.DAO.SqlProcessor.ExecuteScalarQuery(String subscriber, String identifier, String command) +22
Insbridge.Net.RM.IBRM.ExeScalar(String cmd, Object[] paramsList) +99
Insbridge.Net.RM.Components.Algorithms.AlgEdit.Page_Load(Object sender, EventArgs e) +663
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
my insbridge versions are as follows
IBRU 4.0.0 Copyright ©2010, Oracle. All rights reserved. - Version Listing
RMBUILD.DLL 4.0.0.0 (x86)
SRLOAD.DLL 3.13.0 (x86)
IBRM v04.00.0.17
IB_CLIENT v04.00.0.00
RM.DLL 4.00.0 (x86)
IBFA 3.0.2
OS: Windows Server 2003
DB: Sql Server 2008
Browser: IE8
how do i solve this, please helpThis is an error due to conversion failed from character string to int datatype. Infact, the table column contains "NO" value which you are trying to convert to Int/SUM which is illegal. Without your code and table structure, its difficult to pinpoint your
actual issue. But check, all columns for value "NO". -
The returned page had no content type
I'm trying to install a application OTA but get this error "The returned page had no content type, and therefore cannot be processed" . I get this on the 8900 and 8300, (4.6) the 8100 (4.5) works fine. I tried using different browsers, cleaning up cache and so on but nothing helps.
Anyone got some idés?
regards
jolThe app may not be compatible with:
1. the phone model
2. the OS
Check the app website for these before attempting to install them.
Kijana
Please remember to:
1. Mark Accept as Solution on the appropriate post once your issue has been resolved
2. Give Kudos to helpful posts (click the star next to the post)
Thanks -
What is the maximum length of LONG data type in Forms 6i?
What is the maximum length of LONG data type in Forms 6i?
Do you mean the maximum size of a LONG that Forms 6i can display or the maximum size that can be stored in the database which sits behind your Forms application?
Regards, APC -
SAP ABAP have the ability to handle complex data types
Hi all,
We are developing a Function Module/BAPI that is actually sending and receiving information to and from a third-party system and none of them are "complex data types".
I have a question does SAP ABAP have the ability to handle complex data types ???could you give an instance of the same...& to what extent can it handle???
we have a web service layer to handle complex data types between BAPI calls and the third party system. -
What is the size of a string data type
Hello,
What is the size of a string data type. Also what is the maximum size upto which a text file can grow?
Thanks in advance
cooldudeHi cooldude,
the size of a string is given back by the function "String size". Strings are dynamically managed in LabView.
The max filesize is limited by the used filesystem. FAT-based systems are limited to 4GB (or was it 2GB?), other filesystems may allow more...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Hi,
I have an infopath web brower enabled form. In the form i have a date field.
I am passing the data from the database to that field using the C# code.
But, as the field from database is coming as string, i am getting an error, and i am not able to assign the value.
I get the date value from database as "3/25/2011 12:00:00 AM"
I used the below code:
[CODE]
if (objInfopathFormcData.myRecievedDate != null)
myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager).SetValue(objInfopathFormcData.myRecievedDate);
[/CODE]
I am getting the error as "Schema validation found non-data type errors".
How to set the value for a date field in Infopath.
Thank youHI,
I fixed it:
Below code is used to fix:
[CODE]
XPathNavigator xfield = null;
DateTime dtmyRecievedDate;
dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
if (objFormcData.FcCompletionDate != null)
xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
DeleteNil(xfield);
xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
// method to delete xsi:nil
private void DeleteNil(XPathNavigator nav1)
if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
nav1.DeleteSelf();
[/CODE]
Thank you -
How to make a function return number(10,0) data type (ORACLE 10g)?
With 10g, how to make a function return number(10,0) data type?
here is the function, it returns a number type :
create or replace FUNCTION Get_portfolio_Id3 (p_HistObjTable In Varchar2,p_LHISTOBJID IN NUMBER) RETURN view_cpu_STD_Asset.LPORTFOLIOITEMID%Type IS
v_Id view_cpu_STD_Asset.LPORTFOLIOITEMID%Type;
BEGIN
If p_HistObjTable ='amPortfolio'
then v_Id:=p_LHISTOBJID ;
elsIf p_HistObjTable = 'amComputer' then
select litemid into v_Id from smcdba.amComputer c where c.LCOMPUTERID=p_LHISTOBJID ;
else v_Id:=-99;
End If;
RETURN v_Id;
END Get_portfolio_Id3;
Thanks.
Message was edited by:
user631701create or replace FUNCTION Get_portfolio_Id3 (p_HistObjTable In Varchar2,p_LHISTOBJID IN NUMBER) RETURN view_cpu_STD_Asset.LPORTFOLIOITEMID%Type IS
v_Id view_cpu_STD_Asset.LPORTFOLIOITEMID%Type;
BEGIN
If p_HistObjTable ='amPortfolio'
then v_Id:=p_LHISTOBJID ;
elsIf p_HistObjTable = 'amComputer' then
select litemid into v_Id from smcdba.amComputer c where c.LCOMPUTERID=p_LHISTOBJID ;
else v_Id:=-99;
End If;
RETURN round(v_Id);
END Get_portfolio_Id3; -
Data Mining - Scalar Mining Structure Column Data type error...
Hoping someone will have a solution for this error
Errors in the metadata manager. The data type of the '~CaseDetail ~MG-Fact Voic~6' measure must be the same as its source data type. This is because the aggregate function is not set to count or distinct count.
Is the problem due to the data type of the column used in the mining structure is Long, and the underlying field in the cube has a type of BigInt,or am I barking up the wrong tree?You're right the error does occur when processing the mining model. I've built a simple mining structure to look into the problem - its just a decision tree based on a cube. The cube itself has a single Fact table, with numerous related dimensions. It has two measure groups - one for the use of distinct count, in the other group the aggregation functions used are count and sum.
The measure which seems to be causing a problem uses the sum aggregation in the cube. The underlying table has this field as a BigInt, which was used due to round issues on the cubes when the original Int datatype was used.
In the mining model the same field appears as a Continuous with datatype of Long. It has been tried in various guises as predictonly, and ignore modes both with the same results.
The mining model used to work without a problem when the underlying type was an Integer, but then the cube would report the wrong figures.
Interestingly, when I build a mining model directly against the source data there were no problems.
Let me know if you need any further information.
Thanks -
Error in Primavera Analytics 3.1 (staretl issuing long data type error)
Hi,
While running ETL for Primavera Analytics 3.1 I am facing long data type error.
Detailed session log can be found on below URL.
http://pastebin.com/Ez0VihGN
I have following environment.
Primavera Analytics on Win2k8 64bit with 11g R2 DB.
Primavera EPPM DB on Sql Server
Connectivity through Oracle Gateway. (tested)
Please help.
Naeem Akhtar
Edited by: Naeem Akhtar Khan on Apr 9, 2013 3:58 AMBased on your post there is an error in you initdg4msl.ora file............ make sure you the database connection is correct and you add the two statement to the file
for example
Should be: HS_FDS_CONNECT_INFO=YOURSQLSERVER//YOUR DATABASE
Make sure you to add the following to the same file (see page 92):
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_CHARACTER_SEMANTICS = TRUE
HS_KEEP_REMOTE_COLUMN_SIZE=ALL
Rerun the ETL process -
Greetings,
I'm creating a form that allows for emailing attachments however I am having an issue. When I try to attach a file, I get an "Schema validation found non-data type errors." error message. It seems like it's something with the XML structure and
I cannot find anything wrong.
Here is the code:
string myNamespace = NamespaceManager.LookupNamespace("my");
using (XmlWriter writer = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:Email/my:AttachmentGroup", NamespaceManager).AppendChild())
//Write to XML
InfoPathAttachmentEncoder myEncoder = new InfoPathAttachmentEncoder(currentFile);
writer.WriteStartElement("Attachments", myNamespace);
writer.WriteElementString("attachment", myNamespace, myEncoder.ToBase64String());
writer.WriteElementString("attachmentCheckbox", myNamespace, "false");
writer.WriteEndElement();
writer.Close();
Here is the structure of the XML (root node is myFields):
<my:Email>
<my:AttachmentGroup>
<my:Attachments>
<my:attachment xsi:nil="true"></my:attachment>
<my:attachmentCheckBox>false</my:attachmentCheckBox>
</my:Attachments>
</my:AttachmentGroup>
<my:emailAddress>[email protected]</my:emailAddress>
<my:subject>Paychex ESR Services Paperwork</my:subject>
<my:body/>
<my:selectAll>false</my:selectAll>
</my:Email>
Attachments is the repeating group in this case.
Can anyone spot where the error is coming from?
Thanks!HI,
I fixed it:
Below code is used to fix:
[CODE]
XPathNavigator xfield = null;
DateTime dtmyRecievedDate;
dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
if (objFormcData.FcCompletionDate != null)
xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
DeleteNil(xfield);
xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
// method to delete xsi:nil
private void DeleteNil(XPathNavigator nav1)
if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
nav1.DeleteSelf();
[/CODE]
Thank you
Maybe you are looking for
-
Business address points to wrong location on map
When entered into the Apple maps app, the address of my business sends my customers 15 miles away into the boonies. I have done the report a problem and moved the pin in the app NUMEROUS times over the last 6 months. Is there any way to contact someo
-
I have read some topics about it, but still have problem :-((( When I insert data, I don't have any problem with a date. It looks like this: Statement stmt = con.createStatement(); stmt.executeUpdate("BEGIN " + "INS
-
Can no longer network PhotoSmart 3210
I have a PlotoSmart 3210 printer. It was formerly networked so that I could access it from two computers. One is running Windows 7 and the other Windows 8.1. Recently there have developed problems with the 8.1 computer. I get print errors with that c
-
Invoice list based on sold to party not
Hi all, As per my client requirement, Sold to party is one only but there will be different bill to party & Payer. Only one main sold to party is paying all bills generated on behalf of different payer. The reason to make payer is, client wants accou
-
Hello Experts, When i am executing my test script after recording the transaction,the system is running FB50 in the remote system but giving error in foreground mde. Attached is the snapshot of error. Abhishek