Welcome Guest Search | Active Topics | Log In | Register

Object reference not set to an instance of an object - 1.9.3 RC0 - Initialize Database Options · View
itay
#1 Posted : Tuesday, October 07, 2008 5:29:32 AM
Rank: Member


Joined: 10/7/2008
Posts: 13
Hi,

Im trying to install the new 1.9.3 RC0 and when i open http://localhost/Forum/install/default.aspx and click 'Next' Im getting the following error "Object reference not set to an instance of an object"

Any ideas ?

Thanks
midwestSS
#2 Posted : Tuesday, October 07, 2008 6:10:03 AM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
I Thought i was the only one!
i had to back out of the upgrade and restore my prevous installation!


also, is the tagboard included in 1.9.3????
Jaben
#3 Posted : Tuesday, October 07, 2008 6:37:27 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
Cannot reproduce. Can you guys provide a screen shot using the "dev" settings?
"When you are grateful, fear disappears and abundance appears”."

midwestSS
#4 Posted : Tuesday, October 07, 2008 2:27:44 PM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
which settings do you want a shot of?
a shot of a config file? or a shot of the screen where you get the error?
mine is just after i enter the config password, im at the 'attempt to install full text search' screen.
tick box on, or off, i get that error in a pop up.
i used win merge per the install.txt suggestion, merged my old web.config to the new web.config, but i found one error, the last </configuration> line, gets doubled, and you have to remove it, or you get an error in the browser stating there is a duplicate line.
remove it and the install screen comes up fine.. enter in your new config password twice, click next, enter in the next password once, click next, configure full next search, click next.. boom.. " Object reference not set to an instance of an object " error.
midwestSS
#5 Posted : Tuesday, October 07, 2008 5:39:19 PM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
ok here's what the issue is..


<add name="yafnet" connectionString="data source=(local);initial catalog=yafnet;integrated security=SSPI" />

in the db.config file the integrated security is what is messing it up, at least for me.
follow this format
Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;

and it gets further. I get to the screen where you can select to enable full text search, but I getting
"error converting data type nvachar to bit"
I click OK, and continue on.
I then see im going to upgrade my users and data.. , click finish...


"There has been a serious error loading the forum. No further information is available.

Please contact the administrator if this message persists. "

I then have to restore the database.

below is my meged web.config file







<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<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 configSource="db.config"/>
<appSettings configSource="app.config"/>
<rewriter configSource="URLRewriter.config" />

<system.net>
<mailSettings>
<smtp configSource="mail.config"/>
</mailSettings>
</system.net>

<system.web>

<trace enabled="false" />
<xhtmlConformance mode="Transitional" />
<customErrors defaultRedirect="Error.aspx" mode="On"/>

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

<authentication mode="Forms">
<forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
</authentication>

<!-- Set debug to "true" to test out the system in development -->
<compilation defaultLanguage="c#" debug="false">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<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 validateRequest="false" smartNavigation="false">
<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>
<namespaces>
<add namespace="YAF" />
<add namespace="YAF.Classes.UI" />
<add namespace="YAF.Classes.Utils" />
<add namespace="YAF.Controls" />
<add namespace="YAF.Classes.Data" />
</namespaces>
</pages>

<roleManager enabled="true" defaultProvider="YafRoleProvider">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>
</providers>
</roleManager>

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider"/>
</providers>
</membership>
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider"/>
</providers>
</profile>

</system.web>

<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
-->
</scripting>
</system.web.extensions>

<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<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"/>
<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>
Jaben
#6 Posted : Wednesday, October 08, 2008 12:38:43 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
Please turn customErrors off and let me know the exact error message.
"When you are grateful, fear disappears and abundance appears”."

Jaben
#7 Posted : Wednesday, October 08, 2008 2:08:30 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
Thanks, I see the issue. Will do a new release that fixes the problems.
"When you are grateful, fear disappears and abundance appears”."

midwestSS
#8 Posted : Wednesday, October 08, 2008 4:29:23 AM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
ok guys\gals
what I did was this..
1) replace the sql connection line I referenced above
2) installed .net framwork 3.5
3) moved everything into a brand new file folder and ran the install

now its a matter of playing the moving files game again to get it like I had it before
but as of now, my site's back up.. i dig what I see in this release so far.. the one feature i was really hoping for was that tagbox, cuz i do not know how to compile it all
Jaben
#9 Posted : Wednesday, October 08, 2008 4:44:50 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
This issue was fixed in RC2.
"When you are grateful, fear disappears and abundance appears”."

itay
#10 Posted : Friday, October 10, 2008 12:33:28 PM
Rank: Member


Joined: 10/7/2008
Posts: 13
Jaben wrote:
This issue was fixed in RC2.


Where i can download RC2 ?
Thanks
Jaben
#11 Posted : Friday, October 10, 2008 12:49:00 PM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 3,045
Location: Honolulu, HI
http://forum.yetanotherf...e-Two-Dated-1072008.aspx
"When you are grateful, fear disappears and abundance appears”."

itay
#12 Posted : Friday, October 10, 2008 1:47:49 PM
Rank: Member


Joined: 10/7/2008
Posts: 13
Thanks
What is the time frame for RTM ?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.753 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET