5

I'm having the problem described in this SO question when using Visual Studio T4 templates on a network share. The solution specified is to add your file share to your Trusted Sites Zone via Internet Explorer.

Here are two more guides on doing the same process, both via IE

While I am an admin on my machine, some of the settings on IE are locked by our enterprise system administrator:

IE Security Zone Settings

While it's certainly a possible route to go to change our enterprise wide trusted sites, it seems heavy handed for a use case that really only affects me, as someone with full administrator over their own machine to boot.

Is there any other way to add a Trusted Site?

As a workaround, and proof that this is the root of the issue. When I use the same exact files on C:\Projects it works fine, but H:\Projects (which maps to a network share) throws the error. Yes, I could just migrate everything to C Drive, but we have a process already in place that makes that option inconvenient.

Greg Askew
  • 34,339
  • 3
  • 52
  • 81
KyleMit
  • 488
  • 4
  • 9
  • 21
  • What did your enterprise system administrator have to say? – Michael Hampton Nov 06 '17 at 17:03
  • @MichaelHampton, looking to gather info before bugging dev ops – KyleMit Nov 06 '17 at 17:06
  • You should have gone to them first. This isn't really something we can help you with. – Michael Hampton Nov 06 '17 at 17:16
  • @MichaelHampton, I mean fair enough I suppose. Regardless of the asker's organizational status, it's a question about if there's a vehicle for changing a setting on a PC. That seems within the wheelhouse of what ServerFault is for, but you'd know better than I. – KyleMit Nov 06 '17 at 17:55
  • The answer won't do you any good, because _you can't change the setting_. – Michael Hampton Nov 06 '17 at 21:08
  • 2
    @MichaelHampton, agreed, I can't change *that* setting - the question is "Is there any **other way** to add a Trusted Zone?" Turns out the answer is yes (see my answer below identified by my sys admin). The underlying frustration is that Trusted Zones are just acting as a shortcut for triggering UAC, which I have the permission to accept or reject and would be happy doing so on a case by case basis. However, some products (Visual Studio in this case) just have poor error handling when attempting an action that would normally invoke UAC and throw an error instead. – KyleMit Nov 07 '17 at 18:13

0 Answers0