Solutions    |    Downloads    |    License    |    Documentation    |    Training    |    Support    |    Customers    |    About Us

RunMeFirst.bat Throws An Exception

Last Updated: Apr 23, 2013 11:41AM IDT

RunMeFirst.bat runs NServiceBusHost.exe with the /installInfrastructure command line.
This in returns, installs the "infrastructure" components that are required to have an NServiceBus solution based running.
It means things like the MSMQ, Raven will be installed and also DTC will be checked if running properly.

If you got something like the following exception:

Unhandled Exception: System.UnauthorizedAccessException: Cannot create or delete the Performance Category 'nservicebus' because access is denied.

Try to run the RunMeFirst.bat as an administrator.

If you got something like:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\NSB\3.0.4\binaries\temp\lo g4net.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework.

Then most likely you should have unblocked the downloaded zip file:

unblock zip file
About NServiceBus    |    Contact Us    |    Privacy    |    Follow us on:   
Copyright 2010-2013 NServiceBus. All rights reserved
NSB_Y@yahoo.com
http://assets2.desk.com/r1046ffeaa2233e531563a32d7edef6677d8a78b5/javascripts/
nservicebus
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise