YAFLogo

Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
9 years ago
When I click on Digest in Admin Settings I get "No sites currently exist for this installation. - 503 Service Unavailable". With Fidler I see this error:

http://domain/Default.aspx?tabid=136&error=The+base+class+includes+the+field+%27DigestFrame%27%2c+but+its+type+(System.Web.UI.HtmlControls.HtmlGenericControl)+is+not+compatible+with+the+type+of+control+(System.Web.UI.HtmlControls.HtmlIframe).

What can I do to fix this?


MJK
Sponsor
Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
9 years ago
And now I get this when I click on Generate Digest:



AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:a1eb097d-9060-4880-bbb4-c2e84ef73e9f

AssemblyVersion:8.0.1

PortalId:0

UserId:1

TabId:154

RawUrl:/forum/g/admin_digest/Forum

Referrer:http://comain.com/forum/g/admin_digest/Forum

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

ExceptionHash:naJVbHOmEeODRszvMw4ziA==

Message:Object reference not set to an instance of an object.

StackTrace:

InnerMessage:Object reference not set to an instance of an object.

InnerStackTrace:

   at YAF.Pages.Admin.digest.GenerateDigest_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: WEBSERVER

MJK
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
9 years ago
This is a known problem. Since Microsoft made an control for the iframe in .NET 4.5 this throws an error in YAF. Wen you run DNN or YAF in 4.5.

The only solution would be to recompile YAF with .NET 4.5.x

Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
9 years ago
Will your next version be compiled against .Net 4.5?
MJK
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
9 years ago

Will your next version be compiled against .Net 4.5?

Originally Posted by: Mariette 

The problem is i don't now yet if all people already running .NET 4.5.

I opened up an issue for that https://github.com/YAFNET/YAFNET/issues/327 , because i think upgrading to .NET for YAF 2.3.0. But if enough people already have 4.5.x installed i could compile YAF 2.2.3 against .NET 4.5.x

Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
9 years ago
Ah OK. I do not want to push anybody so I set for now. That makes run YAF just fine without any issues so far.
MJK
Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander Topic Starter
9 years ago
I have cleaned the solution, fixed the problem with digest and compiled against .Net 4.5.2. I have created Upgrade, Deploy and Install Packages for version 2.2.2. Last official released version but now compiled against .Net 4.5.2. Ingo, do you want them and put them somewhere if somebody needs them?

I understand that it is to early for you to move to .Net 4.5.2 but I had an urgent reason so I worked a bit on this.


MJK