Telegram_2025-03-04T14

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2025 > 03 > 04 >

Telegram_2025-03-04T14

Telegram link

 

2025-03-04T14:47:47

 

Hello Everyone

 

Thank you for your help with this question:

 

I wanted to publish my Intraweb project on IIS.

 

Normally, when the published (User.dll) file is created, it works fine, but when I use URLRewrite method and I don't want that (.dll) part to be displayed in browser address bar, apparently some functions(e.g. ajaxcall) are not allowed to run.

 

procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);

 

begin

 

Self.RewriteURL := 'home';

 

end;

 

-------------------------------------------------------------------------------———-------

 

When running in the browser console, these errors are displayed :

 

1-Uncaught ReferenceError: IW is not defined

 

at Initialize (home/:36:1)

 

at HTMLDocument. (home/:748:23)

 

2- Uncaught ReferenceError: ajaxCall is not defined

 

at MyFuncName (home/:840:9)

 

at user/:822:9

 

-------------------------------------------------------------------------------———-------

 

web.config file contents: