Welcome Guest Search | Active Topics | Members | Log In | Register

2 Pages12>
** YAF v1.0.1 is Released! **
Jaben Offline
#1 Posted : Monday, February 27, 2006 6:34:13 PM(UTC)

Rank: YAF Head Dude

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 the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
YetAnotherForum.NET Version 1.0.1 (Dated 02/27/2006)

Minor fix release that hopefully makes YAF stable and bug free.

* Fixed issue with evenlog table creation code.
* Fixed issue with avatars not displaying correctly -- image.aspx code.
* Fixed issue with topics being escaped twice in titles.
* Fixed issue where topic titles weren't been run through the bad word filter.
* Minor cosmetic changes.

If you are upgrading from a version prior to v1.0.0 FINAL, you will need to force upgrade the database using the following after installing by visiting this YAF URL: /install/default.aspx?forceupgrade=16

BE SURE TO BACKUP YOUR DATABASE BEFORE ATTEMPTING AN UPGRADE!

After installation and setup it's suggested that you remove or rename your /install/ directory for security reasons.

All files have been updated including the DNN3 module:

BIN: Includes the compiled forum and forum page files without an source. Best if you just need to update your forum.
SRC: Includes the compiled forum and forum page files with full source.
DNN3: Includes the DNN3 module that can be uploaded using the module upload feature.

YAF-v1.0.1-Final-SRC.zip (1208kb)
YAF-v1.0.1-Final-BIN.zip (931kb)
YAF-v1.0.1-Final-DNN3.zip (961kb)
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Mek Offline
#2 Posted : Tuesday, February 28, 2006 4:08:29 AM(UTC)


Rank: YAF Developer

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 the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 7/12/2005(UTC)
Posts: 1,899
Location: on Dock Street

Thanks: 2 times
Was thanked: 9 time(s) in 9 post(s)
Yay and boo at the same time, gonna have to reapply my mods.

Also was anything said about the "Quick reply" addition, looked into doing this myself but could not use the built in editor due to "Object reference" errors?

Can anyone recommend a good method of keeping tracks of the hacks I'm creating other than a word document I'm finding it pretty tedious (please pm so as not to spoil the thread) i.e. some marvelous way of comparing files/versions?


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek 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 Ederon Smile )
Sirusdv Offline
#3 Posted : Tuesday, February 28, 2006 4:16:57 PM(UTC)
Rank: Member

Joined: 11/27/2005(UTC)
Posts: 17
Location: Seattle, Wa

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
You think you have it hard? I port the whole thing to ASP.NET 2.0 THEN mod.. Neutral
Jaben Offline
#4 Posted : Tuesday, February 28, 2006 4:36:08 PM(UTC)

Rank: YAF Head Dude

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 the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
Mek wrote:
Yay and boo at the same time, gonna have to reapply my mods.

Also was anything said about the "Quick reply" addition, looked into doing this myself but could not use the built in editor due to "Object reference" errors?

Can anyone recommend a good method of keeping tracks of the hacks I'm creating other than a word document I'm finding it pretty tedious (please pm so as not to spoil the thread) i.e. some marvelous way of comparing files/versions?

You should look at setting up a CVS server. Then using compare/merge software when new versions come out.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Jaben Offline
#5 Posted : Tuesday, February 28, 2006 5:31:04 PM(UTC)

Rank: YAF Head Dude

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 the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
Sirusdv wrote:
You think you have it hard? I port the whole thing to ASP.NET 2.0 THEN mod.. Neutral

We are starting the .NET 2.0 version of YAF now.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Dr-Hack Offline
#6 Posted : Tuesday, February 28, 2006 8:00:36 PM(UTC)

Rank: YAF Commander

Joined: 12/31/2004(UTC)
Posts: 110
Location: Lahore

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
error again Sad ... i dont know why but it seem to give the error no matter what sort of a roll bak i make :$ .. first I compiled the source of v-1.0.1 but the version is was showin was "1.0.0" .. n it worked on localhost... on remotemachine here i go : (on www i was runnin v-1.0.0 Smile )
Error:
A critical error has occurred.
This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.


DNN Log Says :
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReader.Read
DatabaseVersion: 2.1.2
AssemblyVersion: 2.1.2.30398
PortalID: 0
PortalName: .::Hackology::.
UserID: 116
UserName: Wolverine123
ActiveTabID: 27
ActiveTabName: Forum
AbsoluteURL: /dot/Default.aspx
AbsoluteURLReferrer: http://drhack.net/dot/Default.aspx?tabid=1
ExceptionGUID: 5b60b65f-328d-4406-be06-469dcb27bb36
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
Message: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.
InnerException: System.Xml.XmlException: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47. at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadCurrentNode() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at yaf.Localizer.LoadFile() at yaf.Localizer..ctor(String FileName) at yaf.pages.ForumPage.LoadTranslation() at yaf.pages.ForumPage.GetText(String page, String text) at yaf.pages.forum.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
TargetSite:
StackTrace:
HelpLink:
Source:

