{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1600","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1600/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1600/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1600/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1600","id":187898347,"number":1600,"title":"Multiple custom attributes of the same type found. c# exception","user":{"login":"alokraj68","id":9208731,"avatar_url":"https://avatars.githubusercontent.com/u/9208731?v=3","gravatar_id":"","url":"https://api.github.com/users/alokraj68","html_url":"https://github.com/alokraj68","followers_url":"https://api.github.com/users/alokraj68/followers","following_url":"https://api.github.com/users/alokraj68/following{/other_user}","gists_url":"https://api.github.com/users/alokraj68/gists{/gist_id}","starred_url":"https://api.github.com/users/alokraj68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alokraj68/subscriptions","organizations_url":"https://api.github.com/users/alokraj68/orgs","repos_url":"https://api.github.com/users/alokraj68/repos","events_url":"https://api.github.com/users/alokraj68/events{/privacy}","received_events_url":"https://api.github.com/users/alokraj68/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-11-08T04:18:50Z","updated_at":"2016-11-28T08:29:12Z","closed_at":"2016-11-28T00:03:20Z","body":"Hi,\r\nMy bot works in an instance in Azure, but when i tried to upload it to another instance, it stopped responding. Am getting the following exception.\r\n\r\n\r\nBecause of this we got rejected from Bot framework. \r\n@willportnoy Please help.\r\n\r\n```\r\nInternalServerError\r\n{\r\n  \"message\": \"An error has occurred.\",\r\n  \"exceptionMessage\": \"Multiple custom attributes of the same type found.\",\r\n  \"exceptionType\": \"System.Reflection.AmbiguousMatchException\",\r\n  \"stackTrace\": \"   at System.Attribute.GetCustomAttribute(Assembly element, Type attributeType, Boolean inherit)\\r\\n   at Microsoft.Rest.ServiceClient`1.get_FrameworkVersion()\\r\\n   at Microsoft.Rest.ServiceClient`1.SetDefaultUserAgentInfo()\\r\\n   at Microsoft.Rest.ServiceClient`1.SetUserAgent(String productName, String version)\\r\\n   at Microsoft.Rest.ServiceClient`1.InitializeHttpClient(HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)\\r\\n   at Microsoft.Bot.Connector.ConnectorClient..ctor(Uri baseUri, DelegatingHandler[] handlers)\\r\\n   at Microsoft.Bot.Connector.ConnectorClient..ctor(Uri baseUri, String microsoftAppId, String microsoftAppPassword, DelegatingHandler[] handlers)\\r\\n   at HoroscopeBot.MessagesController.<Post>d__1.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/263210648","html_url":"https://github.com/Microsoft/BotBuilder/issues/1600#issuecomment-263210648","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1600","id":263210648,"user":{"login":"alokraj68","id":9208731,"avatar_url":"https://avatars.githubusercontent.com/u/9208731?v=3","gravatar_id":"","url":"https://api.github.com/users/alokraj68","html_url":"https://github.com/alokraj68","followers_url":"https://api.github.com/users/alokraj68/followers","following_url":"https://api.github.com/users/alokraj68/following{/other_user}","gists_url":"https://api.github.com/users/alokraj68/gists{/gist_id}","starred_url":"https://api.github.com/users/alokraj68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alokraj68/subscriptions","organizations_url":"https://api.github.com/users/alokraj68/orgs","repos_url":"https://api.github.com/users/alokraj68/repos","events_url":"https://api.github.com/users/alokraj68/events{/privacy}","received_events_url":"https://api.github.com/users/alokraj68/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T08:29:12Z","updated_at":"2016-11-28T08:29:12Z","body":"The issue is not resolved as no one could figure out what went wrong. seems like an issue with azure. please check it."}}
{"actor":{"display_login":"alokraj68"}}