67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-06T15:30:19Z
I have updated my site for .NET 4.0, and we recently updated to DNN 5.6.7. We are using YAF 1.9.1.8 and tried to upload the YAF 1.9.6 module, but we get a Request Timeout error. I tried uploading the module to the instal/modules folder and used the Extensions/Instal Available Extensions, which failed. I downloaded YAF_DNN_1.96.0-RC1.zip package, and it looks correct, though it is almost 10MB!

I do not have an exacutiontimeout line in my web.config, and when I tried to add:

<httpRuntime maxRequestLength="1048576" executionTimeout="800" />

to the <system> section, the website crashes. Any ideas?
Sponsor
Dr-Hack
2012-02-06T18:33:05Z
I had a similar issue  .. what you can do is manually Move the new files , generally its pretty much to copy all the new files you get of YAF but the important part is where i was also making mistake is to delete all the dlls of yaf from Bin folder (those starting with YAF.*.dll) and then copy the yaf folders..


I have it like this may be placing it exactly here will help you ?

  <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>
    </authentication>

    <!-- allow large file uploads -->
    <httpRuntime requestValidationMode="2.0" useFullyQualifiedRedirectUrl="true" maxRequestLength="168960" executionTimeout="1200" requestLengthDiskThreshold="143920" />
    <httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />
    <!--  GLOBALIZATION
		
		-->

67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-09T00:41:18Z
Well, I tried, just keep breaking my website. I will deal with it later.
tha_watcha
2012-02-09T03:16:18Z
Originally Posted by: 67RSSS 

Well, I tried, just keep breaking my website. Maybe it just isn't worth the hassle.


Did you still get the timeout exception?
UserPostedImage
Zero2Cool
2012-02-09T11:42:16Z
    <!-- allow large file uploads -->
    <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="28192" executionTimeout="6000" requestLengthDiskThreshold="18192" requestValidationMode="2.0" />
    


I had something similar awhile back and this configuration in the web.config resolved the issue.
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-13T19:20:32Z
I do get the timeout error. Here is what I have in my web.config file:

<!-- allow large file uploads -->
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2097151" requestLengthDiskThreshold="25819200" requestValidationMode="2.0" />
<httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />

These values are HUGE, and still not enough. I have tried to extract the zip and copy files (kinda blindly, but tried anyway) and all it does is break the site. We are using DNN 4.9.5. I will try to install the module and grab a screenshot of the error message.
_____________________________________________________________
Edit, just noticed I don't have the executionTimeout value in mine, going to try that.
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-13T20:13:18Z
Well, getting further. Added that line, but still not getting a full install. Here is the Installation Report:
___________________________________________________________________________
Package Installer


Package Installation Report

