YAFLogo

simflex
  • simflex
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Greetings, I just downloaded a copy of YAF but I am having a miserable time using the product.

I have succeed in using web installer to install it but when I attempt to use with visual sudio 2010, I am getting several errors shown below:

Error 1 The file '/yaf/themes/Yafmobile/MobilePages/TopicLineMobile.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\TopicLineMobile.ascx 1

Error 2 The file '/yaf/themes/Yafmobile/MobilePages/emailtopic.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\emailtopic.ascx 1

Error 3 The file '/yaf/themes/Yafmobile/MobilePages/editusersavatar.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\editusersavatar.ascx 1

Error 4 The file '/yaf/themes/Yafmobile/MobilePages/edituserssignature.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\edituserssignature.ascx 1

Error 5 The file '/yaf/themes/Yafmobile/MobilePages/cp_changepassword.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\cp_changepassword.ascx 1

Error 6 The file '/yaf/themes/Yafmobile/MobilePages/editusersprofile.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\editusersprofile.ascx 1

Error 7 The file '/yaf/themes/Yafmobile/MobilePages/forumwelcome.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\forumwelcome.ascx 1

Error 8 The file '/yaf/themes/Yafmobile/MobilePages/forumList.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\forumList.ascx 1

Error 9 The file '/yaf/themes/Yafmobile/MobilePages/buddylist.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\buddylist.ascx 1

Error 10 Type 'YAF.Controls.UserLink' does not have a public property named 'UserName'. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\buddylist.ascx 19

Error 11 The file '/yaf/themes/Yafmobile/MobilePages/cp_profile.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\cp_profile.ascx 1

Error 12 Unknown server tag 'YAF:ProfileMenuMobile'. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\cp_profile.ascx 11

Error 13 The file '/yaf/themes/Yafmobile/MobilePages/admin.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\admin.ascx 1

Error 14 The file '/yaf/themes/Yafmobile/MobilePages/pmessage.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\pmessage.ascx 1

Error 15 The file '/yaf/themes/Yafmobile/MobilePages/cp_subscriptions.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\cp_subscriptions.ascx 1

Error 16 The file '/yaf/themes/Yafmobile/MobilePages/postmessage.ascx.cs' does not exist. C:\Inetpub\wwwroot\yaf\themes\Yafmobile\MobilePages\postmessage.ascx 1

I am able to run it by just typing http://localhost/yaf/default.aspx

What am I doing wrong?

I want to be able to make changes using visual studio.

Thanks a lot in advance

Sponsor
Coleen
  • Coleen
  • 89.2% (Honored)
  • YAF Commander
11 years ago
http://forum.yetanotherforum.net/yaf_postst15000_DB-Connection-Failure.aspx  - scroll down to where Squirrel asked about what my OS and system settings were (about half way down the page.)

http://www.microsoft.com/en-us/download/details.aspx?id=1695 

If you are still having problems after you do those two things, let us know, but I can tell you that I can now run the yaf.net forums from my local host through VS 2010 (Go to the default.aspx and run it from there, or to begin the wizard, go to the Install folder and run the Install/Default.aspx file, and be sure to follow the instructions, but do NOT check the box for Upgrade BBCode Extensions!)

I have made LOTS of changes to the default.aspx logo and the look/feel of the forums using .CSS and the themes. You need to use both the files in .net, AND do some of the changes through the wizard on your local host. I hope this helps.

Coleen

simflex
  • simflex
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Thank you very much Coleen for your reply.

That was very kind of you.

My issue though, is slightly different from yours.

In my case, I am able to use it now by going to http://localhost/yaf/default.aspx

However, the issue that I am running into when using it with VS2010 is that I am getting a bunch of errors that ALL the ascx.cs files in the THEMES folder do NOT exist.

The weirdest part is that they are all there!

Isn't it weird?

Where do you go to configure the links and paths?

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
11 years ago

Thank you very much Coleen for your reply.

That was very kind of you.

My issue though, is slightly different from yours.

In my case, I am able to use it now by going to http://localhost/yaf/default.aspx

However, the issue that I am running into when using it with VS2010 is that I am getting a bunch of errors that ALL the ascx.cs files in the THEMES folder do NOT exist.

The weirdest part is that they are all there!

Isn't it weird?

Where do you go to configure the links and paths?

Originally Posted by: simflex 

