Blog

PowerShell

Error occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available.

For security and availability purposes we’ve moved away from using the SharePoint Farm account for development. Adding new devs to your farm can be pretty simple if you know what tools to use. Frist, I always add my devs to the local admin group. Second you need to run the following commands. This adds the domain user to the appropriate roles Get-SPDatabase | Where-Object {$_.WebApplication -like “SPAdministrationWebApplication”} | Add-SPShellAdmin domain\username…

thGWTIY46P

Setup and Configure No-IP Solution for Azure Service Bus

NO-IP offers dynamic domain services, You can read more about dynamic domain services here. No-IP is free and you get three hostnames. You can upgrade to 25 hostnames for 20$ a year, its pretty cheap. Oh, and the free version you have to confirm your hostnames once a month. Sign-up 1. Go to NO-IP’s website and create an account. https://www.noip.com/sign-up (note: when I signed up I created my hostname) 2. Activate account. This has…

On Prim SQL to Azure Mobile Services Guide

This is not a guide, or a tutorial, this is my scratch pad for creating a hybrid cloud model that implements a 2-tier application model (Data Tier, Application Tier). This blog entry will evolve over time as the Azure tools evolve overt time. [3/14/15/] Overview Here’s a basic diagram of what I want to accomplish. <insert image diagram here> The key here is Azure Service Bus, before this you had to figure out how to ship the…

azure-logo-pan

Connect On Primise SQL to Azure

With Azure Service Bus you can connect your on premise SQL to Azure Web Sites and the like. I haven’t had a chance to do this my self, keep looking for more posts related to Azure Service Bus. This is how you would configure hybrid model for resale. http://www.bradygaster.com/post/windowsazurewebsites-onprem-servicebus   This is how you would configure a hybrid model for single use http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/

mobile-services-feature-e1409846259154

Azure Mobile Services .NET Backend – Error – The Model Backing…

Error – The model backing the ‘tableServiceContext’ context has changed since the database was created. Consider using Code First Migrations to update the database I’ve been beating Azure Mobile Services up for a while now. I have to say the product demoed well and the code samples looked pretty straight forward. After digging beyond the basic lit and branching into a project more useful than the ToDoItem demo. Side bar for a second, I’ve seen…

Run C# code in PowerShell

Ever wanted to run a snippet of C# code in PowerShell? Some times this is useful for testing code in environments without requiring a full deployment of software. This can also be used and an advanced troubleshooting technique. Open a PowerShell Prompt with Elevated permissions. Load your C# class into a string variable C:\Temp>$source = @" public class MathClass { public static int Add(int a, int b) { return (a…

Execute .NET Compiled code from PowerShell

I was troubleshooting some third party software the other day, it was some .NET code that was written by another vendor. Their logging scheme was lacking and the error on the browser side was less than helpful. I was mulling over the problem and the thought occurred to me, can’t I just load the DLL in to PowerShell and start executing methods until I find the problem? After a little…

Bondbyte.Shredder – Logging System

How it works The logging system uses the Windows Event viewer for logging transactions that occur during execution. These messages are unique to each type of connection and transformation definition. Transformation messages & errors that may during message processing are normally specific to our application. Connection related messages & errors are more specific to the underlying framework. In other words, FTP connections may reveal FTP type messages and errors while…