The "GetConnectionStrings" task failed unexpectedly

Hi,
After adding a resource file to my project I keep getting this error randomly & I have to close Visual Studio & reopen it to get the project build. I've  cleaned the solution & built it but that hasn't help.
Here is the error detail:
Error 24
The "GetConnectionStrings" task failed unexpectedly.
Microsoft.LightSwitch.BaseServices.InternalException: Model loading failed. Cannot cast the underlying exported value of type 'Microsoft.LightSwitch.Extensions.Metadata.ExtensionsModuleLoader (ContractName="Microsoft.LightSwitch.Model.IModuleDefinitionLoader")'
to type 'Microsoft.LightSwitch.Model.IModuleDefinitionLoader'. ---> System.ComponentModel.Composition.CompositionContractMismatchException: Cannot cast the underlying exported value of type 'Microsoft.LightSwitch.Extensions.Metadata.ExtensionsModuleLoader
(ContractName="Microsoft.LightSwitch.Model.IModuleDefinitionLoader")' to type 'Microsoft.LightSwitch.Model.IModuleDefinitionLoader'.
   at System.ComponentModel.Composition.ExportServices.CastExportedValue[T](ICompositionElement element, Object exportedValue)
   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
   at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass4`2.<CreateStronglyTypedLazyOfTM>b__1()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.LightSwitch.Model.Implementation.ModelServiceBase.<get_ModuleLoaderExports>b__9(Lazy`2 ex)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.LightSwitch.Model.Implementation.ModelServiceBase.get_ModuleLoaderExports()
   at Microsoft.LightSwitch.Model.Implementation.ModelServiceBase.LoadItems()
   --- End of inner exception stack trace ---
   at Microsoft.LightSwitch.Model.Implementation.ModelServiceBase.LoadItems()
   at Microsoft.LightSwitch.Model.Implementation.ModelServiceBase.get_Modules()
   at Microsoft.LightSwitch.BuildTasks.DataSources.DataSourcesBaseTask.get_ServiceApplicationDefinition()
   at Microsoft.LightSwitch.BuildTasks.DataSources.GetConnectionStrings.ExecuteCore()
   at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.5\Microsoft.LightSwitch.targets
184 10
TempIDTouch
Divyang Vyas

I've also tryed this:
 - I went to the project's extensions tab, and removed the "Cosmopolitan Shell and Theme" and "LightSwitch Extensions". I can't remember exactly why i did this, i think i went digging and searching on the exception and found something
about the Cosmopolitan.
The "Get connection Strings" error disappears though, and it seems i'm able to work kind of normally, except for a somewhat random error whenever i try to access the project's properties again:
"Can't send , MBRO helper not available"
This is obviously not a fix since with this i can't work with both the Silverlight and Html Clients.
How to delete Cosmopolitan? It is off in project extension property (clear checkbox). And what is MBRO helper?

