We're sorry, an internal error occurred that prevents the request to complete.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Dear all,
I can see many topics concerning this issue and i am not sure if anyone has solved this matter yet. Its becoming really annoying for a customer of mine and I have really tried everything with no luck though up till now, please help me on this to understand the real nature of problem and hopefully to solve it.

version using 2.4 nopcommerse with SQL server 2008
web host framework: Microsoft ASP.NET support (Version  4.0.30319.1)

At first i had a problem with the initial installation online with the nop db because it was published in the web host sql server before start the web installation so after many tries in the installation of the deployable site i removed the db from the host and choose restart installation and create db if not exist with full success.

The site now is up and running (http://fashioned.gr) but now i have a major issue regarding any new or old product. When I try to add a new product it works fine and I put all its attributes, category etc. but then the product when i try to view it in the public store or even preview it returns me the following error:
'We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.'

of course this error is what the error page shows and not the real issue. From the search in the forums i realized this should be an issue with the Microsoft framework v4.0.30319. I added the solution you have proposed in other topics in my web.config but the error remains.
'<appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="2000" />
</appSettings>'

Thank you in advance for your help and support since i am using you solutions since version 1.7 and i am more than happy on what you provide for all of us.


An example of the site error from the administration log is the following
http://www.fashionade.gr/errorpage.htm?aspxerrorpath=/c/20/dresses

System.NullReferenceException: Object reference not set to an instance of an object. at Nop.Services.Directory.CurrencyService.ConvertCurrency(Decimal amount, Currency sourceCurrencyCode, Currency targetCurrencyCode) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Libraries\Nop.Services\Directory\CurrencyService.cs:line 207 at Nop.Services.Directory.CurrencyService.ConvertFromPrimaryStoreCurrency(Decimal amount, Currency targetCurrencyCode) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Libraries\Nop.Services\Directory\CurrencyService.cs:line 287 at Nop.Web.Controllers.CatalogController.PrepareProductPriceModel(Product product) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Presentation\Nop.Web\Controllers\CatalogController.cs:line 215 at Nop.Web.Controllers.CatalogController.PrepareProductOverviewModel(Product product, Boolean preparePriceModel, Boolean preparePictureModel, Nullable`1 productThumbPictureSize) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Presentation\Nop.Web\Controllers\CatalogController.cs:line 316 at Nop.Web.Controllers.CatalogController.<Category>b__17(Product x) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Presentation\Nop.Web\Controllers\CatalogController.cs:line 881 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Nop.Web.Controllers.CatalogController.Category(Int32 categoryId, CatalogPagingFilteringModel command) in c:\Users\cchris\Documents\Visual Studio 2010\WebSites\Fashionade2\Presentation\Nop.Web\Controllers\CatalogController.cs:line 881 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d() at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Best regards
Christos
12 years ago
I presume that your exchange rate and primary currencies are not configured
http://admin-demo.nopcommerce.com/Admin/Currency/List
12 years ago
A.M. you totally saved my day with your fast reply. i thought it would be something easy but i could not see it clearly. thank you very very much for point it out.

Now i have the same issue for the 'My Account' and for the 'Blog' but now i am suspected of what it might be the error.

Great support and extremely fast reply.

Best Regards
Christos
12 years ago
Please provide the full error stack
12 years ago
I am receiving this msg whenever i click the Clear Log button in Administration/Logs
12 years ago
It's just the generic "something went wrong" message.  You'll need to find the actual error in the log to determine what is wrong.
12 years ago
Yes indeed, generic error msg...
Well, the problem is, through a mistake, i managed to get 450.000 warnings. They're the only thing in the Log, but i don't feel like deleting them 15 by 15... the Clear Log returns the error.
Maybe i should try looking into sql database to get rid of those...
12 years ago
frank_netlease_19 wrote:
Yes indeed, generic error msg...
Well, the problem is, through a mistake, i managed to get 450.000 warnings. They're the only thing in the Log, but i don't feel like deleting them 15 by 15... the Clear Log returns the error.
Maybe i should try looking into sql database to get rid of those...



Just log into your DB and execute query:
TRUNCATE TABLE "nop_log"

after that you can clear from NOP
i have to do this regularly, wish i could automate it to be done every so often
12 years ago
ReaLity wrote:
A.M. you totally saved my day with your fast reply. i thought it would be something easy but i could not see it clearly. thank you very very much for point it out.

Now i have the same issue for the 'My Account' and for the 'Blog' but now i am suspected of what it might be the error.

Great support and extremely fast reply.

Best Regards
Christos


Solved these two for My Account and Blog it was me messing up the master pages. Now it works fine. thank you for all info and guidance.
Best regards
Christos
12 years ago
We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.

Ive got this error. How can I kno what is the problem actually?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.