aleksefy Posted June 25, 2017 Posted June 25, 2017 Hello. Sorry, i am neophit. I have site on platform asp.net 4.5.I publishing it on Tommy. And as you can saw on http://aleksefy.heliohost.org site don`t work. It views list of files my site: Name Last modified Size Description ApplicationInsights...> 2017-06-24 20:49 5.8K Content/ 2017-06-24 20:52 - Global.asax 2017-06-24 20:49 96 Scripts/ 2017-06-24 20:53 - Views/ 2017-06-24 20:54 - Web.config 2017-06-24 20:49 3.3K bin/ 2017-06-24 20:51 - fonts/ 2017-06-24 20:52 - images/ 2017-06-24 20:53 - mynb.zip 2017-06-23 05:14 6.1M packages.config 2017-06-24 20:49 1.9K site.zip 2017-06-23 04:52 6.4M test.aspx 2017-06-23 07:34 440 Opening test.aspx, i getting error message "RunTime Error" and having in footer: Version Information: 5.0.1.1 (2017-02/5077205 Wed May 24 13:16:08 UTC 2017); ASP.NET Version: 4.0.30319.42000<customErrors mode="Off"/> didn't help to detect error. Before to deploy the site on another hosting I had to migrate the project files to the hosting and the site immediately began to work. Please explain what my error is. Thank`s all.
Krydos Posted June 25, 2017 Posted June 25, 2017 Try renaming or deleting the Web.config and see if the test.aspx starts working?
aleksefy Posted June 25, 2017 Author Posted June 25, 2017 Thank you for your attention. After renaming the Internet.configuration I get "ASP.NET works." Can you tell me where to look for the problem in the website?
Krydos Posted June 25, 2017 Posted June 25, 2017 Usually the best way to troubleshoot a site is to try to decipher the error messages and track down the problem. Just going on memory here I did a little googling for you and I think this might help https://stackoverflow.com/questions/35351134/mod-mono-asp-mvc4-error-system-security-securityexception-couldnt-impersonat It suggests commenting out the compiler entries from Web.config Since your site is no longer throwing the exception I may not have googled for the right thing. If my memory is wrong and that isn't the error you're getting let me know and I'll try helping some more.
aleksefy Posted June 25, 2017 Author Posted June 25, 2017 Ok, i commented out those rows. But i cannt resetting the apache service. Do I have to wait for some time?
Krydos Posted June 25, 2017 Posted June 25, 2017 Apache restarts itself quite frequently. You don't need to worry about that part.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now