{"action":"created","issue":{"url":"https://api.github.com/repos/tjanczuk/edge/issues/228","labels_url":"https://api.github.com/repos/tjanczuk/edge/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/tjanczuk/edge/issues/228/comments","events_url":"https://api.github.com/repos/tjanczuk/edge/issues/228/events","html_url":"https://github.com/tjanczuk/edge/issues/228","id":54227458,"number":228,"title":"EdgeJS fails on Win2008 R2","user":{"login":"subbaraot","id":10519628,"avatar_url":"https://avatars.githubusercontent.com/u/10519628?v=3","gravatar_id":"","url":"https://api.github.com/users/subbaraot","html_url":"https://github.com/subbaraot","followers_url":"https://api.github.com/users/subbaraot/followers","following_url":"https://api.github.com/users/subbaraot/following{/other_user}","gists_url":"https://api.github.com/users/subbaraot/gists{/gist_id}","starred_url":"https://api.github.com/users/subbaraot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subbaraot/subscriptions","organizations_url":"https://api.github.com/users/subbaraot/orgs","repos_url":"https://api.github.com/users/subbaraot/repos","events_url":"https://api.github.com/users/subbaraot/events{/privacy}","received_events_url":"https://api.github.com/users/subbaraot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T18:16:02Z","updated_at":"2015-01-15T01:06:41Z","closed_at":"2015-01-15T01:06:41Z","body":"A simple C# console application fails to run on a Windows 2008 R2 server with .Net 4.5.2 and VC++ 2013 Redist installed.\r\n\r\nThe code is below\r\nclass Program\r\n    {\r\n        static Func<object, Task<object>> func = Edge.Func(@\"\r\n            return function (data, callback) {\r\n                callback(null, 'Node.js ' + process.version + ' welcomes ' + data);\r\n            }\r\n        \");\r\n\r\n        static void Main(string[] args)\r\n        {\r\n            try\r\n            {\r\n                var result = func(\".Net\");\r\n                Console.WriteLine(result.Result);\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                Console.WriteLine(ex.ToString());\r\n            }\r\n\r\n            Console.Read();\r\n        }\r\n    }\r\n\r\nThis is the error message\r\n\r\nmodule.js:356\r\n  Module._extensions[extension](this, filename);\r\n                               ^\r\nError: The specified module could not be found.\r\nC:\\Users\\Subbarao.Turlapati\\Desktop\\EdgeTest\\edge\\x86\\edge.node\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (C:\\Users\\Subbarao.Turlapati\\Desktop\\EdgeTest\\edge\\edg\r\ne.js:40:8)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n\r\nAny help will be appreciated!"},"comment":{"url":"https://api.github.com/repos/tjanczuk/edge/issues/comments/70023771","html_url":"https://github.com/tjanczuk/edge/issues/228#issuecomment-70023771","issue_url":"https://api.github.com/repos/tjanczuk/edge/issues/228","id":70023771,"user":{"login":"subbaraot","id":10519628,"avatar_url":"https://avatars.githubusercontent.com/u/10519628?v=3","gravatar_id":"","url":"https://api.github.com/users/subbaraot","html_url":"https://github.com/subbaraot","followers_url":"https://api.github.com/users/subbaraot/followers","following_url":"https://api.github.com/users/subbaraot/following{/other_user}","gists_url":"https://api.github.com/users/subbaraot/gists{/gist_id}","starred_url":"https://api.github.com/users/subbaraot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subbaraot/subscriptions","organizations_url":"https://api.github.com/users/subbaraot/orgs","repos_url":"https://api.github.com/users/subbaraot/repos","events_url":"https://api.github.com/users/subbaraot/events{/privacy}","received_events_url":"https://api.github.com/users/subbaraot/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T01:06:41Z","updated_at":"2015-01-15T01:06:41Z","body":"It was my bad. The application was compiled with \"Any CPU\" and was always loading the x86 version of the edge.node. I changed the target to x64 and it worked!"}}