excel 2007 connect to ssas 2005 cube - excel

I have created a cube (ssas 2005), and can connect to it from excel 2007. I created a connection file (.odc). How can I set up other users to connect to the cube? I am new to this. Should they connect by creating a new connection as I do (specify server, authentication, and cube) or can I send the .odc file to them so they can open it? I don't want them to connect to the server directly because there are other cubes as well. Not sure about the usage of .odc file is it for sharing connection?

You can share the .odc file. The odc file is still connecting them to the SSAS server though, just that they don't have to type in server name or cube. You also need to make sure they actually have access to the cube with their username.
Be aware that your user can see the server and initial catalog in the connection string in their connection properties in Excel if they are smart enough to look there. If you have granted them access to view other cubes or access the AS database on the server, they can use this info to go to the server and look around.
Here's a link with more info on .odc files: http://office.microsoft.com/en-us/excel-help/create-edit-and-manage-connections-to-external-data-HA010167227.aspx#BMlearn_about_data_connections

Related

How to create a live excel connection to Redshift

I want to be able to connect excel with redshift.
So when I refresh this live connection in excel, it will refresh the query I write in redshift and return the newest result in excel.
I used to do it in a SQL Server using a stored procedure, and connect SQL Server with Excel using legacy wizard (under the get data option in data tab) - in the connection I specify the stored procedure, so every time I refresh Excel, it will fetch the updated result from SQL Server.
But now the company is using db visualizer to connect to redshift. I am not sure how to use the wizard to connect to Excel; do I need to use VBA? Any tips are welcome!
dbvisualiser is just an IDE that can point to redshift. it has no bearing on what you are trying to achieve.
you need to set up a link from excel through ODBC to Redshift. for that you need you redshift
host name
port
user name
password
You would also need these things to connect through dbvisualiser
to get connected - you could follow the instructions here
https://docs.aws.amazon.com/redshift/latest/mgmt/configure-odbc-connection.html

How to open database in web browser locally with IBM Notes

I have Domino Server running locally. I can assess for example the log.nsf and names.nsf databases in the browser (ie. http://localhost/log.nsf).
But I also created my own databases for example test.nsf
when visiting http://localhost/test.nsf, I see this:
Error 404
HTTP Web Server: IBM Notes Exception - File does not exist
What do I need to do to access views and agents from my own created databases
I try to -basically- answer this from the dialog that we had in the comments:
IBM Notes / Domino is a Client- Server solution where IBM Domino is the server and IBM Notes is the client.
Usually you work with the client and connect to the server that is on another machine.
Notes client is -by default- installed in C:\Program Files (x86)\IBM\Notes and the Data- directory (containing the personal addressbook of the user named names.nsf, the bookmarks and desktop and the client log.nsf) is in C:\Program Files (x86)\IBM\Notes\Data (ignoring multiuser setup on purpose as it makes things to complicated).
A Domino server is -again by default- installed in C:\Program Files (x86)\IBM\Domino, its data directory is in C:\Program Files (x86)\IBM\Domino\Data.
There is a names.nsf and a log.nsf there as well, but names.nsf is the Domino Directory of the server and log.nsf the log of... you guess.
Now one can of course install Notes and Domino on the same machine, but still they are two distinct programs.
To access Databases from a Domino server, you NEVER access them directly via file system but use the Open- Dialog to open them from the server.
If you want to access the files via admin- client (that can be installed along with the Notes Client), then you select "Open Server" from the File- Menu to access it. AGAIN: Don't access server files "directly" although they are on the same machine.
When creating new databases (from client or admin) select the Server to create them, NOT "Local".
What is the problem with the question: You created a database in the Data- directory of the client. The server does NOT know of this database as it has its own Data- directory. it will show the message you wrote.
Create it in the Data- Directory of the server instead then it will work.
Of course one could just copy the database from Notes\Data to Domino\Data.
But this will -by default- not work either: Out of the box the Notes Client encrypts every local database with the user's ID file. When copied over to Domino the server will not be able to read it. You need to decrypt to database before copy, you can do that in the properties of the database.
All together seems, that you need a training for whatever you try to do, otherwise this question will be your least problem.

Linking Access database to Excel pivot table, when Database is saved on a shared network drive

I have been working on linking an MS access database to an excel pivot table. The MS access is saved to a file share, which on my computer is mapper to an "S" drive.
Problem:
After I finished making the report I sent it around but it didn't work for others because the connection was to the "S:" drive which is not available on other people's computers. I changed the connection on the connection properties to the actual network name, but I still get the same error when others try it. It works fine for me though.
Error:
[Microsoft][ODBC Microsoft Access Driver] 'S:______accbd' is not a valid path.
Make sure that the path name is spelled correctly and that you are connected
to the server on which the file resides
Jenny.
I would follow the method of elimination to solve this problem.
1) Map other users' S drives to the same network share location as yours.
2) A more elegant solution would be to use actual network location for your Access file.
3) If step # 2 doesn't work, I would test users' access to the network location of the Access file. You might need to have your network admin grant them read privileges to this directory.
what version of access you are using?
try also in MS Access:
turn on in options "Allow trusted locations on my network (not recomended)
and then add your network location to list of "trusted locations".

Open lotus notes database using ssl vpn connection

i try to open lotus notes database form my personal pc connected by SSL VPN to my company
but when i try to open a database lotus notes retrive me the following message:
This database is currently being used by someone else. In order to share a Notes database, all users must use a domino server instead of a File Server
and i can't access to database...
Someone can help me ?
Sounds like you try to open a Notes database on file system which is stored in IBM Notes Domino server's data folder or subfolder. That doesn't work. The Domino server manages those databases and don't let you open it directly. You have to access this database from Notes client opening it on Notes server with menu "File / Open / Lotus Notes Application" and selecting the Domino server.
This error message occurs also when you try to use a personal Notes data directory twice. This happens when you open Notes client from two computers and both are using same Notes data directory on a company server (usually on user's home directory). If this is the case you can copy Notes data directory to somewhere else and link data path in notes.ini to this new directory.
NRPC (the Notes proprietary protocol) uses port 1352, which may be not open in your VPN setting.
From your remote PC, try this :
telnet serveripaddress 1352
If telnet fails, see with your network admins to have port 1352 opened.
(on a side note, having the file system of a Domino server shared and remotely accessible is a terrible security practise)

Connecting MS Access database when another application using the same MS Access File

I'm having Silverlight with the c# application which connects to ms access database in the server. My connection string looks like,
Provider=Microsoft.JET.OLEDB.4.0; Data Source=\\151.12.1.99\DatabasePath\Database.mdb; Jet OLEDB:Database Password=Password;Mode= Read
It works fine when I execute the application directly without any error. But when I deploy the application it throws
"The Microsoft Jet database engine cannot open the file "\\151.12.1.99\DatabasePath\Database.mdb". It is already opened exclusively by another user, or you need permission to view its data.
Can any help me what is the problem? I'm opening the file in reading mode only.
Why dont you use a DSN instead ???
The problem is that once your app opens the .mdb file it stays "reserved" to that instance of the app. The easyest way arround this I think is to use a DSN, to let ODBC manage the database access.
conn.ConnectionString = "FIL=MS Access;DSN=your_dsn_name";

Resources