Similar Messages

  • Lightswitch build failing - The "LSSvcGeneratorsTask" task failed unexpectedly

    hi,
    I am trying to set up build pipeline for Ligtswitch 2013 project.
    I have installed  RIA service, silverlight SDK and  Installing Prerequisites with Web Platform Installer as mentioned at
    http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to-configure-a-web-server-to-host-lightswitch-applications.aspx in the build machine
    While building application using Teamcity in build agent, getting following error
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(217, 5): error MSB4018: The "LSResourceGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSResourceGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.0\Microsoft.LightSwitch.Build.Tasks.targets(168, 5): error MSB4018: The "LSSvcGeneratorsTask" task failed unexpectedly.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.AddPackageParts(Assembly assembly)
       at Microsoft.LightSwitch.Manifest.Internal.FullManifestGenerator.Generate(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.GenerateFullManifests(IEnumerable`1 assemblies)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessLoadedManifests(Boolean secure)
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.ProcessManifests()
       at Microsoft.LightSwitch.Manifest.Internal.ManifestService.CreateCatalog(String catalogName, IEnumerable`1 packageNames, Boolean returnNullIfEmpty)
       at Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(String cacheDirectorySubPath, VsExportProvisionScope scope, IEnumerable`1 inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1 externalDataSources, TaskLoggingHelper log)
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.CodeGen.LSSvcGeneratorsTask.ExecuteCore()
       at Microsoft.LightSwitch.BuildTasks.Common.BuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() 
    can someone let me know what else do I need to install in build machine?

    HI,
    Welcome to Lightswitch forum.
    As you mentioned above, if you want to build and deploy your lightswitch application to IIS, first you need configure a Web Server to host LightSwitch applications. At the same time there are more hints for us to configure web server, and then configure
    the deployment procedure, for more resource:
    LightSwitch IIS Deployment Enhancements in Visual Studio 2012
    Please let me know if you have any concern.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The "GenerateResource" task failed unexpectedly

    Hi,
    This is my error when I launch the emulator :
    System.InvalidOperationException: Item named 'splashscreenloading.xaml' of type 'System.IO.UnmanagedMemoryStream' cannot be added to the resource file because it is not serializable.
       at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(ReaderInfo reader, IResourceWriter writer)
       at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(ReaderInfo reader, String filename)
       at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile(String inFile, String outFileOrDir)
       at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, List`1 inputs, List`1 satelliteInputs, List`1 outputs, Boolean sourcePath, String language, String namespacename, String resourcesNamespace,
    String filename, String classname, Boolean publicClass, Boolean extractingResWFiles, String resWOutputDirectory)
       at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, List`1 inputs, List`1 satelliteInputs, List`1 outputs, Boolean sourcePath, String language, String namespacename, String resourcesNamespace,
    String filename, String classname, Boolean publicClass, Boolean extractingResWFiles, String resWOutputDirectory)
       at Microsoft.Build.Tasks.GenerateResource.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    DBZ Abridged Soundboard

    Though its a case of upgrading app from 8 to 8.1 : http://stackoverflow.com/questions/23864188/error-while-upgrading-my-app-from-wp8-to-wp8-1
    but error is of similar kind, solution given is to remove reference of system.windows.controls from the project (obviously if its there)
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8
    I have it in System.Windows.Controls.Ribbon
    Now how do I remove it ?

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation

    Hello Everyone,
    I have upgraded a SharePoint 2010 site collection to SharePoint 2013. It contains a BDC model used to insert/get records from DB. The record fetch works good but when I try to insert records it gives me error
    The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation
    I am using web part control to insert record which has the following code.
    BdcService service = SPFarm.Local.Services.GetValue<BdcService>(String.Empty);
    IMetadataCatalog catalog = service.GetDatabaseBackedMetadataCatalog(SPServiceContext.Current);
    IEntity entity = catalog.GetEntity(EntityNamespace, EntityName);
    ILobSystemInstance LobSysteminstance = entity.GetLobSystem().GetLobSystemInstances()[0].Value;
    IView createView = entity.GetCreatorView("Order_Create");
    IFieldValueDictionary valueDictionary = createView.GetDefaultValues();
    txtWONumber.Text = Convert.ToString( GetNewOrderNumber());
    valueDictionary["BU_ID"]=Convert.ToInt32(ddlBU.SelectedValue);
     Identity id = entity.Create(valueDictionary, LobSysteminstance);
    _BDCIdentity = GetBDCIdentity(txtWONumber.Text);
    It is working fine in 2010 Farm. I have gone thorugh all the settings in BDC model and every thing looks fine. All users has atleast execution rights on BDC model, BDC service is running and Site collection admin and Farm admin has rights onexternal
    DB.
    Any one has any clue to this error?

    So I sort it by myself. One thing to consider seriously in this error is to look in to the Inner Exception rather than just looking on the main exception detail.
    In my case it was UserProfile was not running and when I started the UserProfile service the error vanished.
    There was no problem with the BDC or Webpart.

  • Why do I get 'ResolveManifestFiles task failed' error when building a WPF app that references WinRT API?

    0
    down vote
    favorite
    I am working on a WPF app that I want to create for Windows 8. I followed steps mentioned in
    Hansleman's blog to make some manual modifications using WinRT functions in a WPF app. Everything worked well, until I tried to publish the app. When I clicked on publishing the app I got error "The 'ResolveManifestFiles' task failed unexpectedly.
    System.ArgumentException: Value does not fall within the expected range."
    Afterwards, it will produce the same error when attempting a simple solution build.
    Even if you create a simple WPF project and add the references mentioned in blog to access WinRT functions and publish, this issue can be reproduced.
    I think it would be common scenario to call WinRT functions from WPF and someone should have done it. Is anyone aware what should be done to fix this issue?

    I am having the same problems and came across this article while researching a workaround. 
    It is surprising more people aren’t talking about this.
    Here are the steps to reproduce the problem; Using Visual Studio Express 2012 (x64) create a new VB Windows Forms Application. 
    Unload the project and edit the [ProjName].vbproj in the solution explorer. 
    Add <TargetPlatformVersion>8.0</TargetPlatformVersion> to the <PropertyGroup>. 
    Save and reload the project.  In Add Resource/Reference Manager add the Windows.minmd found under Windows/Core. 
    This WinRT/Desktop solution will run as expected.  Now try to Publish this solution. 
    It will FAIL with the following ERROR; “The ResolveManifestFiles task failed unexpectedly, Value does not fall within the expected range.” 
    Attempting to build or run the solution again now will fail with the same Error. 
    The only way to build the project now is to remove the “Enable ClickOnce security settings” option under the project properties Security settings. 
    Occasionally using this trick, the solution will build but not run. 
    When that happens jiggle around with Debug/Release Solution Configurations and the Any CPU/x64 Solution Platforms then rebuild and try the run again. 
    This fussing around will get you through development however any attempt to publish with restore the ClickOnce security setting and create the previous Error.
    The first question here is how do you publish a WinRT app for the desktop with VS2012 Express. 
    Then secondly, if that is not possible can we publish this Express solution with a 3rd party deployment tool like InstallShield Limited Edition or the WIX Toolset. 
    Neither however seems functional in a VS Express environment. 
    Then thirdly, are there ways to access hardware sensor devices from a desktop solution without resorting to the WinRT API.
    Any ideas or new research directions would be greatly appreciated.

  • SqlBuildTask failed unexpected

    Hi all of you,
    After have import my Sql Server db to my .NET project and once loaded all the objects, I've created one table. Issue comes when I build the project:
    RDBMS version: Sql Server 2012
    Sql Server Data Tools 12.0
    IDE VS: 2013 Professional
    Error 97
    04018: The "SqlBuildTask" task failed unexpectedly.
    System.MethodAccessException: Attempt by method 'Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(System.String, System.Collections.Generic.Dictionary`2<System.String,System.String>)' to access method 'Microsoft.Data.Tools.Components.Diagnostics.SqlTracer.ShouldTrace(System.Diagnostics.TraceEventType)'
    failed.
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnCreateCustomSchemaData(String filePath, Dictionary`2 referenceMetadata)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.CreateCustomSchemaData(String filePath, Dictionary`2 referenceMetadata)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.ProcessReferences(TaskLoggingHelper providedLogger, SqlTaskHost host, ErrorManager errors)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.LoadImpl(ITaskHost providedHost, TaskLoggingHelper providedLogger)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.Load(ITaskHost providedHost, TaskLoggingHelper providedLogger)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteLoadTaskHostStep()
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func`1 step)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets
    513 5
    Database1
    Thanks for any input,

    Hi Kevin, I did as you said but I get other error and loads of warnings (1116)
    Certainly old messages dissapeared.
    Most of them are warning about references such as:
    Warning 40
    SQL71558: The object reference [dbo].[Talleres_Datos_Taller].[TELEFONO] differs only by case from the object definition [dbo].[Talleres_Datos_Taller].[Telefono].
    C:\Users\Enric\Documents\Visual Studio 2013\Projects\Database1\Database1\dbo\Views\V_Talleres_TALLER.sql
    1 1
    Database1
    Warning 21
    SQL71502: Procedure: [dbo].[Talleres_CONT_InsertaAsiento] has an unresolved reference to object [dbo].[Talleres_CONT_InsertaAsiento].[Fecha].
    C:\Users\Enric\Documents\Visual Studio 2013\Projects\Database1\Database1\dbo\Stored Procedures\Talleres_CONT_InsertaAsiento.sql
    24 2
    Database1
    Got some errors but all of them related to connection and logins
    I think going back to SSMS and forget once for all of Visual Studio for creating DMO/DDO stufff
    Thanks a lot,

  • SQL task fails if previous task fails

    I have a Script task that I fail in the code explicitly based on a variable value.  When the script task fails, I set a constraint (failure) to execute the following SQL task
    However, I was thinking the SQL task would execute successful, especially since it does if I execute it by itself.
    In the package results, I see a failure message like this
    [Connection manager "ABC222"] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x8004D00E. 

    Ok yes, thats what it was.  My issue was related to transaction settings.  The package was marked as "transactionOption = Required", so regardless if my sql task that sends mail is outside of the container or not, it was going to be part of the
    transaction, so when the transaction got rolled back, the sql statement will fail because it appears that the connection was abandoned?
    So the resolution was then to change the package transaction property to "Supported", then my SQL task worked as expected.  Oh, and I set the transaction option on the sql task itself to "not supported".

  • Shim Execution Failed unexpectedly

    Creating an ect for an external list and get the unable to display web part error. Below is the log entry for the error. Any help would be appreciated. Also I'm only returning 600 rows so it's not a threshold issue.
    Mark 
    Error while executing web part: Microsoft.BusinessData.Infrastructure.BdcException: The shim execution failed unexpectedly - Target application not found (application id: webclient).. ---> Microsoft.Office.SecureStoreService.Server.SecureStoreServiceTargetApplicationNotFoundException:
    Target application not found (application id: webclient).     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)    
    at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.GetRestrictedCredentials(Guid rawPartitionId, String applicationId)     at Microsoft.Office.SecureStoreService.Server.SecureStoreProvider.GetRestrictedCredentials(String
    appId)     at Microsoft.SharePoint.BusinessData.SystemSpecific.Db.DbConnectionManager.GetConnection()     at Microsoft.SharePoint.BusinessData.SystemSpecific.Db.DbSystemUtility.ExecuteStatic(IMethodInstance methodInstance,
    ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context)     at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternalWithAuthNFailureRetry(ISystemUtility systemUtility, IMethodInstance methodInstanceToExecute,
    IMethod methodToExecute, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IParameterCollection nonReturnParameters, Object[] overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)     --- End of inner exception
    stack trace ---     at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute,
    IParameterCollection nonReturnParameters, Object[]& overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance
    methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterCollection filters)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity this,
    IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance mi, IFilterCollection
    fc, ILobSystemInstance lsi)     at Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity entity, IMethodInstance methodInstance, IFilterCollection filters, ILobSystemInstance lobSystemInstance,
    ExecutionCallBack executionCallBack)     at Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.FindFiltered(IFilterCollection filterCollection, String finderName, ILobSystemInstance lobSystemInstance)    
    at Microsoft.SharePointSPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal,
    String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstances(XmlDocument
    xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1&
    lstEntityData)     at Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String& bdcidFirstRow, String& bdcidNextPageFirstRow)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()    
    at Microsoft.SharePoint.SPListItemCollection.get_Count()     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart,
    SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
    Mark Ferrero

    Hi Mark Ferrero,
    We can do as follows:
    1. Open the central administration
    2. Application management
    3. Service Applications
    4. Configure service application associations
    5. Check the web application in which your site exist
    6. Check the "application proxy group" column
    7. Make sure the BDC and secure store service applications check boxes are mark
    8. If they are not then please tick the check box and click OK
    Here is a blog for your reference:
    http://sharepointknowledgebase.blogspot.com/2014/05/bcs-external-list-error-unable-to.html#.VC5WYXmKBes
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Incremental load fails with the error LM_44127 Failed to prepare the task

    Guys,
    I have created a custom mapping and cretaed a execution plan for this mapping in the DAC. The full load completes successfully. But when ever the incremental lod is run , i am getting the below error and the task fails(The SDE load completes sucessfully , but the SIL load fails with the below error).
    LM_44127     Failed to prepare the task
    Please help!!!

    i googled it..
    http://datawarehouse.ittoolbox.com/groups/technical-functional/informatica-l/lm_44127-failed-to-prepare-task-when-running-workflow-in-informatica-86-on-aix-3199309
    you can try for better links now.. !!

  • How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing.

    How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing. I went through the process of clicking through the how to's and the troubleshooting and came to the conclusion that I need to install the adobe drive 5 but I can not complete the installation. I may be incorrect on this so I need immediate assistance as I have poster and ad deadlines. I also tried disabling the gatekeeper and solution 3 on the troubleshooting of slow saving on photoshop.
    Any help is much appreciated!
    Thank you!

    Are you attempting to save the file to a network location instead of your local hard drive? If so, this is probably why you are encountering an issue and why Adobe Drive would be the solution. As we've documented, it is a bad idea to open from or save directly to a network source: Networks, removable media | Photoshop | CS4 and later. Drive can help you get around this by setting up an Adobe supported virtual connection to the network. Thus, if installing Adobe Drive is the solution you need and your need help with installing Drive, please post to the Downloading, Installing, Setting Up forum.
    If you are not saving to a network location, then Adobe Drive is not going to be the answer. Then we'll need to know more about the file you are saving.

  • How to resolve the "Builld error mxmlc task failed" in flex4 web application

    hi all,
    I am using flex 4 mxml web application wiht as3. when i deploying this project i am facing the folling error.
    Environment:
    Flex 3.5 SDK
    Flash builder 4 .                 APPLICATION NAME: BillProcess
    Ant compile tasks
    ============
        <property name="FLEX_HOME" value="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0/>
        <property name="JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_06"/>
        <property name="JRE_HOME" value="C:\Program Files\Java\jre1.6.0_06"/>
    ERROR:
    init:
    [ippprojectproperties] qbServer = workplace.intuit.com
       [delete] Deleting directory C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
        [mkdir] Created dir: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
    checkForCustomBuild:
    custombuild:
    dependentProjects:
    compile:
    [ippflexbuild] Parsing: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess/.actionScriptProperties
    BUILD FAILED
    C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\ippbuild.xml:101: mxmlc task failed
    Total time: 16 seconds.
    HOW TO RESOLVE THIS.
    please share your useful suggession,
    cheers,
    B.venkatesan.

    hello,
    Check out this link http://www.kirupa.com/forum/showthread.php?309387-ant-mxmlc-task-don-t-compile-with-FlexSD K-4 this may solve your problem.
                         Gajanan Hiroji | [email protected] | www.isacglobal.com

  • Error: Request failed. unexpected response from server. the status code of response is '0' in safari browser

    Hi,
    I am using Javascript serializer to send server side code to javascript.
    This works in IE 9, Mozilla, chrome. But fails with error in Safari as "request failed. unexpected response from server. the status code of response is '0' . status text of the response is ". null
    My code is as below:
    <asp:UpdatePanel ID="panLayout" runat="server">
    <ContentTemplate>
    <div id="divloadingImage" >
    <br />
    <asp:Image ID="imgLoading" runat="server" ImageUrl="/images/rotate.gif" ImageAlign="Middle" />
    <br />
    </div>
    <div id="banner-fade" >
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    <asp:Timer ID="timerRSS" Interval="1" runat="server" ontick="timerRSS_Tick"></asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>
    In CS:
    protected void timerRSS_Tick(object sender, EventArgs e)
    DisplayImages();
    divloadingImage.Visible = false;
    bannerfade.Visible = true;
    timerRSS.Enabled = false;
    private void DisplayImages()
    List<SharePointListItem> allImages = GetallImages();
    JavaScriptSerializer serializer = new JavaScriptSerializer();
    string json = serializer.Serialize(allImages);
    string script = string.Format("<script type=\"text/javascript\">var allSliderImages={0}</script>", json);
    if (!this.Page.ClientScript.IsClientScriptBlockRegistered("clientScripts"))
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScripts", script, false);
    string scriptRegister = string.Format("<script type=\"text/javascript\">FetchData();</script>");
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScriptData", scriptRegister, false);
    In Javascript:
    function FetchData() {
    if (typeof allSliderImages !== "undefined") {
    for (var i = 0; i < allSliderImages.length; i++) {
    Imagesuccess(allSliderImages[i].fileleafref, allSliderImages[i].filedirref, allSliderImages[i].caption1);
    var rota = $("#bannerfade");
    rota.css("display", "block");
    function Imagesuccess(fileLeaf, fileDir, UserCaption1) {
    var ul = $('#bannerfade > ul');
    var li;
    var filename = fileLeaf;
    var dir = fileDir;
    var caption1 = UserCaption1;
    var sfils = filename;
    filename = dir + '/' + filename;
    var imageCaptionData;
    if (caption1 != null && caption1 != "") {
    imageCaptionData = '<div class="HeadlineDiv">' + caption1 + '</div>';
    li = $('<li>' + imageCaptionData + '<div class="SubHeadline" style="color:white;">' + '<br/></div>' + '<img src="' + filename + '"/>' + '</li>');
    ul.append(li);
    $('#bannerfade').bjqs({
    height: 354,
    width: 970,
    responsive: true
    Below is the data I get:
    <script type="text/javascript">
    var allSliderImages=[{"id":"1","Title":"Scenic","caption1":"scenic","fileleafref":"02.jpg","filedirref":"/s/Test/Library"},
    {"id":"2","Title":"nature","caption1":"scenic2","fileleafref":"C034.jpg","filedirref":"/s/Test/Library"},
    {"id":"3","Title":"Tiff","caption1":"Tiff","fileleafref":"test_tiff.tif","filedirref":"/s/Test/Library"}]</script>
    The data is shown in all browsers except Safari. How to fix this?
    Update: I have checked this link: http://sharepoint.sureshc.com/2013/07/unexpected-response-data-from-server-in.html
    but that did not help.
    Thanks

    Hi,
    From
    this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
    that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
    According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
    with this issue:
    http://forums.asp.net/
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • Continue the package execution even if task fails

    I have a send mail task in my package which sends start and end mails of the package. If the SMPT server is down and not working entire process stops as send mail task fails. Is there a way that if the SMPT server is down and also if the send mail task
    fails the package should continue executing. This is a child package which is called by a parent package.

    Is the send mail task is inside a container (loop or sequence) set "FailParentOnFailure" and the
    "FailPackageOnFailure" properties to false for those as well.
    There is also a MaximumErrorCount property that can be set to 0 in the container or in the package.
    see this link
    Jan D'Hondt - SQL server BI development

  • When the program gets terminated unexpectedly (power failure, UPS fails), when I reopen it, it usually does NOT return the previous pages, as I have checked in the 'options' box,

    # Question
    When the program gets terminated unexpectedly (power failure, UPS fails), when I reopen it, it usually does NOT return the previous pages, as I have checked in the 'options' box, but goes to some random collection of pages often from months ago. Very frustrating - can anything be done to COMMAND it to save current pages and re-open there? (As I said, I have this box checked in the options, but it does not work ..

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

Maybe you are looking for

  • FCE 4 and 4.0.1 compatibility issue:

    FCE 4 and 4.0.1 compatibility issue: While using Final Cut Express 4.0.1 on one machine I save (saves as .fcp) and now when I try to open the same file to continue editing, on a machine running Yosemite, and FCE 4 it gives an error message saying "Th

  • Unable to read more than 255 characters in a string data type.

    Hello, I am using Crystal Reports version 11.5.8.826 to generate reports from databases such as MS-Excel & BaaN. In Excel, there are records which carry string lengths of more than 255 characters. All though the fields are getting displayed in the re

  • Message "Backup disk identification has changed since the last copy"

    Hello! I have MD033 Time Capsule and my iMac 2012 and MacBook Pro connected to it. Time Machine is set to backup @ this disk. Every once in a while I get the message you see in attach on my machines. Approximately it means "Your backup disk identific

  • Ios image support ssh

    hello dear please can you tell me that the image   ((c2960-lanbase-mz.122-53.SE1.bin))   support the ssh or no?? if no what ios image can i load for the switch 2960G to support the ssh. thanks

  • RFBIBL00, RFBIBL01 help require

    Dear All, I am using RFBIBL01 for upload the data in SAP using Tcode FB01 in Call transaction method. I need to display all the message as output in ALV report. How i can get the message from RFBIBL01 into iternal table. Please help me out. Regds, Pa