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

Error when using mysql config #5

Closed
scrummie02 opened this issue Oct 15, 2015 · 3 comments
Closed

Error when using mysql config #5

scrummie02 opened this issue Oct 15, 2015 · 3 comments

Comments

@scrummie02
Copy link

Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 6:      var profile = AuthorProfile.GetProfile(name);
Line 7:  
Line 8:      var src = profile.PhotoUrl;
Line 9:      if (string.IsNullOrEmpty(src))
Line 10:     {

Source File: z:\owncloud\MyDocs\Documents\Visual Studio\BlogEngine.NET-master\BlogEngine\BlogEngine.NET\admin\themes\standard\sidebar.cshtml Line: 8
[NullReferenceException: Object reference not set to an instance of an object.]
ASP._Page_admin_themes_standard_sidebar_cshtml.Execute() in z:\owncloud\MyDocs\Documents\Visual Studio\BlogEngine.NET-master\BlogEngine\BlogEngine.NET\admin\themes\standard\sidebar.cshtml:8
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable1 executors) +69 System.Web.WebPages.WebPage.ExecutePageHierarchy() +131 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90 System.Web.WebPages.<>c__DisplayClass3.<RenderPageCore>b__2(TextWriter writer) +233 System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10 System.Web.WebPages.WebPageBase.Write(HelperResult result) +80 ASP._Page_admin_themes_standard_layout_cshtml.Execute() in z:\owncloud\MyDocs\Documents\Visual Studio\BlogEngine.NET-master\BlogEngine\BlogEngine.NET\admin\themes\standard\layout.cshtml:58 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198 System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable1 executors) +69
System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
System.Web.WebPages.<>c__DisplayClass3.b__2(TextWriter writer) +233
System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +63
System.Web.WebPages.WebPageBase.PopContext() +237
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +98
System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116

@rxtur
Copy link
Collaborator

rxtur commented Oct 15, 2015

The MySql config not yet converted to new version, I'll do it in the next few days when have a chance.

@scrummie02
Copy link
Author

Working with Andy on codeplex he found a possible solution. I've also made some changes to the web.config for mysql because it wasn't converted yet. I'll submit the changes.

@rxtur
Copy link
Collaborator

rxtur commented Nov 8, 2015

Config file modified and tested.

@rxtur rxtur closed this as completed Nov 8, 2015
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

2 participants