YAFLogo

csource
  • csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-05-28T06:20:34Z
In my development environment, which is vb.net 2.0 using YAF version 1.9.3 Final,

everything worked great. I published the solution but in production, the forum comes up with a configuration error displayed below:

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 'YAF.Classes.Base' or one of its dependencies. The system cannot find the file specified. (D:\production\Websites\coachingsource.com\demo\web.config line 382)

Source Error:

Line 380: <httpModules>

Line 381: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

Line 382: <add name="YafInitModule" type="YAF.Classes.Base.YafInitModule, YAF.Classes.Base"/>

Line 383: <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" />

Line 384: </httpModules>

Source File: D:\production\Websites\demo\web.config Line: 382

Below is my webconfig:

<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<configuration>

<configSections>

<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >

<section name="CSource.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

</sectionGroup>

<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>

<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>

<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>

<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>

</sectionGroup>

</sectionGroup>

</sectionGroup>

<section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" requirePermission="false"/>

</configSections>

<connectionStrings>

<clear/>

<add name="LocalSqlServer" connectionString="data source=192.168.60.5;initial catalog=CSource;Password=sa;User ID=sa;" />

<add name="CSLocalSqlServer" connectionString="data source=192.168.60.5;initial catalog=CommunityServer2007;Password=sa;User ID=sa;" />

<add name="yafnet" connectionString="data source=192.168.60.5;initial catalog=yaf1930;Password=sa;User ID=sa;" />

</connectionStrings>

<!-- application specific settings -->

<appSettings>

<add key="connectString" value="provider=SQLOLEDB; data source=IPCSQL02;initial catalog=CSource;Password=coaching;User ID=dbo_csource;"/>

<add key="CSconnectString" value="provider=SQLOLEDB; data source=192.168.60.5;initial catalog=YAF1930;Password=sa;User ID=sa;"/>

<add key="VideoFileStoreNew" value="\Video\VideoWR\"/>

<add key="ImageFileStoreNew" value="\Images\ImagesWR\"/>

<add key="AudioFileStoreNew" value="\Audio\AudioWR\"/>

<add key="FlashFileStoreNew" value="\Flash\FlashWR\"/>

<add key="ImageFileStore" value="\\Ipcstorage\storage\CSource\Images\ImagesWR\"/>

<add key="AudioFileStore" value="\\Ipcstorage\storage\CSource\Audio\AudioWR\"/>

<add key="VideoFileStore" value="\\Ipcstorage\storage\CSource\Video\VideoWR\"/>

<add key="FlashFileStore" value="\\Ipcstorage\storage\CSource\Flash\FlashWR\"/>

<add key="ArticleFileStore" value="\\Ipcstorage\storage\CSource\Articles\ArticlesWR\"/>

<add key="ArticlesFileStoreNew" value="\Articles\ArticlesWR\"/>

<add key="FileStoreLocation" value="\\Ipcstorage\storage\CSource"/>

<add key="FileStoreDomain" value="INFOPROC"/>

<add key="FileStoreUserID" value="WebAccess_Production"/>

<add key="FileStorePassword" value="3fBuipJqpk"/>

<!--<add key="ArticlesFileStoreNew" value="\Articles\ArticlesWR\"/>

<add key="FileStoreLocation" value="\\Ipcstorage\storage\CSource"/>

<add key="FileStoreDomain" value="IPCDOM05"/>

<add key="FileStoreUserID" value="WebAccess_CSource"/>

<add key="FileStorePassword" value="WebAccess"/>

<add key="RelayServer" value="MAILSERVER"/>-->

<add key="EmailServer" value="localhost"/>

<!--

******************************************************************

** ConfigPassword Key ** Defaults to: Empty (not installed) **

Password to run configuration (/install/default.aspx) for the forum.

If you cannot set write permissions on this file (app.config)

you can manually enter a plain text password here that will

be required when you attempt to run the configuration. Install/config

password is required for security reasons.

-->

<add key="YAF.ConfigPassword" value="admin" />

<!--

******************************************************************

