Issue loading HGLab in UltiDev WebExplorer

Joe's Avatar

Joe

08 Nov, 2012 06:27 PM

I created an ASP web project under UltiDev Web Server Pro, extracted files, and altered the connection string to point to a HGLab database.

When first browsing to the URL, I get the following Exception/Stack:

[HibernateException: No session bound to the current context] NHibernate.Context.CurrentSessionContext.CurrentSession() +75 NHibernate.Impl.SessionFactoryImpl.GetCurrentSession() +20 HgLab.Core.Framework.Persistence.ActiveRecordBase.get_Session() in d:\Projects\hglab\src\HgLab.Core\Framework\Persistence\ActiveRecordBase.cs:22 HgLab.Core.ObjectModel.Setting.GetSetting(String module, String property) in d:\Projects\hglab\src\HgLab.Core\ObjectModel\Setting.cs:35 HgLab.Core.ApplicationServices.Impl.SettingsRegistryService.GetSetting(String module, String property, String defaultValue) in d:\Projects\hglab\src\HgLab.Core\ApplicationServices\Impl\SettingsRegistryService.cs:34 HgLab.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\Projects\hglab\src\HgLab\Web\HgLabControllerBase.cs:40

I have other MVC/ASP.net 4.0 projects hosted and working fine under UltiDev ..

Is HGLab open source? It's specfied as being so here: http://mercurial.selenic.com/wiki/PublishingRepositories
yet I cannot find your source anywhere, and the bitbucket repository seems locked.

  1. Support Staff 1 Posted by Anton Gogolev on 09 Nov, 2012 07:19 AM

    Anton Gogolev's Avatar

    Hello Joe!

    First off, I decided to withdraw HgLab source code from public access. Wiki page is now updated accordingly.

    Now onto UltiDev. If it's anything like original Cassini, it requires Web.config modifications:

    <system.web>
      <httpModules>
        <add name="Middleware" 
             type="octalforty.Structural.MiddlewareModule, octalforty.Structural" />      
      </httpModules>
    </system.web>
    

    This, however, is not something I'll be supporting in the nearest future (if at all). IIS is the way to go.

  2. Anton Gogolev closed this discussion on 12 Nov, 2012 11:05 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM

 

18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM