When i tried to export data to excel I'm getting an error
You don't have permission to save in the Excel export location. Contact the administrator to obtain permission
after I close the Alter message I'm getting another error in the infolog like
The directory name is invalid
I tried open export location in File --> Tools --> Options --> General --> Miscellaneous --> Open Export Location When i clicked here nothing happened previously it will navigate some folder location.
I'm not sure what i changed but it worked yesterday
Is this a temporary location error or any setting changed?
Any other alternative way to fix the problem?
Probably your user don't have rights to write to folder you want to export.
In Windows open the folder properties, then go to "Security" tab click "Edit" button and add your user then click "Full control" checkbox and click ok.
Related
I am trying to read a spreadsheet from a shared location folder. using
<cfparam name="xlfilepath" type="string" default="\\file02\OP\!FILE STRUCTURES and FORMS\Agreements\Tracker.xls" />
<cfspreadsheet action="read" src="#xlfilepath#" excludeHeaderRow="true" query="MsaDataSheet1" sheet="1" />
"OP" is the shared folder.
I got "java.io.FileNotFoundException:".Then I try to display the directory listing using cfdirectory tag.
<cfdirectory action="list" directory="\\file02\OP\" recurse="false" name="myList">
<cfdump var="#myList#"><cfabort>
I see that there is no list displayed although there are subdirectories and folders and files in the OP directory.
Does the folder needs any specific permissions to be read by any application or any other mapping required?
Here I will explain by using cf16. The ColdFusion runs in Windows as a service and if we look into all the services of the machine we will find as follow:
Here, you can notice that for ColdFusion service the LogOnAs value is "LocalSyatem". It means ColdFusion service is started as "LocalSystem" login and this login doesn't have enough permission to do any operation on network. So, in order to make the required file operation in the Shared Directory we will have to change the LogOnAs value for ColdFusion service.
Please follow the below step to enable it,
Right Click on the ColdFusion Service then click on "properties".
Click on "Log On" tab. Then you will see a screen like this
Select "This account" radio button .Then click on "Browse" button
and select the user by which you want to start the service. You
should choose the user who have sufficient permission to create file
on the shared directory and also have required permission in local.
But we have to restart the ColdFusion Service for the changes to effect.
Let me know if this work to you or not. Or correct me if I'm wrong understood.
I have an ASP .NET based application that uses Serilog for logging and I want to test it by writing my logs to files. I am using Serilog and Serilog.Sinks.File
So far, the code looks like this:
_perfLogger = new LoggerConfiguration()
.WriteTo.File("C:\\Users\\andav\\Desktop\\NewTest\\logger\\perf.txt")
.CreateLogger();
_perfLogger.Write(LogEventLevel.Information, "{#LogDetail}", infoToLog);
But all my files are empty or are not created and I am not getting any errors.
Am I doing something wrong?
Thank you.
You may be able to if you add read/write permission for IIS_IUSRS on the directory.
I usually put the log directory in the same directory as my IIS app and do the following:
You need local admin permissions:
Right-click on the directory that you want to log file in
Choose properties
Go to Security tab
Click Edit
Click Add
Type IIS_IUSRS
Click on Check Names
If it cannot find it then click on locations
Click on your computer name and click ok
Now click on check names and it should resolve.
...
Click OK
Give the Modify Permission
Click OK
Logging "should" work
If it is a directory outside of inetpub, I am not sure but worth a try.
-Gina
I didn`t know that .Net is not allowed to write in any other folder except App_Data. This was the problem and I managed to fix it.
I'm trying to activate workspace tool for my local project. I want to apply CSS changes on my codes when I edit them into browser.
I've added my folder, perfix url and path of my project to the Chrome like this:
But still there isn't any change in my codes when I change it into browser, What's wrong?
Here are the steps to map a local workspace to a server path, using my example:
Click "Add folder" in the Workspace settings, and navigate to your working directory. Click "Allow" in the bar at the top to grant Chrome permissions.
Add a mapping between your server and the path
Load the URL and navigate to the Sources tab. Open your file and start editing.
If you save with Cmd+S (Mac) / Ctrl+S (Windows / Linux), the changes will be persisted in the workspace.
You can read more information from the official documentation here, which shows how to add it directly from the Sources panel. Read the Limitations section, in case you are trying to do something that isn't supported.
I am using RadAsyncUpload control from Telerik to upload a file on the server. It is working well locally (on localhost) but not in the server. What did I miss?
(When I select a file to upload the dot becomes red instead of green)
I had the same behavior and it was a folder permissions issue.
Another symptom in this case, Chrome DevTools console was showing the following error when I attempt to upload a file:
HTTP Error code is 500
There is a temp folder where RadAsyncUpload saves files temporarily. If you don't define the TemporaryFolder property on the RadAsyncUpload control, the default will be in your App_Data\RadUploadTemp folder. If IIS_USERS don't have write permissions to this folder, the upload can't save a file here. It will work on your localhost because you have write permissions to that folder. Here's how to give the permissions necessary.
Right click on the App_Data\RadUploadTemp folder on server and
select proprties
Select Security tab
Click "Edit..." button
Under "Group or user names:", select IIS_USERS
Under "Permissions for IIS_USERS", check Write in the Allow
column.
Note: This was IIS 7 on Windows 2008 R2 Server.
The dot could become red either when the allowed file extension validation failed or when the file size exceeds the allowed one.
You can attach to the OnClientValidationFailed and OnClientFileUploadFailed events and check what the exact error is and fix it.
The Troubleshooting article offers additional information about the different errors and how to solve them.
I wish to modify Rprofile.site file under Windows 7 R-2.11.1 using Notepad++ editor changing from
# options(help_type="text")
options(help_type="html")
to
options(help_type="text")
# options(help_type="html")
When saving this file, the editor keeps prompting the following message
"Please check whether if this is opened in another program"
I have no other programme opening this file.
Does anyone know on how to modify and save this file?
You don't have write access to the program files folder. To get it on a temporary basis start Notepad++ as administrator from the right click menu of the shortcut you use to start it. Then you will be able to write this file.
I guess it is the same problem I had. It's about write/modify permission of that file.
make sure that windows account you use is admin
right click on this file and choose settings
go to tab security (2nd tab) and click on "edit" button (this is next to the phrase "to change the permission click on...")
here you need to specify which account (i.e. only your account) of group of accounts (all admin accounts created on PC) can modify this file. On the 1st tab, select "Admin" and on the tab below you can select which events will be allowed to Admin user. You can choose: full control, modify, read and execution, read, save. Put the "dash" sign to option "modify" on right hand side. Click "OK" and go back to main settings. Also click "OK" to save all of the changes.
Now you should be able to edit and succesfully save all of the changes you apply to this file.
Let me know if it works for you.