See below for the results of the package installation

Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - YetAnotherForumDotNet
Info Starting Installation - Module
Info Module registered successfully - YetAnotherForumDotNet
Info Component installed successfully - Module
Info Starting Installation - Assembly
Info Assembly already registered - bin\AjaxControlToolkit.dll
Info Assembly already registered - bin\Autofac.dll
Info Creating backup of previous version - bin\Autofac.dll
Info Created - bin\Autofac.dll
Info Assembly already registered - bin\CookComputing.XmlRpcV2.dll
Info Creating backup of previous version - bin\CookComputing.XmlRpcV2.dll
Info Created - bin\CookComputing.XmlRpcV2.dll
Info Assembly already registered - bin\Intelligencia.UrlRewriter.dll
Info Creating backup of previous version - bin\Intelligencia.UrlRewriter.dll
Info Created - bin\Intelligencia.UrlRewriter.dll
Info Assembly already registered - bin\Moq.dll
Info Creating backup of previous version - bin\Moq.dll
Info Created - bin\Moq.dll
Info Assembly already registered - bin\nStuff.UpdateControls.dll
Info Creating backup of previous version - bin\nStuff.UpdateControls.dll
Info Created - bin\nStuff.UpdateControls.dll
Info Assembly already registered - bin\YAF.Classes.Config.dll
Info Creating backup of previous version - bin\YAF.Classes.Config.dll
Info Created - bin\YAF.Classes.Config.dll
Info Assembly already registered - bin\YAF.Classes.Data.dll
Info Creating backup of previous version - bin\YAF.Classes.Data.dll
Info Created - bin\YAF.Classes.Data.dll
Info Assembly already registered - bin\YAF.Controls.dll
Info Creating backup of previous version - bin\YAF.Controls.dll
Info Created - bin\YAF.Controls.dll
Info Assembly already registered - bin\YAF.Core.dll
Info Creating backup of previous version - bin\YAF.Core.dll
Info Created - bin\YAF.Core.dll
Info Assembly already registered - bin\YAF.dll
Info Creating backup of previous version - bin\YAF.dll
Info Created - bin\YAF.dll
Info Assembly already registered - bin\YAF.DotNetNuke.Module.dll
Info Creating backup of previous version - bin\YAF.DotNetNuke.Module.dll
Info Created - bin\YAF.DotNetNuke.Module.dll
Info Assembly already registered - bin\YAF.Providers.dll
Info Creating backup of previous version - bin\YAF.Providers.dll
Info Created - bin\YAF.Providers.dll
Info Assembly already registered - bin\YAF.Types.dll
Info Creating backup of previous version - bin\YAF.Types.dll
Info Created - bin\YAF.Types.dll
Info Assembly already registered - bin\YAF.Utils.dll
Info Creating backup of previous version - bin\YAF.Utils.dll
Info Created - bin\YAF.Utils.dll
Info Assembly already registered - bin\FarsiLibrary.dll
Info Creating backup of previous version - bin\FarsiLibrary.dll
Info Created - bin\FarsiLibrary.dll
Info Component installed successfully - Assembly
Info Starting Installation - Cleanup
Info Creating backup of previous version - bin\yaf_dnn.dll
Info Deleted - bin\yaf_dnn.dll
Info Component installed successfully - Cleanup
Info Starting Installation - Cleanup
Info Component installed successfully - Cleanup
Info Starting Installation - Cleanup
Info Creating backup of previous version - bin\AjaxPro.2.dll
Info Deleted - bin\AjaxPro.2.dll
Info Component installed successfully - Cleanup
Info Starting Installation - File
Info Creating backup of previous version - UrlRewriter.config
Info Created - UrlRewriter.config
Info Component installed successfully - File
Info Starting Installation - Config
Info Creating backup of previous version - web.config
Failure ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode) at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.XmlMerge.UpdateConfig(XmlDocument target) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.Install()
Failure Installation Failed - Config

