YAFLogo

bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
11 years ago
Hello,

I had fallen a couple DNN YAF versions behind. A week ago I updated YAF to the latest available from CodePlex. I find that some of my users can't access the forum and that some thumbnail images are missing. For example, my personal avatar is missing. I get a broken image link.

http://simxperience.com/DesktopModules/YetAnotherForumDotNet/resource.ashx?url=http%3a%2f%2fsimxperience.com%2fen-us%2fcommunity%2fownersclubforum.aspxLinkClick.aspx%3ffileticket%3dhKgUifFUYE0%253d&width=50&height=80 

I hope this will help to resolvethe issue.

I was going to try removing the DNN user importer and adding it back in case maybe something had changed with the script. When I clicked the buttom to 'Delete YAF User Import Schedule', I get the error: A critical error has occurred. Unable to cast object of type 'System.Web.UI.WebControls.LinkButton' to type'System.Web.UI.WebControls.Button'.

My event log is also explofing with the following message or similar:

http://simxperience.com/en-us/community/ownersclubforum.aspxLinkClick.aspx?fileticket=hKgUifFUYE0%3d 

http://www.yetanotherforum.net/forum/posts/m64161-Upgrade-of-YAF-DNN-to-Current-Version---Missing-Avatar-images 

Exception: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.WebClient.OpenRead(Uri address) at YAF.YafResourceHandler.GetResponseRemoteAvatar(HttpContext context)

I also see messages like this:

Error System 7/4/2014 9:26:23 PM ASP.desktopmodules_yetanotherforumdotnet_pages_... Hide | Delete

Exception System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'yaf_Message'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at YAF.Types.Interfaces.Data.IDbAccessExtensions.<>c__DisplayClass7.b__6(IDbCommand c) at YAF.Core.Data.DbAccessBase.Execute[T](Func`2 execFunc, IDbCommand cmd, IDbTransaction dbTransaction) at YAF.Types.Interfaces.Data.IDbAccessExtensions.GetData(IDbAccess dbAccess, IDbCommand cmd, IDbTransaction dbTransaction) at YAF.Classes.Data.LegacyDb.message_findunread(Object topicID, Object messageId, Object lastRead, Object showDeleted, Object authorUserID) at YAF.Pages.posts.GetFindMessageId(Boolean showDeleted, Int32 userId, Int32& messagePosition) ClientConnectionId:2abb5f8e-d179-4c8f-869f-58a704884dcd

It might be worth noting that I use an object qualifier as defined in web.config.

Sponsor
bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
11 years ago
Any suggestions or guidance at all? Roll back to previous version, upgrade to DNN 7.3, wait for new YAF DNN version?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago
Regarding the avatar images, do you have content localization enbabled in dnn, and which dnn version are you using?

Hello,

I was going to try removing the DNN user importer and adding it back in case maybe something had changed with the script. When I clicked the buttom to 'Delete YAF User Import Schedule', I get the error: A critical error has occurred. Unable to cast object of type 'System.Web.UI.WebControls.LinkButton' to type'System.Web.UI.WebControls.Button'.

Originally Posted by: bvillersjr 

I also see messages like this:

Error System 7/4/2014 9:26:23 PM ASP.desktopmodules_yetanotherforumdotnet_pages_... Hide | Delete

Exception System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'yaf_Message'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at YAF.Types.Interfaces.Data.IDbAccessExtensions.<>c__DisplayClass7.b__6(IDbCommand c) at YAF.Core.Data.DbAccessBase.Execute[T](Func`2 execFunc, IDbCommand cmd, IDbTransaction dbTransaction) at YAF.Types.Interfaces.Data.IDbAccessExtensions.GetData(IDbAccess dbAccess, IDbCommand cmd, IDbTransaction dbTransaction) at YAF.Classes.Data.LegacyDb.message_findunread(Object topicID, Object messageId, Object lastRead, Object showDeleted, Object authorUserID) at YAF.Pages.posts.GetFindMessageId(Boolean showDeleted, Int32 userId, Int32& messagePosition) ClientConnectionId:2abb5f8e-d179-4c8f-869f-58a704884dcd

