This topic is locked

Conversion from 9 to 10

8/2/2018 4:01:50 PM
ASPRunner.NET General questions
J
Jan K. van Dalen author

1st App converting to 10 and can't get pass this ... any ideas?
Server Error in '/' Application.
Value cannot be null.

Parameter name: key

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: System.ArgumentNullException: Value cannot be null.

Parameter name: key
Source Error:
Line 1100: public bool KeyExists(XVar key)

Line 1101: {

Line 1102: InitDictionary();

Line 1103: return InternalDictionary.ContainsKey(key);

Line 1104: }
Source File: c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\XVar.cs Line: 1102
Stack Trace:
[ArgumentNullException: Value cannot be null.

Parameter name: key]

System.Collections.Generic.Dictionary2.FindEntry(TKey key) +13005737
System.Collections.Generic.Dictionary
2.ContainsKey(TKey key) +9

runnerDotNet.XVar.KeyExists(XVar key) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\XVar.cs:1102

CallSite.Target(Closure , CallSite , Object , Object ) +112

System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +450

runnerDotNet.CommonFunctions.GetTableURL(Object _param_table) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\projectsettings.cs:3317

runnerDotNet.RunnerPage..ctor(Object var_params) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\runnerpage.cs:228

runnerDotNet.LoginPage..ctor(Object var_params) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\loginpage.cs:33

runnerDotNet.LoginPage_AD..ctor(Object var_params) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Classes\loginpage_ad.cs:21

runnerDotNet.GlobalController.login() in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\login.cs:113

lambdamethod(Closure , ControllerBase , Object[] ) +62

System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14

System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +182
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters) +27

System.Web.Mvc.<>cDisplayClass15.<InvokeActionMethodWithFilters>b12() +56

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) +256
System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +22
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList
1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +311
System.Web.Mvc.Controller.ExecuteCore() +105
runnerDotNet.BaseController.ExecuteThread(Object arg) in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Controllers\BaseController.cs:45

[AggregateException: One or more errors occurred.]
runnerDotNet.BaseController.ExecuteCore() in c:\Users\jankvand\Documents\ASPRunnerNETProjects\Calls\output\Controllers\BaseController.cs:32
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +88
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +34
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +16
System.Web.Mvc.Async.<>c__DisplayClass8
1.<BeginSynchronous>b__7(IAsyncResult
) +10

System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50

System.Web.Mvc.<>cDisplayClasse.<EndProcessRequest>bd() +28

System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7

System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23

System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59

System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +576

System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3160.0

A
Arkie 8/2/2018

ouch.... are you using the latest update?? Build 31195 issued yesterday. I haven't seen this type of problem.... yet.. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=85572&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

I will say that I did not have any luck doing conversions. I never used boot strap so none of my screens would convert to my desired layouts.
Otherwise, if I start with just the database, my problems are pretty minor, such as:
How to set the widths of the page and/or a column. I have 2 columns, but they only use half of the total page width.

I can't quite figure out the setting for wrapping text in a memo field. Only if I leave the wrap text field blank does the text actually wrap, but I can't determine exactly why. If I make a selection for wrap text, the text doesn't wrap at all... go figure.

I can't figure out why there are selections for items such as text color, font size, italics, etc for both cell and field properties.

I would like to be able to add something like a comma between a city and state in the designer.
Maybe this will give you the confidence to download again, re-install, re-boot or whatever and maybe even try starting from the db, because it does appear to run ok.
hth... Joe

J
jetsguy 8/3/2018



ouch.... are you using the latest update?? Build 31195 issued yesterday. I haven't seen this type of problem.... yet.. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=85577&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

I will say that I did not have any luck doing conversions. I never used boot strap so none of my screens would convert to my desired layouts.
Otherwise, if I start with just the database, my problems are pretty minor, such as:
How to set the widths of the page and/or a column. I have 2 columns, but they only use half of the total page width.

I can't quite figure out the setting for wrapping text in a memo field. Only if I leave the wrap text field blank does the text actually wrap, but I can't determine exactly why. If I make a selection for wrap text, the text doesn't wrap at all... go figure.

I can't figure out why there are selections for items such as text color, font size, italics, etc for both cell and field properties.

I would like to be able to add something like a comma between a city and state in the designer.
Maybe this will give you the confidence to download again, re-install, re-boot or whatever and maybe even try starting from the db, because it does appear to run ok.
hth... Joe


Any chance you're using Active Directory Security? I got this error too when trying to run the application with Active Directory security turned on. If I turned it off and used no login then it ran. Very Strange.

J
Jan K. van Dalen author 8/3/2018

Yes, Using AD Security. Have not tested with the current released.



Any chance you're using Active Directory Security? I got this error too when trying to run the application with Active Directory security turned on. If I turned it off and used no login then it ran. Very Strange.