{"action":"created","issue":{"url":"https://api.github.com/repos/Sage/sdata-downloads/issues/2","repository_url":"https://api.github.com/repos/Sage/sdata-downloads","labels_url":"https://api.github.com/repos/Sage/sdata-downloads/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Sage/sdata-downloads/issues/2/comments","events_url":"https://api.github.com/repos/Sage/sdata-downloads/issues/2/events","html_url":"https://github.com/Sage/sdata-downloads/issues/2","id":153298702,"number":2,"title":"Error adding SData Reference to VS2012 sln","user":{"login":"SeanGahan","id":15079700,"avatar_url":"https://avatars.githubusercontent.com/u/15079700?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanGahan","html_url":"https://github.com/SeanGahan","followers_url":"https://api.github.com/users/SeanGahan/followers","following_url":"https://api.github.com/users/SeanGahan/following{/other_user}","gists_url":"https://api.github.com/users/SeanGahan/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanGahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanGahan/subscriptions","organizations_url":"https://api.github.com/users/SeanGahan/orgs","repos_url":"https://api.github.com/users/SeanGahan/repos","events_url":"https://api.github.com/users/SeanGahan/events{/privacy}","received_events_url":"https://api.github.com/users/SeanGahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-05T18:55:01Z","updated_at":"2016-05-05T21:03:16Z","closed_at":null,"body":"I'm getting errors adding adding SData reference; index outside bounds...\r\n\r\nI'm using VS2012 with Update5; trying to connect to Sage100\r\n\r\n![sdataerrorimporting](https://cloud.githubusercontent.com/assets/15079700/15053025/6bbd63f0-12b5-11e6-9c87-207ee6879ca5.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Sage/sdata-downloads/issues/comments/217279256","html_url":"https://github.com/Sage/sdata-downloads/issues/2#issuecomment-217279256","issue_url":"https://api.github.com/repos/Sage/sdata-downloads/issues/2","id":217279256,"user":{"login":"darroncockram","id":1032296,"avatar_url":"https://avatars.githubusercontent.com/u/1032296?v=3","gravatar_id":"","url":"https://api.github.com/users/darroncockram","html_url":"https://github.com/darroncockram","followers_url":"https://api.github.com/users/darroncockram/followers","following_url":"https://api.github.com/users/darroncockram/following{/other_user}","gists_url":"https://api.github.com/users/darroncockram/gists{/gist_id}","starred_url":"https://api.github.com/users/darroncockram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darroncockram/subscriptions","organizations_url":"https://api.github.com/users/darroncockram/orgs","repos_url":"https://api.github.com/users/darroncockram/repos","events_url":"https://api.github.com/users/darroncockram/events{/privacy}","received_events_url":"https://api.github.com/users/darroncockram/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T21:03:16Z","updated_at":"2016-05-05T21:03:16Z","body":"The problem is that the schema you have isn't a valid Sdata schema as it's missing the targetNamespace attribute. \r\n\r\nYou can get the code generation to complete by changing the schema declaration to something along the lines of\r\n\r\n```xml\r\n<xs:schema targetNamespace=\"http://myserver.com/foo/2016\" xmlns=\"\" xmlns:atom=\"http://www.w3.org/2005/Atom\" xmlns:sdata=\"http://schemas.sage.com/sdata/2008/1\" xmlns:sme=\"http://schemas.sage.com/sdata/sme/2007\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\">\r\n```\r\n\r\nHowever that does not mean it will work when you use it with the feeds as that namespace will not be the one used by Mas. Did that schema come directly from the instance schema from the Mas Sdata implementation?"}}