Trying to import CSV file to Analysis Services Tabular project - ssas-tabular

I have Microsoft Office Professional Plus 2019 and Access database engine both 64-bit installed on my machine and was trying to import a CSV file to Analysis Services Tabular project. However keep getting the error message shown below.
"Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: The Microsoft Access database engine cannot open or write to the file 'BatchInfo.csv'. It is already opened exclusively by another user, or you need permission to view and write its data.; 3051."
Any help is appreciated please.

Either you or someone else has the file open. Sometimes you have to completely close out of the program that created the file, or the last program used to read, write, or save the file.
If it's something on your computer, you may be able to find what has it opened with the Process Explorer tool. Install it, and then use Find > Find Handle or DLL... and search on "BatchInfo.csv".

Related

Saving a text file from Citrix session to client machine

I've a requirement to save a text file from the citrix session to the client machine. So the published machine runs an executable and that executable 'knows' where the client machine is and can save the text file onto it.
I've tried to save it using the equivalent of \tsclient share as outlined in this pretty old article. I couldn't get it to work - the published executable couldn't see the filepath back to the client.
Failing this a programmatic solution would be good - we own the published executable so we can amend it.
Many thanks for any / all help
EDIT
Just to emphasize- I don't expect anyone to write this code for me, but some pointers to how it would be possible with decent references would be extremely helpful.

neo4j apoc import/export not working. How to modify the neo4j.conf file?

I am a beginner user of neo4j. I am trying to export a simple graph in .graphml format in order to be able to visualize it in Gephi. Even though the apoc procedures seem to be successfully installed, a command like CALL apoc.export.graphml.all("C:/path/to/folder/file.graphml",{}) generates the following error:
apoc.export.graphml.all is not available due to having restricted
access rights, check configuration*.
I tried to modify the neo4j.conf file (which I copied and pasted into the conf folder of the default graph database folder in Documents) adding dbms.security.procedures.unrestricted=apoc, shutting down and restarting neo4j with no success.
I am using Windows 10 and I have installed the NEO4J 3.2.1 Community Edition version (installer version). Any help appreciated.
I tried to modify the "neo4j.conf" file (which I copied and pasted
into the conf folder of the default graph database folder in
Documents) adding "dbms.security.procedures.unrestricted=apoc.*",
shutting down and restarting neo4j with no success.
According the documentation, the correct file location of neo4j.conf file for Windows installations is %APPDATA%\Neo4j Community Edition\neo4j.conf.
So edit the above file and put into it the line dbms.security.procedures.unrestricted=apoc.*".

Failed to save options error in Liquid XML Studio

When saving the settings using Tools->Options you may see an error:
"Cannot create a file when that file already exists."
This is typically due to your anti-virus program or security permissions.
Specifically, we have seen error when McAfee Real-Time Scanner is active.
To resolve this issue, add the following file to the Excluded File list in the Anti-virus software:
%APPDATA%\Liquid Technologies Ltd\Liquid XML Studio
2015\UserSettings.xml
But also check that your account has read/write access to the containing folder
%APPDATA%\Liquid Technologies Ltd

Deploying Excel Add-ins and Workbooks

I have developed an add-in (xlam) for Excel 2013 (some users have 2010) that contains half a dozen macros.
I used to load it from UNC path on the server and that worked great, but every time I need to update it, all the users have to quit excel because it's locked. There are now too many users in multiple buildings, so this is approach is no longer viable. I need to find a way to deploy new version of the macro-enabled workbook and the add-in, so that it works on local PC's.
We use Microsoft SCCM at work, so I figured, no problems, I'll just deploy the add-in to the users' local add-in directory (%APPDATA%/Microst/Addins). This works fine. The problem is when I send them an updated version of the macro enabled worksheet that uses the add-in (which changes fairly frequently), %appdata% has been expanded to my user name and of course the path to the add-in is not valid on someone else's machine.
I figured, no problems, I'll make a common dir on everyone's machine (C:\Program Files\CompanyName\Addins) and install the add-in there, so that the path is valid on all machines. I open my workbook, load the add-in and test it. Works great.
I have a DisplayVersions macro that shows the correct version and the path I just loaded the addin from (C:\Program Files\CompanyName\Addins) as the Addin path.
I save the worksheet, quit Excel. Next time I open it, it's trying to load it from my %appdata%/Microsoft/Addins directory and of course it doesn't exist there. It never asked me if I wanted to copy it there.
This is driving me mad. There HAS to be a way to deploy an add-in and a worksheet, so it will work from all local PC's
Anyone got any suggestions
Regards
Mark

Win32::OLE error on file open

I am trying to open a .xlsm file using Win32::OLE from my webpage in perl on windows/apache server.
On researching for this issue, came across the following possible solutions:
Few had it resolved by setting their path to a absolute one. This did no work for me.
Setting permissions for the script to have permissions to access files on server. I am not sure how to go about this. However, I am authenticating my user via windows sspi and will have a userid. Will that user id be verified for file access on Win32::OLE ?
However, I am able to open the file using a File Handle. I have read/written using file handles to files on this server location from my webpage earlier. Is the win32::OLE permissions different from that??
The error is :
Microsoft Excel cannot access the file 'C:\test.xlsm'. There are several
possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open
workbook.
Win32::OLE(0.1709) error 0x800a03ec
in METHOD/PROPERTYGET "Open"
Appreciate any inputs.
OK, Finally got rid of the error after several attempts at modifying permissions and running apache as a separate user with all required privileges with no avail, by creating a profile folder for Desktop under
C:\Windows\SysWOW64\config\systemprofile\Desktop
Found this solutions in msdn forum http://social.msdn.microsoft.com/Forums/en-US/innovateonoffice/thread/b81a3c4e-62db-488b-af06-44421818ef91?prof=required
Hope this will help someone using these modules in future