Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My Application not starting after I added "base.Application_Start(sender, e, application);" #1

Open
ashikmhussain opened this issue Apr 16, 2018 · 0 comments

Comments

@ashikmhussain
Copy link

ashikmhussain commented Apr 16, 2018

I have installed all the necessary sensenet packages and followed all steps in the read me file, still my application doesn't start or no exception is returned. It simply went infinite loading without returning the console back to the next line after base.Application_Start(sender, e, application);

Below is my code for global.asax

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace SensenetDemoApplication
{
    public class MvcApplication : SenseNet.Portal.SenseNetGlobal
    {
        protected override void Application_Start(object sender, EventArgs e, HttpApplication application)
        {
            base.Application_Start(sender, e, application);

            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant