Hi, My installer is installing a web site... I have a custom action that requires the RoleManager to be enabled so I added: <system.web> <membership defaultProvider="DefaultMembershipProvider"> <providers> <clear/> <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="0" minRequiredPasswordLength="0" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="0" applicationName="MYCORP.Admin" /> </providers> </membership> <roleManager defaultProvider="DefaultRoleProvider" enabled="true"> <providers> <clear/> <add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="MYCORP.Admin" /> </providers> </roleManager> </system.web>
However as soon as my first custom action runs during the install it chokes: 1. "The type initialzer for "system.data.sqlclient.sqlconnection" threw and exception (I am testing the sql server connection) 2. then the install chokes and quits during another custom action call... If I remove that system.web section out of the customaction.config file and recompile it is fine... However I require that for another customaction where I am adding a user to a user role... Any ideas what to do? Thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-CustomAction-Config-file-with-DefaultRoleProvider-tp7581954.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users