I added the latest package to a v7.12.4 installation of Umbraco, all worked fine when running the website locally via Visual Studio, but when deployed to our staging server on IIS when accessing the page that contained the form with the Perplex File Upload component on it, it kept crashing the website and taking out the associated AppPool.
After a bit of analysis and debugging I finally tracked it down to an issue in the FieldType.PerplexFileUpload.cshtml file, as follows:
The "System.Diagnostics.Debugger.Break(); line is what was causing the website to crash, removing this everything worked like a dream, not sure why it was left in their.
I tried to do a Pull Request to rectify this, but it looks like this particular file has been removed from the solution??
Thanks for the report, that Debugger.Break() statement should indeed have been removed... Sorry about that. I am curious why it would crash on your staging server though, does it not have the System.Diagnostics assembly somehow? The file is still present in our solution and on GitHub so a pull request should be no problem.
File Upload Crashes Website
Hi,
I added the latest package to a v7.12.4 installation of Umbraco, all worked fine when running the website locally via Visual Studio, but when deployed to our staging server on IIS when accessing the page that contained the form with the Perplex File Upload component on it, it kept crashing the website and taking out the associated AppPool.
After a bit of analysis and debugging I finally tracked it down to an issue in the FieldType.PerplexFileUpload.cshtml file, as follows:
The "System.Diagnostics.Debugger.Break(); line is what was causing the website to crash, removing this everything worked like a dream, not sure why it was left in their.
I tried to do a Pull Request to rectify this, but it looks like this particular file has been removed from the solution??
Thanks,
Graham
Hi Graham,
Thanks for the report, that
Debugger.Break()
statement should indeed have been removed... Sorry about that. I am curious why it would crash on your staging server though, does it not have the System.Diagnostics assembly somehow? The file is still present in our solution and on GitHub so a pull request should be no problem.is working on a reply...