DnnPackager icon indicating copy to clipboard operation
DnnPackager copied to clipboard

More friendly error message if not running VS as Admin

Open dazinator opened this issue 9 years ago • 3 comments

As encountered by @nvisionative and others, when running the Install-Module command, DnnPackager uses the WebAdministration library to query IIS to get info about the Dnn website. However this errors if not running VS with sufficient permissions. Raise a friendlier error message when this is the case asking the user to "please ensure you are running VS as Administrator"

As a secondary task, find out if its possible to set things up.in IIS in such a way that running VS as Admin is not necessary.

dazinator avatar Feb 15 '16 09:02 dazinator

Good idea on the first item! Regarding the secondary task, that is worth looking into for sure. Many of us use MakeDnnSite for very fast local DNN instance setup, so whatever you discover may have to be a tweak post initial setup via MakeDnnSite.

david-poindexter avatar Feb 15 '16 19:02 david-poindexter

Interestring.. not heard of makednnsite before! Sounds handy!

dazinator avatar Feb 15 '16 23:02 dazinator

I just sent you the MakeDNNSite app - hope it helps!

david-poindexter avatar Feb 15 '16 23:02 david-poindexter