- Server operating system version
- windows server 2022
- Plesk version and microupdate number
- obsidian 18.0.47
I am copying over a laravel app from another plesk server, except it was windows 2019 and the new one is 2022.
I had two SPA's on that server which I have successfully deployed on the new server, both use IIS url rewrite module.
I have run all of the composer and artisan commands, however when I try to open the website I get the error:
"
However the web.config file is an exact replica from the other server.
When I go to iis manager and I try to add a rewrite rule I get the error:
"There was an error while performing this operation. Details Filename \\?\D:\plesk\vhosts\domain\subdomain\public\web.config
Error:"
That is it. no further details.
If I delete my web.config and go directly to the IIS manager and add any re-write rule, the config file becomes usable again and openable via IIs manager.
Though, obviously, I get another error (
I am guessing If i manually add all of the rules via IIS manager I could resolve this, but to be honest, I don't really understand most of the rules.
I am guessing this is an IIs issue rather than plesk, but even if i edit the web.config directly in plesk, I get the same error.
I wish my developer hadn't tried to black mail me. Trying to get something of the ground with limited budget is a major pain in the backside.
I had two SPA's on that server which I have successfully deployed on the new server, both use IIS url rewrite module.
I have run all of the composer and artisan commands, however when I try to open the website I get the error:
"
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid."
However the web.config file is an exact replica from the other server.
When I go to iis manager and I try to add a rewrite rule I get the error:
"There was an error while performing this operation. Details Filename \\?\D:\plesk\vhosts\domain\subdomain\public\web.config
Error:"
That is it. no further details.
If I delete my web.config and go directly to the IIS manager and add any re-write rule, the config file becomes usable again and openable via IIs manager.
Though, obviously, I get another error (
TTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.)
I am guessing If i manually add all of the rules via IIS manager I could resolve this, but to be honest, I don't really understand most of the rules.
I am guessing this is an IIs issue rather than plesk, but even if i edit the web.config directly in plesk, I get the same error.
I wish my developer hadn't tried to black mail me. Trying to get something of the ground with limited budget is a major pain in the backside.