YAFLogo

kingsley
  • kingsley
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Hi,

I have a problem during the publish of the website.

I modified some of code in forumpage, register etc.

When I debug or release the code in Visual Studio 2008, it works well. But after I publish it and deploy to the IIS server. For the first time open, I could access the Config password page, and then the forum information page, but after this step, clicked the Next button. I got an error:

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****/login.aspx

It should go to the next step of the install\default.aspx. I did not modified this file.


The framework version is 2.0 and IIS version is 6.0.

Thanks~
Sponsor

herman_herman
14 years ago
Have you installed yaf in sub folder?
kingsley
  • kingsley
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
herman_herman wrote:

Have you installed yaf in sub folder?




Hi herman,

What you means sub folder, I think this error is just occurred during the installation.

You means not deployed to the root of the IIS?

I created a folder in the wwwroot, then i copied all the content from the published folder PrecompiledWeb\YetAnotherForum.NET\ and paste them in the folder.
herman_herman
14 years ago
That's what i mean.You have installed yaf in a subfolder and not the root of your website.Therefore you need to follow step 5 in install.txt as follow:

Quote:

STEP 5. (OPTIONAL) MODIFY "app.config" FILE:

By default YAF is designed to be installed at the root application on any
IIS web server. If you want YAF to be installed off of the main root, you need
to modify the root key. Make sure the files in the /bin directory of the YAF zip
file are copied to /bin directory on the root of your web server.

Then open up "app.config" and uncomment the "root" key. Enter the value as the
directory to your forum.

Example: If you have install the forum in the directory "/forum/yaf/"
you will need to add key with name "root" and value "/forum/yaf/"
to app.config.

Also, in "app.config" you can modify the BoardID to use the board you want.
If you only have one board or don't know what this is, leave it alone.

kingsley
  • kingsley
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Hi herman, Thanks very much.

Finally, I found its my code lead this error. I did not provide the required parameters for my createuser function.And in the createuser function i added a piece of code catch this missing of parameter but the code did not pop up the error message.

Thanks.
herman_herman
14 years ago
kingsley wrote:

Hi herman, Thanks very much.

Finally, I found its my code lead this error. I did not provide the required parameters for my createuser function.And in the createuser function i added a piece of code catch this missing of parameter but the code did not pop up the error message.

Thanks.



Happy to see you got it to work
Good luck
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button