Cors is your best friend and worse enemy. Enable cors in your backend: config.EnableCors(); in Startup.MobileApp.Cs Add EnableCors attribute to your controller: [EnableCors(“*”, “*”, “*”)] Sample javascript for making request: Azureservice.invokeApi(“chat/GetAccessToken”, { method: ‘get’, body: null, parameters: { deviceId: window.device.uuid || ‘browser’, } }) .then(function () { console.log(‘promise.success’, arguments); }, function…

Read More

Enable-O365integration : Credential cannot be authenticated At line:1 char:1 + Enable-O365integration -o365accountupn “xxxxxxxxxxxxxxxxxxxxxxxxxxx” -Pas … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Enable-O365Integration], O365ConfigureException + FullyQualifiedErrorId : InvalidInvoke,Microsoft.WindowsServerSolutions.O365Integration.EnableO365IntegrationPSCmdlet If you ever get this error you need to disable the windows azure active directory sync in the Dashboard before continuing

Read More

Hi guys, If you are ever using a LinqDataSource and want to join a second table, bad news, you can’t. BUT if your edmx file sees the join between the tables, you can still reference it. See following extract from the ASP.NET file: <asp:LinqDataSource ID=”LinqDataSource1″ runat=”server” ContextTypeName=”MyDatabase.MyDatabaseEntities” EntityTypeName=”” OrderBy=”DateCreated desc”…

Read More

This Kaseya error can be quite annoying to diagnose if you don’t know what to look for. It is caused by having a step (such as Set Registry Value) with < or > in it, as Kaseya use XML to save their scripts. You can double tag it, eg <<br>>…

Read More

Hi guys, Today I was looking into event log searching. I run a script that does a chkdsk on reboot but then when the machine boots I want to see the log from that report. To do this, I search the registry for the most recent event within a certain…

Read More