tel8618217223380 / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

The given key was not present in the dictionary at Dropthings.Business.Facade.Facade.<BootStrap> #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login to dropthings
2. Error will show up

What is the expected output? What do you see instead?

System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at Munq.DI.Container.Resolve(Type type)
   at Munq.DI.Container.Resolve[TType]()
   at Dropthings.Business.Facade.Facade.<BootStrap>b__71(Container r) in C:\Inetpub\wwwroot\GLSi\Dropthings.Business.Facade\Facade.cs:line 148
   at Dropthings.Util.Services.<>c__DisplayClass1`1.<RegisterTypeForLazyGet>b__0() in C:\Inetpub\wwwroot\GLSi\Dropthings.Util\Services.cs:line 56
   at Dropthings.Business.Facade.Facade.Resolve[T](Func`1 resolver) in C:\Inetpub\wwwroot\GLSi\Dropthings.Business.Facade\Facade.cs:line 31
   at Dropthings.Business.Facade.Facade.get_userRepository() in C:\Inetpub\wwwroot\GLSi\Dropthings.Business.Facade\Facade.cs:line 44

What version of the product are you using? On what operating system?
 - Dropthings 2.7.5
 - Windows Server 2008 x64
 - Database server is SQL Server 2008

Please provide any additional information below.
 - Based on what I read, the solution for this is to make sure Global.asax is there and Application_Start is triggered. Based on my testing, that is being triggered. 

Any solution for this?

Original issue reported on code.google.com by robertsu...@gmail.com on 26 Jul 2011 at 10:14

GoogleCodeExporter commented 9 years ago
i have this problem too

Original comment by g.aliakb...@gmail.com on 21 Aug 2011 at 10:08

GoogleCodeExporter commented 9 years ago
i have this problem too
i think maybe the dropthings.util Services.cs has somethings wrong.

Original comment by nbtc...@gmail.com on 4 Sep 2011 at 1:23

GoogleCodeExporter commented 9 years ago
Surprising. I can't think of any reason it not working if Application_Start is 
fired and you have called Facade.Bootstrap() inside Application_Start. Can you 
check again if Facade.Bootstrap() is really fired inside Application_Start?

Also try restarting IIS and see if it works. 

Original comment by omaralzabir@gmail.com on 4 Sep 2011 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by omaralzabir@gmail.com on 1 Nov 2011 at 7:07

GoogleCodeExporter commented 9 years ago
I am having this error again.

Windows XP
SQL Server 2008
IIS 6.0

Original comment by robertsu...@gmail.com on 28 Mar 2012 at 3:03

GoogleCodeExporter commented 9 years ago
I am having this issue too..Any help is highly appreciated..
Facade.Bootstrap() is being fired..Tried IIS restarting 
Using 
* ASP.NET development server
* VS 2008
*Windows XP

Original comment by bans...@gmail.com on 16 Sep 2012 at 4:30