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

2 Pages<12
YAF v1.9.1 RC1 for .NET v2.0 Framework (Dated 5/15/2007)
taicho Offline
#16 Posted : Wednesday, May 30, 2007 9:30:28 AM(UTC)
Rank: Member

Joined: 5/27/2007(UTC)
Posts: 21
Location: Los Angeles

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
PS wrote:
I realy suxs at regexp, but this works... for now...

But it strips the returnurl parameter away, so the user will always be redirected to the startpage when login in...

Code:
<rewrite url="^~/(.+)?yaf_login.aspx*" to="~/$1Default.aspx?g=login" processing="stop" />


Thanks, this is good enough for now Smile.

One additional note: This line by PS should go before the lines
<rewrite url="^~/(.+)?yaf_([-0-9a-z_]+)\.aspx\?(.+)?$" to="~/$1Default.aspx?g=$2&amp;$3" processing="stop" />
<rewrite url="^~/(.+)?yaf_([-0-9a-z_]+)\.aspx$" to="~/$1Default.aspx?g=$2" processing="stop" />

Or at least, I had to put it before them in order for it to work (which kinda makes sense, if you look at what these two lines do...).
hargreaves Offline
#17 Posted : Wednesday, May 30, 2007 10:08:27 AM(UTC)

Rank: YAF Forumling

Joined: 5/30/2007(UTC)
Posts: 3
Location: china

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
come on baby,i love u
yaf,i love you
pinkit21092003 Offline
#18 Posted : Wednesday, May 30, 2007 2:43:06 PM(UTC)
Rank: YAF Forumling

Joined: 5/11/2007(UTC)
Posts: 1
Location: Vietname

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello! every body!
I download forum version 1.9.1. When I setup no erorr.But I enter Addmin---> forum---> add new forum--> dispaly blow error.


Server Error in '/forumhoitu' Application.
Could not find stored procedure 'yaf_forum_listall_fromCat'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'yaf_forum_listall_fromCat'.

..........help me!...
bigtoga Offline
#19 Posted : Wednesday, May 30, 2007 6:37:47 PM(UTC)


Rank: YAF MVP

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.

Joined: 3/9/2006(UTC)
Posts: 332
Location: Dallas, TX

Thanks: 0 times
Was thanked: 1 time(s) in 1 post(s)
pinkit21092003 wrote:
Hello! every body!
I download forum version 1.9.1. When I setup no erorr.But I enter Addmin---> forum---> add new forum--> dispaly blow error.


Server Error in '/forumhoitu' Application.
Could not find stored procedure 'yaf_forum_listall_fromCat'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'yaf_forum_listall_fromCat'.

..........help me!...
Why would you put this in the "Announcements" forum? I'm not answering this just for that reason - this is just threadjacking. There are better places for this, like the "Bugs & Problems" forum.

Post this in the right place and you might get more participation.
Check out my implementation of YAF: http://forums.learnsqlserver.com/.

I am also a SQL Server and .NET trainer over at http://www.learnitfirst.com
Jaben Offline
#20 Posted : Wednesday, July 04, 2007 12:47:42 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)
Fix for the URL rewriting issue with login:

Replace in web.config section with this:
Code:

  <rewriter>
    <rewrite url="^~/(.+)?yaf_topics([0-9]+)p([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$3&amp;$7" processing="stop" />
    <rewrite url="^~/(.+)?yaf_topics([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
    <rewrite url="^~/(.+)?yaf_forum([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />   
    <rewrite url="^~/(.+)?yaf_postst([0-9]+)p([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$3&amp;$7" processing="stop" />
    <rewrite url="^~/(.+)?yaf_postst([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
    <rewrite url="^~/(.+)?yaf_postsm([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
    <rewrite url="^~/(.+)?yaf_profile([0-9]+)(_([-a-z0-9]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />   
    <rewrite url="^~/(.+)?yaf_login?\.aspx\?returnurl\=(.+)$" to="~/$1Default.aspx?g=login&amp;returnurl=$2" processing="stop" />
    <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+)\.aspx\?(.+)?$" to="~/$1Default.aspx?g=$2&amp;$3" processing="stop" />
    <rewrite url="^~/(.+)?yaf_([-0-9a-z_]+)\.aspx$" to="~/$1Default.aspx?g=$2" processing="stop" />
  </rewriter>
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Neven Offline
#21 Posted : Wednesday, July 04, 2007 3:42:19 PM(UTC)


Rank: YAF MVP

Joined: 11/25/2004(UTC)
Posts: 506
Location: Zagreb, Croatia

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Jaben wrote:
Fix for the URL rewriting issue with login:

