Hello ,
Can anybody help me to find a simple forums which I can reuse the codes to use the forums in my portal.I want it to be in c# language and using SQL Server as a database.
Thanks alll
Bye
yetanotherforum may work for you. It is capable of being integrated into dotnetnuke, so its possible that it may work for you as well.
jbardrof:
yetanotherforum may work for you. It is capable of being integrated into dotnetnuke, so its possible that it may work for you as well.
Yetanotherforum is the best. I spent four weeks looking for forum on C# for .net 2.0. This is the one. Originally it was written on asp.net 1.1 and then converted to 2.0, so you not gonna find over there master pages and .net security.
But after some work done you can achieve similar results. However I would not call Yetanotherforum a simple forum. It has a lot of features.
Thanks for you help and replies but actually its so hard to install it for me because in the part that It says to :Please verify that you have manually modified the connection string found in "C:\Documents and Settings\Maryam S\Desktop\YAF-v1.9.1-FINAL-SRC\Web.config" to point to your database. I got error that :Connection failed Modify Web.config and try agin.The error message was:Login failed for user ".the user is not associated with a trusetd SQL SERVER Connection.
but I have made the changes in the Web.config as follows:
<connectionStrings>
<addname="connstr"connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"providerName="System.Data.SqlClient" /></connectionStrings>
and also I have make the database but I got the above error,Can you help me with taht?
You could also try
DotNetNuke http://www.dotnetnuke.comHi,
Forum has its own connection string in yafnet section. Modified according to your needs:
For example,
<configSections>
<section name="yafnet" type="yaf.SectionHandler,yaf"/>
</configSections>
<yafnet>
<connstr>Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"providerName="System.Data.SqlClient"</connstr>
<boardid>1</boardid>
</yafnet>
Hello
thanks for you reply but after I made that changes as follows:
<?xmlversion="1.0"encoding="UTF-8"?><configurationxmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<sectionname="yafnet"type="yaf.SectionHandler,yaf"/></configSections>
<yafnet><!--<connstr>user id=;pwd=;data source=.\SQLEXPRESS;initial catalog=yafnet;timeout=90</connstr>-->
<connstr>Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"providerName="System.Data.SqlClient"</connstr></yafnet>
I have added them but I got this error in running section which it says :
Configuration Error
Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message:The format of a configSource file must be an element containing the name of the section.
Source Error:
Line 1: <?xml version="1.0" encoding="UTF-8"?>Line 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">Line 3: Line 4: <configSections>
Source File:C:\Documents and Settings\Maryam S\Desktop\YAF-v1.9.1-FINAL-SRC\yafnet.config Line:2
I have made so many changes but still I get the error ,can you help me please?
Can you provide your whole yafnet.config ( by the way I think it should be renamed to web.config) ?
Noo I cant change it to web.config bc one is there the code is as follow:
<?xmlversion="1.0"encoding="UTF-8"?><configurationxmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<sectionname="yafnet"type="yaf.SectionHandler,yaf"/></configSections>
<yafnet><!--<connstr>user id=;pwd=;data source=.\SQLEXPRESS;initial catalog=yafnet;timeout=90</connstr>-->
<connstr>Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"providerName="System.Data.SqlClient"</connstr></yafnet>
<uploaddir>~/upload/</uploaddir><boardid>1</boardid>
<!-- Enable URL Rewriting--><enableurlrewriting>true</enableurlrewriting>
<!--logtomail>email=;server=;user=;pass=;</logtomail--><!--categoryid>1</categoryid-->
<!-- Enable these to use a custom user class "provider"--><!--CustomUserAssembly>TinyGecko.YAFIntegration.dll</CustomUserAssembly>
<CustomUserClass>TinyGecko.YAFIntegration.yafUserClass</CustomUserClass--></configuration>
Hi,
make it look like this:
<yafnet>
<connstr>DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;IntegratedSecurity=True;User Instance=True"providerName="System.Data.SqlClient"</connstr>
<uploaddir>~/upload/</uploaddir>
<boardid>1</boardid>
<!-- Enable URL Rewriting -->
<enableurlrewriting>true</enableurlrewriting>
<!--logtomail>email=;server=;user=;pass=;</logtomail-->
<!--categoryid>1</categoryid-->
<!-- Enable these to use a custom user class "provider" -->
<!--CustomUserAssembly>TinyGecko.YAFIntegration.dll</CustomUserAssembly>
<CustomUserClass>TinyGecko.YAFIntegration.yafUserClass</CustomUserClass-->
</yafnet>
I donttt know exactly whats the problem but as you had told I had done the same thing and again i got the error like this:
Connection failed:modify the web.config and try again
the error message was:
format of the initialization string does not conform to specification starting at index 96.
so still Im in the page 2.
Hi,
I never tried to install it on SQLEXPRESS. I try tonight.
Tnx for ur help.I will be waiting for that.
0 comments:
Post a Comment