NOP 4.0. page down... An error occurred while starting the application....

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi, we have random page down bug…

1. nopCommerce version (4.0)
2. Expected behawior - page work fine... 100% of time
3. Actual behawior: page in random case, going down and show:
An error occurred while starting the application.

.NET Framework 4.7.3130.0 X86 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452    |    Microsoft Windows 10.0.14393

We need to make server restart... sometime few... to start working...

4. Steps to reproduce the problem (we don't know… )
5. Any private modifications you made to your nopCommerce (we have nop-templates plugins / theme and some from FoxNet).

6. When we make upgrade form 3.7 > 4.0 some plugins show problem with missing tables... we fix it by uninstall and install again plugin... maybe something with this?

7. Our hosting is on Microsoft Azure…

8. It's really... ^*$(# 3.7 was incredible stable... after update to 4.0, we start have this error... maybe someone know solution for this?
5 years ago
Before page go down... we have in nopcommerce logs:

The remote server returned an error: (500) Internal Server Error.
Opis zdarzenia

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run()


The remote server returned an error: (500) Internal Server Error.
Opis zdarzenia

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run()



THis same error show 4-5 Times, and after this server crashdown… We need to make manual restart, and then start working.
5 years ago
same issue in 4.10 happened 3 times in 3 weeks, store is down when this happens =$$ loss, simple restart of the app fixes it , but never know when its happening..




An error occurred while starting the application.

.NET Core 4.6.26919.02 X64 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846    |    Microsoft Windows 6.1.7601 S    |   Need help?
5 years ago
See if anything mentioned here helps

https://www.nopcommerce.com/boards/t/49550/an-error-occurred-while-starting-the-application.aspx
5 years ago
Has anyone found a solution for this?
We are having the exact same problem.

Here is some info I was able to gather:
- Errors only happens when the app pool is recycled.
- Error happens 5 times - The remote server returned an error: (500) Internal Server Error.
- Started happening after I added a scheduled task that runs every 86400 seconds (once a day).  If I turn off the task the issue goes away. This task did complete successfully about an hour prior to the errors.  

Is there potentially some overlap with this issue caused by plugin shadow copy described here?
https://www.nopcommerce.com/boards/t/49851/serious-iis-application-pool-recycling-bugdesign-flaw.aspx
We had to disable overlapping recycle of the app pool to address this bug as well, perhaps there is an impact on the way scheduled tasks run WebClient when overlapping recycle is disabled.
5 years ago
merhaba bu aşağıdaki sorun bende çok aldım ,



1-)An error occurred while starting the application.
.NET Core 4.6.27514.02 X64 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846    |    Microsoft Windows 6.3.9600    |   Need help?

kendi IIS imde Kontrol ettiğimde log dosyasında yazan hata şu şekilde idi



2-)Uygulama başlatma istisnası: System.Exception: Plugin Müşteri rolüne atanmalı. D: \ vhosts \ resmikiyafet.com \ httpdocs \ Plugins \ bin \ Nop.Plugin.DiscountRules.CustomerRoles.dll yoluna erişim reddedildi.

ÇÖZÜM;
genelde sunucuda 1 nolu hata alınmaktadır. .netcore sürümlerinin kontrolü yanı sıra Klasör izinleri hatanın sebebi
Plugin içerisine bin klasörü ve uygulama derleme dll lerini ekleyemediği için bu hatayı veriyor

klasöre kullanıcının okuma yazma yetkisi verilmesi gerekli
sunucu tarafında da böyle kendi IIS inizde de bu şekilde izinleri verirseniz uygulamanız sorunsuz şekilde çalışıcaktır,
4 years ago
Hi
Any solution for this critical issue, Some time I am getting same issue.
When I restart website from IIS then it work fine.

Web page shows error:
.NET Framework 4.7.3416.0 X64 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452    |    Microsoft Windows 6.3.9600


In log it shows:

Log level  
Error
Short message  
The remote server returned an error: (500) Internal Server Error.
Full message  
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run()
IP address  
Customer  
Page URL  
Referrer URL  
Created on  
7/31/2019 6:31:34 AM
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.