Lots of people have this query on how to integrating BlogEngine to an existing site. Here is the solution that explains how to integrate blogengine.net into existing site.

– Copy BlogEngine code to a subfolder of your existing site, say it Blogs.

– Make the following changes from you BlogEngine web.config file into your application web.config file,

1 – Find and copy the following code from your BlogEngine web.config file and paste it in your Web Application web.config file under “configSections” tag,

<sectionGroup name="BlogEngine">
 <section name="blogProvider" requirePermission="false" type="BlogEngine.Core.Providers.BlogProviderSection, BlogEngine.Core" allowDefinition="MachineToApplication" restartOnExternalChanges="true" />
</sectionGroup>

2 – Find and copy the following code from your BlogEngine web.config file and paste it in your web application web.config file just after “configSections” tag,

<BlogEngine>
 <blogProvider defaultProvider="DbBlogProvider">
 <providers>
 <add name="XmlBlogProvider" type="BlogEngine.Core.Providers.XmlBlogProvider, BlogEngine.Core"/>
 <add name="DbBlogProvider" type="BlogEngine.Core.Providers.DbBlogProvider, BlogEngine.Core" connectionStringName="BlogEngine"/>
 </providers>
 </blogProvider>
</BlogEngine>

3 – Add the connection string if you have not already have one.

4 – If you don’t already have connection string in your existing web application web.config file, find and copy the following code in your BlogEngine web.config file, and paste it after the “BlogEngine” tag from the above step,

<connectionStrings>
 <clear/>
 <add name="LocalSqlServer" connectionString="dummy"/>
 <!-- Mono complains if LocalSqlServer isn't specified -->
 <add name="BlogEngine" connectionString="Data Source=192.168.0.59;User ID=sa;Password=magnet;persist security info=False;initial catalog=new_BlogEngine;" providerName="System.Data.SqlClient"/>
</connectionStrings>

5 – Find and copy everything within “appSettings” tag from BlogEngine web.config, and paste it within “appSettings” tag in your web application web.config file,

<appSettings>
 <add key="BlogEngine.FileExtension" value=".aspx"/>
 <!-- You can e.g. use "~/blog/" if BlogEngine.NET is not located in the root of the application -->
 <add key="BlogEngine.VirtualPath" value="~/blogs/"/>
 <!-- The regex used to identify mobile devices so a different theme can be shown -->
 <add key="BlogEngine.MobileDevices" value="(nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)"/>
 <!-- The name of the role with administrator permissions -->
 <add key="BlogEngine.AdminRole" value="Administrators"/>
 <!--This value is to provide an alterantive location for storing data.-->
 <add key="StorageLocation" value="~/Blogs/App_Data/"/>
 <!--A comma separated list of script names to hard minify. It's case-sensitive. -->
 <add key="BlogEngine.HardMinify" value="blog.js,widget.js,WebResource.axd"/>
</appSettings>

NOTE: I have copy pasted “appSettings” tag for your reference, you should not include “appSettings” tag and copy everything within it.

NOTE: I have changed the value of “BlogEngine.VirtualPath” to refer to our sub directory rather than the top level directory.

6 – Find and copy everything within “assemblies” tag from your BlogEngine web.config file, and paste it within “assemblies” tag of your web application web.config file.

NOTE: Paste only those tags within “assemblies” tag which do not already exists.

<compilation>
<assemblies>
 <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
 <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
 <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
 <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
 <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>

NOTE: I have copy pasted “assemblies” tag for your reference, you should not include “assemblies” tag and copy everything within it.

7 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file just under “compilation” tag from above point,

NOTE: Paste this code in your web application web.config file only if already does not exists.

<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" uiCulture="auto"/>

8 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file just under “globalization” tag from above point,

NOTE: Paste this code in your web application web.config file only if already does not exists.

<httpRuntime enableVersionHeader="false" useFullyQualifiedRedirectUrl="true" maxRequestLength="16384" executionTimeout="3600" requestLengthDiskThreshold="16384"/>

9 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file just under “httpRuntime” tag from above point,

NOTE: Paste this code in your web application web.config file only if already does not exists.

<machineKey validationKey="D9F7287EFDE8DF4CAFF79011D5308643D8F62AE10CDF30DAB640B7399BF6C57B0269D60A23FBCCC736FC2487ED695512BA95044DE4C58DC02C2BA0C4A266454C" decryptionKey="BDAAF7E00B69BA47B37EEAC328929A06A6647D4C89FED3A7D5C52B12B23680F4" validation="SHA1" decryption="AES"/>

10 – Change the authentication mode in your web application web.config file to “Forms” and find and copy the following line from BlogEngine web.config, and paste it in your web application web.config within “authentication” tag,

NOTE: if you want to use your own form for authentication then change the value of the “loginUrl” attribute of the “form” tag to the login page from your site.

<authentication mode="Forms">
 <forms timeout="129600" name=".AUXBLOGENGINE" protection="All" slidingExpiration="true" loginUrl="~/login.aspx" cookieless="UseCookies"/>
 </authentication>

NOTE: I have copy pasted “authentication” tag for your reference, this tag will already be there in your web application web.config file, so just check the “mode” of authentication and the “loginUrl” value of the form tag.

11 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file

<pages enableSessionState="false" enableViewStateMac="true" enableEventValidation="true">
 <controls>
 <add namespace="Controls" tagPrefix="blog"/>
 </controls>
</pages>

NOTE: Paste this code in your web application web.config file only if already does not exists. If it already exists just copy everything within “controls” tag from you BlogEngine web.config file and paste in within “controls” tag of your web application web.config file.

NOTE: I have copy pasted “pages” and “controls” tags for your reference, you should not include “pages” and “controls” tag if they already exists and copy everything within it. If they don’t exists then copy the entire “page” tag.

12 – Change the custom error mode in your web application web.config file if you want to redirect user to “error page”.