Info Rolling back component install - Module
Info Component rolled back successfully - Module
Info Rolling back component install - Assembly
Info Assembly in use by another package - bin\AjaxControlToolkit.dll
Info Restored backup of previous version - bin\Autofac.dll
Info Restored backup of previous version - bin\CookComputing.XmlRpcV2.dll
Info Restored backup of previous version - bin\Intelligencia.UrlRewriter.dll
Info Restored backup of previous version - bin\Moq.dll
Info Restored backup of previous version - bin\nStuff.UpdateControls.dll
Info Restored backup of previous version - bin\YAF.Classes.Config.dll
Info Restored backup of previous version - bin\YAF.Classes.Data.dll
Info Restored backup of previous version - bin\YAF.Controls.dll
Info Restored backup of previous version - bin\YAF.Core.dll
Info Restored backup of previous version - bin\YAF.dll
Info Restored backup of previous version - bin\YAF.DotNetNuke.Module.dll
Info Restored backup of previous version - bin\YAF.Providers.dll
Info Restored backup of previous version - bin\YAF.Types.dll
Info Restored backup of previous version - bin\YAF.Utils.dll
Info Restored backup of previous version - bin\FarsiLibrary.dll
Info Component rolled back successfully - Assembly
Info Rolling back component install - Cleanup
Info Restored backup of previous version - bin\yaf_dnn.dll
Info Component rolled back successfully - Cleanup
Info Rolling back component install - Cleanup
Info Component rolled back successfully - Cleanup
Info Rolling back component install - Cleanup
Info Restored backup of previous version - bin\AjaxPro.2.dll
Info Component rolled back successfully - Cleanup
Info Rolling back component install - File
Info Restored backup of previous version - UrlRewriter.config
Info Component rolled back successfully - File
Info Installation Failed - YetAnotherForumDotNet
Info Starting Installation - YAF.WhatsNew
Info Starting Installation - Module
Info Module registered successfully - YAF.WhatsNew
Info Component installed successfully - Module
Info Starting Installation - File
Info Creating backup of previous version - YafDnnWhatsNewSettings.ascx
Info Created - YafDnnWhatsNewSettings.ascx
Info Creating backup of previous version - YafDnnWhatsNew.ascx
Info Created - YafDnnWhatsNew.ascx
Info Component installed successfully - File
Info Starting Installation - ResourceFile
Info Expanding Resource file
Info Creating backup of previous version - module.css
Info Created - module.css
Info Creating backup of previous version - App_LocalResources\YafDnnWhatsNew.ascx.de-DE.resx
Info Created - App_LocalResources/YafDnnWhatsNew.ascx.de-DE.resx
Info Creating backup of previous version - App_LocalResources\YafDnnWhatsNew.ascx.resx
Info Created - App_LocalResources/YafDnnWhatsNew.ascx.resx
Info Creating backup of previous version - App_LocalResources\YafDnnWhatsNewSettings.ascx.de-DE.resx
Info Created - App_LocalResources/YafDnnWhatsNewSettings.ascx.de-DE.resx
Info Creating backup of previous version - App_LocalResources\YafDnnWhatsNewSettings.ascx.resx
Info Created - App_LocalResources/YafDnnWhatsNewSettings.ascx.resx
Info Resource Files created
Info Component installed successfully - ResourceFile
Failure Package Installation aborted
Info Installation Failed - YAF.WhatsNew
Info Deleted temporary install folder
EndJob Installation Failed

Return



