I'm trying to install MS CRM 2011, and I continually get the
"Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed.--->System.Security.Authentication.AuthenticationException: Logon failure: unknown user name or bad password.---> System.DirectoryServices.DirectoryServicesCOMException: Logon failure: unknown user name or bad password."
Error. I've tried to uninstall and Reinstall SQL 2008. I have to apply the SP1 patch to it everytime I create an instance - which goes through ok. I don't get any errors in the wizard until it actually starts the installation process. Afterward I continually get this error. Here is a copy of the log:
11:49:22| Error| Installer Complete: ConfigDBInstaller - Error encountered
11:49:22|Warning| Error reported while configuring _Deployment. Attempting rollback
11:49:22| Info| ConfigDBInstaller: Beginning uninstall operation
11:49:22| Info| Executing Uninstall action:Microsoft.Crm.Setup.Server.UnregisterRoleAction
11:49:22| Info| UnregisterRoleAction does not apply since _Deployment is not a explicit server role.
11:49:22| Info| CrmAction execution time; UnregisterRoleAction; 00:00:00.0050000
11:49:22| Info| ConfigDBInstaller: Uninstall completed
11:49:22| Error| Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> System.Security.Authentication.AuthenticationException: Logon failure: unknown user name or bad password.
---> System.DirectoryServices.DirectoryServicesCOMException: Logon failure: unknown user name or bad password.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
--- End of inner exception stack trace ---
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.Create(String name, Guid defaultOrganizationId)
at Microsoft.Crm.Setup.Database.StandardConfigSqlStrategy.AddInitialUser()
at Microsoft.Crm.Setup.Database.DatabaseInstallerBase.Install()
at Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Server.ServerRoleInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
at Microsoft.Crm.Setup.Common.SetupBase.ExecuteOperation()
11:49:22|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.ExecuteOperation
11:49:22| Info| ActivatePage(ServerSetupFinishPage)
Thanks, any and all help is much appreciated!
edit CRM 4.0 Was installed and working perfectly fine. I tried fresh install and upgrade of 2011 edition and im having these problems
Are you an administrator on your domain? The CRM setup process adds some groups to AD, so you'll need access on the domain to create those groups if you are the one running the setup process.
Figured out the problem. I had to reassign the Webserver and application roles on the server, then reinstall sql server. That fixed the issue. For some reason the sql server thought the name had changed or something - despite numerous reinstallations. Not sure why or how - but that fixed it
Related
I'm getting a typical error, never faced before.
I'm unable to install, un-install or repair
Setting string variable 'InstallFolder' to value 'C:\Program Files\Microsoft SQL Server Reporting Services'
Setting string variable 'SKU' to value 'SsrsEvaluation'
UnexpectedError: Current security context is not associated with an Active Directory domain or forest.
User: Bundle action completed with errors, please fix the issue then try repair.
UnexpectedError: Burn engine encountered error. PackageId: SSReportingServicesSetup.msi, ErrorType: WindowsInstaller, ErrorCode: -2147483648, Data: , ErrorMessage: Something went wrong, please find details in setup logs.CallStack:
Unhandled Exception: System.Exception: XmlException - at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.BIServer.Setup.MigrateSettingsStep.MigrateMachineKeyFromWebToRsConfig()
at SetupEngine.Install()
at SetupEngine.Execute()
at Microsoft.BIServer.Setup.Setup.Main(String cmdLine)
at Microsoft.BIServer.Setup.Setup.Main(String cmdLine)
, UIHint: 0
User: Error: Microsoft SQL Server Reporting Services: Something went wrong, please find details in setup logs.
UnexpectedError: setup failed for packageId: SSReportingServicesSetup.msi, package: Microsoft SQL Server Reporting Services, errorCode: -2147483648, errorMessage: Something went wrong, please find details in setup logs.
Setup: Repair Completed for package Microsoft SQL Server Reporting Services
Applied execute package: SSReportingServicesSetup.msi, result: 0x0, restart: None
Registering dependency: {21dc2411-ec49-43f5-a195-4dcd848b0f84} on package provider: {7E3B2275-82E0-4969-A38D-544F5C360F12}, package: SSReportingServicesSetup.msi
Setup: Package action completed.
Setup: A restart is required.
Condition 'RebootPending = 1' evaluates to false.
User: Bundle action completed with errors, please fix the issue then try repair.
Migrating machine key from ReportServer C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\web.config to C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\rsreportserver.config
Install Step Microsoft.BIServer.Setup.MigrateSettingsStep threw exception. System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.BIServer.Setup.MigrateSettingsStep.MigrateMachineKeyFromWebToRsConfig()
at SetupEngine.Install()
Install Microsoft.BIServer.Setup.MigrateSettingsStep | END
Setup FailedSystem.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.BIServer.Setup.MigrateSettingsStep.MigrateMachineKeyFromWebToRsConfig()
at SetupEngine.Install()
at SetupEngine.Execute()
at Microsoft.BIServer.Setup.Setup.Main(String[] cmdLine)
What could be the issues? anyone faced such issues? how to reslove this? Pl help. Thanks.
Delete this folder:
C:\Program Files\Microsoft SQL Server Reporting Services
I looked everywhere for this solution. Deleting the above folder did the trick, followed by running the repair option from SQLServerReportingServices.exe (run as administrator).
I have a user who has successfully installed Harmon.ie to the computer, but the log file is showing an "Exception on Init" error. The complete error is below:
Starting Harmonie
2015-01-16 06:48:57,172 INFO [1] Mainsoft.Harmony.AddIn.HarmonyAddIn - OnConnection
2015-01-16 06:48:57,747 INFO [1] Mainsoft.Harmony.AddIn.HarmonyAddIn - Load Harmonie version: 3.4.0.9975 Outlook Version 14.0.0.7105 X86 bit
2015-01-16 06:48:57,748 ERROR [1] Mainsoft.Harmony.AddIn.HarmonyAddIn - Exception on Init
System.Security.SecurityException: Requested registry access is not allowed.
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Mainsoft.Harmony.Utils.RedemptionCleaner.CleanOrphanRegistryKeys()
at Mainsoft.Harmony.AddIn.HarmonyAddIn.Init()
The Zone of the assembly that failed was:
MyComputer
Does anyone know the registry key that is trying to be accessed?
Harmon.ie needs to access at the stage reported in the stack traces you have originally attached the following keys under HKEY_CURRENT_USER\SOFTWARE\Classes
"Redemption.Addin",
"Redemption.AddressLists",
"Redemption.MAPIFolder",
"Redemption.MAPITable",
"Redemption.MAPIUtils",
"Redemption.RDOSession",
"Redemption.SafeAppointmentItem",
"Redemption.SafeContactItem",
"Redemption.SafeCurrentUser",
"Redemption.SafeDistList",
"Redemption.SafeInspector",
"Redemption.SafeJournalItem",
"Redemption.SafeMailItem",
"Redemption.SafeMeetingItem",
"Redemption.SafePostItem",
"Redemption.SafeReportItem",
"Redemption.SafeTaskItem",
"Mainsoft.Harmony.OutlookSidebar.TaskPaneSidebarAx"
Outlook should run under an account with sufficient privileges to read\write under HKEY_CURRENT_USER.
By the way, you are running a quite old version of Harmon.ie, I suggest you download and install the latest 4.5 version from harmon.ie web site.
--- Jean
This error indicates the user did not have sufficient permission to access this registry key.
Do you reproduce it when running Outlook as admin? (please try also to install as admin)
--- Jean
I'm trying to get a Tycho build to work on an OpenShift server. Locally resolving the target definition and building works fine, but when deploying I get the following error:
Unable to read repository at http://download.eclipse.org/rt/rap/2.2/content.xml. Permission denied
I'm not sure if its a problem in the Tycho configuration (but as far as I can remember, I didn't do anything outside the build reactor to make Tycho work) or the one of OpenShift. Could someone tell me what the problem is or how to narrow it down?
I tried switching from a target platform file to defining the repository in the pom.xml. Then I get a similar error message:
Failed to load p2 repository with ID 'rap' from location http://download.eclipse.org/rt/rap/2.2
I found a Linux bug that might be relevant. It doesn't help me, since I'm not even able confirm the server is a Debian. I tried to get the Jenkins to build on some other platform and tried any abbreviation or combination of "Windows" in the (seemingly undocumented) "platform" field, but neither of these values made it change the OS.
Finally got Maven to work with parameters (for how, see here). The log shows nothing out of the ordinary, as far as I can see:
[INFO] Computing target platform for MavenProject: org.acme.dummy:org.acme.dummy.feature:0.0.1-SNAPSHOT # /var/lib/openshift/537cb333e0b8cd68ad000187/app-root/runtime/repo/org.acme.dummy.feature/pom.xml
[DEBUG] Added p2 repository rap-repository (http://download.eclipse.org/rt/rap/2.2)
[DEBUG] Using default execution environment 'JavaSE-1.6'
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts#/var/lib/openshift/537cb333e0b8cd68ad000187/app-root/runtime/repo/org.acmr.dummy.feature)
May 21, 2014 10:15:59 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.BindException) caught when connecting to the target host: Permission denied
It's retrying to connect a couple of times, then there is the above exception:
!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2014-05-21 10:16:00.073
!MESSAGE Connection to http://download.eclipse.org/rt/rap/2.2/p2.index failed on Permission denied. Retry attempt 0 started
!STACK 0
java.net.BindException: Permission denied
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
at java.net.Socket.bind(Socket.java:631)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient4.ECFHttpClientProtocolSocketFactory.connectSocket(ECFHttpClientProtocolSocketFactory.java:82)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
I have several computers that can render a large report with no issues, however, several other computers cannot render the report and crash reporting services.
We have SQL Server 2008 R2 SP1 and we have observed that the reporting services application's memory usage increases from 300MB to 1,2GB when this report is being rendered.
Here we have the log file when this report crashes:
rshost!rshost!4cf0!06/26/2013-10:33:38:: e ERROR: WriteCallback(): failed to write in write callback.
rshost!rshost!4cf0!06/26/2013-10:33:38:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000063D2400.
rshost!rshost!106c!06/26/2013-10:33:38:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
rshost!rshost!106c!06/26/2013-10:33:38:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000063D2400.
httpruntime!ReportServer_0-1!106c!06/26/2013-10:33:38:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportServer_0-1!106c!06/26/2013-10:33:38:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-1-130167083080132500. ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
--- End of inner exception stack trace ---;
Any idea of what could produce this error? Why this apperars in some computers and everything OK in other?
Thanks in advance.
If you are using the Server Reporting Services (the online interface) and the problem appears for the end users (reading only your report) and the most important you are sure that the report is working properly.
You might try to cache the report first. That might solve your problem and also make the end user more happy since the report will be loading extremely fast.
You can read about caching here: https://learn.microsoft.com/en-us/sql/reporting-services/report-server/caching-reports-ssrs
and here some old instruction how to set up the caching:
http://bhushan.extreme-advice.com/caching-ssrs-reports/
BTW you should also make sure that:
-users have the same rights as you
-the files are up to date and available for all of the users
It is hard to say from here what could be the issue. Try your luck with cache if it won't help to fix this problem... It will definitely bring your reporting and happines of you clients to the new level.
Cheers,
Kacper
I two SSIS packages that both run fine on my local machine. I can import them to SSIS on the server and execute them both with no problems. However, I need to run them in series every night at 3AM. Thus, I created a SQL Server Agent Job with two steps. The first step runs the first package successfully. The second step should run the second package but it fails with this error message:
Message
Executed as user: IT-DEV\itdev. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C)
Microsoft Corporation. All rights reserved. Started: 1:27:21 PM
Error: 2013-05-30 13:27:21.53 Code: 0x00000001 Source: Create
text files on IT DEV Description: Exception has been thrown by
the target of an invocation. End Error DTExec: The package execution
returned DTSER_FAILURE (1). Started: 1:27:21 PM Finished: 1:27:21
PM Elapsed: 0.375 seconds. The package execution failed. The step
failed.
Both packages move some files from one directory to another and do some work. They both run in the same security context using the same proxy. I can see the work completed successfully from step 1, but again step 2 fails. I have looked through all possible step settings for each and see no differences. Thus, how can I get a more descriptive message so I know what the real issue is. I'm guessing its permissions but again both packages do similar work in similar locations requiring the same permissions. One runs, the other doesn't. Please help. Thanks in advance.
FYI I've also turned SSIS logging on and write everything to a file but the message below is the only error I see.
UPDATE
I ended up writing to a text file all over inside the script task to try to identify the problem. I seem to be getting stuck here:
string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + myPath + ";Extended Properties=\"text;HDR=NO;FMT=TabDelimited\"";
OleDbDataAdapter adapter = new OleDbDataAdapter("SELECT * FROM MYFILE.txt", connStr);
outfile.WriteLine("Adapter Created");
DataTable dtFiles = new DataTable();
adapter.Fill(dtFiles);
outfile.WriteLine("Filled DataTable");
I never see "Filled DataTable" in the file I'm writing to... the last entry says "Adapter Created".
Turns out I needed to replace this: Microsoft.Jet.OLEDB.4.0 with this: Microsoft.ACE.OLEDB.12.0 because I'm running the agent job on Windows Server 2008 64 bit.