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,

Similar Messages

  • Getting Error of SqlBuildTask fail while building the database project

    Hi Experts,
      I am getting error while building the database project in following manner please help on this.
    Error 803 04018: The "SqlBuildTask" task failed unexpectedly.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Data.Tools.Schema.UserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.SqlUserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.Sql110UserInteractionServices.GetElementName(IModelElement element, ElementNameDetails details)
       at Microsoft.Data.Tools.Schema.Sql.Validation.MismatchedNameRule.Analyze(SqlSchemaModel sqlSchemaModel, ISqlModelElement sqlElement, SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.Validation.SqlValidationRuleProxy.Analyze(SqlSchemaModel sqlSchemaModel, ISqlModelElement sqlModelElement, SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.Validation.SqlValidationRule.Analyze(SqlRuleSetting ruleSetting, SqlRuleExecutionContext context)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRuleImpl(SqlRuleSetting ruleSetting, SqlRuleExecutionContext context, Predicate`1 suppressProblem, IEnumerable`1& errors)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRules(SqlSchemaModel dataSchemaModel, IEnumerable`1 ruleSettings, IEnumerable`1& errors, Predicate`1 suppressProblem, Func`1 executeCanceled)
       at Microsoft.Data.Tools.Schema.Sql.RuleEngine.SqlRuleEngine.ExecuteRules(SqlSchemaModel dataSchemaModel, IEnumerable`1 rules, IEnumerable`1& errors, Predicate`1 suppressProblem, Func`1 executeCanceled)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunBuildValidation(SqlSchemaModel model, ErrorManager errorContainer, Func`1 buildCanceledQuery, HashSet`1 includedRuleIDs, HashSet`1 excludedRuleIDs)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.OnRunBuildValidations(ErrorManager errorManager, HashSet`1 includedRuleIds)
       at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.RunBuildValidations(ErrorManager errorManager, HashSet`1 includedRuleIDs)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.LoadImpl(ITaskHost providedHost, TaskLoggingHelper providedLogger, Boolean runAllBuildTimeValidationRules)
       at Microsoft.Data.Tools.Schema.Tasks.Sql.TaskHostLoader.Load(ITaskHost providedHost, TaskLoggingHelper providedLogger, Boolean runAllBuildTimeValidationRules)
       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\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets 547 5 ABC_DB
    Niraj Sevalkar

    Hi Niraj, does this happen for all projects or for one specific project? I'd love to understand if this is a specific bug or if it might be a setup issue. 
    If this issues is reproduceable on the latest SSDT bits, I'd suggest capturing the event log for what is going wrong and then opening a connect
    bug for this issue at https://connect.microsoft.com/SQLServer/feedback/CreateFeedback.aspx and
    use the category "Developer Tools(SSDT, BIDS, etc.)". We're trying to track all bugs through connect so that you can tell when we have fixed the issue and we can request
    more information. Please include the event log (instructions on this below) plus any other useful information you can provide, such as an example of exact steps to reproduce the problem.
    Gathering an Event Log for SSDT
    For diagnostic purposes we would like you to gather an event log for the issue that you are experiencing in SSDT. In order to gather a log and send it to a member of
    the team, please follow the steps below.
    Open a new command prompt as Administrator.
    Run the following command
    logman create trace -n DacFxDebug -p "Microsoft-SQLServerDataTools" 0x800 -o "%LOCALAPPDATA%\DacFxDebug.etl" -ets
    logman create trace -n SSDTDebug -p "Microsoft-SQLServerDataToolsVS" 0x800 -o "%LOCALAPPDATA%\SSDTDebug.etl" -ets
    Run whatever the target/issue scenario is in SSDT.
    Go back to the command prompt and run the following commands
    logman stop DacFxDebug -ets
    logman stop SSDTDebug -ets
    The resulting ETL files will be located at %LOCALAPPDATA%\SSDTDebug.etl & %LOCALAPPDATA%\DacFxDebug.etl and can be navigated to using Windows Explorer.
    Please attach this file when creating the connect bug
    NOTE - These logs will only be used by Microsoft product team members in order to better diagnose the problem you are experiencing
    with SSDT and will not be shared elsewhere. If you want to make sure that there is no private information in your ETL file, the SSDTDebug.etl file can be opened and analyzed using the Windows Event Viewer.
    To do this, open the Windows Event Viewer application. In the right-hand panel, select Open Saved Log. Navigate to the location where you saved the log, open, and review
    the contents of the trace.
    Thanks,
    Kevin

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

  • 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

  • Export to Excel Failed - Unexpected Error

    I am trying to export a PDF document to Excel.  The PDF uploads no problem but then the exporting process takes several minutes before ending with an error message.  Export failed, unexpected error.  Please advise. 

    Justin,
    You are fine! Believe me - I get it. And it's my fault I have not been able to get to these fast enough. But I'm getting there!
    I hope to have an answer for you by tomorrow.
    Have a great day!
    Stacy

  • Apple declares an Update for My windows 32 bit Vista Home Premium; 3 software updates are available; I download; I start installer; installation fails unexpectedly; installer rolls back installation; hardware seems PC capable;

    Apple declares an Update for My windows 32 bit Vista Home Premium; 3 software updates are available; Safari browser=1, Itunes=2; Apple software updater=3; I download; I start installer; installation fails unexpectedly; installer rolls back installation; PC hardware seems PC capable; I have removed Mobile Me because of New Apple I-cloud Software Sync server registration?
    What should I do with this failure to install Apple software products /declaring/ needing wanting to update and failing the process.
    I have other software to complete the multimedia experience. what should I do with the constant automatic attempt to update
    I can consult Gateway; device drivers web sites; hardware drivers;
    Please Email Deanallen@ a*l.com
    < Email Edited By Host >

    Hi,
    Please try this
    Stop Windows Update Service and BIT Service now.
    Go to C:\Windows\SoftwareDistribution and delete all file under this folder.
    Start Windows Update and BIT service now.
    Then try to download windows update now.
    If doesn't work, please reset the windows update componments 
    http://support.microsoft.com/kb/971058/en-us
    Yolanda Zhu
    TechNet Community Support

  • 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

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

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbT

    Hi,
    I am using BEA Weblogic 8.1.4 With Database as SQL Server 2000 professional.
    I created Connection pool successfully ,but at start of weblogic server i am getting following exception at server startup while initial deployment of my applicaion EAR.Can somebody help me to find out solution for same.
    Thanks in advance.
    EXCEPTION AT CONSOLE:---weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbType: 2 ]
    at weblogic.ejb20.utils.TableVerifier.getSequenceQuery(TableVerifier.java:630)
    at weblogic.ejb20.utils.TableVerifier.verifySequence(TableVerifier.java:522)
    at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterSequence(TableVerifier.java:334)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.genKeySetup(RDBMSPersistenceManager.java:1196)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:227)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:254)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:211)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1082)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1385)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3315)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2194)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2167)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
    at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)

    Can you post the full stack trace / error message?
    Also, please send this to [email protected] as well.
    -- Rob
    Kelvin Kok wrote:
    Getting this error weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ] intermitent in Weblogic 7 sp1.
    Anyone facing the same problem?

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

  • 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

  • P2 "Check for update failed unexpectedly"

    Hi
    I am implementing p2 update for my application (followed tutorial on https://blog.codecentric.de/en/2015/04/add-p2-update-functionality-to-an-efxclipse-application-eclipse-rcp-cookbook/)
    Application finds update (tells that there are updates for my product) but gives an error
    "Check for update failed unexpectedly". Thats all. Nothing more. How can I debug? I can not test under Eclipse. What should I do?
    Ubuntu 14.10, JDK 1.8-45, Mars Efxclipse 2.0.0
    By the way thank you very much Tom, for all answers you give. I really appreciate your help.

    There should be some more information, as the causing exception is included in the wrapping StatusException.
    To debug have a look at UpdateServiceImpl#checkUpdate() where the exception is raised.
    You could for example register a listener onException() to your UpdateService#checkUpdate() to get more information about the raised StatusException.

  • Initial time machine backup to Time Capsule failed unexpectedly

    Hi everyone,
    New MacBook Pro retina, clean install of Mountain Lion, no previous backup to 1 TB third-generation Time Capsule (I deleted the previous .sparsebundle file because it had grown too large). Power Nap enabled in Energy Saver. The initial backup stopped:
    Sep  3 00:09:17 Musa.local com.apple.backupd[8097]: Copied 9.1 GB of 119.55 GB, 223769 of 931533 items
    Sep  3 01:15:55 Musa.local com.apple.backupd[8097]: Copied 10.9 GB of 119.55 GB, 308247 of 931533 items
    Sep  3 02:32:25 Musa.local com.apple.backupd[8097]: Copied 14.15 GB of 119.55 GB, 467275 of 931533 items
    Sep  3 02:32:25 Musa.local com.apple.backupd[8097]: Backup failed because the network destination disk was ejected or disconnected unexpectedly!
    Sep  3 02:32:26 Musa.local com.apple.backupd[8097]: Copied 467294 files (14.15 GB) from volume GigaFlash.
    Sep  3 02:32:27 Musa.local com.apple.backupd[8097]: Backup canceled.
    Sep  3 02:32:32 Musa.local com.apple.backupd[8097]: Ejected Time Machine disk image: /Volumes/Share-1/Musa.sparsebundle
    Sep  3 02:32:32 Musa.local com.apple.backupd[8097]: [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
    Sep  3 02:32:32 Musa.local com.apple.backupd[8097]: Failed to eject volume (null) (FSVolumeRefNum: -159; status: -35; dissenting pid: -1)
    Why?

    Any or all of the following third-party system modifications may be contributing to your problem:
    LaCie drive software
    VirusBarrier
    I suggest you uninstall them according to the developers' instructions, reboot, and see whether there's any improvement. If there is, you can experiment with putting them back, one at a time, to identify which one is at fault. "VirusBarrier" is harmful and should not be reinstalled in any case.
    If there's no improvement after making the suggested changes, post again.

  • 7.2 Update Fails: "unexpected error"

    QT Update to 7.2 fails with:
    "The update "QuickTime" can't be installed."
    "Sorry, an unexpected error has occurred."
    I have tried fixing permissions/files on the disk, removing the previous QT version, and have uninstalled Flash.
    Still no install...
    Ideas?

    I used Software Update to attempt the 7.2 install. I have also tried to install by opening the QuickTime720.pkg file.
    Not very informative...just says there were errors during the installation and that I should try again.
    Perhaps there is a log file for the install somewhere?
    In desperation I deleted the existing Quicktime.app folder. Mistake?
    Thanks.

  • Polling adapter fails unexpectedly

    Trying to test ESB polling service.Created sample polling service that check for database table changes. Service does not work properly, found error message in log.xml file:
    JCA inbound adapter service listener for "Fulfillment.TestPooler_RS.receive" with endpoint ID "[TestPooler_ptt::receive(CustomerCollection)]" has been requested to shutdown by Resource Adapter due to fatal error. Reason : ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [TestPooler], Descriptor name: [TestPooler.Customer]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Exception [TOPLINK-6024] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException
    Exception Description: Modify queries require an object to modify.
    Query: UpdateObjectQuery(null).
    What can be cause of this error?

    Hi alex,
    Cause of problem
    Both OC4J running BPEL and the database adapter reached the maximum number of connections and were unable to establish new ones.
    The reason for the problem is a database adapter Bug 5595347.
    According to Bug 5595347, the database adapter might leave open connections behind.
    The fix for Bug 5595347 is included in Patch 5638122.
    Solution
    To implement the solution, please execute the following steps:
    Apply Patch 5638122.
    References
    Bug 5595347 - ORIONCMTCONNECTION NOT CLOSED IN ORABPEL~OC4J_BPEL~DEFAULT_ISLAND~1
    Note 314422.1 - Remote Diagnostic Agent (RDA) 4 - Getting Started
    Patch 5638122 - MERGE LABEL REQUEST ON TOP OF 10.1.2.0.2 FOR BUGS 5149866 5595347 5205630
    Cheers,
    Abhi...

Maybe you are looking for