YAFLogo

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Okay I am having this huge problem for 36hours now in regards to installing yetanotherforum on a domain I have. Currently I have 2 webhosting accounts with godaddy and on one them I have 2 installed yetanotherforums working without any problems. Now the other day I buy a domain and some hosting from godaddy specifically to host a blogengine blog and a yetanotherforum on the domain. So I have no problems hosting the blog, but once I try to install yetanotherforum it is not working afterwards.

I am getting this error (godaddy keeps telling me told me to disable the web.config file in the forum folder, which I have done numerous times over and over and still gettning the same error.




Server Error in '/forum' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>


I really need help bad, I have spent the last 36 hours on the phone with 20 or so reps who are having a hard time helping me.

Sponsor
essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago
No joking. Godaddy has me in some viscious loop. It is like this horrible rollercoaster ride! Help me out of this viscious loop please!

:roll: :roll: 😞

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
First thing you want to do is turn off custom errors and see what the actual problem is, like it says to do in that message there.
UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Okay so I would want to edit the web.config file that is in the Forum folder?

This code: (changing mode="RemoteOnly" to mode="no") <-- then reuploading this again?



<?xml version="1.0"?>
<configuration>
	<configSections>
		<section name="yafnet" type="yaf.SectionHandler,yaf"/>
    <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
	</configSections>

	<yafnet configSource="yafnet.config"/>
	<rewriter configSource="urlrewriter.config"/>
 
	<system.web>
    <httpModules>
      <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter" />
    </httpModules>    
		<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
		<compilation defaultLanguage="c#" debug="false"/>
		<pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
		<authentication mode="Forms">
			<forms name=".YAFNET_Authentication" timeout="525600" />
		</authentication>
		<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
		<!--trace enabled="true" pageOutput="true"/-->
		<xhtmlConformance mode="Legacy"/></system.web>
</configuration>

I also have a web.config files in my directory for my blogengine blog, but the web.config file above is from within the Forum folder.

Thanks for the quick reply;

Jesse

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
Change

to


UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Okay I have completed this and here is the new error:




Server Error in '/forum' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'BlogEngine.Core' or one of its dependencies. The system cannot find the file specified. (d:\hosting\newtupac\web.config line 102)

Source Error:

[No relevant source lines]


Source File: d:\hosting\newtupac\web.config    Line: 102

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 

I noticed if I rename my web.config file in main hosting directory that my blog doesnt work but the forum does, but soon as rename it back to web.config the blog starts workign again but not the forum. Keep in mind this is in the main hosting root directory not the web.config file in the Forum folder.

Appreciate the support around here as I am a Newb!

UPDATE- I just checked my other forum that is hosted on my other hosting account with godaddy and it is having same problems. I had two forums on another godaddy hosting account , one is on a domain to itelf which is working fine and another one is on a domain.com/forum and its not working just like the new install of the forum im trying on the new hosting account. So somehow the uploading of the new forum on the new hosting account has made the forum on a whole different hosting plan that was working fine for months show errors now.

P.s - Help me out of the Loop :shock:

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
Sounds like you're missing a BlogEngine.Core.dll in your Bin, but that has nothing to do with YAF.
UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Okay just got off the phone with godaddy again , they told me their is a error in line 102 of the web.config file that was in the root directory from the blogengine install. So I am assuming their is some kind of compatibility issue with blogengine and yetanotherforum being installed in the same hosting account? Keep in mind the blog was going on the domain and forum on the subdomain.

I would really appreciate the help if someone could help me fix line 102 within the web.config file below ( keep in mind I am having problems even finding line 102)



<?xml version="1.0"?>
<configuration>
	<configSections>
		<sectionGroup name="BlogEngine">
			<section name="blogProvider" requirePermission="false" type="BlogEngine.Core.Providers.BlogProviderSection, BlogEngine.Core" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>
		</sectionGroup>
	</configSections>
	<BlogEngine>
		<blogProvider defaultProvider="DbBlogProvider">
			<providers>
				<add name="DbBlogProvider" type="BlogEngine.Core.Providers.DbBlogProvider, BlogEngine.Core" connectionStringName="BlogEngine" />
			</providers>
		</blogProvider>
	</BlogEngine>
	<!-- configSource is not implemented in Mono.
    <connectionStrings configSource="sql.config" />
  -->
	<connectionStrings>
		<clear/>
		<add name="LocalSqlServer" connectionString="dummy"/>
		<!-- Mono complains if LocalSqlServer isn't specified -->
		<add name="BlogEngine" connectionString="Data Source=new0919703073031.db.4665915.hostedresource.com;User ID=new0919703073031;Password=Hitachi888;persist security info=False;initial catalog=new0919703073031;" providerName="System.Data.SqlClient"/>
	</connectionStrings>
  
	<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="~/"/>
		<!-- 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="~/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>
	
  <system.web>
		<compilation debug="true">
			<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>

    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" uiCulture="auto"/>
<!-- Web.Config Configuration File -->

		





<httpRuntime enableVersionHeader="false" useFullyQualifiedRedirectUrl="true" maxRequestLength="16384" executionTimeout="3600" requestLengthDiskThreshold="16384"/>
		<machineKey validationKey="D9F7287EFDE8DF4CAFF79011D5308643D8F62AE10CDF30DAB640B7399BF6C57B0269D60A23FBCCC736FC2487ED695512BA95044DE4C58DC02C2BA0C4A266454C" decryptionKey="BDAAF7E00B69BA47B37EEAC328929A06A6647D4C89FED3A7D5C52B12B23680F4" validation="SHA1" decryption="AES"/>
		
    <authentication mode="Forms">
			<forms timeout="129600" name=".AUXBLOGENGINE" protection="All" slidingExpiration="true" loginUrl="~/login.aspx" cookieless="UseCookies"/>
		</authentication>
		
    <pages enableSessionState="false" enableViewStateMac="true" enableEventValidation="true">
			<controls>
				<add namespace="Controls" tagPrefix="blog"/>
			</controls>
		</pages>
		
    <customErrors mode="On">
			<error statusCode="404" redirect="~/error404.aspx"/>
		</customErrors>
				
    <membership defaultProvider="DbMembershipProvider">
			<providers>
				<clear/>
				<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="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="BlogEngine" applicationName="BlogEngine"/>
				<add name="DbRoleProvider" type="BlogEngine.Core.Providers.DbRoleProvider, BlogEngine.Core" connectionStringName="BlogEngine"/>
			</providers>
		</roleManager>
		
    <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>
    
		<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>
		
    <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>
	</system.web>
</configuration>



Thanks a Bunch

Jesse



mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
Yeah, let me spend MY TIME finding Line 102 because I really want to help you fix your issue with some application has nothing to do with this community.

I swear to god I don't think I can continue to help people any more. It's shooting my blood pressure through the roof and slowly driving me insane. I hope no one approaches me on the street and asks me what to do with an error message that says TURN CUSTOM ERRORS OFF, because I think I'd just knock them out cold.


UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Totally understand man, obviously their is no problem with the forum and the problem lies either in the compatibility or something within blogengine like you stated. I clearly told godaddy support your response to this issue and even gave them the thread link they said that it is a problem with line 102 in the webconfig file from the blogengine upload that is causing compatibility issues with the yetanotherforum install. I have also created a thread on the unofficial blogengine community which seems to be considerable less active. I just thought from your help in the past that you mite be able to help me, any help moving me forward is great even if its showing me how to identify which string is 102 and what the problem is with it. I know html but am far from a programmer.

Thanks for your Time

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
Finding the line number is simple. Just paste into Notepad, make sure WordWrap is off, and then choose View -> GoTo...

It looks like 102 is:

I would make sure all of your BlogEngine.dlls are in your Bin folder.


UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Ok , thanks alot, I have checked my directory and their appears to be only one .dl file and it is already in the bin. I am guessing now I just have to wait on a response from someone familiar with blogengine that knows how to edit that line. Such a frustrating thing when your not a programmer :(

Really appreciatiate your help, I have also no pointed the two blogengine forums to this thread for a reference , really hoping one of these guys steps up and helps.

Thanks;

Jesse

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
Not going to help, mddubs is right. This is an issue with installing BlogEngine (not even a compatibility problem with YAF -- yet).

Just wanted to point out how the title sounds like a pirate... Save me YAF -- ARRR!!!

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
Not going to help, mddubs is right. This is an issue with installing BlogEngine (not even a compatibility problem with YAF -- yet).

Just wanted to point out how the title sounds like a pirate... Save me YAF -- ARRR!!!

essej88
  • essej88
  • 68.6% (Friendly)
  • YAF Lover Topic Starter
15 years ago

Yup , we are pirates from the somalia coast, if you do not help us take care of this problem we seize your ship and steal your oil. Jk, yeah I wish the blogengine forums had fast support like this one, I will be probably waiting a year before I even figure out what to change in line 102 !

ARRRRRRRRRRRRRRRRRRRRR