Error : External Content Type Failed to SAVE

Hello All,
Im trying get connect the sqlserver tablt to Sharepoint List using BCS services + Sharepoint Designer.
i have created the external content type using SPD, creating all permission to table, operation properties, parameter, filter parameter every thing is fine.
then here i have to SAVE the external content type, im getting error: External Content Type Failed to SAVE
detailed Error:
An unexcepted internal error occured in the Business Data Connectivity Sahred Service: Access to the temp directory is denied. identity 'NTAUTHORITY\NETWORK SERVICE' under which xmlserializer is running does not have sufficient permissions to access the
temp directory. CodeDom will use the user account to process is using to do the compilation, so if the user doesnot have access to system temp directory, you will not to be able to compile. Use Path.GetTempPath() API to find out the temp directory location
Before this i created sample external content type which is working correctly. Any suggestion regarding this..
Advance thanks..
NS

Hi,
I understand that when you save the external content type, there is an error.I have seen similar errors, you can try the steps below:
Open C::\Windows\Temp.
Right click on Temp folder and choose Properties>Security.
Add the Network Service with Full Control permisison.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support

Similar Messages

  • Error while creating an external content type using wcf service.

    Hi!
      I have been asked to create a wcf service to expose sql data and populate them in a list using external content type.i have created the service but while creating the content type it gives me error. Can anyone suggest me about which url should
    be used in service metadata url and service endpoint url.
    Thanks in advance.

    You can refer these links, may be helpful
    https://msdn.microsoft.com/en-us/library/office/jj163810.aspx
    https://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    http://www.dotnetcurry.com/showarticle.aspx?ID=799
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Get "An Error occurred while retrieving data From ProjectWebApp.." when searching content on an External Content Type

    I have set-up an ECT in SPD2013 on SP2013.  It is a SQL Data source called ProjectWebApp.   I have BCS/SSS set-up.  I can create an ECT OK in SPD.  I can add the ECT to a custom list.
    The problem is when I add a new item in the list the following error message appears in red
    An error occurred while retrieving data from ProjectWebApp. Administrators, see the server log for more information
    I cannot filter or return any results.  There is data in the DB.
    Another test I do is to try and create a new App/List using the "External List" template.  When
    I select the ECT a red message appears "External Content Types are not available".  which is odd since I can add an ECT to a list as mentioned above.
    Any ideas?
    Tx
    Andrew
    Andrew Payze

    Hi Andrew,
    Please try the option Allow unlimited length in document libraries in the column settings:
    http://littletalk.wordpress.com/2011/08/18/external-content-type-an-error-occurred-while-retrieving-data-from-a-system-administrators-see-the-server-log-for-more-information/
    If it doesn't help, please refer to the link below and raise the External content type Read List operation thresholds:
    http://lightningtools.com/bcs/business-connectivity-services-end-user-implications-part-one-threshold-limit-errors/
    Please provide error message in ULS log for further troubleshooting.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • External content type error: Business Data Connectivity object not found.

    Hello
    I have to change the external database (external system) for an external content type. The database view on the new database is exactly the same as on the old database.
    After changing the external system of the external content type, this happens:
    When I try to add a new item to the list, I get this error under the external data field:
    "Business Data Connectivity object not found. Administrators, see the server log for more information."
    Also, when I try to update the external data field, it is not possible because the buttons are grey.
    When I add a new external data field to the same list, I can use the external content type. For some reason the current external data field doesn't update.
    Any ideas?
    Any help would be much appreciated!

    Have you implemented both ‘Read List’ & ‘Read Item’ operations in your ECT?
    This may be helpful -
    https://sharepointcreations.wordpress.com/2014/03/13/business-data-connectivity-object-not-found/
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • Unable to edit ReadItem and ReadList operations on one specific external content type

    I'm experiencing a strange behavior.  Here is the scenario:
    - In Sharepoint Designer I create external content type A that uses external system X
    - I define ReadItem and ReadList operations for this external content type
    - I then create external content B that uses the exact same external system X and define ReadItem and ReadList operations for this external content type
    - I then go back to external content type A, select ReadList and click Edit This Operation
    - I get a message : "This operation cannot be matched with any objects in your data source.  There may be an error in the operation definition in Business Data Connectivity Metadata Store or the data source schema has changed since the operation
    was created"
    - I tried to edit ReadList operation of external content type B and it works with no problems.
    - so I delete the ReadItem and ReadList operations for external content type A, refresh external system X, and then recreate the ReadItem and ReadList operations for external content type A. 
    - When I try to edit the ReadList (or ReadItem) operation I get the same error message and I'm not able to edit this operation.
    This used to work a week or so ago, meaning that I was able to edit the ReadItem and ReadList operations for both external content types.  Now, the operations cannot be edited anymore for external content type A but can be edited with no problems for
    external content type B.  For content type A, if I want to make any changes I have to delete the ReadItem and ReadList operations and recreate them.  Does anybody have any idea as to what the problem might be?  These two external content types
    use the same external system which is a table of employees and project they worked on.  The only difference is that external content type A has a filter by employee ID defined and external content type B has a filter by project ID defined.
    thanks,

    Hi bbatl,
    I did a test as the followigs:
    Open SQL Management Studio, create a table containing a filed called “employee ID” and a filed called “project ID”.
    Add some data into the table.
    Open my site with SharePoint Designer 2010, create a new external content type called TestA.
    Connect the external content type TestA to the table that I created in step 1.
    Create Read Item and Read List operations in the content type. When creating Read List operation, add a filter based on “employee ID”.
    Click Save.
    Create another external content type called TestB
    Connect the external content type TestB to the table which was created in step 1.
    Create Read Item and Read List operations in the content type. When creating Read List operation, add a filter based on “project ID”.
    Click Save.
    Then I went back to edit the Read List operation of external content type TestA via clicking Read List operation under External Content Type operations->Edit Operation.
    No error displayed.
    So, I could not reproduce this issue.
    Whether you got the error when you clicked “Edit Operation” in SharePoint Designer. Please provide a screenshot about this issue.
    Please check whether someone has changed the table special for the column “employee ID”.
    And whether you have created an external list using the problematic external content type. If yes, please check whether it could work well.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Setting up an External Content Type

    Is it possible to set up an External Content Type in SP Designer if the WCF service I'm using only has a method for creating an item in another system? I see that you must create a "Read Item" and "Read List" operation, and when I try
    to do so, it doesn't allow me to see the "Finish" button, or it throws a bunch of various errors at the bottom.
    I have a WCF service that was not specifically made for BCS. It's designed to simply submit a ticket to a help desk system, with no ability to read from that system. Using custom workflow in SharePoint, I'd like to trigger the WCF service and send a ticket
    using data held in a SharePoint list. Any pointers appreciated!

    Hi,
    According to your post, my understanding is that you failed to set up an External Content Type in SharePoint Designer.
    Please make sure you create external content type based on a WCF service
    correctly.
    For more information, you can refer to:
    How to: Create an External Content Type Based on a WCF Endpoint
    Creating External Content Type Associations Based on WCF
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Not able to crawl all items from External content type

    Hello All,
    "All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
    Steps:
    I created "External content type" using sharepoint designer which connects to a SQL Server database.
    Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
    I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
    Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
    Issue
    When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
    document...)
    Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
    and no errors were returned.
    Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
    to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
    SRIRAM

    Hi ,
    I started the change suggested in the link shared by you, but got stuck at a point,
    The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
    3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
    The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
    Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
    Please let me know your suggestions on this.
    Thanks,
    SRIRAM
    Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
    Yes, or just have it run off the composite key instead of the field you're using now.
    Nope, BCS needs a UID field like in answer 1 :)
    Good luck!
    My CodePlex -
    My Blog - My Twitter
    Join me at the San Francisco SharePoint User Group!
    If this post helped you or answered your question please remember to mark it! :)

  • Managing External Content Types - make it read only?

    I have a simple SharePoint list with an External Data column. When I edit item where the corresponding data was removed from the External Content Type I get this error:
    No exact match was found. Click the item(s) that did not resolve for more options. You can also use Select button to
    choose External Data.
    I assume this is by design and I cannot delete underlying data and keep the value in the list - is this correct?
    So my question now - is it possible to keep that info in the external list but disable in a picker so new records cannot be created with that particular value? How do I do it?
    Thanks,

    I don't understand the question exactly, could you restate it.  Sorry mate, I might just be braindead.
    But, as far as the issue, it is by design.  the column is a lookup columns which essentially ties to the external data.  if that data is removed, the column on your simple list becomes invalid and any edits of the simple list item will require
    it to be changed.
    are you wanting to make the ECT read only?  that's simple enough.  you can pop open SPD and edit the ECT, then remove the C/E/D operations (create/update/delete).  That will not, however make it read-only in any other systems that access that
    external data, as I assume its not just SP or else it wouldn't be external
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

    Hi,
    I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
    App manifest start page url  :
    ODataNewAppWeb/Pages/Default.aspx
    In XML it is:
    <StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
    When i am deploying app pressing F5 the app gets deployed successfully....
    Now i am changing my start page url in Appmanifest like this:
    ODataNewApp/Lists/Employees
    In XML it looks like:
    StartPage>~appWebUrl/Lists/Employees</StartPage>
    When i am deploying app pressing F5 the app..
    Getting register SOD error.....
    I have followed all the steps like:
    1)Creating app domain
    2)Starting all the required services
    3)Creating root site collection
    But still no success.. Please help me on this.... I am struggling with this from two weeks...

    Have you set up a wildcard DNS entry for the spapps.com domain?
    Also if you're trying to connect from the server you might be hitting loop back check issues.

  • SP 2013 ECT - Created an External Content Type in SPD But Not Appearing in BCS

    Hello Community,
    I have created an External Content Type in SP Designer 2013, and the connection and operations all seem to work fine, but the ECT List throws an access error, and when I check the BCS Service Application the ECT doesn't even appear in the list.  Has
    anyone else ever seen this kind of problem and if so please brovide guidance and examples for resolving it.
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    Hi Tom,
    Have you created external content type from SharePoint designer 2013 successfully prevously?
    And was it displayed in BCS service applicaiton previously?
    Have you executed "External Content Type Operations" and saved it back successfully in SharPoint Designer like the following article?
    Please check if it is related to the permission issue by using SharePoint Farm Administrator account to create this external content type.
    If all above don't solve the issue, please check the ULS log for more information for troubleshooting when create the external content type.
    http://www.c-sharpcorner.com/UploadFile/anavijai/create-external-content-type-using-sharepoint-designer-2013/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Problems when trying to return information for External Content Types in Sharepoint 2013

    This is my first post on the forum, until I tried on this problem but have not found anything.
    When trying to return the information from the external content displays the following error:
    Error retrieving data from mill. Administrators: query the server log for more information.
    I do not know what else to do...

    Hi,
    According to your post, my understanding is that you got an error when tried to return the information from the external content.
    Did the error occur when you created a new external content type or created a external list?
    You can check the steps with the following articles about how to create a external content type.
    http://lightningtools.com/bcs/creating-an-external-content-type-with-sharepoint-designer-2013/
    http://wyldesharepoint.blogspot.in/2012/12/sharepoint-2013-setting-up-external.html
    If the error occurred with the external list, you can check the steps with the following article.
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/01/08/how-to-create-external-data-column-in-sharepoint-2013.aspx
    You can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • External content type using wcf service

    Hi,
           I have been asked to create a wcf service to expose sql data and populate them in a list using external content type.i have created the service but while creating the content type it gives me error.
    "The server was unavle to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetails (either from ServiceBehaviorAttribute or from the <serverDebug> configuration behavior) on
    th server in order................................"
    Can anyone suggest some help.
    Thanks..

    Hi,
    Based on your description, you encountered the error when you create the content type.
    You can turn on IncludeExceptionDetails or use Service Trace Viewer Tool to see the details about the error.
    There is a similar case:
    http://stackoverflow.com/questions/14217700/the-server-was-unable-to-process-the-request-due-to-an-internal-error-in-wcf-er
    The article below is about how to use the Service Trace Viewer Tool to help you analyze diagnostic traces that are generated by WCF.
    https://msdn.microsoft.com/en-us/library/ms732023.aspx
    The articles below are about how to turn on IncludeExceptionDetails
    http://stackoverflow.com/questions/8315633/turn-on-includeexceptiondetailinfaults-either-from-servicebehaviorattribute-or
    http://stackoverflow.com/questions/2483178/set-includeexceptiondetailinfaults-to-true-in-code-for-wcf
    The article is about how to build WCF Web Services for SharePoint 2010 Business Connectivity Services
    https://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    Best regards
    Sara Fan
    TechNet Community Support

  • External Content Type not displaying List.

    I am getting the following Error when i go to the External Content Type List i Created.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    When i open it up in Sharepoint Designer and look at the page i get this error.
    soap:ServerException of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.An error has occurred.
    I'm connecting to a SQL Server with sql server credentials. I'm able to see the tables and columns in the Data Source Explorer.
    The permissions for the Content Type are all authenticated Users with everything checked.

    Hi,
    How did you supply username and password to the external content type?
    As i know, there are four options (user's identity, BDC's identity, impersonate windows identity, impersonate custom identity), you cannot directly input the SQL username and password.
    I suggest you to use impersonate custom identity.
    Before using it, you need to create a new target application ID in secure store service application. and select
    user name and password for filed type at second step. after that, you need to set credentials for this target application ID to input your sql user name and password there.
    Then you need to input this target application ID at connection properties (both default and client tabs) of the external content type.
    Regards,
    Seven

  • External content type with web service - new read item operation disable

    Hi,
    i'm tring to create an external content type based on web service.
    I add for test the web service:
    http://www.webservicex.net/globalweather.asmx?WSDL
    when i try to set get reat item operation- it's disabled.
    what should i do in order to create the operations?
    keren tsur

    Hi,
    Please Provide screenshot about your issue.
    For more information about how to create an external content type based on a web service:
    http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx
    besides, here are two posts about defining read operation on External content type error, you can take a look at:
    https://social.technet.microsoft.com/Forums/en-US/f86a8f37-7c8c-4cf0-8722-c6d44aa1e3d8/defining-read-operation-on-external-content-type?forum=sharepointadmin
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4bcc1cd9-a9d6-4171-87d9-c6749543749c/bcs-connecting-to-a-list-in-another-site-collection-using-the-wcf-service?forum=sharepointcustomizationprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Installing server 2003 R2 from a HD partition

    hi, iv'e been rebuilding my workstation and planned on installing windows server 2003 on it, unfortunatly my disk was scratched beyond repair but pulled an iso from the msdn website. My question: can i install server 2003 from a partition on my works

  • Which is better,the Apple TimeCapsule or the WD MyCloud for backing up pixs and datas?

    I am not too sure which is better for backing up my pixs that i have saved and dont want to lose them,am thinking which would be best for me to purchase?the apple timecapsule or the wd mycloud,i heard great things about both but not sure from someone

  • Reservations

    Hi SAP Gurus: If I am creating a reservation 3 weeks ahead and MRP/APO converts that reservation to a purchase requisition, when I do a GR for the PO how do I get an alert or a message that the goods have been received for that reservation. In purcha

  • Connecting XI to MSSQL Server

    Hi,   I want to connect to Mssql Server from XI, I have downloaded and JDBC driver of MSSql server. Is this enough to connect to XI server or else i have to do any other configuration in XI server. How to know that JDBC Adapter is enabled in XI Serve

  • TWO DECIMALS BPM'S TAG

    Mac users aren't able to fill up the bpm tag's field typing adding decimals (XXX.XX) to the bpm count. That is a big lack in the software compared to the windows version. With Genius and the brand new Itunes Dj I think is more and more important for