Failed to save options error in Liquid XML Studio - liquid-xml

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

Related

Trying to import CSV file to Analysis Services Tabular project

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".

Cant import a module due to "Import-Module : Could not load file or assembly" however the file is present [duplicate]

When I run CodedUI Test from a small Console tool via vstest.console.exe from a scheduled task I sometimes see this error message on different PCs:
error : Could not load file or assembly 'file:///C:\foobar.dll' or
one of its dependencies. Operation is not supported. (Exception from
HRESULT: 0x80131515)
Why/what is this not supported?
Right click on the Dll and unblock it.
During my research I found that this may happen when you downloaded a test in a ZIP from the internet and the advice was to unblock the ZIP. But I copied the files over the network from my developer system to the test PCs and the files were not blocked.
Searching more for the error code 0x80131515 I found this answer in the MSDN forum.
So I edited the file
C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe.config
and added the entry <loadFromRemoteSources enabled="true" /> under the runtime tag and voilá, the tests run fine without any issues from a scheduled task.
Maybe this helps other users who also run into this strange issue.
As previously stated, a Zip file is blocked when downloaded from an untrusted site. If you are confident the site is reliable you can prevent this behavior by adding it to your trusted sites list in Internet Explorer -> Tools Menu -> Internet Options -> Security Tab -> Trusted Sites. Future downloads will not be marked as blocked.
For blocked files that have already been extracted, run this at a Powershell prompt to unblock all the files in the current folder and subfolders:
Get-ChildItem *.* -Recurse | Unblock-File
1) go to exe file click the properties
2) click the unblock button
then this will slove
For me, I needed to set the start up object in the Application settings.
Right click on the project name in the Solution Explorer. Click Properties. Go to the Application tab, Select the correct method from the Startup object dropdown.
Mine was not set, causing intermittent compile errors.

VS Code is looking for files in C:\c:\ directory which does not exist, resulting in many problems with namespaces and modules in my project

I have a project opened in VS Code. The project folder is on my desktop. When in VS Code, I attempt to work on a file but get many problems in the 'PROBLEMS' tab. It says the file is in C:\c:\Users\Me\Desktop, but I don't have a C:\c:\ directory which I believe is the cause for all the problems. This prevents intellisense from working correctly. How can I fix this problem?
I've tried cloning the project into different directories but the same problem arises.
I've tried looking for the C:\c:\ directory but it does not exist.
When I click on one of the problems I get, 'Unable to open 'filename.fs': Unable to read file (Error: File not found (c:\c:\Users\Me\Desktop\projectfolder\src\Client\foldername\filename.fs))'
Problems that appear are namespace or module 'Elmish' is not defined. This happens for everyt namespace and module in my project.
'Unable to open 'filename.fs': Unable to read file (Error: File not found (c:\c:\Users\Me\Desktop\projectfolder\src\Client\foldername\filename.fs))'
This is a known issue and a fix is on the way:
bug report
fix
In the future please submit bug reports to the extension repository directly, as we do not track stackoverflow and this site is not meant for technical support.

Group policy to make Chrome open files automatically after download

I am in the process of updating our currently existing Chrome distribution so that when a user downloads a .pdf file, the file is opened automatically.
As a first step, I was able to prevent Chrome from opening the pdf in its internal pdf viewer and could do a registry entry by using AlwaysOpenPdfExternally. This way it was downloading the file immediately and not opening it in the Chrome viewer.
I'd like to use Adobe to view the file automatically after download.
Unfortunately I was not able to find a registry entry. Nor was I able to find a GPO entry to be changed for Chrome.
I had found the following PowerShell script to be started upon logon of the user. However, testing it did not give me the result I was looking for.
The given entry extensions_to_open was not existing even after starting the script.
The current version of Chrome used is 66.255.
I would be happy for any help.
Edit: I am able to get the file to be opened automatically by inserting the given line here:
Is there any way to programatically force "Always open files of this type" for a specific file type in Chrome?
however, I am unsure of how to distribute the line of code into every PC in my network.
Edit: Chrome offers Group Policy Templates which should be importet into the active directory of your Windows Server. Once imported into your GPO, Chrome offers the setting: "Always open Pdf files externally". Once you check this feature, file should not automatically open in the internal PDF viewer.
See second edit: import the latest group policy templates into the GPO (will be stored on the active directory). After that, go into the GPO policies for "Google Chrome" and check the feature "Always open PDF files externally".

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