Can you right click on the directory and choose "Include in Project" or whatever that verbiage is? You probably checked that already, but that's the only thing that comes to my mind.

simflex
  • simflex
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
No such thing; at least none that i am aware of unless of course you are referring to when a file is excluded and needs to be included again.

I may just have to delete this installation and reinstall.

Coleen, you indicated that you installed yours via visual studio; I assume you didn't need web installer?

That's what I used and that may probably be my problem here.

Thantis
  • Thantis
  • 81.8% (Honored)
  • YAF Commander
11 years ago
Just a suggestion, but if your modding the code I think the web install option is fairly old, might want to pick up the source/bin from the new nightly builds.
Coleen
  • Coleen
  • 89.2% (Honored)
  • YAF Commander
11 years ago
I installed mine by downloading the file: YAF-v1.9.6.1-RTW-BIN.zip from the Yaf.net website. unzipped and installed it into a directory from VS - I created a directory called "YaftestForums" and a project in my VS .Net projects. I just unzipped and installed all the files into that directory as a "stand alone" project in VS. I then made all of my changes to the forums directly from that project. I had my hosting company install the Yaf.net on my "test" hosted website and was able to upload all of my customized files to the hosted test website, and all of the upload files work correctly.

However, in my Visual Studios projects, I do still have the Yaf.net installed and working correctly on my local host. I first make any changes to those files (themes or default.aspx files) and then I upload those files using FTP to my hosted testing site. I am now just about ready to go "Live" with everything.

Getting it to work in VS truly was an issue with the database configuration. As I mentioned, VS 2010 comes with a version of SQL Server, but it is just not compatible with Yaf, so I had to completely remove ALL traces of it from my computer's registry files. Once I did that and then downloaded and installed the correct SQL Server 2008 version from Microsoft, and THEN changed the recommended-NET-web.config to web.config, all my problems went away.

The fact that VS isn't showing you any of the .aspx or.ascx files are missing probably means you have a corruption in the installation file someplace. My suggestion would be to completely remove the installation and re-install it as a brand new VS Project. The thing to remember with Microsoft is "When in doubt, reboot" or in this case, re-install! I'll see if I can re-install another brand new forum project and get back to you. It may not be today - I live in Belize and my Internet connection for the past few days has been off/on and is extremely slow right now...(Sigh) - I hope this helps. I'll let you know about re-creating an installation. 🙂

simflex
  • simflex
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Thank you so much Coleen,

I am about to reinstall the product now.

The question I have though is that when I downloaded the software and unzipped the contents, I see the following:

Parameter.xml

Manifest.xml

MSDeploy.config

ReadMe.html

License.txt and

YetAnotherForum.NET folder

Should I ignore those 5 files and just copy the contents of YetAnotherForum.NET folder to my own directory?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago

Thank you so much Coleen,

I am about to reinstall the product now.

The question I have though is that when I downloaded the software and unzipped the contents, I see the following:

Parameter.xml

Manifest.xml

MSDeploy.config

ReadMe.html

License.txt and

YetAnotherForum.NET folder

Should I ignore those 5 files and just copy the contents of YetAnotherForum.NET folder to my own directory?

Originally Posted by: simflex 

Yes thats correct.

Coleen
  • Coleen
  • 89.2% (Honored)
  • YAF Commander
11 years ago

Should I ignore those 5 files and just copy the contents of YetAnotherForum.NET folder to my own directory?

Yes thats correct.

What watcha said!:)

simflex
  • simflex
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Thanks very much to all who responded.

The problem as Coleen correctly pointed out was that the version I downloaded was corrupt; I don't know how.

A new copy did the trick.

Coleen
  • Coleen
  • 89.2% (Honored)
  • YAF Commander
11 years ago
I'm really glad that worked for you. I've (unfortunately) found out the hard way that very often when something doesn't work, and there is no "Reasonable" explanation, uninstalling and re-installing works to fix the problem. I can't tell you how many times I've done that with a website...when my VB code, HTML code or .CSS formatting get screwed up, I rem all of it out and start from the beginning, adding in one line at a time until I find where the problem is. Then I know which line of code needs to be fixed. If it doesn't work to start, uninstall and start over.

Seems to be a theme... Microsoft = reboot! lol! I'm very glad to hear that it seems to be working for you now! 🙂