this is the working error > http://drhack.net/dot/de...orumdotnet/default.aspx ...
assistance plz again.. I know i know i am a big time trouble, always wit Q's .but when i can understand something i solve it but this is the type which goes over my head
Embarassed
I am NOT A PROGRAMMER and i can be wrong in many places Smile
Click the Image to make a post in my SIG!

Got something to say? post it in my SIG!
filip_cmr Offline
#7 Posted : Tuesday, February 28, 2006 9:21:47 PM(UTC)

Rank: YAF Lover

Joined: 2/12/2006(UTC)
Posts: 45
Location: Romania

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Dr-Hack wrote:
error again Sad ... i dont know why but it seem to give the error no matter what sort of a roll bak i make :$ .. first I compiled the source of v-1.0.1 but the version is was showin was "1.0.0" .. n it worked on localhost... on remotemachine here i go : (on www i was runnin v-1.0.0 Smile )
Error:
A critical error has occurred.
This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.


DNN Log Says :
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReader.Read
DatabaseVersion: 2.1.2
AssemblyVersion: 2.1.2.30398
PortalID: 0
PortalName: .::Hackology::.
UserID: 116
UserName: Wolverine123
ActiveTabID: 27
ActiveTabName: Forum
AbsoluteURL: /dot/Default.aspx
AbsoluteURLReferrer: http://drhack.net/dot/Default.aspx?tabid=1
ExceptionGUID: 5b60b65f-328d-4406-be06-469dcb27bb36
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
Message: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.
InnerException: System.Xml.XmlException: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47. at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadCurrentNode() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at yaf.Localizer.LoadFile() at yaf.Localizer..ctor(String FileName) at yaf.pages.ForumPage.LoadTranslation() at yaf.pages.ForumPage.GetText(String page, String text) at yaf.pages.forum.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
TargetSite:
StackTrace:
HelpLink:
Source:

this is the working error > http://drhack.net/dot/de...orumdotnet/default.aspx ...
assistance plz again.. I know i know i am a big time trouble, always wit Q's .but when i can understand something i solve it but this is the type which goes over my head
Embarassed