tha_watcha
2012-02-14T00:27:27Z
The Part of the Installer that updates the Web.config doesn't work in all situations. The only way to solve this is you manually edit the web.config and add the entries. Or you post your web.config, if possible and i can take a look which xml node is missing
UserPostedImage
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-14T04:03:44Z
Here you go! PART1, too many characters I guess....
__________________________________________________________________________
Didn't need part 1....
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-14T04:04:50Z
and PART2:
_____________________________________________________________________________
<!-- allow large file uploads -->
    <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2097151" requestLengthDiskThreshold="25819200" executionTimeout="6000" requestValidationMode="2.0" />
    <httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />
    <!--  GLOBALIZATION
		This section sets the globalization settings of the application. 
		Utf-8 is not supported on Netscape 4.x 
		If you need netscape compatiblity leave iso-8859-1.
		UTF-8 is recommended for complex languages
		-->
    <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
    <!--<globalization culture="en-US" uiCulture="en"  fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
    <!-- page level options -->
    <pages validateRequest="false" enableViewStateMac="true" enableEventValidation="true">
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </controls>
      <namespaces>
        <add namespace="System.ComponentModel" />
        <add namespace="System.Data" />
        <add namespace="System.Data.SqlClient" />
        <add namespace="System.Drawing" />
        <add namespace="Microsoft.VisualBasic" />
        <add namespace="System.Globalization" />
        <add namespace="DotNetNuke.Services.Localization" />
        <add namespace="DotNetNuke.Entities.Users" />
        <add namespace="DotNetNuke" />
        <add namespace="DotNetNuke.Common" />
        <add namespace="DotNetNuke.Data" />
        <add namespace="DotNetNuke.Framework" />
        <add namespace="DotNetNuke.Modules" />
        <add namespace="DotNetNuke.Security" />
        <add namespace="DotNetNuke.Services" />
        <add namespace="DotNetNuke.UI" />
        <add namespace="DotNetNuke.Entities.Portals" />
        <add namespace="DotNetNuke.Common.Utilities" />
        <add namespace="DotNetNuke.Services.Exceptions" />
        <add namespace="DotNetNuke.Entities.Tabs" />
      </namespaces>
    </pages>
    <!-- ASP.NET 2 Membership/Profile/Role and AnonymousAuthentication Providers -->
    <!-- anonymousIdentification configuration:
          enabled="[true|false]"                              Feature is enabled ?
          cookieName=".ASPXANONYMOUS"                         Cookie Name
          cookieTimeout="525600"                              Cookie Timeout in minutes
          cookiePath="/"                                      Cookie Path
          cookieRequireSSL="[true|false]"                     Set Secure bit in Cookie
          cookieSlidingExpiration="[true|false]"              Reissue expiring cookies?
          cookieProtection="[None|Validation|Encryption|All]" How to protect cookies from being read/tampered
          domain="[domain]"                                   Enables output of the "domain" cookie attribute set to the specified value
        -->
    <anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="525600" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />
    <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear />
        <!-- Configuration for DNNSQLMembershipProvider:
              connectionStringName="string"               Name corresponding to the entry in <connectionStrings> section where the connection string for the provider is specified
              passwordAttemptThreshold="int"              The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account
              passwordAttemptWindow="int"                 The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked
              enablePasswordRetrieval="[true|false]"      Should the provider support password retrievals
              enablePasswordReset="[true|false]"          Should the provider support password resets
              requiresQuestionAndAnswer="[true|false]"    Should the provider require Q & A
			        minRequiredPasswordLength="int"		          The minimum password length
			        minRequiredNonalphanumericCharacters="int"  The minimum number of non-alphanumeric characters
              applicationName="string"                    Optional string to identity the application: defaults to Application Metabase path
              requiresUniqueEmail="[true|false]"          Should the provider require a unique email to be specified
              passwordFormat="[Clear|Hashed|Encrypted]"   Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)
              description="string"                        Description of what the provider does
        -->
        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />
      </providers>
    </membership>
  </system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" />
      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <!--Upgraded by .NET 4.0 Upgrade version 5.6.7 - Date: 2/5/2012 10:40:31 PM-->
        <!--<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <!--Upgraded by .NET 4.0 Upgrade version 5.6.7 - Date: 2/5/2012 10:40:31 PM-->
        <!--<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
        <!--Upgraded by DotNetNuke.Telerik.Web version 5.4.0 - Date: 2/3/2012 7:19:37 AM-->
        <!--<bindingRedirect oldVersion="2007.1.1.20-2011.4.2000.20" newVersion="2009.3.1104.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 5.5.0 - Date: 2/3/2012 7:50:52 AM-->
        <!--<bindingRedirect oldVersion="208.0.0.0-2020.0.0.0" newVersion="2010.2.713.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <!--Upgraded by DotNetNuke.Telerik.Web version 6.0.0 - Date: 2/3/2012 8:00:08 AM-->
        <!--<bindingRedirect oldVersion="208.0.0.0-2020.0.0.0" newVersion="2011.1.519.35" xmlns="urn:schemas-microsoft-com:asm.v1" />-->
        <bindingRedirect oldVersion="2008.0.0.0-2020.0.0.0" newVersion="2011.1.519.35" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <dotnetnuke>
    <htmlEditor defaultProvider="CKHtmlEditorProvider">
      <providers>
        <clear />
        <add name="FckHtmlEditorProvider" type="DotNetNuke.HtmlEditor.FckHtmlEditorProvider.FckHtmlEditorProvider, DotNetNuke.FckHtmlEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Fck/" CustomConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfig.js" EnhancedSecurityDefault="false" SecureConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfigSecure.js" ImageGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" ImageUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" ImageAllowedFileTypes="gif,png,bmp,jpg" FlashGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" FlashUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" FlashAllowedFileTypes="fla,swf" LinksGalleryPath="~/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx" DynamicStylesGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKStyles.aspx" DynamicStylesCaseSensitive="true" DynamicStylesGeneratorFilter="controlpanel|filemanager|mainmenu|wizard" StaticStylesFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/fckstyles.xml" StylesDefaultMode="dynamic" DynamicCSSGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKCSS.aspx" StaticCSSFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/css/fck_editorarea.css" CSSDefaultMode="dynamic" spellCheck="ieSpell" AvailableToolbarSkins="Office2003,Silver" DefaultToolbarSkin="Office2003" AvailableToolBarSets="DNNDefault,Default,NoGallery,Basic" DefaultToolbarSet="DNNDefault" DefaultImageGallerySkin="Default" DefaultFlashGallerySkin="Default" DefaultLinksGallerySkin="Default" FCKDebugMode="false" UseFCKSource="false" OptionsOpenMode="ShowModalDialog" CustomOptionsDialog="Admin" ShowModuleType="true" FixOldDNNPostback="false" />
        <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.6.1 - Date: 2/3/2012 7:19:52 AM-->
        <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
        <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.6.3 - Date: 2/3/2012 8:00:22 AM-->
        <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
        <add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />
        <add name="CKHtmlEditorProvider" type="WatchersNET.CKEditor.CKHtmlEditorProvider, WatchersNET.CKEditor" providerPath="~/Providers/HtmlEditorProviders/CKEditor/" ck_skin="black" ck_toolbar="Full" ck_browser="standard" />
      </providers>
    </htmlEditor>
    <navigationControl defaultProvider="SolpartMenuNavigationProvider">
      <providers>
        <clear />
        <add name="DNNDropDownNavigationProvider" type="DotNetNuke.NavigationControl.DNNDropDownNavigationProvider, DotNetNuke.DNNDropDownNavigationProvider" providerPath="~\Providers\NavigationProviders\DNNDropDownNavigationProvider\" />
        <add name="ASP2MenuNavigationProvider" type="DotNetNuke.NavigationControl.ASP2MenuNavigationProvider, DotNetNuke.ASP2MenuNavigationProvider" providerPath="~\Providers\NavigationProviders\ASP2MenuNavigationProvider\" />
        <add name="DNNMenuNavigationProvider" type="DotNetNuke.NavigationControl.DNNMenuNavigationProvider, DotNetNuke.DNNMenuNavigationProvider" providerPath="~\Providers\NavigationProviders\DNNMenuNavigationProvider\" />
        <add name="DNNTreeNavigationProvider" type="DotNetNuke.NavigationControl.DNNTreeNavigationProvider, DotNetNuke.DNNTreeNavigationProvider" providerPath="~\Providers\NavigationProviders\DNNTreeNavigationProvider\" />
        <add name="SolpartMenuNavigationProvider" type="DotNetNuke.NavigationControl.SolpartMenuNavigationProvider, DotNetNuke.SolpartMenuNavigationProvider" providerPath="~\Providers\NavigationProviders\SolpartMenuNavigationProvider\" />
      </providers>
    </navigationControl>
    <searchIndex defaultProvider="ModuleIndexProvider">
      <providers>
        <clear />
        <add name="ModuleIndexProvider" type="DotNetNuke.Services.Search.ModuleIndexer, DotNetNuke.Search.Index" providerPath="~\Providers\SearchProviders\ModuleIndexer\" />
      </providers>
    </searchIndex>
    <searchDataStore defaultProvider="SearchDataStoreProvider">
      <providers>
        <clear />
        <add name="SearchDataStoreProvider" type="DotNetNuke.Services.Search.SearchDataStore, DotNetNuke.Search.DataStore" providerPath="~\Providers\SearchProviders\SearchDataStore\" />
      </providers>
    </searchDataStore>
    <data defaultProvider="SqlDataProvider">
      <providers>
        <clear />
        <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dbo" />
      </providers>
    </data>
    <logging defaultProvider="DBLoggingProvider">
      <providers>
        <clear />
        <add name="XMLLoggingProvider" type="DotNetNuke.Services.Log.EventLog.XMLLoggingProvider, DotNetNuke.XMLLoggingProvider" configfilename="LogConfig.xml.resources" providerPath="~\Providers\LoggingProviders\XMLLoggingProvider\" />
        <add name="DBLoggingProvider" type="DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider, DotNetNuke.Provider.DBLoggingProvider" providerPath="~\Providers\LoggingProviders\DBLoggingProvider\" />
      </providers>
    </logging>
    <scheduling defaultProvider="DNNScheduler">
      <providers>
        <clear />
        <add name="DNNScheduler" type="DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler, DotNetNuke.DNNScheduler" providerPath="~\Providers\SchedulingProviders\DNNScheduler\" debug="false" maxThreads="1" />
      </providers>
    </scheduling>
    <friendlyUrl defaultProvider="DNNFriendlyUrl">
      <providers>
        <clear />
        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" />
      </providers>
    </friendlyUrl>
    <caching defaultProvider="FileBasedCachingProvider">
      <providers>
        <clear />
        <add name="BroadcastPollingCachingProvider" type="DotNetNuke.Services.Cache.BroadcastPollingCachingProvider.BPCachingProvider, DotNetNuke.Caching.BroadcastPollingCachingProvider" providerPath="~\Providers\CachingProviders\BroadcastPollingCachingProvider\" />
        <add name="FileBasedCachingProvider" type="DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider" providerPath="~\Providers\CachingProviders\FileBasedCachingProvider\" />
      </providers>
    </caching>
    <authentication defaultProvider="ADSIAuthenticationProvider">
      <providers>
        <clear />
        <add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory" providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />
      </providers>
    </authentication>
    <members defaultProvider="AspNetMembershipProvider">
      <providers>
        <clear />
        <add name="AspNetMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke.Provider.AspNetProvider" providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\" />
      </providers>
    </members>
    <roles defaultProvider="DNNRoleProvider">
      <providers>
        <clear />
        <add name="DNNRoleProvider" type="DotNetNuke.Security.Membership.DNNRoleProvider, DotNetNuke.Provider.DNNProvider" providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\" />
      </providers>
    </roles>
    <profiles defaultProvider="DNNProfileProvider">
      <providers>
        <clear />
        <add name="DNNProfileProvider" type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider" providerPath="~\Providers\MembershipProviders\DNNProfileProvider\" />
      </providers>
    </profiles>
    <permissions defaultProvider="CorePermissionProvider">
      <providers>
        <clear />
        <add name="CorePermissionProvider" type="DotNetNuke.Security.Permissions.CorePermissionProvider, DotNetNuke.Provider.CorePermissionProvider" providerPath="~\Providers\PermissionProviders\CorePermissionProvider\" />
      </providers>
    </permissions>
    <moduleCaching defaultProvider="FileModuleCachingProvider">
      <providers>
        <clear />
        <add name="FileModuleCachingProvider" type="DotNetNuke.Services.ModuleCache.FileProvider, DotNetNuke.Provider.ModuleCaching.FileProvider" providerPath="~\Providers\ModuleCachingProviders\FileModuleCachingProvider\" />
        <add name="MemoryModuleCachingProvider" type="DotNetNuke.Services.ModuleCache.MemoryProvider, DotNetNuke.Provider.ModuleCaching.MemoryProvider" providerPath="~\Providers\ModuleCachingProviders\MemoryModuleCachingProvider\" />
      </providers>
    </moduleCaching>
    <outputCaching defaultProvider="FileOutputCachingProvider">
      <providers>
        <clear />
      </providers>
    </outputCaching>
    <sitemap defaultProvider="coreSitemapProvider">
      <providers>
        <clear />
        <add name="coreSitemapProvider" type="DotNetNuke.SitemapProviders.CoreSitemapProvider, DotNetNuke.SitemapProviders.CoreSitemapProvider" providerPath="~\Providers\MembershipProviders\Sitemap\CoreSitemapProvider\" />
        <add name="DNNEventsSitemapProvider" type="DotNetNuke.Modules.Events.Providers.SiteMap, DotNetNuke.Modules.Events" providerPath="~\DesktopModules\Events\Components\" />
      </providers>
    </sitemap>
  </dotnetnuke>
  <system.webServer>
    <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" />
      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Analytics" type="DotNetNuke.HttpModules.Analytics.AnalyticsModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
