Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Request is not available in this context

Last post Tue, Jun 29 2010, 11:01 AM by richly. 1 replies.
Sort Posts: Previous Next
  •  Tue, Jun 29 2010, 12:24 AM 11319

    Request is not available in this context

    Hi,
    I get the next error :

    Request is not available in this context

    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: Request is not available in this context

    Source Error:


    Line 13:
    Line 14: // Initialize MetaDataPlus parameters
    Line 15: Mediachase.MetaDataPlus.MetaDataContext.Current.ConnectionString = Mediachase.eCF.BusLayer.Common.Configuration.FrameworkConfig.ConnectionString;
    Line 16:
    Line 17: if (Mediachase.eCF.BusLayer.Common.Configuration.FrameworkConfig.RunService == Mediachase.eCF.BusLayer.Common.Configuration.RunService.BuiltIn)


    Source File: c:\WorkArea\WebProjects\CallPerfumeV3\PublicLayer\PublicStore\Global.asax Line: 15

    Stack Trace:


    [HttpException (0x80004005): Request is not available in this context]
    System.Web.HttpContext.get_Request() +8794400
    Mediachase.eCF.Licensing.StoreLicenseProvider.ValidateLicense(ServerLicense license, String& errorMessage) +180
    Mediachase.eCF.Licensing.ServerLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +192
    Mediachase.eCF.Licensing.StoreLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) +37
    System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +237
    System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) +41
    System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +31
    Mediachase.MetaDataPlus.MetaDataContext..ctor() +66
    Mediachase.MetaDataPlus.MetaDataContext..cctor() +21

    [TypeInitializationException: The type initializer for 'Mediachase.MetaDataPlus.MetaDataContext' threw an exception.]
    Mediachase.MetaDataPlus.MetaDataContext.get_Current() +0
    ASP.global_asax.Application_Start(Object sender, EventArgs e) in c:\WorkArea\WebProjects\CallPerfumeV3\PublicLayer\PublicStore\Global.asax:15

    [HttpException (0x80004005): The type initializer for 'Mediachase.MetaDataPlus.MetaDataContext' threw an exception.]
    System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2721530
    System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128
    System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
    System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295
    System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
    System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231

    [HttpException (0x80004005): The type initializer for 'Mediachase.MetaDataPlus.MetaDataContext' threw an exception.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8897659
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333



    Befor I workd on Windows XP and it worked perfect,but now I went through
    Windows 7 with same solution.
    Why is this happening? And how to avoid it?

    Thanks
  •  Tue, Jun 29 2010, 11:01 AM 11320 in reply to 11319

    Re: Request is not available in this context

    Hello Katzraya,

    Are you running ECF 4.1.2 on a Windows 7 server environment? And the previous installation was on Windows XP server environment?

    On the Windows 7 environment, which version of SQL Server are you using? And I'm assuming you have .NET 3.5 SP1 installed as well.

    If you can, please send over a copy of your solution to support@mediachase.com and we can investigate it further.

    --Richly
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems