nqwebdev1
-
7/31/2012 10:21:43 AM
Unigrid not shown in the toolbox and error: Web Application physical path is not initialized
Hello,
I've got 2 questions: 1) When I install the cms.controls.dll, unigrid is not shown in the toolbox in Visual Studio. I tried looking for unigrid everywhere but couldn't find it. What did I do wrong? I even tried cms.uicontrols.dll but it's not there either.
2) When I want to see the preview in Design mode of my newly created module, I got an error "Error Rendering Control" - "An unhandled exception has occured. [SettingsKeyProvider.WebApplicationPhysicalPath]: Web Application physical path is not initialized. You must call CMSContext.Init() before running any of your actions".
I tried adding Appcode/Global.asax.cs with the following method but it still gives me that error. What did I do wrong?
protected void Application_Start(object sender, EventArgs e) { CMS.VirtualPathHelper.VirtualPathHelper.RegisterVirtualPathProvider(); }
|