String reference no…
 
Notifications
Clear all

[Solved] String reference not set to an instance of a String. Parameter name: s

2 Posts
2 Users
0 Reactions
12.8 K Views
0
Topic starter

So Installed a new instance on a new server this time not editing the settings.xml file manually

?

this is what i get when browsing to http://localhost/admin/settings

?

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: String reference not set to an instance of a String.
Parameter name: s

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:

[ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s]
   System.Text.Encoding.GetBytes(String s) +13774340
   CloudPanel.Bootstrapper.ApplicationStartup(TinyIoCContainer container, IPipelines pipelines) +1457
   Nancy.Bootstrapper.NancyBootstrapperBase`1.Initialise() +824
   Nancy.Hosting.Aspnet.NancyHttpRequestHandler..cctor() +44

[TypeInitializationException: The type initializer for 'Nancy.Hosting.Aspnet.NancyHttpRequestHandler' threw an exception.]
   Nancy.Hosting.Aspnet.NancyHttpRequestHandler..ctor() +0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +138
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1481
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +191
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +82
   System.Web.Configuration.HandlerFactoryCache..ctor(String type) +58
   System.Web.HttpApplication.GetFactory(String type) +104
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +262
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137
KMI Support 2016-11-23 20:59

If you want to do a screen sharing real quick you can email me at jdixon@knowmoreit.com.

1 Answer
0

We did a screen sharing and resolved this didn’t we?

Share: