keetje
  • Posts: 4
  • Joined: 19/05/2008
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
  • Posts: 23
  • Joined: 02/10/2007
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
  • Posts: 4
  • Joined: 19/05/2008
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
  • Posts: 1
  • Joined: 06/06/2008
I am also having trouble specifically with how to modify the web.config for my previously built site.

Wherever I place the tags:

<section name="yafnet" type="yaf.SectionHandler,yaf"/>
<yafnet configSource="yafnet.config"/>

They cause the site to error:

I am working with 1.9.1.8 and .NET Framework 2.0 on Windows Server 2003
keetje
  • Posts: 4
  • Joined: 19/05/2008
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
  • Posts: 2544
  • Joined: 09/10/2004
What's the error message?
keetje
  • Posts: 4
  • Joined: 19/05/2008
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!
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved