Jump to content

zsleo

Members
  • Content Count

    19
  • Joined

  • Last visited

Everything posted by zsleo

  1. I have a small REST Web Services app with only 2 Actions -Action 0: Default Action = True MethodType = mtAny - Action 1: Default Action = False MethodType = mtPOST (also tried mtGET) When running as a stand alone EXE everything works as expected. When running the DLL under IIS the Action 0 always responds correctly to requests but Action 1 always fails with a 404.0. This happens on both my Dev computer (Win 11 & Delphi Enterprise 12.1) and a Win Server 2019 Datacenter. I develop and test using IIS Express. Any / all help will be appreciated. TIA
  2. Sorry. Here it is: https://10.10.1.75/HashWS/MDiiGenerateHashI.dll No I am not using URL Rewrite
  3. The app is on a private network and noy public internet. The Action 1 path is "/GetDecryptedPWD". The URL on server IIS is https://10.10.1.73 The URL on dev computer is http://localhost:8089
  4. I have an app that uses TEdgeBrowser to display an XML file that points to a "very rich" XSL and DTD files that all reside in the same folder and sub-folder. When attempting to load the file file:///C:/program%20files/test/x_01.xml The errors are Does anyone have a workaround? Some research suggests that starting the Edge Browser with the parameter --allow-file-access-from-files should solve the problem. How to I force TEdgeBrowser to start with parameters? TIA P.S. Just edited to correctly reflect folder structure and to protect the innocent 🙂
  5. zsleo

    TEdgeBrowser : "Unsafe attempt to load URL"

    Well detected :). I have simplified the path string. During installation the "test" subfolder is permissioned for read/write and the "x_01.xml" is created on the fly for each user with with the substituted reference text, images and tables for specific to the user's pharmaceutical product selection.
  6. zsleo

    TEdgeBrowser : "Unsafe attempt to load URL"

    This is very high end and complex clinical information and I can't take the risk of incorrect/mal conversion to html.
  7. zsleo

    TEdgeBrowser : "Unsafe attempt to load URL"

    I did consider this but my app is deployed in some very locked down healthcare institutions through to very non-tech savvy sites. Deployment and ongoing support costs are an issue.
  8. zsleo

    TEdgeBrowser : "Unsafe attempt to load URL"

    I will give this a try.
  9. zsleo

    TEdgeBrowser : "Unsafe attempt to load URL"

    Thank you. Also, the app that controls that data is unfortunately installed in that location.
  10. I am using Delphi 11.1 Enterprise. I have an app that is now very commonly deployed and accessed though Windows RD Web. Often one of my forms “disappears” behind another for and the use thinks my application has hung because they cannot take control of the form that is displayed uppermost. There is a feature used by Microsoft to display the apps and sometime forms for each session as shown in the red box in Picture_1.png. The form types in my app are both modal and non-modal. Thanks in advance for your assistance
  11. zsleo

    RDP and RD Web deployment of Delphi VCL apps

    No need to apologise. That is my problem. My thought was to give the user a feature whereby they could see and select from a list of opened windows.
  12. zsleo

    RDP and RD Web deployment of Delphi VCL apps

    Thank you! I will definitely try this
  13. zsleo

    RDP and RD Web deployment of Delphi VCL apps

    No. I want to know how to populate the window list as the RD Web environment. i.e in the same area as the red box
  14. I have tried ADSI and a number of other APIs and I am successfully retrieving user credential but can find how to change the ADS user to unlock a user. Does anyone direct me how to or know where to find Delphi code to unlock an Active Directory user account. I could only retrieve status but not find a method to update the ADS record. I am using the ADSI API. Here is and extract of the code: procedure TForm1.btn3Click(Sender: TObject); var lv_User: TADSIUserInfo; lv_Err: string; lv_P: TPassword; begin lbl1.Caption := ''; if ads1.GetUser(gv_Domain, kbmtblUsersUserName.AsString, lv_User, lv_Err) then begin chk1.Checked := lv_User.LockedOut; (... other code to display AD User Details...) end else lbl1.Caption := 'User not found'; end; TIA
  15. zsleo

    Active Directory unlock a user

    Thank you. I looked and it seems to put me on the correct track to solve my problem.
  16. Can someone please advise how to turn this popup off. TIA
  17. zsleo

    Debugger Exception Notification

    Thank you so much!
  18. Has anyone experienced and or resolved the following issue? My app is a Delphi 10.4.2 Intraweb/MS SQL/FireDAC app. I am moving an IW apps into Azure and I am using the Azure load balancer to load balance across two Azure servers. This application is operating in our production environment in a data center without issue. I am attempting to deployed it on two Azure server under IIS on Win Server 2019. I connect to and log in successfully from any computer on our private network. From the public internet I connect to the IW app and the get the login screen. I enter the log in credentials and on clicking log in I get my "please wait" for a second or so and it never progresses past the log in screen. My IW app generates the following error: [FireDAC][Phys][ODBC][Microsoft] [SQL Server]String or binary data would be truncated. I then have removed one server from the Azure load balancer and there is a single MS SQL Server instance that the app is connected to and the problem persists. Help please. TIA
  19. Thank you all so much! I forgot all about the tracing functionality! I knew what the error log was telling me, I just could not find where it was falling over. I will report the issue to the developer of the library suite I am using. Thanks again! Problem solved...
Ă—