{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1858","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1858/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1858/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1858","id":195558714,"number":1858,"title":"Error occurred  integrating IIS Server to Microsoft Bot","user":{"login":"sencsk1","id":23719605,"avatar_url":"https://avatars.githubusercontent.com/u/23719605?v=3","gravatar_id":"","url":"https://api.github.com/users/sencsk1","html_url":"https://github.com/sencsk1","followers_url":"https://api.github.com/users/sencsk1/followers","following_url":"https://api.github.com/users/sencsk1/following{/other_user}","gists_url":"https://api.github.com/users/sencsk1/gists{/gist_id}","starred_url":"https://api.github.com/users/sencsk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sencsk1/subscriptions","organizations_url":"https://api.github.com/users/sencsk1/orgs","repos_url":"https://api.github.com/users/sencsk1/repos","events_url":"https://api.github.com/users/sencsk1/events{/privacy}","received_events_url":"https://api.github.com/users/sencsk1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T15:19:41Z","updated_at":"2016-12-14T17:58:23Z","closed_at":"2016-12-14T17:58:23Z","body":"Hi Team,\r\nI'm trying to integrate Bot with Facebook. i have mentioned the steps what all i did. if anything i missed and anything i did wrong please advice and guide me.\r\nI created the bot application and deploy through custom mode using .Net Framwork 4.6. in my server having .Net framwork V4.5.\r\n\r\nI run the application locally using the Bot Emulator its working fine after that only i have deployed it to server its not working.   its throw me so many errors by the time by time. in my guess i deployed the Bot as sub application maybe its might be reason.\r\n\r\nmy domain: https://www.abc.com/**TSBot**/api/messages\r\nThe above url i used to configue Messaging endpoint.  i fill the app secret, app id and bot id. but its throw me the errors . one time its throw me **parameter name:Miising Appid**. other some times its throw below error\r\n\r\nInternalServerError\r\n{\r\n  \"message\": \"An error has occurred.\",\r\n  \"exceptionMessage\": \"The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called in the application's startup code after all other initialization code.\",\r\n  \"exceptionType\": \"System.InvalidOperationException\",\r\n  \"stackTrace\": \"   at System.Web.Http.Routing.RouteCollectionRoute.get_SubRoutes()\\r\\n   at System.Web.Http.Routing.RouteCollectionRoute.GetRouteData(String virtualPathRoot, HttpRequestMessage request)\\r\\n   at System.Web.Http.WebHost.Routing.HttpWebRoute.GetRouteData(HttpContextBase httpContext)\"\r\n} \r\n\r\nor \r\n\r\nMultiple types were found that match the controller named 'messages'. This can happen if the route that services this request ('api/{controller}/{id}')\r\n\r\n\r\nRoute config is \r\n   config.MapHttpAttributeRoutes();\r\n              config.Routes.MapHttpRoute(\r\n                name: \"DefaultApi\",\r\n                routeTemplate: \"api/{controller}/{id}\",\r\n                defaults: new {  id = RouteParameter.Optional }\r\n\r\nPlease guide me to fix it.\r\n\r\n\r\n"}}
{"actor":{"display_login":"msft-shahins"}}