Cannot convert null to 'int' because it is a non-nullable value type
Hello Support
We have updatet CloudPanel from 3.0.x to 3.1.1536 over the Migrationversion 3.1.0030.
After the Update we have two Erros. One Error we fixed with P20160513_159.
Another Error is, when we click off Companies in the left Pane, then list all Companies in the middle Pane.
When we then click off a Company, whith activated Exchange we get a Runtime Error.
When Exchange for the Company is not activeted works fine.
—————————————————————————————————————-
Server Error in ‘/CloudPanel’ Application.
Cannot convert null to ‘int’ because it is a non-nullable value type
? Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
?Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot convert null to ‘int’ because it is a non-nullable value type
Source Error:
?An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.?
Stack Trace:
[RuntimeBinderException: Cannot convert null to ‘int’ because it is a non-nullable value type]
?? CallSite.Target(Closure , CallSite , Object ) +153
?? RazorOutput.RazorView.Execute() +101127
?? Nancy.ViewEngines.Razor.NancyRazorViewBase`1.ExecuteView(String body, IDictionary`2 sectionContents) +123
?? System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +467
?? Nancy.ViewEngines.Razor.<>c__DisplayClass9_0.<RenderView>b__0(Stream stream) +851
?? Nancy.Hosting.Aspnet.<ProcessRequest>d__2.MoveNext() +381
?? System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +13891908
?? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
?? System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +69
?? System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +178
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1085.0
There for the error, a solution
When you upgraded to?v3.1.0030 RC were you able to login and make sure it updated or did you just install the 3.1.0030 version and then immediately after install the latest version?
I have the version v3.1.0030 from 15.02.2015 and then I signed up. But I have not tested the whole range of functions. I kept to the update video. Then I installed the last version (3.1.1536).
Is the problem known, or is it useful to carry out the installation again?
We must on Wednesday to create a new customer!
There was a ton of changes when that RC was released which is why that step has to be taken. Can you email me at support@knowmoreit.com so we can do a remote session? Also that patch you applied may not have applied to the latest CloudPanel which is why it could be causing issues.
If you can email us and we can remote in and look right now.
- 5 Forums
- 716 Topics
- 3,649 Posts
- 1 Online
- 259 Members