ClickOnce fails: Value does not fall within the expected range.

Posted in IT StuffTagged ,

I finally found out the “Value does not fall within the expected range” problem with a ClickOnce install application. This was the error log: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://srvweb.bccpojana.bccvicentino.it/BCCAlert/BCCAlert.application resulted in exception. Following failure messages were detected:….

Welcome back! Any room for one more?

Posted in Uncategorized

A distanza di 4 anni dall’ultimo post sul kernelplus, torno a scrivere qualcosa anche se questa volta sul mio primo blog personale. Vorrei utilizzare questo canale prima di tutto come mezzo di comunicazione per le mie attività professionali e politiche, per raccontarvi qualcosa si di me e di cosa stiamo facendo (spero di utile) nel….

Query Alfresco Web script using REST

Posted in IT StuffTagged , ,

With Spring 3 querying a REST-based service it’s easy. For first, you need to authenticate on Alfresco repository using an Alfresco Ticket instead of an explicit user name and password. A ticket represents a pre-authenticated user who has already performed the login process. To log in, the url is: http://localhost:8081/alfresco/service/api/login?u=admin&pw=adminhttp://localhost:8081/alfresco/service/api/login?u=admin&pw=admin Assuming the userid and password….

MacOS Tips and Tricks

Posted in IT StuffTagged

Rebuild the Spotlight index manually : sudo mdutil -E /sudo mdutil -E / Insert a blank space on Dock: defaults write com.apple.dock persistent-apps -array-add ‘{"tile-type"="spacer-tile";}’ killall Dockdefaults write com.apple.dock persistent-apps -array-add ‘{"tile-type"="spacer-tile";}’ killall Dock Show all files (also hidden): defaults write com.apple.finder AppleShowAllFiles TRUE killall Finderdefaults write com.apple.finder AppleShowAllFiles TRUE killall Finder

Run Postgres 9.1 on MacOS Lion as Daemon

Posted in IT StuffTagged ,

To start a new Postgres version as Daemon you need to follow these commands. For first, unload current version (if available): sudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plistsudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plist Edit the org.postgresql.dbms.plist (if not available, create a new one): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.postgresql.postgres</string> <key>ProgramArguments</key> <array>….