YAFLogo

Roger Martin
14 years ago
http://www.galleryserverpro.com/forum/yaf_topics2_Gallery-Server-Pro-Support.aspx , I get this error:

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

If I disable custom errors in web.config and watch the network traffic with Fiddler, I can see that a 404 error is happening. Specifically, the login page correctly loads at this URL:

http://www.galleryserverpro.com/forum/yaf_login.aspx?returnurl=%2fforum%2fyaf_topics2_Gallery-Server-Pro-Support.aspx 

After entering username/password and clicking login, the page posts to this URL:

http://www.galleryserverpro.com/forum/yaf_login.aspx?g=login&ReturnURL=%2fforum%2fyaf_forum1_Gallery-Server-Pro.aspx 

which then triggers the 404. Using Fiddler I see this error message:

<span><H1>Server Error in '/forum' Application.<hr width=100% size=1 color=silver></H1>

<h2> <i>The resource cannot be found.</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

<b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
<br><br>

<b> Requested URL: </b>/forum/yaf_login.aspx<br><br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Further details:

* The forum is installed in the "forum" directory on the web server. This directory is configured as a virtual directory and is running as its own application.

* I tried various settings for YAF.AppRoot in app.config, all resulting in the same behavior. As best I can tell, this setting does not need to be set when the forum is running in its own application space, and is currently commented out (that is, left at its default value).

http://www.galleryserverpro.com/forum/ . Use account rdmartin (password=rdmartin). At the moment custom errors is OFF so you can see the 404 error with Fiddler.

* The forum was compiled from source code in VS 2010 against .NET 4.0.

Many thanks in advance.

Roger Martin

Gallery Server Pro

Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago
I can in first test case.:wink:

http://www.galleryserverpro.com/forum/yaf_topics2_Gallery-Server-Pro-Support.aspx 

As to the login issue, it should be checked.

Roger Martin
14 years ago
Are you saying you can click this link...

http://www.galleryserverpro.com/forum/yaf_topics2_Gallery-Server-Pro-Support.aspx 

... then click Login, enter the username/password (rdmartin/rdmartin), and successfully log in?

Because I cannot. I tried with both Firefox and IE 8.

Can anyone else?

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago
I see... It doesn't work because this is a mix of rewriting and not rewriting.

I personally can't help you as don't know well the peace of code.:cry:

Roger Martin
14 years ago
Why would I need to know the code? Isn't it possible to use URL rewriting without modifying the code? I assumed all one had to do was set YAF.EnableURLRewriting = "true" in app.config. That worked for me under 1.9.1.
Roger Martin
14 years ago
This is still an issue. Can anyone help me?

Roger

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
I'll take a quick look...
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
The problem is .NET v4 and v1.9.4 issues -- it wasn't 100% designed for .NET v4 and there is QueryString issues. v1.9.5 works much better with v4 (including URL rewriting).
Roger Martin
14 years ago
Thanks. Is 1.9.5 stable enough to use in prod? And where do I get it? I can't seem to find a download page for it.