Your problem is in yaf.Localizer.LoadFile() and that meens you have broken your language files. Try to check the language file for xml consistency (if you don't have any tools you coud load it into internet explorer). I hope this help, and excuse me for my english.
spardo Offline
#8 Posted : Tuesday, February 28, 2006 10:36:26 PM(UTC)
Rank: YAF Forumling

Joined: 10/3/2005(UTC)
Posts: 1
Location: Atlanta

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I upgraded from v1.0.0 RC4 to v1.0.1. Everything works fine except when I search. Get the following DNN error: A critical error has occured. Object reference not set to an instance of an object.

This is the error from the Log Viewer in DNN v3.2.2

AssemblyVersion: 03.02.02
Method: yaf.pages.search.test
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ACU
UserID: -1
UserName:
ActiveTabID: 129
ActiveTabName: ACU Forum
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.estovir.org/A.../tabid/129/Default.aspx
ExceptionGUID: 5a2463b7-6490-4e48-abf3-a96a494e34de
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at yaf.pages.search.test() at _ASP.search_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at yaf.pages.ForumPage.RenderBody(HtmlTextWriter writer) at yaf.pages.ForumPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Entities.Modules.PortalModuleBase.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: WINHOSTSSL04
Aivar Offline
#9 Posted : Tuesday, February 28, 2006 11:08:53 PM(UTC)
Rank: YAF Forumling

Joined: 2/26/2006(UTC)
Posts: 4
Location: Saint-Petersburg

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello!

Some problems again Smile

After install:
Try to first login (with "Windows" authentication)

and get this error:

Cannot insert the value NULL into column 'RankID', table 'ForumNET.dbo.yaf_User'; column does not allow nulls. INSERT fails. The statement has been terminated.

(in DB.user_register())

I have not found error cause yet


Dr-Hack Offline
#10 Posted : Wednesday, March 01, 2006 12:04:16 AM(UTC)

Rank: YAF Commander

Joined: 12/31/2004(UTC)
Posts: 110
Location: Lahore

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
filip_cmr wrote:
Your problem is in yaf.Localizer.LoadFile() and that meens you have broken your language files. Try to check the language file for xml consistency (if you don't have any tools you coud load it into internet explorer). I hope this help, and excuse me for my english.

Thanks man .. sooo glad for ur help ..it worked Smile
Moral learnt .. : always trust the Authors note about all files updated Wink
@Aivar
Check your Database .. and see if you are missin some default values in those columns.. usually whenever NULL data passes there is some Default vale.. (but this hapeend when i shifted to a hosting from localhost, just a wild guess)

Thanks
I am NOT A PROGRAMMER and i can be wrong in many places Smile
Click the Image to make a post in my SIG!

Got something to say? post it in my SIG!
Aivar Offline
#11 Posted : Wednesday, March 01, 2006 5:21:58 PM(UTC)
Rank: YAF Forumling

Joined: 2/26/2006(UTC)
Posts: 4
Location: Saint-Petersburg

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
what is default value for RankId in yaf_user?
filip_cmr Offline
#12 Posted : Wednesday, March 01, 2006 5:31:57 PM(UTC)

Rank: YAF Lover

Joined: 2/12/2006(UTC)
Posts: 45
Location: Romania

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Aivar wrote:
what is default value for RankId in yaf_user?

If I'm not wronk default must be aquired like this :

select @RankID = RankID from yaf_Rank where (Flags & 1)<>0 and BoardID=@BoardID
try tu run

select RankID from yaf_Rank where (Flags & 1)<>0 and BoardID=@BoardID
and see what you are get. Maybe you are using a wrong (inexistent) BoardId ?.
Jaben Offline
#13 Posted : Wednesday, March 01, 2006 6:11:12 PM(UTC)

Rank: YAF Head Dude

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 the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
Dr-Hack wrote:
error again Sad ... i dont know why but it seem to give the error no matter what sort of a roll bak i make :$ .. first I compiled the source of v-1.0.1 but the version is was showin was "1.0.0" .. n it worked on localhost... on remotemachine here i go : (on www i was runnin v-1.0.0 Smile )
Error:
A critical error has occurred.
This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.


DNN Log Says :
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReader.Read
DatabaseVersion: 2.1.2
AssemblyVersion: 2.1.2.30398
PortalID: 0
PortalName: .::Hackology::.
UserID: 116
UserName: Wolverine123
ActiveTabID: 27
ActiveTabName: Forum
AbsoluteURL: /dot/Default.aspx
AbsoluteURLReferrer: http://drhack.net/dot/Default.aspx?tabid=1
ExceptionGUID: 5b60b65f-328d-4406-be06-469dcb27bb36
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
Message: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47.
InnerException: System.Xml.XmlException: This is an unexpected token. The expected token is 'EndElement'. Line 387, position 47. at System.Xml.XmlTextReader.Read() at System.Xml.XmlValidatingReader.ReadNoCollectTextToken() at System.Xml.XmlValidatingReader.Read() at System.Xml.XmlLoader.LoadCurrentNode() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at yaf.Localizer.LoadFile() at yaf.Localizer..ctor(String FileName) at yaf.pages.ForumPage.LoadTranslation() at yaf.pages.ForumPage.GetText(String page, String text) at yaf.pages.forum.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
TargetSite:
StackTrace:
HelpLink:
Source:

this is the working error > http://drhack.net/dot/de...orumdotnet/default.aspx ...
assistance plz again.. I know i know i am a big time trouble, always wit Q's .but when i can understand something i solve it but this is the type which goes over my head
Embarassed


An easy option is to load your language.xml file into Internet Explorer. It does a good job of validating XML documents.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

deerchao Offline
#14 Posted : Tuesday, March 07, 2006 8:58:15 AM(UTC)

Rank: YAF Lover

Joined: 11/23/2005(UTC)
Posts: 62
Location: BeiJing China

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Yeah, so nice to hear this.
One question, can this version run under .net 2.0?
Unibetter大学生社区
Drag Reducing Agents

Mesages may be with gramar or speling mistakes, but I think you wil understand me :D
WillemV Offline
#15 Posted : Monday, March 13, 2006 5:21:10 AM(UTC)
Rank: YAF Forumling

Joined: 3/13/2006(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)

After building and deploying the source, and running http://localhist/.............../install/default.aspx successfully, I always get the same error for the default page:

Exception Details: System.Data.SqlClient.SqlException: Procedure or function yaf_topic_latest has too many arguments specified.

Source Error:

Line 161: da.SelectCommand = cmd;
Line 162: da.SelectCommand.Connection = conn;
Line 163: da.Fill(ds);
Line 164: return ds.Tables[0];
Line 165: }

Source File: C:\Projects\webapps\...............\classes\DB.cs Line: 163

Stack Trace:

[SqlException (0x80131904): Procedure or function yaf_topic_latest has too many arguments specified.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857418
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735030
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
System.Data.SqlClient.SqlDataReader.get_MetaData() +62
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +86
yaf.DB.GetData(SqlCommand cmd) in C:\Projects\webapps\...............\classes\DB.cs:163
yaf.DB.topic_latest(Object boardID, Object numOfPostsToRetrieve, Object userID) in C:\Projects\webapps\...............\classes\DB.cs:1964
yaf.pages.forum.BindData() in C:\Projects\webapps\...............\pages\forum.ascx.cs:106
yaf.pages.forum.Page_Load(Object sender, EventArgs e) in C:\Projects\webapps\...............\pages\forum.ascx.cs:85
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Users browsing this topic
Guest
2 Pages12>
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.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.513 seconds.