Data type error when linking Salesforce field to MS SQL Server field?

Hello.  I'm using CR XI R2 SP4 with the Salesforce 3.0 driver.  I have MS SQL 2000 SP4.  I want to create a standard report that links the Salesforce Contacts table with a table in my local SQL 2000 database - the table also contains a column with the contact ID values.  When I try to link using the Contact ID field, Crystal gives me an error "Data types are not compatible."
The ID column data type in my SQL database is CHAR(18).  Is there a type I should use to make it work with Salesforce?
Thanks
David

Thanks for your reply.  In Salesforce, ID is a special data type - I don't know what it would match in SQL.  I'll have to open a case with them to see if they can tell me.

Similar Messages

  • Error when creating a FDM application on SQL Server 2005

    Hi,
    we are getting this error when creating a FDM application on SQL Server 2005
    Error: EPMCSS-07003: Failed to validate identity. Invalid identity . Check identity.[SET_ROLES_LIST]
    We are using Windows System Integration although we have also tested with sa user.
    Any ideas?
    Thanks

    Based on the error message it appears to be having a Shared Services issue. Verify that the "ADMIN" account is being used for the HSS connection and that you are using "ADMIN" to create the application and see if the same error is returned.

  • Pasting Data Failed error when linking Excel table

    I get an error "data paste failed" when trying to link an Excel table to PowerPivot.  I just installed Office 2010 and Powerpivot.  Below is a dump from the error box.
    ============================
    Error Message:
    ============================
    The object does not exist or read permissions are needed.
    Pasting data failed.
    ============================
    Call Stack:
    ============================
       at Microsoft.AnalysisServices.Server.Refresh(IMajorObject obj, ObjectExpansion expansion)
       at Microsoft.AnalysisServices.Server.SendRefresh(IMajorObject obj, ObjectExpansion expansion)
       at Microsoft.AnalysisServices.MajorObject.Refresh(Boolean full)
       at Microsoft.AnalysisServices.Modeler.Storage.PushedDataTable.TryChangeColumnDataTypes(PushedDataInfo pushedDataInfo, PushedDataSource pushedDataSource)
       at Microsoft.AnalysisServices.Modeler.Storage.PushedDataTable.CreateLinkedTableInternal(CreateTableParameters parameters)
       at Microsoft.AnalysisServices.Modeler.Storage.PushedDataTable.CreateLinkedTableInternal(CreateTableParameters parameters)
       at Microsoft.AnalysisServices.Modeler.Storage.PushedDataTable.CreateLinkedTable(String tableName, IExcelTableDataReader excelTableReader)
       at Microsoft.AnalysisServices.Modeler.Storage.DataModelingSandbox.CreateLinkedTable(String tableName, IExcelTableDataReader excelTableReader)
       at Microsoft.AnalysisServices.Modeler.ClientWindow.CreateLinkedTable()

    Euge,
    Is this still an issue?
    Thank you!
    Ed Price, SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Error when calling a XI-webservice from SQL-Server 2005

    Hi all,
    we have published a webservice with XI 7.0 (using the SOAP-Adapter) and try to call it from a stored procedure within SQL-Server 2005. Upon execution we receive the error
    "<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>" and
    "<SAP:Stack>Empty HTTP query received; message processing not possible  </SAP:Stack>".
    We are using the dll MSXML2.ServerXMLHTTP. The webservice is available and can be reached from other tools like SOAP-UI when using the same endpoint-URL. It is also possible to call the service from Visual-Basic using the same code.
    Does anyone has any clue about what's causing this error?
    Thanks in advance!

    It is clear that, PI service is working absolutely fine and the problem is calling it in your SP. I do not think you are calling a web service but actually sending a HTTP request to the server. An HTTP request and a SOAP call are different in terms of protocol. You would need to explore more on how to call web services from SQL SPs.. and the right place to search would be MS SQL Server Forums..!!
    VJ

  • Facing data type error when changing the order of fields in a query

    Hello Experts
    I am working on E sourcing 5.1.
    I have a query with some filters . I want to change the position of a particular filter.
    Basically I want to move a filter of type date to the top , so that it is the 1st parameter.
    I was able to do this by reorder option.
    However at runtime it gives me an error saying that "error  u201CORA-00932:  inconsistent datatypes:  expected NUMBER got date."
    Later I reverted back my changes so that the date filed is at its original position and faced no issues.
    Query worked fine.
    Is the order of filters important when executing a query.
    Please suggest how can I move the date filter to the top of the query's filter list.
    Regards
    Vikas

    Hello Vikas,
    Its not the SELECT statements that you need to change. You have to change the WHERE caluse.
    In the WHERE clause, some of the conditions will have some table column equated to a '?' symbol. This symbol is a place-holder for a filter prompt. There is a one-to-one correspondence between the '?' symbols and the filter prompts created in the query(under the Filter Prompt tab). This means that the first '?' corresponds to the first filter prompt, second '?' to the second filter prompt and so on.
    Keeping the above information in mind, you can attempt to make changes to your query. You can duplicate your existing query and try your hands at it.
    One more point worth mentioning : It is evident that if you need to use the same filter prompt at more than once place in the query definition, you have to create more than one instance of that query prompt.(Here by another instance I mean that the two filter prompts should have same values in their fields when you define them.) But even when you create more than one instance of a filter prompt, on the UI it will appear just as a single instance.
    If things have become more confusing than before (of which there is a high probability ) then please go through the online help for Queries. It has got an extensive documenation and will be surely be of some help to you.
    Good luck!!
    Devesh

  • "Schema validation found non-data type errors" error when passing a string value to date field in infopath

    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 you

    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

  • APEX bug:9879227 (ORA-01403: no data found error when using validations)

    Hi,
    We are getting the
    ORA-01403: no data found error
    when the APEX page has validations AND a tabular form is also present on the page.
    I did see a couple of other forum links discussing the issue (bug id: 9879227 ?? ).
    But what i want to get a confirmation on is, in which release was this bug really fixed ?
    i see the release notes of 4.0.1.00.03 claiming that it is fixed
    in the release.
    we are on 4.0.1.00.03. is this bug really solved in release 4.0.1.00.03?
    are there any known work-arounds ? i tried re-creating the report multiple times, but that did not help.
    Any suggestions or work-arounds will greatly help us.
    Regards,
    Ramakrishnan

    Ramakrishnan,
    If you are talking about getting no data found when trying to save the report then take a look at the last message in this thread:
    {message:id=9971445}
    Cheers,
    Tyson Jouglet

  • Error when linking report to stored procedure defined with one input parm

    Error when linking report to stored procedure defined with one input parameter
    The report will work ok, when the parameter is removed from the stpred procedure
    An unhandled win32 exception occurred in crw32.exe[4480]
    Stored Proc (sql server 2005)
    USE [Allegro]
    GO
    /****** Object:  StoredProcedure [dbo].[SP_Test]    Script Date: 07/08/2009 10:42:14 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER procedure [dbo].[SP_Test](@valuationmode VARCHAR(55)) as
    Begin
    select
         valuation,
         valuationtime,
         valuationmode
    from valuation
    where valuationmode = @valuationmode;
    End;

    This is an example of a stored procedure that is trying to be linked to a new report as the only datasource.
    If I remove the parameter I can create a report, however this will return all of the results of thw query to the report, rather than the desired results. If I add the parameter on the Crystal Report, the stored procedure then has to return all of the results to Crystal and then perform the filtering of records. By using a parameter in the stored procedure, you should be able to do all of the filtering as part of the query on the databse server, making this more efficient.

  • InfoPath - "Schema validation found non-data type errors." at XmlWriter.Close()

    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

  • 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??

  • Getting "generic error" when linking clips.  Generic not a helpful word.

    Getting "generic error" when linking clips.  Generic not a helpful word.

    Zero information also does not allow anyone here try to help
    More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840

  • 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 AM

    Based 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

  • Error when transferring data; communication error when analyzing

    Hi,
    When I load the data from the SAP CRM source system. Iam getting the following error.
    Error when transferring data; communication error when analyzing
    Diagnosis
    Data Packets or Info Packets are missing in BW, but there were - as far as can be seen - no processing errors in the source system. It is
    therefore probable that an error arose in the data transfer.
    With the analysis an attempt was made to read the ALE outbox of the source system, which lead to error .
    It is possible that no connection exists to the source system.
    Procedure
    Check the TRFC overview in the source system.
    Check the connection of the source system for errors and check the
    authorizations and profiles of the remote user in both the BW and
    source systems.
    Check th ALE outbox of the source system for IDocs that have not been
    Can anyone guide me on this.
    Thanks in Advance
    Varun

    ok here's a development..when i logged in the source system to check the job...it says the job defn is incomplete. The description says:
    Definition for job ARFC:SYSLOAD1C800CRMREMOTE is incomplete. Job cannot be released
    Can anyone give an insight on it.
    Any kind of input will be appreciated.
    Regards
    Varun

  • Illegal start of type error when adding for loop to applet

    I have typed the following applet to print a horizontal row of stars with the length entered by the user (i.e. user enters 4 and applet prints out 4 stars in a row). Here is my code:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
           String input = "";
            int number;
         public void init()
              input = JOptionPane.showInputDialog ( null,
              "Enter a number\nbetween 1 and 30:" );
              number = Integer.parseInt( input );
         public void paint ( Graphics g )
              for ( int counter = 1; counter <= number; counter++ )
                                    System.out.print( "*" );
               System.out.println();
    };Now I am trying to make it do this 5 times, so it seems like just surrounding the init and paint methods in a for loop (i.e. for ( int i=1; i <= 5; i++ ) ) would do the trick but when I do that I get an illegal start of type error when trying to compile. Does anyone know why this error would show up. The most common reply to questions of this sort seems to be to check the closing braces but I have checked very carefully after adding the for loop and don't see any problems with mismatched braces. Could you please help me get on the right track as to how I can make this applet print a horizontal row of stars five times? All help is appreciated.

    Hello JTMOBOP:
    You were correct in figuring that I was trying to get the applet to print five rows of stars of different length according to five different inputs from the user. I tried your suggestions, and the code now does compile and run, but it still does not run properly (i.e. only asks user once for input and displays row of stars but does not show an input dialog again). Here is the code I have retyped:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
       String input = "";
       int[] number = new int[5];
       public void init()
          for ( int i = 0; i < 5; i++ )
             input = JOptionPane.showInputDialog ( null,
                "Enter a number\nbetween 1 and 30:" );
             number[i] = Integer.parseInt( input );
       public void paint ( Graphics g )
          for ( int i = 0; i < 5; i++ )
             for ( int myNumber = 0; myNumber <= number; myNumber++ )
    System.out.print( "*" );
    System.out.println();
    Any ideas what's going on here?
    Also, your comments about not being able to loop a method make sense. Thank you for the input so far.

  • Error when publishing crystal report to the BO server

    Hello All:
       Has any one encountered the following error when saving a report to the BO server.
       Unable to launch C:\program files\Business Objects\BusinessObjects Enterprise 11\win32_x86\plugins\desktop\CrystalEnterprise.Report\ReportAdd program to add report to the system .
    ....Would appreciate your help.
    Thanks
    Parmesh

    Hi,
    looks like a Bug here.
    heck SAP Note - 1183390
    Regards
    -Seb.

Maybe you are looking for

  • Table for FBL1N report

    Hi All, in FBL1N we have vendor open item for which we have table BSIK. Now in FBL1N, we have open to see all posting for a vendor based on posting date. i need table which can all all posting in a vendor account. Please advise Regards Deepak

  • Help with only allowing someone to fill or edit a pdf form twice

    I need to make a pdf form. This form I would like the customer to only be able to fill it out and save it one time. No printing. The form will be on a usb drive. I then need the same thing but be able to fill or edit the form twice and five times. Bu

  • My mini iPad screen is flashing all the time

    My mini iPad screen is flashing all the time

  • Extended format of access.log and log rotation

    I am using WebLogic Server 6.1sp1. I want to use extended format of web server access log. I also want to use log rotation based on date. But it seems not to work together. After my investigation I can say: - access.log in common format can be rotate

  • Special fields for FAGLL03

    Hi, I need to add Purchase order, vendor, vendor name, customer, customer name and ar invoice field as a special field for FAGLL03. I am able to add vendor, customer and purchasing number fields but I am not able to find name field for customer and v