Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts

Thursday, March 31, 2011

run visual studio as a different user to have debugging permissions

i added the user to the "administrators" group and the "Debugger Users".  I running VS as this user (resource account) so security wasn't a concern. 

If there was a way to configure a connection string as a Active Directory user and not a sql local user login i would have done it that way.

Tuesday, October 20, 2009

visual studio sgen.exe exited with code 1

While building a project or solution, if  you get the error like: “sgen.exe” exited with code 1, then the most probable reason is because you have a different version of the same project’s DLL in the GAC.
Solution:
  1. Open the GAC (C:\Windows\Assembly), find the DLL corresponding to your project.
  2. Right click on it and select uninstall
Now re-build your project and the problem must be gone.