Replace in web.config section with this:
Code:
I hate to be the first to brake it to you, but it is not doing the trick for all the pages....
It works with: Search | Active Topics | Members | Register, yaf_activeusers.aspx, yaf_activeusers.aspx.
yaf_topics, yaf_postsm, yaf_forum produce this
Code:
Server Error in '/yaf-191-RC1' Application.
The resource cannot be found.
Description: 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.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /yaf-191-RC1/yaf_login.aspx

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
Jaben Offline
#22 Posted : Thursday, July 05, 2007 9:06:36 AM(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)
Oh... interesting. It's working on my setup on the topic, post and forum pages. I'll play with it a bit more...
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Jaben Offline
#23 Posted : Thursday, July 05, 2007 6:17:24 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)
This one is so strange because it *works* on my install (Vista IIS7 and ASP.NET 3.0)...

Maybe it's an ASP.NET v2.0 bug?
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Neven Offline
#24 Posted : Thursday, July 05, 2007 7:01:31 PM(UTC)


Rank: YAF MVP

Joined: 11/25/2004(UTC)
Posts: 506
Location: Zagreb, Croatia

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Jaben wrote:
This one is so strange because it *works* on my install (Vista IIS7 and ASP.NET 3.0)...

Maybe it's an ASP.NET v2.0 bug?
It's on my localhost, so I cannot post the link Sad
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
wtilton Offline
#25 Posted : Tuesday, July 24, 2007 1:11:32 PM(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.

Joined: 4/27/2005(UTC)
Posts: 314
Location: Huntington Beach, CA

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Just found the same error. Click on any thread and then click the Login link. It works on the main forum page, just not in other places. Example:
http://forum.yetanotherf...work-Dated-5152007.aspx

Guessing the error path starts with line 528 on pages/ForumPage.cs if that's any help.

header.AppendFormat( String.Format( " | <a href=\"{0}\">{1}</a>", Forum.GetLink( Pages.login, "ReturnUrl={0}", Server.UrlEncode( Utils.GetSafeRawUrl() ) ), GetText( "TOOLBAR", "LOGIN" ) ) );
Lord Devil Offline
#26 Posted : Friday, July 27, 2007 4:25:06 PM(UTC)
Rank: Member

Joined: 3/8/2007(UTC)
Posts: 25

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Just a question... I wonder if I shall upgrade a public installation of V1.9.0 now to V1.9.1 RC1 ? I first wanted to wait for the full release but it looks like it doesnt come out too soon? So is it still worth it (RC1) or do you think the next official release is just around the corner?

Thanks in advance,
LD
Test
darkcom Offline
#27 Posted : Thursday, August 16, 2007 3:21:22 PM(UTC)
Rank: YAF Forumling

Joined: 8/16/2007(UTC)
Posts: 2
Location: nantong

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Sad
I install yaf_dnn4 on my dnn site,and I followed the "install.txt",when visit the page which has the YAF moudle ,it goes to the install process . but now I'm facing a big problem.
here it means:


Server Error in '/DesktopModules/YetAnotherForumDotNet' Application.


Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件(The system can't find the appoint file)。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Stack Trace:


[FileNotFoundException: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +521

[HttpException (0x80004005): Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3540923
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275





Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
darkcom Offline
#28 Posted : Monday, August 20, 2007 12:59:01 AM(UTC)
Rank: YAF Forumling

Joined: 8/16/2007(UTC)
Posts: 2
Location: nantong

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
darkcom wrote:
Sad
I install yaf_dnn4 on my dnn site,and I followed the "install.txt",when visit the page which has the YAF moudle ,it goes to the install process . but now I'm facing a big problem.
here it means:


Server Error in '/DesktopModules/YetAnotherForumDotNet' Application.

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

I just made a stupid mistake on my database spelling.
I found I made a spelling mistake in my database setup.haha,what a lunatic decision!
Thanks for such an excellent YAF!Thanks a lot for all!
Techknow Offline
#29 Posted : Thursday, August 30, 2007 11:02:48 PM(UTC)

Rank: Advanced Member

Joined: 8/14/2007(UTC)
Posts: 62
Location: I'm Right Here ...

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Is this suitable for a production env?
Best Regards,

Techknow

"Behind every successful man is an astonished mother-in-law" -Anon

"I'd like to meet this 'Anon' guy, he must be brilliant" -Anon


http://myinternetfunnies.com <- Funny Pictures & such nonsense. Stop by and upload a few of your own!
Users browsing this topic
Guest
2 Pages<12
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.354 seconds.