</configuration>
        

tha_watcha
2012-02-14T11:18:59Z
The only node that is missing is the handlers node

<system.webServer>
    <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" />
      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Analytics" type="DotNetNuke.HttpModules.Analytics.AnalyticsModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
</configuration>


add the handler

<system.webServer>
    <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" />
      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="Analytics" type="DotNetNuke.HttpModules.Analytics.AnalyticsModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
    </modules>



   <handlers />



    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
</configuration>

UserPostedImage
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-14T15:35:29Z
Okay, getting close!. I can now get a few steps into the setup wizard. It asked about attempting to add full search, and then this:
_____________________________________________________________________________________________

Server Error in '/' Application.
FILE:
mssql/tables.sql

ERROR:
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'PMLimit' cannot be added to non-empty table 'yaf_Group' because it does not satisfy these conditions.

STATEMENT:
if not exists (select top 1 1 from syscolumns where id=object_id(N'[dbo].[yaf_Group]') and name=N'PMLimit')
begin
alter table [dbo].[yaf_Group] add PMLimit int not null
end
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: FILE:
mssql/tables.sql

ERROR:
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'PMLimit' cannot be added to non-empty table 'yaf_Group' because it does not satisfy these conditions.

STATEMENT:
if not exists (select top 1 1 from syscolumns where id=object_id(N'[dbo].[yaf_Group]') and name=N'PMLimit')
begin
alter table [dbo].[yaf_Group] add PMLimit int not null
end

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Exception: FILE:
mssql/tables.sql