NOTE: if you want to use your own error page change the value of the “mode” attribute of the “customErrors” tag and the value of “redirect” attribute of the “error” tag within it, as per your requirements,

<customErrors mode="RemoteOnly" defaultRedirect="~/error404.aspx">
 <error statusCode="404" redirect="~/error404.aspx"/>
</customErrors>

13 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file just after “customErrors” tag from above point,

NOTE: Paste this code in your web application web.config file only if already does not exists.

<membership defaultProvider="DbMembershipProvider">
 <providers>
 <clear/>
 <add name="XmlMembershipProvider" type="BlogEngine.Core.Providers.XmlMembershipProvider, BlogEngine.Core" description="XML membership provider" passwordFormat="Hashed"/>
 <add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="BlogEngine" applicationName="BlogEngine"/>
 <add name="DbMembershipProvider" type="BlogEngine.Core.Providers.DbMembershipProvider, BlogEngine.Core" passwordFormat="Hashed" connectionStringName="BlogEngine"/>
 </providers>
</membership>
<roleManager defaultProvider="DbRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".BLOGENGINEROLES">
 <providers>
 <clear/>
 <add name="XmlRoleProvider" type="BlogEngine.Core.Providers.XmlRoleProvider, BlogEngine.Core" description="XML role provider"/>
 <add name="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="BlogEngine" applicationName="BlogEngine"/>
 <add name="DbRoleProvider" type="BlogEngine.Core.Providers.DbRoleProvider, BlogEngine.Core" connectionStringName="BlogEngine"/>
 </providers>
</roleManager>

NOTE: if these tags already exists just copy paste the content within “providers” tag and paste it within respective tag.

14 – Find and copy the following line from BlogEngine web.config, and paste it in your web application web.config file just after “roleManager” tag from above point,

NOTE: Paste this code in your web application web.config file only if it does not exists.

<siteMap defaultProvider="PageSiteMap" enabled="true">
 <providers>
 <add name="PageSiteMap" description="The site map provider that reads in the .sitemap XML files." type="BlogEngine.Core.Web.Controls.PageSiteMap, BlogEngine.Core"/>
 <add name="SecuritySiteMap" description="Used for authenticated users." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" securityTrimmingEnabled="true" siteMapFile="Web.sitemap"/>
 </providers>
</siteMap>

NOTE: if these “siteMap” tag already exists just copy paste the content within “providers” tag and paste it within your web application “provider” tag within “siteMap” tag.

15 – Find the “httpModules” tag within “system.web” tag in BlogEngine web.config and copy the content within “httpModules” tag, and paste it in “httpModules” tag within “system.web” tag within your Web Application web.config

<httpModules>
 <add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core"/>
 <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core"/>
 <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core"/>
 <add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule, BlogEngine.Core"/>
 <!--Remove the default ASP.NET modules we don't need-->
 <remove name="PassportAuthentication"/>
 <remove name="Profile"/>
 <remove name="AnonymousIdentification"/>
</httpModules>

NOTE: If any of the “add” tag already exists in “httpModules” tag in your Web Application web.config, do not copy it again. Make sure you only have one copy of each “add” tag within “httpModules”.

16 – Find the “httpHandlers” tag within “system.web” tag in BlogEngine web.config and copy the content within “httpHandlers” tag, and paste it in “httpHandlers” tag within “system.web” tag within your Web Application web.config

<httpHandlers>
 <add verb="*" path="file.axd" type="BlogEngine.Core.Web.HttpHandlers.FileHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="image.axd" type="BlogEngine.Core.Web.HttpHandlers.ImageHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="syndication.axd" type="BlogEngine.Core.Web.HttpHandlers.SyndicationHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="sitemap.axd" type="BlogEngine.Core.Web.HttpHandlers.SiteMap, BlogEngine.Core" validate="false"/>
 <add verb="*" path="trackback.axd" type="BlogEngine.Core.Web.HttpHandlers.TrackbackHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="pingback.axd" type="BlogEngine.Core.Web.HttpHandlers.PingbackHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="opensearch.axd" type="BlogEngine.Core.Web.HttpHandlers.OpenSearchHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="metaweblog.axd" type="BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="rsd.axd" type="BlogEngine.Core.Web.HttpHandlers.RsdHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="css.axd" type="BlogEngine.Core.Web.HttpHandlers.CssHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="js.axd" type="BlogEngine.Core.Web.HttpHandlers.JavaScriptHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="rating.axd" type="BlogEngine.Core.Web.HttpHandlers.RatingHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="opml.axd" type="BlogEngine.Core.Web.HttpHandlers.OpmlHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="blogml.axd" type="BlogEngine.Core.Web.HttpHandlers.BlogMLExportHandler, BlogEngine.Core" validate="false"/>
 <add verb="*" path="sioc.axd" type="BlogEngine.Core.Web.HttpHandlers.Sioc, BlogEngine.Core" validate="false"/>
 <add verb="*" path="apml.axd" type="BlogEngine.Core.Web.HttpHandlers.Apml, BlogEngine.Core" validate="false"/>
 <add verb="*" path="foaf*.axd" type="BlogEngine.Core.Web.HttpHandlers.Foaf, BlogEngine.Core" validate="false"/>
</httpHandlers>

NOTE: If any of the “add” tag already exists in “httpHandlers” tag in your Web Application web.config, do not copy it again. Make sure you only have one copy of each “add” tag within “httpHandlers”.

17 – Find the “modules” tag within “system.webServer” tag in BlogEngine web.config and copy the content within “modules” tag, and paste it in “modules” tag within “system.webServer” tag within your Web Application web.config

<modules>
 <add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core"/>
 <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core"/>
 <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core"/>
 <add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule, BlogEngine.Core"/>
</modules>

NOTE: If any of the “add” tag already exists in “modules” tag in your Web Application web.config, do not copy it again. Make sure you only have one copy of each “add” tag within “modules”.

