in persian lang to enter a topic occured bellow err
Code:
Controller: Topic
Action: Posts
Exception: The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Posts(Int32, Int32, System.Collections.Generic.List`1[SnitzDataModel.Models.Reply], Int32, System.String)' in 'WWW.Controllers.TopicController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
Postet den
Thanks, will take a look later today
Postet den
Now;
for enter to forum.... bug fixed.
But there is still an error to enter the topic: https://www.reddick.co.uk/Mvc/Topic/Posts/%DB%B4%DB%B7%DB%B7%DB%B6?pagenum=%DB%B1&archived=%DB%B0
An error has occurred. Please contact the system administrator. Controller: Topic
Action: Posts
Exception: The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Posts(Int32, Int32, System.Collections.Generic.List`1[SnitzDataModel.Models.Reply], Int32, System.String)' in 'WWW.Controllers.TopicController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
But there is still an error to enter the topic: https://www.reddick.co.uk/Mvc/Topic/Posts/%DB%B4%DB%B7%DB%B7%DB%B6?pagenum=%DB%B1&archived=%DB%B0
An error has occurred. Please contact the system administrator. Controller: Topic
Action: Posts
Exception: The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Posts(Int32, Int32, System.Collections.Generic.List`1[SnitzDataModel.Models.Reply], Int32, System.String)' in 'WWW.Controllers.TopicController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
Code:
at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo)
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.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
Sist redigert av
Postet den
looks to me like it is trying to pass an Arabic number rather than an integer so is then failing. Will see what I can do
Postet den
testing reply
Postet den
I'm unable to replicate, probably because my system language is English perhaps, but from the look of your error, the urls are being converted to Arabic numbers, I think this is maybe your OS/browser not the forum doing this, obviously the code is expecting an integer so not entirely sure where how to fix this since if it does not recognize the parameters it will not actually execute any code.
What does the url look like in your browser to you?
What does the url look like in your browser to you?
Postet den
url should be https://www.reddick.co.uk/Mvc/Topic/Posts/4776?pagenum=1&archived=0
whereas your error shows it is looking for
https://www.reddick.co.uk/Mvc/Topic/Posts/%DB%B4%DB%B7%DB%B7%DB%B6?pagenum=%DB%B1&archived=%DB%B0
This would never work and not sure if I can fix, why is it translating your urls?
https://www.reddick.co.uk/Mvc/Topic/Posts/%DB%B4%DB%B7%DB%B7%DB%B6?pagenum=%DB%B1&archived=%DB%B0
This would never work and not sure if I can fix, why is it translating your urls?
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Send emnet
Loading...