** BoardID Key ** Defaults to: 1 **

You can create as many boards as you want and they will function as seperate

forums (with seperate users). (Admin->Boards to create new boards.)

You can also specify "BoardID" in the forum control:

<YAF:Forum ID="Forum1" runat="server" BoardID="2" />

-->

<add key="YAF.BoardID" value="1" />

<!--

******************************************************************

** EnableURLRewriting Key ** Defaults to: false **

For advanced users who need SEO-quality URLs on their forum. If

you don't know what SEO is, you probably don't need to enable.

-->

<add key="YAF.EnableURLRewriting" value="false" />

<!--

******************************************************************

** databaseObjectQualifier Key ** Defaults to: yaf_ **

For advanced users who want to change the prefix for Yaf DB

structure.

-->

<add key="YAF.DatabaseObjectQualifier" value="yaf_" />

<!--

******************************************************************

** databaseObjectQualifier Key ** Defaults to: yaf_ **

For advanced users who want to the change the default permissions

for the YAF DB structure.

-->

<add key="YAF.DatabaseOwner" value="dbo" />

<!--

******************************************************************

** providerExceptionXML Key ** Defaults to: ProviderExceptions.xml **

The file that the providers pull exception messages from.

-->

<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />

<!--

******************************************************************

** UploadDir Key ** Defaults to: "~/upload/" **

Provide a relative path to the directory where

uploads will go if different from the default. Make sure

there is write permissions to this directory.

-->

<add key="YAF.UploadDir" value="~/coachoffice/Forum/upload/" />

<!--

******************************************************************

** Membership Provider Key Type ** Defaults to: "System.Guid" **

The type that the membership provider expects the ProviderKey

to be. Most providers use expect System.Guid.

Valid values include:

System.Guid (default)

System.String (max 64 character length)

System.Int32

System.Int64

-->

<add key="YAF.ProviderKeyType" value="System.Guid" />

<!--

******************************************************************

** Optional Root Key ** Defaults to: "~/" **

If YAF forum files are not located in the Application Root (~/)

of your web site you need to specify the additional url

in this root key. Example: Application Root is "www.mysite.com/"

You want your forum at "www.mysite.com/forum". You need to specify

"/forum" in your root key below.

PLEASE NOTE:

YAF .dll files (from the \bin directory in the zip) AND ALL files

in the \App_Code directory MUST be located in the Application Root.

-->

<add key="YAF.Root" value="~/coachoffice/forum"/>

<!--

******************************************************************

** Optional Base URL ** Defaults to: "~/" **

If YAF forum URL is different than the Application Root,

you will need to specify the BaseURL here of the forum.

e.g. ~/forumff

If you use the BaseUrlOverrideDomain key, you can also include

the complete URL for the forum even if the domain is different

than the domain the web server registers. (Domain masking)

https://www.myforumdomain.com/forum 

http://www.myforumdomain.net 

-->

<!-- <add key="YAF.BaseUrl" value="~/CoachOffice/forum" /> -->

<!--

******************************************************************

** Optional Base URL Override Domain ** Defaults to: "false" **

Use this key with the BaseURL key above to specify a domain

mask for your YAF forum.

-->

<add key="YAF.BaseUrlOverrideDomain" value="false" />

<!--

******************************************************************

** Optional ShowToolBar ** Defaults to: "true" **

You can hide the toolbar with the optional key below. You may want

to do this if you've incorporated YAF into your existing site and

have your own menu controls for accessing the forum.

-->

<add key="YAF.ShowToolBar" value="false" />

<!-- RadEditor configuration settings-->

<add key="YAF.RadEditorSkin" value="Black"/>

<add key="YAF.UseRadEditorToolsFile" value="true"/>

<add key="YAF.RadEditorToolsFile" value="editors/radEditor/toolsFile.xml" />

<!-- RadEditor configuration settings-->

</appSettings>

<rewriter configSource="URLRewriter.config" />

<system.net>

<mailSettings>

<smtp>

<network host="localhost" port="25" defaultCredentials="true" />

</smtp>

</mailSettings>