18 – Find the “handlers” tag within “system.webServer” tag in BlogEngine web.config and copy the content within “handlers” tag, and paste it in “handlers” tag within “system.webServer” tag within your Web Application web.config

<handlers accessPolicy="Read, Write, Script, Execute">
 <add name="FileHandler" verb="*" path="file.axd" type="BlogEngine.Core.Web.HttpHandlers.FileHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="ImageHandler" verb="*" path="image.axd" type="BlogEngine.Core.Web.HttpHandlers.ImageHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Syndication" verb="*" path="syndication.axd" type="BlogEngine.Core.Web.HttpHandlers.SyndicationHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Sitemap" verb="*" path="sitemap.axd" type="BlogEngine.Core.Web.HttpHandlers.SiteMap, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Trackback" verb="*" path="trackback.axd" type="BlogEngine.Core.Web.HttpHandlers.TrackbackHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Pingback" verb="*" path="pingback.axd" type="BlogEngine.Core.Web.HttpHandlers.PingbackHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="OpenSearch" verb="*" path="opensearch.axd" type="BlogEngine.Core.Web.HttpHandlers.OpenSearchHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="MetaWeblog" verb="*" path="metaweblog.axd" type="BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="RSD" verb="*" path="rsd.axd" type="BlogEngine.Core.Web.HttpHandlers.RsdHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="CssHandler" verb="*" path="css.axd" type="BlogEngine.Core.Web.HttpHandlers.CssHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Javascript" path="js.axd" verb="*" type="BlogEngine.Core.Web.HttpHandlers.JavaScriptHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Rating" verb="*" path="rating.axd" type="BlogEngine.Core.Web.HttpHandlers.RatingHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Opml" verb="*" path="opml.axd" type="BlogEngine.Core.Web.HttpHandlers.OpmlHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="BlogML" verb="*" path="blogml.axd" type="BlogEngine.Core.Web.HttpHandlers.BlogMLExportHandler, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="SIOC" verb="*" path="sioc.axd" type="BlogEngine.Core.Web.HttpHandlers.Sioc, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Apml" verb="*" path="apml.axd" type="BlogEngine.Core.Web.HttpHandlers.Apml, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
 <add name="Foaf" verb="*" path="foaf*.axd" type="BlogEngine.Core.Web.HttpHandlers.Foaf, BlogEngine.Core" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode"/>
</handlers>

NOTE: If any of the “add” tag already exists in “handlers” tag in your Web Application web.config, do not copy it again. Make sure you only have one copy of each “add” tag within “handlers”.

19 – Move directories from BlogEngine.Web/App_Code under your Web Application/App_code

20 – Move directories from BlogEngine.Web/App_GlobalResources under your Web Application/App_GlobalResources.

21 – Add reference to BlogEngine.Core.Dll in your application.

Please drop me a comment if you have any doubts or you liked this post.

