목차
Socioboard 3.0
Troubleshooting history of Socioboard 3.0 Open-source
Environments
- Microsoft Visual Studio 2016 Community
- Microsoft IIS Express (bulit in Visual Studio)
- MySQL for Windows
- MongoDB for Windows
- Redis for Windows
DNX451 vs. NET451
- Download grepWin: http://tools.stefankueng.com/grepWin.html
- (case sensitive) replace all like this:
- 'dnx451' to 'net451'
- 'dnxcore50' to 'dotnet5.4'
- 'DNX451' to 'NET451'
- 'DNXCORE50' to 'DOTNET5_4'
System.Web.Script not found
- Right click on 'References' of 'Api.Socioboard' in Project Explorer.
- Add reference 'System.Web.Extension', and click 'OK'.
- Rebuild all.
physicalPath in applicationhost.cfg
- It is similar to f353216ad480aed2611c45cb8d439d9cf40de9e5
SavedFeedsComment not found
- Remove [Project folder]/src/Api.Socioboard/Repositories/SavedFeedsManagementRepository.cs
- Remove [Project folder]/src/Api.Socioboard/Controllers/SavedFeedsManagementController.cs
- See Also: 7ee1091b8feaf86f9f17e70059b084f43a03afa9
Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'SavedFeedsComments' could not be found (are you missing a using directive or an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Controllers\SavedFeedsManagementController.cs 47 Active Error CS0246 The type or namespace name 'SavedFeedsComments' could not be found (are you missing a using directive or an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 30 Active Error CS0234 The type or namespace name 'SavedFeedsComments' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 38 Active Error CS0246 The type or namespace name 'SavedFeedsManagement' could not be found (are you missing a using directive or an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Controllers\SavedFeedsManagementController.cs 40 Active Error CS0246 The type or namespace name 'SavedFeedsManagement' could not be found (are you missing a using directive or an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 14 Active Error CS0234 The type or namespace name 'SavedFeedsManagement' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 78 Active Error CS0234 The type or namespace name 'SavedFeedsManagement' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 21 Active Error CS0234 The type or namespace name 'SavedFeedsManagement' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 83 Active Error CS0234 The type or namespace name 'SavedFeedsManagement' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 85 Active Error CS0234 The type or namespace name 'SavedFeedsManagement' does not exist in the namespace 'Domain.Socioboard.Models.Mongo' (are you missing an assembly reference?) Api.Socioboard C:\Socioboard-Core-3.0\src\Api.Socioboard\Repositories\SavedFeedsManagementRepository.cs 90 Active
fbAccEmail of FacebookPasswordChangeUserDetail
File: NotificationsController.cs, Line 153 Message: fbAccEmail not found var result = mongorepo.Find<Domain.Socioboard.Models.Mongo.FacebookPasswordChangeUserDetail>(t => t.userId == userId && t.status==false && t.fbAccEmail !=null); Modify to var result = mongorepo.Find<Domain.Socioboard.Models.Mongo.FacebookPasswordChangeUserDetail>(t => t.userId == userId && t.status==false);
Invaild Access Token/Access token not found
- Socioboard can not receive 'access token' from Facebook and Google.
- Facebook: 'bio' field is deprecated in Facebook API 2.7 or higher.
- Google: why?
File: FbUser.cs, Line 14-22 Message: Exception thrown: 'Facebook.FacebookOAuthException' in Facebook.dll try { return fb.Get("v2.7/me?fields=id,about,bio,birthday,cover,education,email,gender,hometown,name,work,picture");//v2.6 } catch (Exception ex) { return "Invalid Access Token"; }
Hibernate: Sequence contains no elements
I tried Any() method. ex) if ret.Any → ret.ToList(). If not ret.Any → Null
but, Any() occured 'Out of Index'.
Password checker failure
- Can not manually registration becuase of password checker. Maybe It is misfunction of RegeXP in registration form.