ERROR:
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'PMLimit' cannot be added to non-empty table 'yaf_Group' because it does not satisfy these conditions.

STATEMENT:
if not exists (select top 1 1 from syscolumns where id=object_id(N'[dbo].[yaf_Group]') and name=N'PMLimit')
begin
alter table [dbo].[yaf_Group] add PMLimit int not null
end]
YAF.Classes.Data.LegacyDb.system_initialize_executescripts(String script, String scriptFile, Boolean useTransactions) +617
YAF.Install._default.ExecuteScript(String scriptFile, Boolean useTransactions) +289
YAF.Install._default.UpgradeDatabase(Boolean fullText) +77
YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) +1283
System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +115
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +413
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-14T18:11:26Z
I think the error is telling me that there is already a table called yaf_Group with a PMLimit column and that this column should not have data in it. SInce it does, it won't write over it. If this is true, does anyone have a scropt that I can run to verify/clear this problem. I am sure you guys already know that I am not a programmer by any stretch of the imagination.

Oh, and the forum on the site is now broken because of this. Bummer....
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2012-02-14T22:25:49Z
Originally Posted by: 67RSSS 

I think the error is telling me that there is already a table called yaf_Group with a PMLimit column and that this column should not have data in it. SInce it does, it won't write over it. If this is true, does anyone have a scropt that I can run to verify/clear this problem. I am sure you guys already know that I am not a programmer by any stretch of the imagination.

Oh, and the forum on the site is now broken because of this. Bummer....



Replace the code in your trace with:

if not exists (select top 1 1 from syscolumns where id=object_id(N'[{databaseOwner}].[{objectQualifier}Group]') and name=N'PMLimit')
begin
alter table [{databaseOwner}].[{objectQualifier}Group] add PMLimit int not null constraint [DF_{objectQualifier}Group_PMLimit] default (0)
end
GO
67RSSS
  •  67RSSS
  • 100% (Exalted)
  • YAF Commander Topic Starter
2012-02-14T22:54:23Z
You sir, are a genius! That worked. Thanks to everyone for all their help!

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved