Welcome Guest! To enable all features please Login or Register.
4 Pages<1234>
Options
View
Go to last post Go to first unread
Offline johnnynine  
#16 Posted : Wednesday, December 9, 2009 4:54:20 PM(UTC)
johnnynine

Rank: Member

Reputation:

Joined: 4/8/2009(UTC)
Posts: 10

Ok I upgraded again and this time it did populate the membership tables but I still get the following handled error:

Quote:
Failure
There's been a system error processing your request. Please contact the forum admin explaining what you were doing when it happened.
Continue...


This error does not show up as a normal asp.net error so changing the web.config customError element has no effect. It shows up under the heading of "Forum » Failure".

I looked in the Window Event Viewer and found the following:

Quote:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 12/9/2009 8:42:53 PM
Event time (UTC): 12/10/2009 3:42:53 AM
Event ID: 2ea568bd73304fc0a43d3900370e65f1
Event sequence: 3
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/4/ROOT/forum-5-129018901732301111
Trust level: Full
Application Virtual Path: /forum
Application Path: C:\Inetpub\c\forum\
Machine name: MACHINE1

Process information:
Process ID: 2032
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Inetpub\c\forum\App_Code\YAF\Modules\PageLogoHandlerModule.cs(59): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)

Request information:
Request URL: http://c.com/forum/Defau...ic&pg=topics&f=8
Request path: /forum/Default.aspx
User host address: ...
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)


Custom event details:


FOLLOW UP: OK this looks like a compile error and since the error is on "var" which is a c# 3.x keyword I would guess that IIS is not set up to use the cs 3.x when compiling? I found the compilers section in the web.config and it specifies a compiler version of v3.5 so I assume that is set correctly and since other people get the release to work I assume the source code is correct. Any ideas?

FOLLOW UP 2: I modified the PageLogoHandlerModule.cs file and changed the two "var" keywords to the method return types and I no longer see the error in the event log, but I still get the Failure error listed at the top of this message. Is there any way to find out what specifically failed?

Edited by user Wednesday, December 9, 2009 5:58:39 PM(UTC)  | Reason: Not specified

Offline johnnynine  
#17 Posted : Wednesday, December 9, 2009 6:24:18 PM(UTC)
johnnynine

Rank: Member

Reputation:

Joined: 4/8/2009(UTC)
Posts: 10

In addition to the above issue, when I try to create a new user I get the following error:



Quote:
[SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_yaf_CheckEmail_yaf_User". The conflict occurred in database "Forum", table "dbo.yaf_User", column 'UserID'.
The statement has been terminated.]

Line 321:
Line 322: // save verification record...
Line 323: DB.checkemail_save(userID, hash, user.Email);
Line 324:
Line 325: var verifyEmail = new YafTemplateEmail("VERIFYEMAIL"Wink;


System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1948826
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844747
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
YAF.Classes.Data.YafDBAccess.ExecuteNonQuery(SqlCommand cmd, Boolean transaction) +138
YAF.Classes.Data.DB.checkemail_save(Object userID, Object hash, Object email) +160
YAF.Pages.register.CreateUserWizard1_CreatedUser(Object sender, EventArgs e) in c:\Inetpub\c\forum\pages\register.ascx.cs:323
System.Web.UI.WebControls.CreateUserWizard.OnCreatedUser(EventArgs e) +111
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +354
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +102
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +418
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +161
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) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
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) +1565



UPDATE: I restored version 1.9.1.6 and then upgraded to v1.9.3 and it works fine, but I never got v1.9.4 to work right.

Edited by user Wednesday, December 9, 2009 8:23:26 PM(UTC)  | Reason: Not specified

Offline midwestSS  
#18 Posted : Thursday, December 10, 2009 4:28:08 AM(UTC)
midwestSS


Rank: YAF MVP

Reputation:

Medals: Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.

Joined: 8/16/2008(UTC)
Posts: 357

Thanks: 6 times
Was thanked: 10 time(s) in 9 post(s)
i might be an idiot,but is there a doc to read of "whats new in RC1" ?
Offline Jaben  
#19 Posted : Thursday, December 10, 2009 7:21:35 AM(UTC)
Jaben


Rank: YAF Developer

Reputation:

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 2,549
Location: United States

Thanks: 142 times
Was thanked: 358 time(s) in 199 post(s)
johnnynine wrote:
Ok I upgraded again and this time it did populate the membership tables but I still get the following handled error:

Quote:
Failure
There's been a system error processing your request. Please contact the forum admin explaining what you were doing when it happened.
Continue...


This error does not show up as a normal asp.net error so changing the web.config customError element has no effect. It shows up under the heading of "Forum » Failure".

I looked in the Window Event Viewer and found the following:

Quote:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 12/9/2009 8:42:53 PM
Event time (UTC): 12/10/2009 3:42:53 AM
Event ID: 2ea568bd73304fc0a43d3900370e65f1
Event sequence: 3
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/4/ROOT/forum-5-129018901732301111
Trust level: Full
Application Virtual Path: /forum
Application Path: C:\Inetpub\c\forum\
Machine name: MACHINE1

Process information:
Process ID: 2032
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Inetpub\c\forum\App_Code\YAF\Modules\PageLogoHandlerModule.cs(59): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)

Request information:
Request URL: http://c.com/forum/Defau...ic&pg=topics&f=8
Request path: /forum/Default.aspx
User host address: ...
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)


Custom event details:


FOLLOW UP: OK this looks like a compile error and since the error is on "var" which is a c# 3.x keyword I would guess that IIS is not set up to use the cs 3.x when compiling? I found the compilers section in the web.config and it specifies a compiler version of v3.5 so I assume that is set correctly and since other people get the release to work I assume the source code is correct. Any ideas?

FOLLOW UP 2: I modified the PageLogoHandlerModule.cs file and changed the two "var" keywords to the method return types and I no longer see the error in the event log, but I still get the Failure error listed at the top of this message. Is there any way to find out what specifically failed?

Your host is not .NET v3.5. Please contact them... don't bother trying to covert YAF code to .NET v2.0.

v1.9.3 is .NET v2.0.
Offline Jaben  
#20 Posted : Thursday, December 10, 2009 7:22:06 AM(UTC)
Jaben


Rank: YAF Developer

Reputation:

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 2,549
Location: United States

Thanks: 142 times
Was thanked: 358 time(s) in 199 post(s)
midwestSS wrote:
i might be an idiot,but is there a doc to read of "whats new in RC1" ?

Don't have one right now... It's a lot of work to put together, honestly. Maybe someone else can do it? Everything is in the SVN log.
Offline johnnynine  
#21 Posted : Thursday, December 10, 2009 8:06:31 AM(UTC)
johnnynine

Rank: Member

Reputation:

Joined: 4/8/2009(UTC)
Posts: 10

Jaben wrote:
Your host is not .NET v3.5. Please contact them... don't bother trying to covert YAF code to .NET v2.0.

v1.9.3 is .NET v2.0.


I personally installed .Net 3.5 SP1 on the server and verified that it is installed. It must be something else?
Offline johnnynine  
#22 Posted : Thursday, December 10, 2009 8:09:48 AM(UTC)
johnnynine

Rank: Member

Reputation:

Joined: 4/8/2009(UTC)
Posts: 10

Jaben wrote:
midwestSS wrote:
i might be an idiot,but is there a doc to read of "whats new in RC1" ?

Don't have one right now... It's a lot of work to put together, honestly. Maybe someone else can do it? Everything is in the SVN log.


I've had this same question about previous releases.

A short major new features list would be very helpful. The list could exclude any bug fixes or minor changes.

Johnny
Offline Hydra  
#23 Posted : Thursday, December 10, 2009 8:56:27 AM(UTC)
Hydra


Rank: YAF Camper

Reputation:

Joined: 12/4/2004(UTC)
Posts: 19

Thanks: 2 times
Was thanked: 3 time(s) in 2 post(s)
johnnynine wrote:
Jaben wrote:
Your host is not .NET v3.5. Please contact them... don't bother trying to covert YAF code to .NET v2.0.

v1.9.3 is .NET v2.0.


I personally installed .Net 3.5 SP1 on the server and verified that it is installed. It must be something else?



From IIS Manager, ensure that yaf is not running in the default Application Pool if you have other .NET 2.x applications running.
I just created a new Application Pool named .NET 3.5, which I use for .NET 3.5 apps.
Offline cct  
#24 Posted : Thursday, December 10, 2009 1:28:11 PM(UTC)
cct

Rank: Member

Reputation:

