System.Data.DataException thrown when launching application after install

Posted by jwarzech on Stack Overflow See other posts from Stack Overflow or by jwarzech
Published on 2010-04-29T22:48:43Z Indexed on 2010/04/29 22:57 UTC
Read the original article Hit count: 243

Filed under:
|
|

I currently have a (Visual Studio 2008) installer that has a 'Primary output...' custom action under 'Install' with 'InstallerClass' set to false. During the install I get a System.Data.DataException. When I run the debugger I am getting an exception being thrown from a bit of database access code that runs when the application starts. The database access is using Windows Authentication and works correctly when the application is started manually. Is this something to do with permission settings not allowing db access when launched from the installer? (I'm out of ideas)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about windows-installer