Hope this helps 🙂

  • MIchael Tucker

    Hi there – I am currently reviewing several blog pacakges to add to a website and don’t want the blog section to be any different thematically than the rest of the site (the user shouldn’t be aware that they are in a 3rd party coded portion of the site)… Can you give a URL where you’ve added BE to an existing site? Is it possible to just display certain core aspects (i.e. Posts, Categories) of BE on an existing aspx page/master page (this is what I’m really aiming for)? Thanks!

    • Ajay Matharu

      You can customize everything in BE. I have changed the design and some part of the coding and integrated that in the site, http://test.communitycanvas.com/blogs, I have given the site look and feel to the blog.

      • Neil F

        Ajay, the load time of the site concerned me. Is there a bandwidth issue on the test site? Or was it just that the pictures were huge? And are the images stored in the DB as well? Sorry for all the questions but performance may be an issue for me.

  • Neil F

    Thanks for this information, I have been looking for something like this! … do you happen to have the steps for copying the files to a web application?

    • Ajay Matharu

      @Neil – you just have to copy those files, what steps you need, just let me know, it will be great to help you.

      • Neil F

        @Ajay – Thank you very much for helping … I ran into a few problems.
        1)
        I’m not quite sure where to copy the folders from the App_Code since there is no app code in a web app. I tried copying it to the /blog/ folder I created and that works fine for most issues except number 2.
        2)
        I copied the web.config line as you instructed above. The problem is my application doesn’t seem to recognize it. The tag prefix is recognized, however the element is not. The designer cannot load the control either and shows an error. I have played around with the namespace using my own which look like myapp.mynamespace.Controls and that does not work either. I can get rid of the error by entering a register at the top of every page with the issue, but I fear this my disrupt the scalability and flexibility of the application so I would like to stick as much as possible to the original code as possible.
        3)
        Just as a note, I had to run a convert to web application on the entire /blog/ folder. The designer files were all missing and it’s much easier than creating each and generating each by hand.

        At the moment I am currently left with 50 or so compile errors that are almost all related to number two. I know I am just doing something very small incorrectly. Again, I appreciate you taking the time to help me with this.

        • Ajay Matharu

          if you don’t have a App_code under your app, copy paste the entire App_code folder. If you still have some issues we can have a chat. mail me your IM id I’ll add you.

          • Neil F

            Thanks for the offer Ajay, I will do that. I think I have it figured out so far. I will keep you updated on my progress.

          • Ajay Matharu

            @Neil – all the best!!!

  • Panneer Selvam

    Ajay

    Your article was very informative. I tried integrating the BlogEngine. I have changed the Web.config and placed the files from BlogEngine AppCode folder to Application AppCode Folder.

    Is there anything i need to do. I m not able to bring up my site after these changes.

    Please help me in solving the issue.

    Thanks
    Panneer Selvam

    • Ajay Matharu

      @Panneer – Can you tell me the issue you are facing? I have helped one of the guys to bring integrate and these were the steps we followed. If you are facing any issues let me know I’ll help you sort that out.

  • Ajay,

    after some other things doen together, the blog seems to work. But i still have a problem. When i try to login as Administrator, the system said “Role Function is not enabled”. How it’s possible ?

    Thanks a lot.

    Regards.

    • Ajay Matharu

      @Riccardo – Just check first what Provider you are using? XML or SQL?
      after that check which role provider has you mentioned in web.config, in “roleManager” tag.
      if you are using XML then provider should be – defaultProvider=”XmlRoleProvider”
      if you are using SQL then provider should be – defaultProvider=”SqlRoleProvider”

      if this is correct, check if you have the following entry in the appSettings in web.config file,

      Let me know if you need any more assistance.

  • Panneer Selvam

    @Ajay, I m running an application, I want to integrate the blog to it. I just copied the Blogengine web folder and renamed it to Blog and did the above mentioned changes to the web.config.
    Is there any thing i missed out. After doing the changes to the web.config. I m not able to bring up the site.

  • Panneer Selvam

    @Ajay, I m getting Configuration error <add name="XmlMembershipProvider" …
    What could be the problem.

    • Ajay Matharu

      @Panneer – are you using XML Provider or SQL if you are using XML provider delete all the tags related to XML provider from Web.Config file or comment that.
      Do take backup of your web.config file before making any further changes. But sometimes XML provider gives error I had the same issue but since I was using SQL Provider I commented all the XML provider related stuff from the web.config file and it worked like a charm. Later I deleted that commented code.

  • Hey Ajay i have perfomed the above steps and i get the first page of my blog for logging in but i get a error
    “Widget Administration not found.”

    The file ‘/production/admin/menu.ascx’ does not exist.X”

    production/blogs is where all the code for Blog is there but it is searching outside the blogs folder for admin/menu.ascx

    • Ajay Matharu

      Just check have you properly mentioned the BlogEngine.VirtualPath in appSettings,

      • Hitman

        Hi Ajay, I’ve done everYthing you posted above, but every reference to a control or masterpage is giving me an error: not found, Although I setted the VirtualPath to ~/Blogs/, the name of the folder that contains the BE code. Did I missed something?

        • @Hitman – What is the error’s you are getting?

          • Hitman

            The file ‘/MyWebSite/admin/Extension Manager/Settings.ascx.cs’ does not exist. C:\MyWebSitePhisicalAddress\Blogs\admin\Extension Manager\Settings.ascx

            This is how VirtualPath is set in my web.config:

          • Hitman

            Ok I solved it, just replaced “~/” by “~/Blogs/” everywhere an error was thrown. I thought that set the VirtualPath in web.config would be enough.

            Anyway thanks for this helpful article and your assistance.

          • @Hitman – Great you got it resolved 🙂

  • Hi Ajay,

    Thanks for a very detailed and informative article!
    I am trying to integrate Blogengine into my application. I have gone through the steps you describe, but now I get a weird problem with my existing application.
    Sometime when I click a link, nothing happens. I click again and the page is loaded. Only happens for some of the pages – but for those it happens all the time. Page_Load is not even run.

    Any idea of what this could be?

    Thanks,
    Thomas

    • Ajay Matharu

      Hi Thomas,

      Can you give me link to those pages?
      And does this happen on only one browser or all the browsers(IE, FF etc)?
      Just try it in firefox and check out the error in error console. You can find it under “Tools -> Error Console”. This might help.

      Just let me know if you need any more assistance.

  • neil

    one question, this looks very detailed and before i run through it all, when you say copy from the webconfig in the BE folder into the webconfig in my root, do i then have to delete the copied lines from the BE webconfig?

    • Ajay Matharu

      @Neil – you have to delete the entire web.config file in BE folder. You’ll just have web.config in the root and you have to remove the web.config in the BE folder.
      NOTE – Do backup everything before deleting the web.config in the BE folder

  • Hi Ajay,

    Thanks for sharing your ideas about BE. Very informative and helpfull.

    I also like the design of your site. Particularly the way you changed the Categories portion to use TreeView and rewriting the url to be the category name itself. I wonder if you can share to us what customization you did to make this happen.

    Thanks in advance and more power!

    • Ajay Matharu

      @Norman – Thanks 🙂 but this is not BE I use WordPress and that category tree is widget and URL rewriting have been changed in .htaccess file. You can also do that in BE using URL rewriting

  • Narashiman

    Hi,

    I am trying to integrate the Blogengine Blog and also the jitbit free forum together.
    And i have tried all the permutations and combinations of integrate of integrating them and am getting the error
    Object refrence not set to and instance of the object.

    As both the Blog and Forum have DLL, both needs Default.aspx
    but i can include only one. Can i change the name of the Default.aspx to blog.aspx for blog and make the blog working without the default.aspx, coz i cannot change the name of the default.aspx of the forum page.
    Its compulsary to use the default.aspx page for jitbit forum.

    Please can u help me what to do .!!
    Waiting for your reply.

    My email id is shiman123@rediffmail.com

    Regards
    Narashiman

    • Ajay Matharu

      @Narashiman – Yes you can customize BE to have its startup page as blog.aspx and not default.aspx. You have to customize your code so that all the reference to Default.aspx is now to Blog.aspx you can find and replace all the occurrences and rename default.aspx page to blog.aspx page. BE is very customizable you’ll love that 🙂 I just love BE.

      Let me know if you need more assistance

  • Shila

    Hi,
    I have integrate blogengine as a subfolder with in my web project.. Now i am facing problem in opening the pages which are added in BE. I want to open those pages added within BE in my project’s home page

    • Ajay Matharu

      you want to open the pages added in BE in your project’s home page? can you elaborate on this? I did not understood this point? can you give me an example? are you going to open this in frames in your home page?

  • Shila

    Hi Ajay,

    Yes.. I want to open the pages added in BE in my projects home page… IN BE after logging in we have widgets right like Page List, Recent Comments and all… In page list the pages added within BE willl appear and when click on that it will open the pages added… The same page list should appear in my projects home page . And clicking on that should open the page added within BE..Means I want the Pagelist to appear for user without logging in to my project.. See in your site http://test.communitycanvas.com/blogs you have Recent Posts know when clicked on it it will show the recent posts added likewise i want the pagelist added within BE to show in the home page of my project but i done want the option to add Pages from here.

    • Ajay Matharu

      Hi Shila,

      If you just want to display the post list on your home page, can’t you just copy the contents from the BE home page to your home page? or you want some customization to be made to that? Can you explain that in detail so that I can give you my thought on how you can do that.

  • Shila

    Hi Ajay,
    Thanx, I am able to display it now on my home page. I have one more Question Can you help me it out. Blog Engine default page uses Standard Site Master page. In that We Will get a tags like and .. How that tag apperas in Site.Master.aspx page.In my case When Blog run as a separate projects i am getting that tags but when integrated within my project i am not getting that tags.. if used it will be showing as unrecognized tags And i have used those tags with runat= server attribute But I am not getting those tag id’s in code.

    • Ajay Matharu

      I dint understood what you said? which tags? do you mean post tags? can you explain that in details.

  • Shila

    oh Sorry i dint mention the tag name.. See below is the one which is in site.master page.. I want to know how the appear as a tag in themes/standard/site.Master page.. I am not getting this tag when integrated with my proj….Whether any Namespace shd be used for this… I have already used but still i am not getting

    Powered by BlogEngine.NET
    Theme by Mads Kristensen

    • Ajay Matharu

      can you give me a link if you have it online? you want to display
      Powered by BlogEngine.NET
      Theme by Mads Kristensen
      on your page? or you want to edit this?

  • Shila

    Powered by BlogEngine.NET
    Theme by Mads Kristensen

  • Hi Ajay,
    Thanks to providing such information to integarte BlogEngine.NET into existing site.
    I have done all steps that you recomended in this Blog.
    I have created manually AppCode folder because my application does not allow to create such a folder, after that in all appcode file or class lose its IntelliSense. Again I have created as it is all classes & pasteted its cotent one by one manually then its IntelliSense is working now.
    When I completed evrething as per your instruction & build my application. I got approx 812 error of cotrol name does not sense or found in my blog application.
    its giving error like
    Errors lists are below
    1. The name ‘btnAdd’ does not exist in the current context
    2. The name ‘grid’ does not exist in the current context
    3. so on
    Thanks a lot

    • Please help me to out this…

      • Ajay Matharu

        have you checked out all the references? this is because the code behind is not properly linked to the aspx file. That’s why its not able to find the controls that exists in the aspx file.

        • Hi Ajay,
          Thanks, OK going check references in code behind.

  • Hi Ajay,
    I’m getting only this error
    ERROR : The type or namespace name ‘ExtensionSettings’ could not be found (are you missing a using directive or an assembly reference?)
    ——————–
    In Web.config
    I have used below code in config file
    ——————-
    [

    ]

    Please gulde me, may be I’m making any minor mistake
    Thanks

  • Hi Ajay,
    web config code error is

    The type or namespace name ‘ExtensionSettings’ could not be found (are you missing a using directive or an assembly reference?)

    Please guide me, may be I’m making any minor mistake
    Thanks

    • Ajay Matharu

      ExtenstionSettings is in ExtensionManager in App_Code have you properly copied all the code files in App_Code? If that file exists this should not give you an error.

      • Hi Ajay,
        Again Thanks for your Instant help. I have done evrything at my level but now only getting error on this “Blogs\default.aspx.cs,
        WebSite\Blogs\post.aspx.cs,
        WebSite\Blogs\widgets\Category list\widget.ascx.cs,
        Blogs\widgets\LinkList\edit.ascx.cs,

        ” only.
        Error are:
        1. The name ‘PostList1’ does not exist in the current context D:\Sempo Institute\Latest Blog Site\WebSite\Blogs\default.aspx.cs
        2. The name ‘divError’ does not exist in the current context D:\Sempo Institute\Latest Blog Site\WebSite\Blogs\default.aspx.cs
        Approx 52 errors
        I know this error comming from user control(BlogEngine.Core.dll) but in this “BlogEngine.Core.dll” I do not thought its having any error.
        Please guide me.
        Thank you.

        • Ajay Matharu

          you must have missed something. Its still page reference issues. just see if it contains multiple copies of the same file. or if you have designer.aspx file just delete it and right click the page and select generate web application file. It will automatically generate the designer file with all your control references.

          • Hi Ajay,
            Thanks for your quick help.

  • Neo

    Hi Ajay,
    What should I do for App_Data folder
    While I’m using SQL not XML DB.
    Plz Suggest me.

    Thank you
    Neo

    • Ajay Matharu

      Hi Neo,

      Even if you use SQL and not XML you need to have App_Data because any file you upload in the post goes in App_Data/files so you need to have it in your project.

      • Neo

        Hi Ajay,
        Thats Great.
        Where I have to keep this ‘App_Data’ folder. In main application or inside Blog folder.

        Thank you
        Neo

        • Ajay Matharu

          You can either have it in the main application or in the blog folder,
          All you have to do is specify where is it in the web.config file like,

          This specifies where is your App_Data folder.

  • Rameswara Chary

    Hi All,

    How to integrate the BE in db driven website. I had DB driven website i want the BE to be integrated into the website. Can u please help me.

    Regards,
    Chary

    • Ajay Matharu

      @Rameswara,

      You can create all the BE DB tables into your database and give the connectionstring of your DB in web.config.
      Let me know if you need any more assistance.

      :Ajay

  • Dennis

    This was a great start for integration. I’ve read a few articles on the web and this one had the most detail (and seemingly the most success). I’m having a problem loading the default page for the blog. It just shows gibberish. I didn’t have anything in my web.config file in the root so I just copied the one from the “blogs” directory and updated. I’m running the website as an application, do I need to run the blog as an application as well? Any help is much appreciated.

    Cheers
    Dennis

    • Ajay Matharu

      @Dennis – Have you followed the instruction in the post to make the appropriate changes in the web.config file of your application? You don’t have to run the blog application. It’s in the same application, just like you have admin in the same application, so no need to run the blog as separate application. Is your application live? If yes can you give me the link to view?

      Let me know if you need any more assistance.

      • Dennis

        Hi Ajay,
        Thanks for your prompt reply. The application isn’t live as I’m in a dev environment. It’s really just a website that uses some features from ASP.NET 2.0 such as masterpages and some components. There wasn’t anything in my web.config file for the application so I just copied the one from blogengine into my root. I made the change at step 5 to update the path. I also had to copy the BlogEngine.Core.dll into my root bin directory in order for my existing pages to work.

        I didn’t run the blog as a separate application and I get the error message “Could not find a part of the path ‘C:\inetpub\wwwroot\testing\website\blog\blog\App_Data\settings.xml’.” I have this in my web.config “” but it seems to be using the current directory and not the root. It works for pages in the root directoy, but not in the blog directory because it’s looking for a blog directory within the blog directory. I’m pretty lost at this point. Thanks for your help!

        Dennis

        • Dennis

          Sorry for the confusion. The second paragraph regarding the error message occurs if I run it as a separate application. When I don’t run it as a separate application then I get the gibberish: ��`I�%&/m�{J�J��t��`$ؐ@�������iG#)�*��eVe]f@�흼��{����{����;�N’���?\fdl��J�ɞ!���?~|?”��Ey�’)=��y6�����h��������y�(��G�d^ϲe��!

          • Dennis

            Hi Ajay,

            I took a step back and figured out that I was making this too complicated. Since I don’t really have an application, this logic doesn’t apply to my scenario. I ran the blog directory as an application without running the root as an application and it seems to run fine. Thanks for your help and guidance.

            Dennis

          • Ajay Matharu

            @Dennis – Good you get that resolved :). All the Best!

  • Ajay
    I’m not a developer and I need an expert with BlogEngine.net to help me get this blog integrated into my aspdotnetstorefront website. You are the expert I’ve been looking for. Are you able to provide hands on development work for my site.
    I hope the answer is YES!!!
    🙂

  • Rameswara Chary

    Hi Ajay,

    I have gone through each and every step which u have given in the post. The thing is i successfully integrated the BE in my application. It is quite gd that it is running. After some days (2 Weeks) server went down and came back, from that day my blog is not working. The pages in the my blog are coming and even though i am able to browse my application pages. Can u help me in solving this issue. I tried everything but not worked. Due to this the site is down till now.

    Regards,
    Chary.

  • Johanna Petersson

    Hi Ajay,
    Thanks for this, it was a great help. But I have one problem, everything in my admin panel broke after I put the blog in a subfolder.

    I checked my Virtual Path in the web.config, but it’s right and the “public” part of the blogg works.

    Can you help me find the problem?

  • Ivan

    Hi Ajay,
    I have gone through each and every step in the post. I get this message:
    Parser Error Message: Unrecognized configuration section BlogEngine.

    Source Error:

    Line 19:
    Line 20:
    Line 21:
    Line 22:
    Line 23:

  • Ajay Matharu

    @Johanna – admin broke, as in, what happen to it?

    @Ivan – this is because you are missing reference to BlogEngine.Core.dll file in your application

  • Ivan

    Hi Ajay,
    my problem is Unrecognized configuration section BlogEngine. I have error in the line where copy code from step 2.
    What’s happened ?
    Thanks

    • @Ivan – that is because you are missing the file reference to the blogengine.core.dll – have you tried removing and adding the reference again?

  • Thanks…..!

  • Hello, what if I want to use the user/role provider provided with the root application instead of the ones provided by BE.

    Many Thanks

    • @Joshua – I am working on It. I ll shorty post on that.

  • this is the error im getting on live site i had followed all the instructions but still its coming on live but it runs fine on localhost..plz help so

    Server Error in ‘/beta/blog’ Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0103: The name ‘ExtensionManager’ does not exist in the current context

    Source Error:

    Line 53: foreach (SortedExtension x in sortedExtensions)
    Line 54: {
    Line 55: if (ExtensionManager.ExtensionEnabled(x.Name))
    Line 56: {
    Line 57: a.CreateInstance(x.Type);

    • @MSunny – Are you still getting the error? This error is because the application is not able to find the “ExtensionManager” class. Check the references that are added correctly.

  • Tor

    Great articles & Nice a site

  • I’d like to ask if someone has looked at this blog success review? people have said good things about the place, but it doesn’t seem to be that well known?

    The person who is doing the review is also offering a blog success bonus that seems fairly decent. Can anyone here tell me if it’s worth it?

    I’d love to make money online from writing a blog – it seems like the right thing to do for my talents…

  • Thanks for this information
    it will be very helpful

  • May

    It is very good piece of the infomation. I have vb.net app. The issue I have is that I can not put the folders under app_code in BE into my exiting site app_code folder since BE uses C#, they can not compile C# and VB at the same time in app_code folder. I am stucked. Do you have any idea or suggestions?

  • I deliberate on the dispatch is gifted and on the point. This enter extraordinarily helped me in my assignment.

  • Umesh Rakhe

    Hi Ajay Matharu
    I have followed all your instruction but now get the following error in few pages i have tried to solve but still no luck if you have any idea please tell me

    “Error 23 The type or namespace name ‘WidgetEditBase’ could not be found (are you missing a using directive or an assembly reference?)”

    Thanking You in advance

  • I like blogengine.net powered by asp.net because this is the free technology that i can create modern website for my personal use or for business use. I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up!

  • blogging with blogengine is great it easy to promote on search engines and it generate traffic in a short period of time.

  • Wilbur

    Hello Ajay,

    Thank you for this excellent post. Before I implement it (reinstall BlogEngine.NET on my site) I have a few things I was wondering about. If you can answer any of them I would really appreciate it!

    I have successfully installed BlogEngine.Net 1.5 (web version) onto my site in the /blog subfolder.

    1) When a list of posts appears on a page such as blog/BlogEngine.Web/category/mycategory.aspx the title of each post gets an tag. I believe this is bad SEO practice, isn’t it? I thought there should be only 1 tag for a page. I would like to simply add the category name as the tag for the entire page, and make the titles of the posts tags. How would I go about doing this?

    2) Are my modifications/customizations restricted b/c I used the web version? I would think that I’d want to use the source code version for customizations, but I read on the BlogEngine documentation: “Source Code: This is the developer option. If you are interested is seeing how things work or want to add to the functionality, this is your option. Note that although you can look at the source with Visual Studio 2005 Express, you can’t rebuild the DLL with it.” I can’t rebuild the dll? Btw I had some luck changing postlist.ascx.cs and postview.ascx files without rebuilding/recompiling anything. And that was using the web version!

    3) For mazimum seo, shouldn’t keywords that appear in the blog entries hyperlink back to pages on the main web site? For example, if my business is about dogs, and I have “dogs” all over the main web site, and I even have a page “dogs.aspx”, shouldn’t my blog entries hyperlink back to the main site’s dogs.aspx page?

    4) Optional question: where would I look in the BlogEngine code to understand how pages are built dynamically? Isn’t there a page handler that fulfills the requests for pages such as BlogEngine.Web/Category/Dogs and BlogEngine.Web/2010/2, etc.?

    Thanks in advance,

    Will

  • This one is very helpful, and integrating blog engine could be a very helpful if you done is successfully then you would definitely made yourself happy.

  • Blog Engine I think the best engine for create a blog. but we can comparation with other CMS.
    thanks.

  • Good brief and this post helped me alot in my college assignement. Gratefulness you as your information.

  • Wow tons of legitimate information mind ifif i quoted but of course direct credit to you?

    thanks

  • scrooge

    i used it and it worked also..but i faced a problem when i was putting code within folder and then trying to use it. kindly reply to my post…

  • Your post is one of the nice posts I have ever read. The conversation itself proved that your article is quite a treasure. Keep on posting more insightful posts.

  • Aaron Edwards

    Is it possible to integrate Blog Engine like you describe, but using Windows Authentication instead of Forms authentication?

    thanks.

  • Joshua

    Hi have followed this and integrated into aspdotnetstorefront but I have one problem, No extensions will list in the extension manager, any ideas what I can try?

    it is urgent, Thanks

  • Hi there and thanks for the post – I have certainly learned something interesting from here. I did however come across a few technical problems with this website, because I had to keep loading the page numerous times before I could get it to load properly. I was wondering if your hosting service is able to cope with the bandwidth? Not that I am complaining, but sluggish loading times times can quite often affect your position in the search engines and can reduce your quality score if advertising with Adwords. Anyhow I’m going to add your RSS feed to my email and will look out for more of your interesting posts. Please update this again soon…

  • This is very educational content and well written for a change. It’s nice to see that some people still understand how to write a quality post!

  • Hi Sir,

    After following all the steps properly. I am getting the following

    Error 16 The type or namespace name ‘WidgetBase’ could not be found (are you missing a using directive or an assembly reference?) C:\Users\Administrator\Desktop\My.Web\BlogEngine.NET\widgets\Page List\widget.ascx.cs 7 48 My.Web
    Similarly 20 errors all under the folder name widgets.

  • poornima

    Hi,
    I want to implement .netblog engine in my application.In my application, in display.aspx page i am dispaling some .xml files with querystring as that xml file name. i want the option for posting a comment on that particular file name using asp.net blog engine.So how to achieve that

  • Will this work for the new BlogEngine 2.0?

    Regards,

    Richard

    • jelly gamat

      i think its work

      obat luka bakar

  • web configuration code error is

    The type or namespace name ‘ExtensionSettings’ could not be found (are you missing a using directive or an assembly reference?)

    Please guide me, may be I’m making any minor mistake

  • Sid

    Hi,

    Great Post. Have followed your instructions for integration of Blog Engine into my Web Application. Well I am running into some problems – When I sign into my app as an Administrator and click on the Blog Button on my landing Page; I get redirected to the Default.aspx whihc is displayed but when I sign in as a LearningAssociate role and click on the Blog Button I get redirected to the Account/Login.aspx page. I am using SqlMembershipProvider and SqlRoleProvider. In my aspnet_Role table I have both these roles defined. What I would like is that all users other than the Adminsitrator can view the blogs; hence no Login Page should be displayed for a Learning Associate. Another issue that I am facing is that after I have copied the files into the /blog directory in the applicaiton root directory and run the applicaiton – it gives me an error that the style folder is unavailable. How do you think I can resolve both these issues. Thanks

  • I must say that this article is really informative and helpful.
    I have followed the instructions, however I am having a compile time error:

    Error 102: The expression prefix ‘Code’ was not recognized. Please correct the prefix or register the prefix in the section of configuration.

    Although I have added reference to BlogEngine.Core.dll, yet I am having this issue.

  • Nice post, i`m looking forward for new ones, keep up the great work.

  • Very informative. Can you help me embedding the same in AdmissionJankari.com. Right now I am using in Iframe. Secondly integrating web config is Ok. But how and what control to use in Blog.aspx.

  • I have made the required changes to the web.config file, but I still get an error from the authentication section.
    It seems to not accept the element placed in it.

  • It is a great post. It is a kind interesting to do so because of the integrating blogengine into an existing site. I will try it later and follows the given program. Thanks for the post! I have learned another one program.

  • Trying to merge BE2.5 into an existing 4.0 website, but having virtual path issue? Any Ideas? I made the change in the App Settings virtualpath to account for the blogs folder but the BE doesn’t seem to recognize the Change?

  • Do you get an error like “Widget {0} not found. The file ‘{1}’ does not exist.X” when you try to browse your uploaded BlogEngine.Net? And do you confuse when you see that the file already exists?!
    Read more at:
    http://www.microsoftamorist.com/post/2011/07/19/Your-host-provider-conflict-with-BlogEngineNet!.aspx

  • Thanks for great info . actually i was also thinking how to integrating BlogEngine to an existing site. Great job you are doing.

  • Thanks for this detailed post on the blogengine. I have to admit I think I may very well be in over my head on this issue. I’ll give it my best shot anyway, thanks again.

  • I would like to express my passion for your kindness in support of persons that require guidance on the subject. Your very own dedication to getting the message around became rather good and has really empowered many people like me to realize their goals. Your own invaluable publication entails a great deal a person like me and additionally to my fellow workers. Best wishes; from each one of us.

  • I have to point out my admiration for your kind-heartedness giving support to individuals who really want guidance on this important concern. Your personal dedication to passing the solution around had become pretty informative and has all the time permitted people like me to realize their dreams. Your new important facts can mean much a person like me and a whole lot more to my office workers. Thanks a ton; from all of us.

  • What is the catch on free mobile apps.

  • Useful information shared..I am very happy to read this article…Thanks for giving us nice info. Fantastic walk-through. I appreciate this post.

  • JFG

    Amazin post, thank you very much!
    I want to use this in a Sitecore web site.  We’ll see….

  •  
    Nice information,
    many thanks to the author. It is incomprehensible to me now, but in general,
    the usefulness and significance is overwhelming. Thanks again and good luck!

  • thanks for this nice information

  • SMAG

    Using aspdotnet storefront in what file do I make reference to BlogEnginge.Core.dll?
    Great info

  • Brij

    I have downloaded Blog engine 2.0 (web) and set in the config file as per steps. I am getting the following error so how to resolve this error “Type ‘admin.Settings.Menu’ already defines a member called ‘Page_Load’ with the same parameter”.

  •  Good thing that there’s a topic like this. Sharing ideas is so great.

  • Nice post, thanks for sharing this wonderful and useful information with us

  • A very cool way to express such a good widget for bloggers. 

  • Binoy

    very good detailing AJ.

  • Richa 2 Sharma

    Hi…
    Great post. Thanks for the guidance.
    I am trying to integrate BlogEngine with MonoX. Made BlogEngine the child project of MonoX and did the changes u mentioned.
    On build I received this error:
    Error 114 Type ‘StandardSite’ already defines a member called ‘Page_Load’ with the same parameter types

    Please HELP !

  • Jluis Estrada

    I have an MVC 3 site and tried to do everything you listed here and having this error 
    Error 27 The namespace ‘Raisr.BE’ already contains a definition for ‘ThemeHelper’
    Error 28 The type ‘Raisr.BE.ThemeHelper’ already contains a definition for ‘PageType’

    does any one knows wha could be happening? Seems like a duplicated code

    • Amazing and interesting meaningful answer to me.
      Regards:
                Social Cubix

  • Tgextern

    Thanks for posting this article.
    I try to integrate BE2.6 in my website.
    I get many errors: “the type or namespace name ‘resources’ could not be found”
    i checked all the 21 steps several times.
    Did anyone have a idear oder a tip for me …
    thanks
    thomas 

  • Cvssandhu

    Hi ,
    i am getting error like ..
    Error 54 The type or namespace name ‘Resources’ could not be found (are you missing a using directive or an assembly reference?) D:Tfs ProjectsParcelHeroWebUIAccountlogin.aspx.cs 10 11 WebUI

    as i have already exist bellow line in my web.config file and dll’s added in bin folder.

    thanks in advance…

    • FarooqAhmad

      did you find any solution? i m facing the same error ….

  • Cvssandhu

    Error 30 The type ‘Widgets.Twitter.Widget’ already contains a definition for ‘Twit’ D:Tfs ProjectsParcelHeroWebUIwidgetsTwitterwidget.ascx.cs 454 24 WebUI
    while it is actualy there in two file with same namespace..

  • nyalati jagadesh babu

    Hi Ajay, I followed all above instructions and I am getting the build error “The type or namespace name ‘Resources’ could not be found (are you missing a using directive or an assembly reference?) “. how do I resolve this. Please advise me on this context

  • kunal

    Hi Mr. Ajay,
    I have developed a website using bolg engine having name DDMA.
    When i host the website with domain name DDMA-KINNAUR it’s giving missing links and photos at some places.
    Please give the solution for this error.

  • jaya kumar

    Copy BlogEngine code to a subfolder of your existing site, say it Blogs. Can you please explain this . [ I have down loaded Blog Engine 2.0 and unzipped. I got aroud 10 folders and some pages. Should I copy all that in the Blogs folder ]

  • jaya kumar

    I am getting this error. The name ‘labels’ does not exist in the current context ABCNewApp_CodeControlsWidgetContainer.cs

  • HelpMeOut

    Thanks. It is very nice and clear way to setup. I have a question for you. After, I move into a new server, my blog function is not working well. Anything related Db such as 1) Add entry 2) Profiles 3) Users are not working. So, I created users and roles using VisualStudio 2010 Web Site Administration Tool. I see users and roles with SqlmembershipProvider but 0 user with DbMembershipProvider. I have many users and their work stored in Db. They can login but cannot make any changes. It let me deleted as “admin.”

  • Name12345

    Tset

  • Sunil

    Hi.
    I followed all steps and getting this error
    “Error 44 It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.”

    Can any one please help me.

    Thanks in Advance.

    • Dan

      You’ve still got the original web.config file in the /blogs folder