YAFLogo

keetje
  • keetje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
Hi,

I am trying to integrate the forum into the existing asp.net 3.5 website we have.

I want the files of the forum in a new subdirectory, to organize a bit.

The install.txt then advises some things that either don't work or I don't understand what to change.

What is the best thing to do?

I am afraid to merge the web.config files etx that our website will crash.

How to proceed?

- set up the forum in a new local project with a connectionstring to the remote database on the webserver and then upload the whole?

- try to integrate them by setting it up in a new folder in my existing website?

Please help!

Kind regards

Sponsor
philw
  • philw
  • 80% (Honored)
  • YAF Forumling
16 years ago
You could do it this way:

http://wiki.yetanotherforum.net/embeddedYaf.ashx 

As far as "staging" is concerned... it depends on how you want to do it. I don't bother testing YAF locally as I know it works, so I avoid that issue. I just set it up on the live server alongside the other stuff, and only linked it in when it was set up. So long as you're careful with your version control there's no reason for you to worry much about editing the web.config; from memory you just add the YAF stuff anyway.


keetje
  • keetje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
hmm it doesn't work.

I need to install the thing on the server database first.

But this is going wrong already.

I changed the config files as in the manual but I get an error message..

As I approach the database it looks as though it has made a whole lot of tables etx... so somewhere it goes well too.

Strange but I don't know how to proceed now.

The error message was something like server doesn't allow remote connections?

Please help

AndrewWiles
16 years ago
I am also having trouble specifically with how to modify the web.config for my previously built site.

Wherever I place the tags:

They cause the site to error:

I am working with 1.9.1.8 and .NET Framework 2.0 on Windows Server 2003

keetje
  • keetje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
still not working.. any ideas?

My problem is not really to let it work whithin my templates.

That would be very nice, but I would be very glad begin with getting it up and running outside my website.

But I keep getting error message.

What to do?

please help..

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
What's the error message?
keetje
  • keetje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
I have created a new local webproject in asp.net VWDE and set it up in a local database as a test.

This worked perfectly fine.

I have deleted the whole local project and I am now trying to let it work in a new project (only YAF no other files or config files) with a online database stored at a provider's server. (we have another database with a website running there just fine)

I have set everything up as told in the install.txt file.

Running the default.aspx page installs well until "step 2 of 5: Connect to database".

Then it gives the errormessage:

"Connection failed. Modify web.config and try again.

An error has occurred while establishing a connection to the server.

When connection to SQL server 2005, this failure may be caused by

the fact that under the default settings SQL Server does not allow

remote connections.(provider: Named Pipes Provider, error: 40 - Could

not open a connection to SQL Server)."

When I look at the database it looks like it has installed lots of things. I can see a whole lot of tables, views, stored procedures.. etx. So the connection shouldn't be the problem right??

But what is???

My connectionstring could not be the problem, because then it could not have created the tables and stuff...?

I have my webproject locally and my database on the server with the provider... could that be the problem?

Please help!