Hi Mike,
I'm going to try your suggestion of a manual rip-out and reinstall.
If I run the uninstall of the provider (whether it is enabled or not) I get an error. When I reinstall it, it already "knows" my domain and user information, and since I cannot get the roles to sync on production (works fine in test), I have to think perhaps I'm not really running your current code. FYI, and PS, I didn't see any VB files in the source download, is that something you might look at with your next release?
Here's what the uninstall process said:
Package Uninstall Logs
StartJob Reading Installation Manifest file
Info Reading Component Manifest - AuthenticationSystem
Info Parsed Authentication Manifest Successfully
Info Reading Component Manifest - Assembly
Info Reading Component Manifest - File
Info Reading Component Manifest - Config
EndJob Manifest file finished successfully
StartJob Starting Package Uninstall
Info Starting Package Uninstall - DNN_ActiveDirectoryAuthentication
Info Starting Component Uninstall - AuthenticationSystem
Info ActiveDirectory Authentication unregistered successfully
Info Component uninstalled successfully - AuthenticationSystem
Info Component Uninstall Successful - AuthenticationSystem
Info Starting Component Uninstall - Assembly
Info Assembly unregistered - bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Deleted - bin\Providers\DotNetNuke.Authentication.ActiveDirectory.dll
Info Component uninstalled successfully - Assembly
Info Component Uninstall Successful - Assembly
Info Starting Component Uninstall - File
Info Deleted - App_LocalResources\Login.ascx.resx
Info Deleted - App_LocalResources\Settings.ascx.resx
Info Deleted - Login.ascx
Info Deleted - Settings.ascx
Info Deleted - license.txt
Info Deleted - WindowsSignin.aspx
Info Component uninstalled successfully - File
Info Component Uninstall Successful - File
Info Starting Component Uninstall - Config
Info Component uninstalled successfully - Config
Info Component Uninstall Successful - Config
Failure ExceptionSystem.Data.SqlClient.SqlException: DELETE statement conflicted with COLUMN REFERENCE constraint 'FK_PackageAssemblies_PackageAssemblies'. The conflict occurred in database 'TPD_Net', table 'Assemblies', column 'PackageID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.DeletePackage(Int32 packageID) at DotNetNuke.Services.Packages.PackageInfo.UnInstall() at DotNetNuke.Services.Packages.InstallerInfo.UnInstall() at DotNetNuke.Services.Packages.Installer.UnInstall()
--
Roberta