</system.net>

<system.web>

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<trace enabled="true" />

<!-- <xhtmlConformance mode="Transitional" /> -->

<!--

<customErrors mode="Off" />

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

-->

<customErrors defaultRedirect="default.aspx" mode="Off">

<error statusCode="401" redirect="default.aspx" />

<error statusCode="500" redirect="default.aspx" />

<error statusCode="404" redirect="default.aspx" />

<error statusCode="403" redirect="default.aspx" />

</customErrors>

<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

Original value

cookieless="AutoDetect"

-->

<authentication mode="Forms">

<forms name=".ASPXAUTH"

loginUrl="~/login.aspx"

protection="All"

timeout="90"

path="/"

requireSSL="false"

slidingExpiration="true"

cookieless="UseCookies">

<credentials passwordFormat="SHA1">

</credentials>

</forms>

<!-- <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/> -->

</authentication>

<membership defaultProvider="MyOwnAspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">

<providers>

<clear/>

<add name="MyOwnAspNetSqlMembershipProvider"

type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

connectionStringName="LocalSqlServer"

requiresQuestionAndAnswer="false"

requiresUniqueEmail="true"

applicationName="/CSource"

enablePasswordRetrieval="true"

enablePasswordReset="true"

passwordFormat="Clear"

maxInvalidPasswordAttempts="5"

minRequiredPasswordLength="3"

minRequiredNonalphanumericCharacters="0"

passwordAttemptWindow="10"

/>

</providers>

</membership>

<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">

<providers>

<clear />

<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>

<add

name="AspNetSqlRoleProvider"

connectionStringName="LocalSqlServer"

type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

applicationName="/CSource"/>

</providers>

</roleManager>

<profile enabled="true" inherits="YAF.Classes.Utils.YafUserProfile" defaultProvider="AspNetSqlProfileProvider" >

<providers>

<clear />

<add name="AspNetSqlProfileProvider"

connectionStringName="LocalSqlServer"

type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

applicationName="/CSource" />

</providers>

<properties>

<add name="FirstName" type="String" />

<add name="LastName" type="String" />

<add name="GenderDef" type="String" />

<add name="BDay" type="String" />

<add name="BMonth" type="String" />

<add name="BYear" type="String" />

<add name="TimeZoneDef" type="String" />

<add name="EmailPref" type="String" />

<add name="EmailEvents" type="String" />

<add name="EmailSponsors" type="String" />

<add name="HideFromKT" type="String" />

<add name="SiteGuide" type="String" />

<add name="SiteCoach" type="String" />

<add name="hGender" type="String" />

<add name="hRealName" type="String" />

<add name="hDOB" type="String" />

<add name="tFavSportsMom" type="String" />

<add name="tFavQuote" type="String" />

<add name="tSportsHero" type="String" />

<add name="tFavTeam" type="String" />

<add name="tJerseyNum" type="String" />

<add name="gFirstTimeIntroQ" type="String" />

<add name="gOverViewQ" type="String" />

<add name="gLessonPlannerQ" type="String" />

<add name="gExerciseQ" type="String" />

<add name="gCoachingPointQ" type="String" />

<add name="gNoteBookQ" type="String" />

<add name="gCreateExerciseQ" type="String" />

<add name="gLessonPlanQ" type="String" />

<add name="gKnowledgeTraderQ" type="String" />

<add name="gFirstTimeIntro" type="String" />

<add name="gOverView" type="String" />

<add name="gLessonPlanner" type="String" />

<add name="gExercise" type="String" />

<add name="gCoachingPoint" type="String" />

<add name="gNoteBook" type="String" />

<add name="gCreateExercise" type="String" />

<add name="gLessonPlan" type="String" />

<add name="gKnowledgeTrader" type="String" />

</properties>

</profile>

<compilation debug="true" strict="false" explicit="true">

<assemblies>

<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</assemblies>

</compilation>

<httpHandlers>

<remove verb="*" path="*.asmx"/>

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

</httpHandlers>

<httpModules>

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add name="YafInitModule" type="YAF.Classes.Base.YafInitModule, YAF.Classes.Base"/>

