By tasosdr - Thu 12 Mar 2015
|
A strange eroor come completely out of the blue throwing a runtime error when trying to access the administration pages.the url is: rira.gr/admin/
When I try to access it it gives (I turned off customerrors to see more details) the attached picture:
It is absolutelly urgent to solve this, is beyond my capabilities, please help. The site is running, is productive and cannot enter new content nore access orders!
|
By Mart - Fri 13 Mar 2015
|
I can't see error, image is too small. What does it say?
Did you make any changes at all before it failed?
|
By tasosdr - Fri 13 Mar 2015
|
No, I didn't make any changes from the last time it worked.It sais:
Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 36: <httpRuntime requestValidationMode="2.0" />Line 37: <browserCaps userAgentCacheKeyLength="256" />Line 38: <trust level="Full" />Line 39: </system.web>Line 40: </location>
|
Source File: C:\Inetpub\vhosts\rira.gr\httpdocs\web.config Line: 38
|
By Mart - Fri 13 Mar 2015
|
I think this is the important bit
"This error can be caused by a virtual directory not being configured as an application in IIS."
Something has changed with the hosting - are you able to make it an application again?
|
By tasosdr - Sat 14 Mar 2015
|
I am on a shared host. That means that I have to aked hostinf provider to done it or is something I can do through plesk interface? If so I would appreciate a walkrhrough if possible.
|
By Paul - Fri 20 Mar 2015
|
Not familiar with plesk, so you'd have to ask the host or contact plesk. In IIS directly, you can just right-click a folder in IIS and 'convert to application'.
|
By tasosdr - Sat 21 Mar 2015
|
OK, I manages to find out how to setup in plesk a virtual directory as an application.I did that for the Admin folder thinking that this would be the correct one. But alas, it's not. After did it it give me the error: Server Error in '/Admin' Application.
Could not load type 'KartrisHttpModule'.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.Web.HttpException: Could not load type 'KartrisHttpModule'.
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:
[HttpException (0x80004005): Could not load type 'KartrisHttpModule'.] System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +9793404 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +38[ConfigurationErrorsException: Could not load type 'KartrisHttpModule'.] System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +348 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) +19 System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +39 System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +42 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +158 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +950 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +82 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296[HttpException (0x80004005): Could not load type 'KartrisHttpModule'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930568 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
Please can you instruct me whitch subdirectory I have to setup in order to have the Admin panel workoing again?
|
By tasosdr - Thu 26 Mar 2015
|
Finally managed to solve the issue.Seems that this problem was collerated with a previous one I had and by solving that occured this one! I am refering to the issue http://forum.kartris.com/Topic2070.aspx about multi-language setting problems. The issue was solved by altering the asp.net culture settings in the host account but the setting has also written the below tag in the web.config file.
Obviously this is something that is wrong for the installation. I have deleted it and changed also the impersonate tag in the web.config to true becouse otherwise could not be able to actually connect to back end (think has something to do with the changed culture settings).
|