2 Replies - 789 Views - Last Post: 03 April 2017 - 12:35 PM

#1 ibnmvungi  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 83
  • Joined: 20-April 12

Sequence contains no matching element scaffolding visual studio 2015

Posted 19 February 2017 - 04:00 PM

Hey

I am using code first database first (MYSQL, ENTITYFRAMEWORK 6, VISUAL STUDIO 2015)
I am trying to add a controller using scaffolding from the model generated

But i get "there was an error running the selected code generator sequence contains no elements, Unable to retrieve metadata for ...; Sequence contains no matching element";

The model were generated successifully from the database but adding a controller for the specified model using scaffolding returns error.


Can anyone help solve this?

This post has been edited by ibnmvungi: 19 February 2017 - 04:05 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Sequence contains no matching element scaffolding visual studio 2015

#2 ibnmvungi  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 83
  • Joined: 20-April 12

Re: Sequence contains no matching element scaffolding visual studio 2015

Posted 03 April 2017 - 12:05 PM

After a long suffering I was able to identify the problem

Firewall/antivirus or any network filtering app could be the problem.

My problem was caused by k9 web protection
Was This Post Helpful? 1
  • +
  • -

#3 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13401
  • View blog
  • Posts: 53,498
  • Joined: 12-June 08

Re: Sequence contains no matching element scaffolding visual studio 2015

Posted 03 April 2017 - 12:35 PM

Quote

k9 web protection

Never heard of it.

Strange. Thanks for the follow up. Hopefully that helps someone.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1