Monday, January 27, 2014

AppCmd: Cannot find APP object with identifier ...


I'm using AppCmd for the first time to automate installations for IIS7.0 for create an app.  I kept getting this error:
Cannot find APP object with identifier "CoinStacking".
My problem was not prefacing the identifier with the website, although the examples I found on the web didn't indicate the prefix was needed - probably not needed in some circumstances.

My final appcmd to create an App and set its application pool:
%systemroot%\system32\inetsrv\APPCMD add app /app.name:CoinStacking /site.name:"Default Web Site" /path:/CoinStacking /physicalPath:E:\Inetpub\wwwroot\CoinStacking

%systemroot%\system32\inetsrv\APPCMD set app /app.name:"Default Web Site/CoinStacking" /applicationPool:MyPoolParty

To delete the app:
%systemroot%\system32\inetsrv\APPCMD delete app /app.name:"Default Web Site/CoinStacking" 

To reset a physical path:
%systemroot%\system32\inetsrv\APPCMD set app /app.name:"Default Web Site/CoinStacking" /[path='/'].physicalPath:E:\Inetpub\wwwroot\CoinStacking\v2

 Photo from www.CoinStacking.com




Monday, January 20, 2014

Where Are the Millionaire NSA Brother-In-Laws?

Seems to me with NSA analysts gathering all this meta-information on phone calls, some of them would be tempted to call their brother-in-laws and say something like, "Hey Ted, the head of IBM acquisitions has been placing a lot of calls to Acme Quantum, that California company that IPO'd two years ago. I checked their credit cards and Acme Quantum's executive team and the IBM team were in the same Vegas hotel last month for four days. For some reason, everyone traveled there on separate planes, never met in the same restaurant, and ate a lot of room service. I haven't a clue about what they were saying, since everyone knows the NSA doesn't record the calls, just the fact that the calls were made. I know this information isn't useful for anything, but I thought you'd find it interesting since you tell me you get bored sitting at the trading desk all day."