Configuration options for web services and remote access.
Parent Page: Installation & Licensing (Reference)
TWebServices (Built-in)
The default web service that enables remote access to solutions and web clients.
When Required
TWebServices enables:
- Remote access to solution configurations
- Solutions Manager WebUI access
- Web client connections
- iPad and mobile clients
- Remote engineering
Default port: 10108
Access via: http://<ServerIP>:10108/solutions
Setup Process
- Open FrameworX → Server Information
- Click "Add Services" → WebServices → OK
- Accept Windows security elevation if prompted
- Service runs as Windows Service
Port Configuration
If port 10108 is in use:
- Check port usage:
cmd
netstat -aon tasklist
- Configure custom port:
- Navigate to
C:\Users\Public\Documents\FrameworX\MachineSettings\
- Edit
TWebServices.json
- Change "portnumber" parameter
- Save and restart service
- Navigate to
Auto-Start Solutions
Configure TWebServicesRunPrograms.json
in MachineSettings:
json
{
"appSettings": {
"RunPrograms": {
"Solution1": "path/to/solution.tproj",
"Program2": "path/to/program.exe"
}
}
}
Used primarily for Linux/Docker deployments where Windows Services aren't available.
Linux Deployment
- Copy from Windows:
FrameworX/net8.0/
- To Linux:
/home/FrameworX/
- Run TWebServices executable
- Configure auto-start in systemd or Docker
Microsoft IIS Configuration
For enterprise deployments using IIS instead of TWebServices.
When to Use IIS
- Running Runtime as Windows Service with web access
- Enterprise security requirements
- Integration with existing IIS infrastructure
- Advanced authentication scenarios
Prerequisites
IIS 7.x
Run as Administrator from C:\Windows\Microsoft.NET\Framework64\v4.0.30319
:
cmd
aspnet_regiis -i -enable
ServiceModelReg.exe -r
IIS 8.0+
Enable in Windows Features:
- ASP.NET 4.5+: IIS → World Wide Web Services → Application Development
- HTTP Activation: .NET Framework Advanced Services → WCF Activation
- Dynamic Compression: Web Server → Performance Features
Service Installation
TProjectServer (Remote Configuration)
Add Application in IIS:
- Alias: TProjectServer
- Physical Path:
C:\Program Files\Tatsoft\FrameworX
- Application Pool: ASP.NET v4.0
- Permissions: Everyone (Read), IIS_IUSRS (Read/Write)
Test: http://localhost/tprojectserver/service.svc
TWebClient/TSmartClient (Web Clients)
Add Application:
- Alias: fx10
- Physical Path: Installation folder
- Application Pool: ASP.NET v4.0
- Anonymous Authentication: Enabled
Add MIME Type:
- Extension:
.xbap
- Type:
application/x-ms-xbap
Test: http://localhost/fx10/service.svc
Dynamic Compression
- Go to Server (not site) → Configuration Editor
- Select
system.webServer/httpCompression
- Add to Dynamic Types:
application/json
- Restart IIS
SSL/HTTPS Configuration
Generate Certificate
- Server Certificates → Create Self-Signed Certificate
- Enter friendly name
- Certificate marked for Server Authentication
Create HTTPS Binding
- Site → Bindings → Add
- Type: https
- Port: 443
- Select certificate
Update Web.config
Comment HTTP, uncomment HTTPS:
xml
<!-- HTTP
<security mode="None" />
-->
<!-- HTTPS -->
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
HTML5 Clients with HTTPS
Launch with port parameter:
cmd
TStartup.exe /project:MyProject /html5port:443
Troubleshooting IIS
Issue | Solution |
---|---|
XAML apps disabled | IE Options → Security → Enable XAML browser applications |
Missing file errors | Reinstall product |
Firewall blocking | Test locally: http://localhost/fx10/TWebClient.xbap |
Insufficient permissions | netsh http add urlacl url=http://+:80/thtml5/+ sddl=D:(A;;GX;;;IU) |
Certificate errors | Add to Trusted Root Certification Authorities |