MS-Windows

From wiki
Jump to: navigation, search

Things I learned that may come in handy whenever I'm forced to go windows.

Command files

%1, %2
Positional parameters (like $1,$2 in unix shells)

Found running a python program

Error
"System.Messaging.MessageQueueException: Insufficient resources to perform operation."
Reason
There are insufficient resources to perform the migration, and this is specific to the MSMQ. The size of the MSMQ itself is limited to 4MB, requests have to be within that limit.
Solution
  • Open 'Server Manager'
  • Go to the "Features" tab - under the Features tab, right-click 'Message Queueing'
  • Select "Properties"
  • On the "General" tab, un-tick 'Storage limits'

OR

  • Go to Tools - 'Computer Management'
  • Go to 'Services and Applications'
  • Open the 'Message Queuing' properties, un-tick 'Storage limits'