Originally Posted by: bvillersjr 

Both issues will be fixed with the next version.

bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
11 years ago
Thanks for the reply!

The DNN version is 07.02.02 (303) and yes, content localization is enabled.

bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
Is there any word on when this next version will arrive? I hate to be pushy but I think this constant flow of error logs is slowing my site a bit.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
10 years ago

Is there any word on when this next version will arrive? I hate to be pushy but I think this constant flow of error logs is slowing my site a bit.

Originally Posted by: bvillersjr 

It will take some time until the next version is out, but i can update the current build version with the fix as soon as possible.

P.S: to stop the error logging, you can disable the error application errors in the yaf host settings under logs.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
I can't thank you enough for your efforts.

I initialy got onto DNN because I knew that I needed to spend more time running my business and less time dealing with merging of various software and technology. It's guys like you that take the time to produce modules like this that make it possible for a small business like mine to compete with large businesses. THANKS!

bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
The upgrade went well. Unfortunately the user avatar thumbnail still shows as a broken link. This has been the case in this version and in the previous. However. versions before this seemed to work ok.

When I right click the prioperties of my broken thumbnail image it shows as follows:

http://simxperience.com/DesktopModules/YetAnotherForumDotNet/resource.ashx?url=http%3a%2f%2fsimxperience.com%2fen-us%2fcommunity%2fownersclubforum.aspxLinkClick.aspx%3ffileticket%3dhKgUifFUYE0%253d&width=50&height=80 

DNN provided web pages show my avatar correctly. Right clicking on it shows this far different hyperlink:

http://simxperience.com/profilepic.ashx?userId=1&h=32&w=32&cdv=635462034032080034 

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
10 years ago
try to manually run the user importer, this should update the user profiles.
bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
It said: 6 User(s) Imported, all user profiles are synchronized, User Roles already synchronized!

Unfortunately the avatar's are still broken images.

http://simxperience.com/DesktopModules/YetAnotherForumDotNet/resource.ashx?url=http%3a%2f%2fsimxperience.com%2fen-us%2fcommunity%2fownersclubforum.aspxLinkClick.aspx%3ffileticket%3dhKgUifFUYE0%253d&width=50&height=80 

I also tried clearing the DNN cache

bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
Also, my event log is starting to fill with the following:

http://simxperience.com/en-us/community/ownersclubforum.aspxLinkClick.aspx?fileticket=hKgUifFUYE0%3d 

http://simxperience.com/en-us/community/ownersclubforum.aspx 

Exception: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.WebClient.OpenRead(Uri address) at YAF.YafResourceHandler.GetResponseRemoteAvatar(HttpContext context)

Error while Syncing dnn userprofile with Yaf System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.NavigateURL() at YAF.DotNetNuke.DotNetNukeUrlBuilder.BuildUrl(Object boardSettings, String url) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.SaveDnnAvatar(String fileId, Int32 yafUserId, Guid portalGUID, YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.SyncYafProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafUserData, UserInfo dnnUserInfo, Guid portalGUID, YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.UpdateUserProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafCurrentUserData, UserInfo dnnUserInfo, MembershipUser membershipUser, Int32 portalID, Guid portalGuid, YafBoardSettings boardSettings, Boolean ignoreLastUpdated)

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
10 years ago
bvillersjr
  • bvillersjr
  • 58% (Neutral)
  • YAF Lover Topic Starter
10 years ago
Any chance of a compiled release? I seem to be missing some components necessary to compile the source you linked to.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
10 years ago

Any chance of a compiled release? I seem to be missing some components necessary to compile the source you linked to.

Originally Posted by: bvillersjr 

Sorry the link didn't include the real green download links

https://github.com/YAFNET/YAFNET-DNN/releases/tag/v2.1.2-5608 

This is the correct one