- URL Rewrite Rule Name Conflicts:
- Open the Web Config file and change the React Router Routes rule name.
- Folder Authorization:
- Right click on Frontend and Backend folders and grant Security > IIS Users > Full Control permission.
- Backend 500.30 Error:
- Incorrect application pool setting:
- Open the Application Pools area on IIS.
- Right-click on the Application Pool used for your backend and open Basic Settings.
- Select “No Managed Code” for the .NET CLR Version value.
- Network Error:
- Edit env-config.js to add the correct URL to the BACKEND_URL field.
- Restart the IIS > Frontend application pool.
- For Backend URL change after Publish:
- Press F12 and open the Developer Tool to see which Backend URL the Frontend is requesting.
- Switch to the Network area. Check the URL from the header field in failed requests.
- If you notice that the frontend is not accessing the backend URL correctly, go to the frontend folder on your computer.
- Edit the “ENV_TEST” section in the env-config.js file by entering BACKEND_URL:"https://istediğinizalanadı/v1/api ” and the swagger URL directory.
- Go back to IIS. Restart the frontend's application pool.
If it still does not go to the correct URL, do a Cache Cleanup to make sure that the updates made on the browser are reflected.
Improving Application Performance: IIS Application Pool Settings
- Open IIS Manager.
- Select the application pool from the Application Pools tab.
- Right-click and set Advanced Settings > Start Mode to "Always Running ”.
- Restart the IIS service.
If you still have problems after following these steps, you can contact the Kuika support team.