YAFLogo

jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Just an FYI, I don't know .... like I said, my YAF works fine except for the new fields ... but here's how my website is set up. Thanks again watcha!


Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Quote:

Maybe it's because when I build the website in VS, I just opened up the /knowledgebase/ directory as a website, and built that. As I mentioned, I keep the dlls in my /bin/ and web.config, db.config, etc., in my /knowledgebase/ directory -- not in my root. That's how I did it in YAF 1.95 also. And everything functions fine, except for the new fields. But maybe if I built my website right from the root, it might make a difference?



I guess thats the problem. Because you mixed up Everything it might not working correctly. If your website is configured as Website in VS and YAF is configured as external application in the sub folder knowledgebase you should NOT Put both together, and not upload the complete source files of yaf to your server.

And also please turn off Directory read access, or every one can see the files...

http://www.ussvision.com/knowledgebase/yaf.utils/ .

What you should do is remove yaf from your website project, or at least keep only the files that should be on the server (the files you find in the Install Package).

And Open the Complete YAF Source separately via the YAF Solution File like you ask in the other topic. When you Compile YAF you can configure it that it can be published directly to an FTP Server, in the Package Tab in the Solution Settings make sure you choose "Only files needed to run this application" under items to deploy.

If this not work i think its easier i provide you the modified YAF 1.9.6.1 Install Package.
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Hey Tha_Watcha .... thank you very much for all of your help.

I tried to do what you told me to do, but still, nothing makes it to the database, so although the fields are there, when you fill them out, nothing happens.

Could you please provide me with the latest modified 1.96, and I'll redo your original instructions over again?

Thanks again Tha_watcha!
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Originally Posted by: jpweber 

Hey Tha_Watcha .... thank you very much for all of your help.

I tried to do what you told me to do, but still, nothing makes it to the database, so although the fields are there, when you fill them out, nothing happens.

Could you please provide me with the latest modified 1.96, and I'll redo your original instructions over again?

Thanks again Tha_watcha!



ok uploaded the modified 1.9.6.1 YAF RTW Version

http://www.watchersnet.de/yaf/YAF-v1.9.6.1-RTW-BIN-MOD.zip 

This is the compiled Version no need to go thru the instructions.
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Hey Watcha .... if I run the compiled version, I won't be able to add fields to registration, correct?

Anyway, the link you gave me, it gives me the following error:

ERROR An error occured while processing your request.
http://www.watchersnet.de:80/yaf/YAF-v1.9.6.1-RTW-BIN-MOD.zip .

Possible reasons:

The page doesn't exist
This site is currently under maintenance
Server Problem

Thanks again for all of your help, watcha!
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
squirrel
10 years ago
Originally Posted by: jpweber 

Hey Watcha .... if I run the compiled version, I won't be able to add fields to registration, correct?

Anyway, the link you gave me, it gives me the following error:

ERROR An error occured while processing your request.
http://www.watchersnet.de:80/yaf/YAF-v1.9.6.1-RTW-BIN-MOD.zip .

Possible reasons:

The page doesn't exist
This site is currently under maintenance
Server Problem

Thanks again for all of your help, watcha!



The version he linked you to will have the added fields inside it already. That's what he was doing was getting the modified fields in the code for you. I'm sure when he checks in, he'll sort out the download link he posted.

EDIT: Here's a working version of the download link: http://www.watchersnet.de/yaf/YAF-v1.9.6.1-RTW-BIN-MOD.zip 
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Thank you Squirrel, Watchya .... I'll give it a try and let you know how it goes!
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Hey Squirrel, Watcha .... I uploaded the new files ... but I don't know if it's the .dll files, or what, but ussvision/knowledgebase/ is still not working .... I can't even test the company name / company phone ....

Any suggestions? Thanks!
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Originally Posted by: jpweber 

Hey Squirrel, Watcha .... I uploaded the new files ... but I don't know if it's the .dll files, or what, but ussvision/knowledgebase/ is still not working .... I can't even test the company name / company phone ....

Any suggestions? Thanks!



Did override your old app.config and db.config, with the ones from the Install Package? If yes you need to update them.
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
tha_watcha ... you have been very helpful.

How much would you charge me to fix my YAF?

And how do I pay you?
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Tha Whatcha is a very nice guy ..... he gets nothing (yet) off of helping others.

Wathha, i downloaded the new YAF 1,96 and I'm still having troubles.

I just want company name and company phone to show up in registration ......

I can give you my login / password


If you have a paypal, I'm willing.
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
10 years ago
Hey Watchya .... After downloading the new file, I get this:


Startup Error: Unable to connect to the Database. Exception Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (-1)

Please contact the administrator if this message persists.

Note: If you are the administrator, and need help with this problem, please visit this url: Turn off CustomErrors in your web.config.
Try Again


Any ideas?
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
squirrel
10 years ago
Originally Posted by: jpweber 

Hey Watchya .... After downloading the new file, I get this:


Startup Error: Unable to connect to the Database. Exception Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (-1)

Please contact the administrator if this message persists.

Note: If you are the administrator, and need help with this problem, please visit this url: Turn off CustomErrors in your web.config.
Try Again


Any ideas?



Need to check your db.config - it's not able to connect to the SQL server.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Stegothedump
10 years ago
Did you get this sorted? I followed Watcha's to the letter on 1.9.6.1 and after a few minor hiccups workred well...

Cheers,

S
shanker
  • shanker
  • 64.4% (Friendly)
  • YAF Camper
9 years ago
Originally Posted by: tha_watcha 

Originally Posted by: jpweber 

Are you sure I don't have to do anything with the database? You didn't mention anything about adding fields to the database, which would be the tough part for me.



The Fields are added automatically in to the asp net profile.



I can see them??? which tables are the in in sql server...

i added this in
Register.asax .. of course i changed all other files too.
<%-- Custom --%>




:





<%-- Custom --%>

I can see my Label value.. the textbox comes with out corresponding Label.

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