Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 17 total |
Access denied saving from a module |
Thu, Sep 21 2017 10:00 PM | Permanent Link |
KimHJ Comca Systems, Inc | I had this working before, but now I get Access denied when I try to save to a local folder from a module.
In debug and on my web server. Both Delphi XE6 and the EWB are set to "Run as Administrator". I even tried to save to the public folder no luck. ImageStream.SaveToFile(UploadFolder); Kim |
Fri, Sep 22 2017 10:16 AM | Permanent Link |
Fernando Dias Team Elevate | Kim,
Perhaps the permissions of that folder have changed - have you checked that out? -- Fernando Dias |
Fri, Sep 22 2017 10:38 AM | Permanent Link |
KimHJ Comca Systems, Inc | Fernando Dias wrote:
>>Perhaps the permissions of that folder have changed - have you checked that out?<< The permission is set to Everyone Read/Write. Kim |
Fri, Sep 22 2017 11:24 AM | Permanent Link |
Walter Matte Tactical Business Corporation | UploadFolder is a full path and filename?
Walter |
Fri, Sep 22 2017 12:26 PM | Permanent Link |
Fernando Dias Team Elevate | What about anti-virus software... it mat be blocking writes. -- Fernando Dias [Team Elevate] |
Fri, Sep 22 2017 1:59 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Kim,
<< I had this working before, but now I get Access denied when I try to save to a local folder from a module. In debug and on my web server. Both Delphi XE6 and the EWB are set to "Run as Administrator". I even tried to save to the public folder no luck. ImageStream.SaveToFile(UploadFolder); >> Can you create/run a simple Delphi test application and perform the same operation without issue ? Tim Young Elevate Software www.elevatesoft.com |
Mon, Sep 25 2017 1:03 PM | Permanent Link |
KimHJ Comca Systems, Inc | Tim Young [Elevate Software] wrote:
<<Can you create/run a simple Delphi test application and perform the same operation without issue ?>> I added a function to write a log file using TextFile (AssignFile, Append and Write) and now I don't get the access denied or maybe the computer liked me today because I had hard time with Irma. Now I just have a new problem. When running it on the Web Server using TFileComboBox I only get the image name in the TFileComboBox and I use that file path to set the URL to the TImage with the result that the TImage is blank. Is there away to get the file path from the TFileComboBox? I don't see any. Thanks, Kim |
Mon, Sep 25 2017 1:32 PM | Permanent Link |
KimHJ Comca Systems, Inc | It's saving the image in the right location on the Web Server, I just can't see it before saving it. I can see it on the local server.
|
Tue, Sep 26 2017 4:20 AM | Permanent Link |
Matthew Jones | KimHJ wrote:
> Now I just have a new problem. When running it on the Web Server using TFileComboBox I only get the image name in the TFileComboBox and I use that file path to set the URL to the TImage with the result that the TImage is blank. Could you be more detailed in your explanation please? You are talking about a module, and a web browser component. The links and your code between them are not at all clear. Perhaps a snippet of code from each might help us understand. I often find that putting together an explanation of my problem in concise detail actually helps me understand and fix my problem anyway. -- Matthew Jones |
Tue, Sep 26 2017 7:38 PM | Permanent Link |
KimHJ Comca Systems, Inc | "Matthew Jones" wrote:
<<Could you be more detailed in your explanation please? You are talking about a module, and a web browser component. The links and your code between them are not at all clear. Perhaps a snippet of code from each might help us understand. I often find that putting together an explanation of my problem in concise detail actually helps me understand and fix my problem anyway.>> In the web application I have a TFileComboBox and A TImage. When the user selects an image to upload from the TFileComboBox. On the TFileComboBox I have in the OnChange event the following code: Image1.Url := FileComboBox1.Text; It works fine on my computer and I see the whole path in the TFileComboBox, but when I run it on the Web Server I only see the Image name in the TFileComboBox . The image will upload I'm just missing the preview. Kim |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Friday, September 20, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |