RUNTIME ERROR WHEN TRYING TO CONNECT TO ADMIN

Posted By tasosdr Thu 12 Mar 2015
Add to Favorites0
Author Message
tasosdr
 Posted Thu 12 Mar 2015
Supreme Being

Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)

Group: Forum Members
Last Active: Thu 16 Jun 2022
Posts: 38, Visits: 198
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:

http://forum.kartris.com/Uploads/Images/22c69630-b47a-4778-9f9c-37da.jpg

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!
Mart
 Posted Fri 13 Mar 2015
Top Banana

Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
I can't see error, image is too small. What does it say?

Did you make any changes at all before it failed?
tasosdr
 Posted Fri 13 Mar 2015
Supreme Being

Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)

Group: Forum Members
Last Active: Thu 16 Jun 2022
Posts: 38, Visits: 198
No, I didn't make any changes from the last time it worked.It sais:

Configuration Error

Description: 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
Mart
 Posted Fri 13 Mar 2015
Top Banana

Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)Top Banana - (98,479 reputation)

Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148, Visits: 3,450
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?
Fri 13 Mar 2015 by Mart
tasosdr
 Posted Sat 14 Mar 2015
Supreme Being

Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)

Group: Forum Members
Last Active: Thu 16 Jun 2022
Posts: 38, Visits: 198
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.
Paul
 Posted Fri 20 Mar 2015
große Käse

große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)große Käse - (523,768 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
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'.

--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
tasosdr
 Posted Sat 21 Mar 2015
Supreme Being

Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)

Group: Forum Members
Last Active: Thu 16 Jun 2022
Posts: 38, Visits: 198
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?
tasosdr Marked As Answer
 Posted Thu 26 Mar 2015
Supreme Being

Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)Supreme Being - (25,389 reputation)

Group: Forum Members
Last Active: Thu 16 Jun 2022
Posts: 38, Visits: 198
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.

 <trust level="Full" />


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).


Thu 26 Mar 2015 by tasosdr

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top