Posted by: sridhar - Monday, 18 May 2009 06:51:20 |
---|
Hi Friends, I tried to create a simple test website with one master page having link to forum.aspx page.( i created this website to test how it works in existing site) i followed the instructions that are provided in the link http://wiki.yetanotherforum.net/1.9.3%20Integration%20with%20existing%20site.ashx initially my site does not contain any bin folder or any xml file.so i just cut and paste the xml files of YAF in my root directory.and followed every step provided in the above link. in forum.aspx page i write the following code Response.Redirect("~/Yaf/"); ( i placed YAF1.9.3 code in my site Yaf folder) in page_load method. but when i execute the site and click the link..it is giving error..i am copying the error below.. Server Error in '/YAF-Trial' 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-trial/Error.aspx i have my site files in YAF-Trial folder. i used the bin version of YAF1.9.3 version. i run it in VS-2005. it is successfully executed if i not included in the existing site. Please help me out...Thanks in advance... |
Posted by: Slick86_98 - Monday, 18 May 2009 13:15:29 |
---|
[code]Response.Redirect("~/Yaf/";[/code] Why do you have this for your redirect if the forum is located in the YAF-Trial folder? Is your YAF.Root set correctly in App.config? |
Posted by: sridhar - Monday, 18 May 2009 22:10:49 |
---|
Thansk for reply... My testing site has in the folder [b][size=8]YAF-Trial[/size][/b]...and YAF forum code is in [size=8][b]/Yaf [/b][/size]folder... |
Posted by: sridhar - Monday, 18 May 2009 23:02:44 |
---|
i added these statements in app.config file
[size=8][b] |
Posted by: Slick86_98 - Tuesday, 19 May 2009 13:31:25 |
---|
I assume both of those folders are in the root of the site.
To fix:
[quote]
Server Error in '/YAF-Trial' 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-trial/Error.aspx
[/quote]
Instead of having [code] |