[{"data":1,"prerenderedAt":184},["ShallowReactive",2],{"article-cannot-execute-as-the-database-principle":3},{"article":4,"tags":52,"previous":67,"next":109},{"id":5,"title":6,"author":7,"body":8,"createdAt":41,"description":42,"extension":43,"img":33,"meta":44,"navigation":45,"path":46,"seo":47,"stem":48,"tags":49,"updatedAt":41,"__hash__":51},"articles\u002Farticles\u002Fcannot-execute-as-the-database-principle.md","Cannot execute as the database principle",null,{"type":9,"value":10,"toc":37},"minimark",[11,15,22],[12,13,14],"p",{},"I resolved this issue by setting database owner. My database did not have had any owner before this issue. Execute this command in your database to set owner to sysadmin account",[16,17,18],"pre",{},[19,20,21],"code",{},"use [YourDatabaseName] EXEC sp_changedbowner 'sa'\n",[12,23,24],{},[25,26,28],"a",{"href":27},"\u002Farticles\u002Fimages\u002Fimage_636694161252157189.png",[29,30],"img",{"style":31,"title":32,"src":33,"alt":32,"width":34,"height":35,"border":36},"border: 0px currentcolor; display: inline; background-image: none;","image","\u002Farticles\u002Fimages\u002Fimage_thumb_636694161255987537.png",416,97,0,{"title":38,"searchDepth":39,"depth":39,"links":40},"",2,[],"2018-08-09T16:55:25.000Z","My database did not have had any owner before this issue. Execute this command in your database to set owner to sysadmin account","md",{},true,"\u002Farticles\u002Fcannot-execute-as-the-database-principle",{"title":6,"description":42},"articles\u002Fcannot-execute-as-the-database-principle",[50],"sqlserver","PbylAI9ZBnAUp_zBnJXlFXGO3ZSZlRYI-Inwu0l9OrU",[53],{"id":54,"title":55,"body":56,"description":60,"extension":43,"img":61,"meta":62,"name":50,"navigation":45,"path":63,"seo":64,"stem":65,"__hash__":66},"tags\u002Ftags\u002Fsqlserver.md","Sqlserver",{"type":9,"value":57,"toc":58},[],{"title":38,"searchDepth":39,"depth":39,"links":59},[],"SQL Server is a relational database management system, or RDBMS, developed and marketed by Microsoft.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fsqlserver",{"description":60},"tags\u002Fsqlserver","pSzcNnE-XyUgq8RlgK2xBpbJV7_7o5NLS2XlwBxFyAg",{"id":68,"title":69,"author":7,"body":70,"createdAt":99,"description":100,"extension":43,"img":7,"meta":101,"navigation":45,"path":102,"seo":103,"stem":104,"tags":105,"updatedAt":99,"__hash__":108},"articles\u002Farticles\u002Fdotnet-new-install-error.md","dotnet new–install Error",{"type":9,"value":71,"toc":97},[72],[12,73,74,75,79,80,83,84,86,87,89,90,93],{},"Error: Could not install …\nError: Value cannot be null.\nParameter name: key\nUsage: new ",[76,77,78],"span",{},"options","\n…",[81,82],"br",{},"\nWhen building a new solution template for ASP.NET Core solution, I received the above error.  I had not seen this with prior template build efforts.  This was new with .NET Core.",[81,85],{},"\nThe error occurs when one of the node_modules folders contain a template.json file.  The solution for me, was to entirely remove the node_modules directory before attempting to build the template.",[81,88],{},"\nReference: ",[25,91],{"title":92,"href":92},"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fcli\u002Fissues\u002F8989",[25,94,92],{"href":92,"rel":95},[96],"nofollow",{"title":38,"searchDepth":39,"depth":39,"links":98},[],"2018-10-01T17:34:36.000Z","When building a new solution template for ASP.NET Core solution, I received the above error.  I had not seen this with prior template build efforts.  This was new with .NET Core.",{},"\u002Farticles\u002Fdotnet-new-install-error",{"title":69,"description":100},"articles\u002Fdotnet-new-install-error",[106,107],"aspnet","visualstudio","XRM2kTE2W4vJBJM2Tq54l8-3P9fLs6wmg5o6w7hhzcA",{"id":110,"title":111,"author":7,"body":112,"createdAt":174,"description":175,"extension":43,"img":176,"meta":177,"navigation":45,"path":178,"seo":179,"stem":180,"tags":181,"updatedAt":174,"__hash__":183},"articles\u002Farticles\u002Fexecution-failed-for-task-appflutterbuilddebug.md","Execution failed for task ‘:app:flutterBuildDebug’",{"type":9,"value":113,"toc":172},[114,117,120,123,137,143,149,162],[12,115,116],{},"Suddenly I have this error. I thought it was something I had inadvertently injected into my code. Solution below…",[12,118,119],{},"Error reading dependency file C:{path to project}\\build\\app\\intermediates\\flutter\\debug\\snapshot_blob.bin.d: java.lang.ArrayIndexOutOfBoundsException: 1",[12,121,122],{},"Oops; flutter has exited unexpectedly.",[12,124,125,126,128,129,133,134,136],{},"Crash report written to C:{path to project}\\flutter_11.log;",[81,127],{},"\nplease let us know at ",[25,130,131],{"href":131,"rel":132},"https:\u002F\u002Fgithub.com\u002Fflutter\u002Fflutter\u002Fissues",[96],".",[81,135],{},"\nFAILURE: Build failed with an exception.",[12,138,139,140,142],{},"Where:",[81,141],{},"\nScript 'C:\\flutter\\packages\\flutter_tools\\gradle\\flutter.gradle' line: 435",[12,144,145,146,148],{},"What went wrong:",[81,147],{},"\nExecution failed for task ':app:flutterBuildDebug'.",[150,151,152],"blockquote",{},[12,153,154,155,157,161],{},"Process 'command 'C:\\flutter\\bin\\flutter.bat'' finished with non-zero exit value 1",[81,156],{},[158,159,160],"strong",{},"Solution",":",[163,164,165,169],"ul",{},[166,167,168],"li",{},"Open solution folder, remove the build folder",[166,170,171],{},"Rerun F5 application",{"title":38,"searchDepth":39,"depth":39,"links":173},[],"2018-06-03T19:46:02.000Z","Errors occur. This one was perplexing but was quickly resolved.  Using Flutter and getting 'dependency file' error.  Check it out.","\u002Farticles\u002Fimages\u002FuO8VUVifgS.png",{},"\u002Farticles\u002Fexecution-failed-for-task-appflutterbuilddebug",{"title":111,"description":175},"articles\u002Fexecution-failed-for-task-appflutterbuilddebug",[182],"flutter","Z12hhh5QoJueG5H5FTzIPniuxsdYh8FrpbtVEnzsdTs",1781574767946]