<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" />

</httpModules>

<pages enableEventValidation="false" smartNavigation="false">

<namespaces>

<clear/>

<add namespace="System"/>

<add namespace="System.Collections"/>

<add namespace="System.Collections.Specialized"/>

<add namespace="System.Configuration"/>

<add namespace="System.Text"/>

<add namespace="System.Text.RegularExpressions"/>

<add namespace="System.Web"/>

<add namespace="System.Web.Caching"/>

<add namespace="System.Web.SessionState"/>

<add namespace="System.Web.Security"/>

<add namespace="System.Web.Profile"/>

<add namespace="System.Web.UI"/>

<add namespace="System.Web.UI.WebControls"/>

<add namespace="System.Web.UI.WebControls.WebParts"/>

<add namespace="System.Web.UI.HtmlControls"/>

<add namespace="YAF" />

<add namespace="YAF.Classes.UI" />

<add namespace="YAF.Classes.Utils" />

<add namespace="YAF.Controls" />

<add namespace="YAF.Classes.Data" />

</namespaces>

<controls>

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>

<!-- Default: use non-dynamic (compiled classes) in YAF -->

<add tagPrefix="YAF" namespace="YAF.Classes.UI" assembly="YAF.Classes.UI" />

<add tagPrefix="YAF" namespace="YAF.Classes.Utils" assembly="YAF.Classes.Utils" />

<add tagPrefix="YAF" namespace="YAF.Classes.Data" assembly="YAF.Classes.Data" />

<add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls" />

<add tagPrefix="YAF" namespace="YAF.Controls.Statistics" assembly="YAF.Controls" />

<!-- Optional: use dynamic classes in YAF by moving all the YAF.x directories (YAF.Classes.*, YAF.Providers)

into the App_Code\YAF directory. Delete the associated .dll files from the \bin directory. Comment out the above

"non-dynamic" namespaces above and enable these:

-->

<!--add tagPrefix="YAF" namespace="YAF.Classes.UI" />

<add tagPrefix="YAF" namespace="YAF.Classes.Utils" />

<add tagPrefix="YAF" namespace="YAF.Classes.Data" />

<add tagPrefix="YAF" namespace="YAF.Controls" />

<add tagPrefix="YAF" namespace="YAF.Controls.Statistics" /-->

<add tagPrefix="YAF" namespace="YAF.Classes" />

<add tagPrefix="YAF" namespace="YAF"/>

<add tagPrefix="editor" namespace="YAF.Editor"/>

</controls>

</pages>

<authorization>

<allow users="*"/>

</authorization>

</system.web>

<applicationSettings>

<CSource.My.MySettings>

<setting name="CSource_ipcwebp03_Service1" serializeAs="String">

<value>http://ipcwebp03/ipcCCGateway/interface.asmx</value>

</setting>

</CSource.My.MySettings>

</applicationSettings>

<system.webServer>

<validation validateIntegratedModeConfiguration="false"/>

<modules>

<remove name="ScriptModule" />

<remove name="YafInitModule" />

<remove name="UrlRewriter" />

<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add name="YafInitModule" type="YAF.Classes.Base.YafInitModule, YAF.Classes.Base"/>

<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" preCondition="managedHandler" />

</modules>

<handlers>

<remove name="WebServiceHandlerFactory-Integrated"/>

<remove name="ScriptHandlerFactory"/>

<remove name="ScriptHandlerFactoryAppServices"/>

<remove name="ScriptResource"/>

<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</handlers>

</system.webServer>

</configuration>

Sponsor
mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
2009-05-28T07:30:11Z
Line 382: <add name="YafInitModule" type="YAF.Classes.Base.YafInitModule, YAF.Classes.Base"/>

So something is wrong with this line. Look for these .dlls, make sure they exist. Compare both environments. That's basically what the error message is telling you and there isn't much more to say about it.

The only advice I can give is take things slow. Take your time, keep backups, and make one change at a time to make sure you don't introduce other issues accidentally.


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 🙂 )