{"action":"closed","issue":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/499","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/499/comments","events_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/499/events","html_url":"https://github.com/bleroy/OrchardImportTest/issues/499","id":65810095,"number":499,"title":"\"section registered as allowDefinition='MachineToApplication' beyond application level\" after creating new field type","user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/labels/medium","name":"medium","color":"E36B23"}],"state":"closed","locked":false,"assignee":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/milestones/2","html_url":"https://github.com/bleroy/OrchardImportTest/milestones/Orchard%201.0","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/milestones/2/labels","id":1048087,"number":2,"title":"Orchard 1.0","description":null,"creator":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":70,"state":"open","created_at":"2015-04-01T04:10:52Z","updated_at":"2015-04-02T01:09:31Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-04-02T01:09:17Z","updated_at":"2015-04-02T01:09:31Z","closed_at":"2015-04-02T01:09:31Z","body":"After creating a new field type and putting it in a new content type, the\nmoment I try to create a new item of the content type Visual Studio's debugger\nstops the execution throwing the following exception:  \n  \n\"\"It is an error to use a section registered as\nallowDefinition='MachineToApplication' beyond application level. This error\ncan be caused by a virtual directory not being configured as an application in\nIIS. (C:\\Users\\Cobo\\Documents\\Visual Studio 2010\\Projects\\thehoopsmarket-\ndevelopment2\\src\\Orchard.Web\\modules\\thmcustomfields\\web.config line 18)\".  \n  \nI haven't modified the web.config file neither Orchard's or my project one.  \n  \nSoftware used:  \n\n  * Windows 7 / IIS 7.5 \n  * Visual Studio 2010 \n  * SQL Server 2008 R2 Express \n  * Orchard 0.5   \n\nSteps to reproduce:  \n\n  1. Fresh installation running Orchard's latest release through VS, using a new blank SQL Server database: OK. \n  2. Adding a new MVC project under Orchard.Modules (files under src\\Orchard.Web\\modules): OK \n  3. Implemented the new field type: OK \n  4. Run Orchard, enabled both \"Content Types\" and my new module and type \"ThmCustomFields\" and \"TrueFalseField\": OK \n  5. Create a new content type from the administration menu including a field of my type: OK. \n  6. Create a new item of the just created content type: ERROR -> Above exception is thrown. \n\nWork Item Details\n--------------------\n**Original CodePlex Issue:**\t[Issue 16608](http://orchard.codeplex.com/workitem/16608)\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tsebastienros\n**Reported on:**\tSep 5, 2010 at 7:12 PM\n**Reported by:**\tJacoboPolavieja\n**Updated on:**\tApr 9, 2013 at 9:05 PM\n**Updated by:**\tstonstad\n**Closed on:**\tNov 23, 2010 at 7:29 PM\n**Closed by:**\tsebastienros\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tsebastienros\n**Reported on:**\tSep 5, 2010 at 7:12 PM\n**Reported by:**\tJacoboPolavieja\n**Updated on:**\tApr 9, 2013 at 9:05 PM\n**Updated by:**\tstonstad\n**Closed on:**\tNov 23, 2010 at 7:29 PM\n**Closed by:**\tsebastienros\n\n\n#### Binary Attachments\n\n[ThmCustomFields.zip](http://orchard.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=orchard&WorkItemId=16608&FileAttachmentId=148474)"}}