Joined: 9/13/2009(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
Are there any db differences from beta 3, if so, will the RC release upgrade correctly from beta 3?

Edited by user Thursday, December 10, 2009 2:27:07 PM(UTC)  | Reason: revised question

Offline johnnynine  
#25 Posted : Thursday, December 10, 2009 5:33:56 PM(UTC)
johnnynine

Rank: Member

Reputation:

Joined: 4/8/2009(UTC)
Posts: 10

Hydra wrote:
johnnynine wrote:
Jaben wrote:
Your host is not .NET v3.5. Please contact them... don't bother trying to covert YAF code to .NET v2.0.

v1.9.3 is .NET v2.0.


I personally installed .Net 3.5 SP1 on the server and verified that it is installed. It must be something else?



From IIS Manager, ensure that yaf is not running in the default Application Pool if you have other .NET 2.x applications running.
I just created a new Application Pool named .NET 3.5, which I use for .NET 3.5 apps.


Good thinking, as I recall the forum was in the same application pool as a different 2.0 app.

But I decided to just upgrade to v1.9.3 since I don't really know what is new in v1.9.4 and v1.9.3 is working. Smile

Johnny
Offline Kamyar  
#26 Posted : Friday, December 11, 2009 2:06:49 AM(UTC)
Kamyar


Rank: YAF Developer

Reputation:

Medals: Mod Developer Medal of Honor: Wrote a kick-ass Mod and contributed back to the community.Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.

Joined: 7/22/2009(UTC)
Posts: 321

Thanks: 76 times
Was thanked: 58 time(s) in 47 post(s)
Jaben wrote:
I just want to reiterate: I really appreciate the help with YAF from Kamyar and Bbobb on this release. You guys made this release like Christmas with some wonderful additions to YAF!

Thank you Jaben. Actually YAF is like a free programming class for me. Just paying my debts. Wink
If at first you don’t succeed, call it version 1.0
Offline bbobb  
#27 Posted : Friday, December 11, 2009 5:45:00 AM(UTC)
bbobb


Rank: YAF Developer

Reputation:

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for a YAF Database Key Player: Holds the key to YAF database. Bow down!Medal of Honor for the Support King: Given for answering tons of support questions and generally helping the community.Medal of Honor for the Support Knight: Given to a community member who has answered lots of support questions.

Joined: 10/21/2008(UTC)
Posts: 1,558
Man
Russian Federation
Location: Moscow

Thanks: 51 times
Was thanked: 288 time(s) in 254 post(s)
Really, Jaben as always made the bulk of the work for the RCWink.
I'm personally very happy with Kamyar' buddy list. Currently YAF has almost everything what I need as user.



Offline Kamyar  
#28 Posted : Friday, December 11, 2009 8:19:18 AM(UTC)
Kamyar


Rank: YAF Developer

Reputation:

Medals: Mod Developer Medal of Honor: Wrote a kick-ass Mod and contributed back to the community.Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.

Joined: 7/22/2009(UTC)
Posts: 321

Thanks: 76 times
Was thanked: 58 time(s) in 47 post(s)
Jaben wrote:
midwestSS wrote:
i might be an idiot,but is there a doc to read of "whats new in RC1" ?

Don't have one right now... It's a lot of work to put together, honestly. Maybe someone else can do it? Everything is in the SVN log.

I'll be glad to do some part of it. Where should I put the doc? If in YAF wiki, then in what part? And what is the svn build no. for the first build of YAF 1.9.4.
If at first you don’t succeed, call it version 1.0
Offline midwestSS  
#29 Posted : Friday, December 11, 2009 9:40:21 AM(UTC)
midwestSS


Rank: YAF MVP

Reputation:

Medals: Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.

Joined: 8/16/2008(UTC)
Posts: 357

Thanks: 6 times
Was thanked: 10 time(s) in 9 post(s)
bbobb wrote:
Really, Jaben as always made the bulk of the work for the RCWink.
I'm personally very happy with Kamyar' buddy list. Currently YAF has almost everything what I need as user.




AGREED!
The only thing i think i wish I had, was a user photo gallery so users can upload thier own pictures, and you access them by clicking on thier name.
or .. in my case, maybe a 'garage' if you will so they can put up the pics of thier trucks, and maybe a little section for 'notes' or in my case 'stats' on what they have there.
Offline Kamyar  
#30 Posted : Friday, December 11, 2009 9:48:39 AM(UTC)
Kamyar


Rank: YAF Developer

Reputation:

Medals: Mod Developer Medal of Honor: Wrote a kick-ass Mod and contributed back to the community.Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.

Joined: 7/22/2009(UTC)
Posts: 321

Thanks: 76 times
Was thanked: 58 time(s) in 47 post(s)
midwestSS wrote:

The only thing i think i wish I had, was a user photo gallery so users can upload thier own pictures, and you access them by clicking on thier name.

That's EXACTLY what I plan to add to YAF next. Just after going to my 2months mandatory military service.Sad

Edited by user Friday, December 11, 2009 9:51:07 AM(UTC)  | Reason: Not specified

If at first you don’t succeed, call it version 1.0
Rss Feed  Atom Feed
Users browsing this topic
4 Pages<1234>
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.

Notification

Icon
Error