These are the errors (repeated a few times) I get when processing a cube in SQL Server 2008 (on Windows 8 x64 on VMWare).
OLE DB error: OLE DB or ODBC error: Cannot attach the file '\\vmware-host\Shared Folders\Downloads\AdventureWorks2008R2_Database\AdventureWorks2008R2_Data.mdf' as database 'Adventure Works'.; 42000; CREATE DATABASE permission denied in database 'master'.; 42000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works', Name of 'Adventure Works'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Address', Name of 'Address' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Territory ID' attribute of the 'Address' dimension from the 'MultidimensionalProject1' database was being processed.
Any suggestions would be greatly appreciated!
I figured it out. Double clicked my Data Source, went to the Impersonation Information tab and changed from Use the service account to Use a specific Windows user name and password.
Credit to: http://www.sqlservercentral.com/Forums/Topic1032175-17-1.aspx
Related
I just tried setting up Azure SQL data sync's sync group using sample Azure SQL database. I am syncing dbo.BuildVersion table of the sample database.
I get the following error on member database.
Database provisioning failed with the exception "Incorrect syntax near the keyword 'NOT'.Inner exception: SqlException ID: 39f49622-6a56-4a44-8e55-2a646f99a584, Error Code: -2146232060 - SqlError Number:156, Message: SQL error with code 156 For more information, provide tracing ID ‘679953bc-7dac-4490-89e9-ea6d145d0442’ to customer support."
How should I resolve this issue?
Thanks
I am able to resolve this issue by creating empty table in the member database first and then running the sync.
Does Sync service not create table when table does not exist in the member database?
It does create it, however, under certain circumstances it fails to create it do to some issue with the schema itself. Therefore, the workaround, as you figured out, is to create the table manually.
I have an Access DB (part of Office 365) with extension (.accdb). This database is protected by a password. I'm trying to create a connection to this Access db in SSIS but it keeps failing when I do a "Test Connection".
I'm using the following provider in my connection:
Native OLE DB\Microsoft Office 12.0 Access Database Engine OLE DB Provider
In the "Jet OLEDB:Database Password" under the "Microsoft.ACE.OLEDB.12.0" section, I enter the password.
But when I click "Test Connection", it fails.
I basically followed this link:
Password Protected Access DB and SSIS
The error message is:
Test connection failed because of an error in initializing provider. Cannot open database. it may not be a database that your application recognizes or the file may be corrupt
Does anyone know why?
Thank you
The main error is:
Cannot open database. it may not be a database that your application recognizes or the file may be corrupt
So i don't think it is a password related error, it sounds like your database is corrupted. Try opening the database manually, run the Compact and repair process, and Save As new copy
Helpful articles
Where is Compact and Repair in Microsoft Access 2007, 2010, 2013 and 2016
Fix MS Access Database Error 3049: Cannot Open Access Database
Cannot open database “. It may not be a database that your application recognizes, or the file may be corrupt
Compact and repair a database
In Access, I get the error 3049: Cannot open database '' when I'm adding bulk records and specifically when these records have Access attachments. These attachments are stored as a byte array and may be rather numerous and each could be sizeable - a megabyte for a picture is not uncommon. When I exceed 2GB of Access database size, the error is 3049 and it can happen quite randomly.
Hy friends,
I'm going mad with this error below:
The server principal "LOGINNAME" is not able to access the database "DATABASENAME" udner the current security context. (Microsoft SQL Server, Error: 916).
This begins to occurs after I created a trigger in database X that selects data on database Y. I had mapped de login with datareader and datawriter access to the database Y, DBO schema but the error persists. The most strange fact is, when I update the triggered table via SQL Management Studio with the same login, the error doesn't occurs. It only occurs via front-end application (VFP9 in case). Then only way to make it Works is giving Sysadmin access...
Please, anyone can help me to solve this mistery ?
Thanks,
Tinoco
I am trying to automate archiving of the Log files generated by sage. We generate an average of 15,000 log entries a day and the LogViewer in sage is so slow it is nearly unusable after a month. I am querying the data older than seven days and then inserting it to our SQL Server. Using the same connection string I can query data from the QLM Master Log but when I go to delete data I get an error.
With my Sage user service account:
ERROR [42000] [Simba][SimbaEngine ODBC Driver][DRM File Library]Access denied.
With my personal Sage user account. I was failing at opening second connection with this error: (Still not sure why but not directly relevent)
ERROR [08001] [Simba][SimbaEngine ODBC Driver][DRM File Library]Invalid account name.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Once i adjusted my code to no longer attempt a second connection open I get the same error:
ERROR [42000] [Samba][SimbaEngine ODBC Driver][DRM File Library]Access denied.
Any help would be appreciated but I am looking for.
Is this actually a permissions issue?
Is the problem with my Windows User account OR Sage user account?
What access is required to run the delete command?
After speaking with a Sage 300 CRE Certified Consultant I have been informed that data in Log Viewer is not editable via ODBC, and to remove data I have to use the Log Viewer interface. According to the consultant Sage has an open DLL that would provide the functionality but it would open other areas of the program as well and they do not give it out normally.
Though it runs somewhat counter to jrummell's comments this is what I was told; the expert has spoken the project is officially at a dead end pending the acquisition of this open DLL.
I will let the community know if any additional information pertaining to this question is uncovered.
I am working on being able to process the adventureworks cube, and although i am, as outlined below, able to pull the databases into sql server and retrieve the project, I have not found a single download source for database and project/solution.
I have outlined three steps I have taken, at each point there is a possibility I have missed something – to summarize – is it possible to get the project/solution from link1 in step1 below, is it possible to get the databases from link2 in step 2 below, or given that the db and project are out of sync, what additions to the cube structure would be necessary to correct the errors in step 3. Re Step 3 I note that there seem to be 2 dimensions missing, dim time and dim fact sales summary, but it might be tricky to add them exactly as Microsoft has and there could be more after those are added to the project)?
Step 1: I have retrieved and successfully attached the AdventureWorksDW database from the following link (does anyone know how to get the project from this link?)
link1: http://msftdbprodsamples.codeplex.com/releases/view/59211
Step 2: I have retrieved the adventureworks solution from the following link (does anyone know how to get the databases from this link?.. as i discuss below although i have turned on filestream and databases seem to be created i dont know how to get them into my sql server instance..sigh)
Link 2: http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/87fc44d2-80ac-49aa-a9c1-c3302935aafc/
However, even though I have turned filestream on , and I see the create scripts running, the databases are not created in my sql server instance (is there a special trick to this? How do you point the scripts to the correct SQL server connection? Or is there an attach step?)
Step 3: When I process the cube from sources in steps1 and 2 I get the following errors:
OLE DB error: OLE DB or ODBC error: Invalid object name 'dbo.DimTime'.; 42S02.Errors in the OLAP storage engine:
An error occurred while the dimension, with the ID of 'Dim Time', Name of 'Date' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Fiscal Year' attribute of the 'Date' dimension from the 'Adventure Works DW' database was being processed.
OLE DB error: OLE DB or ODBC error: Operation canceled; HY008.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Fact Sales Summary', Name of 'Sales Channel' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Sales Channel' attribute of the 'Sales Channel' dimension from the 'Adventure Works DW' database was being processed.