Installation errors

Posted By John_S Thu 12 Feb 2015
Add to Favorites1
Author Message
John_S
 Posted Thu 12 Feb 2015
Supreme Being

Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)

Group: Forum Members
Last Active: Fri 13 Feb 2015
Posts: 4, Visits: 6

I have installed Kartris on my Windows 7 PC along with IIS 7.5, following the instructions in the user guide for manual install on IIS 7.5. When I navigated to localhost/mysite I received this error.

Runtime Error

Description: An exception occurred while processing your request.Additionally, another exception occurred while executing the custom error pagefor the first exception. The request has been terminated.

I changed web.config customErrors to <customErrors mode="RemoteOnly"/> to get more details, and now localhost/mysite gives this error. What can I do to correct this?

Could not load type 'System.ServiceModel.Activation.HttpModule'from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089'.

Description:An unhandled exception occurredduring the execution of the current web request. Please review the stack tracefor more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Could not load type'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel,Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

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:

[TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]

System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0

System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +153

System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +63

System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +124

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +76

[ConfigurationErrorsException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +12786736

System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +69

System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +66

System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +300

System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1262

System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +133

System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304

System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404

System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]

System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NETVersion:4.0.30319.34237

John_S Marked As Answer
 Posted Fri 13 Feb 2015
Supreme Being

Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)Supreme Being - (2,200 reputation)

Group: Forum Members
Last Active: Fri 13 Feb 2015
Posts: 4, Visits: 6
For some reason the connection string in IIS was not setup - it had server as SERVERNAME, database as DATABASENAME, etc. I corrected that and now it appears to be working. Thank you to all who helped.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top