Ah sorry, der var et par små justeringer jeg havde glemt.
Nu skal jeg så ha' muligheden for at se fejlen på siden.
Hvor i denne webconfig fil skal jeg rette så jeg kan se fejlen?
>>---------------- WEBCONFIG --------------------<<
<configuration>
<configSections>
<!-- Initialize the AspNetForums Configuration Handler -->
<sectionGroup name="forums">
<section name="forums" type="AspNetForums.Configuration.ForumsConfigurationHandler, AspNetForums.Components" />
</sectionGroup>
</configSections>
<system.web>
<!-- Standard Application Settings -->
<compilation defaultLanguage="c#" debug="true" />
<pages validateRequest="false" />
<!-- Permit detailed errors to be displayed for remote clients -->
<customErrors mode="RemoteOnly" />
<!-- START - AspNetForums specific application settings -->
<httpModules>
<add name="AspNetForums" type="AspNetForums.ForumsHttpModule, AspNetForums.Components" />
</httpModules>
<httpHandlers>
<add verb="GET" path="avatar.aspx" type="AspNetForums.Components.HttpHandler.AvatarHttpHandler, AspNetForums.Components" />
</httpHandlers>
<!--
authentication :
To use Windows Authentication, you must turn off Anonymous authentication in IIS
or IIS will never pass the user credentials to the forums.
To enable Windows Authentication, simply comment out the forms authentication section
below and uncomment the Windows Authentication stuff.
-->
<!--
<authentication mode="Windows">
</authentication>
<authentication mode="Forms">
<forms name=".AspNetForums" protection="All" timeout="60" loginUrl="login.aspx" />
</authentication>
-->
<authentication mode="Forms">
<forms name=".AspNetForums" protection="All" timeout="60" loginUrl="login.aspx" />
</authentication>
<customErrors mode="Off"/>
<!-- END - AspNetForums specific application settings -->
</system.web>
<!-- START - AspNetForums configuration settings -->
<forums>
<!--
defaultProvider :
This is the dataprovider you will be using to connect to a database.
*** Only SqlForumsProvider is supported at this time. Do not change.
defaultLanguage (default = en-US) :
This is the default language your forums installation will use when Anonymous users and guests first visit the
homepage, and after they register. Once registered, they may change their language preference from their user
Control Panel. To view a list of supported languages, open the following XML file:
~/Languages/languages.xml
forumFilesPath (default = "/") :
This is the forums' complete pathname, in reference to the "Web Application's Home". For example,
if your Web Application is at "
http://domain.com/Members/MyApp/", and you install the forums into
a directory of "
http://domain.com/Members/MyApp/Forums/", then you will need to change the forumsFilesPath
to "/Forums/" below. This is because the forumsFilesPath is in additional to the Web Application's path.
If you used the install wizard, you will not need to change this setting. As the install wizard automatically
configured your local machine to have a new Web Application name, besides your root folder. And since
the forums was installed into the base directory of this new Web Application, you will leave it "/". This
is correct, even if your Web Application directory is actually "
http://localhost/AspNetForums/", you
will leave the setting for forumFilesPath="/".
disableEmail (default = False) :
Setting this to True will disable the Email processing on this server. This is primarily used
on clustered servers to allow only certain machines to process email. Having all clustered web servers attempting
to process the email queue could result in duplicate emails being sent on high-traffic websites. This setting
allows you to control which servers queue and send the emails in a load-balanced environment.
This setting overrides the SiteSettings option for sending emails, if the sitesettings has emails set to True.
Else, nothing changes and no web server sends email.
disableIndexing (default = False) :
Setting this to True will disable .NET indexing of cached data (language files, site settings, forums information,
etc). Setting this to True will degrade the system and the forum's performance.
disableThreading (default = False) :
Setting this to True will disable .NET background threading of system processing (emails, stats, etc). Setting
this to True will degrade the system's and the forum performance.
threadIntervalEmail (default = 1) :
This sets the total minutes the background processing of emails occurs. For larger sites with over 100,000
users, it is recommended setting this to a higher number (5 or 10) so not to overlap multiple calls to the email queue.
threadIntervalStats (default = 15) :
This sets the total minutes the background processing of the site statistics occur. This is a very intense process
that should only be run in-frequently. For larger sites ( > 5,000,000 posts), you may want to increase this number.
passwordEncodingFormat (default = unicode) :
This is the textual encoding or code page to use when generating a password using the specified hashing algorithm. This
is described in the System.Text.Encoding class. Possible values are :
1. unicode
2. unicodeFFFE
3. windows-1252
4. utf-7
5. utf-8
You should only need to change this value if you are importing user accounts from another system and need to make sure
that your passwords are using the right encoding before being hashed otherwise you won't get the same hashed passwords.
The default is unicode. Once changed, all of your passwords will be stored in this format. Changing formats once
users are installed, will lock users out (as well as the administrator).
allowAutoUserRegistration (default = false)
This option controls whether the forums will support auto registration of users in the system. This is useful if the
forums are being used with Windows authentication, Passport authentication or in an integrated hosting invironment
such DotNetNuke or some other parent site where the parent site provides the user validation. This will simply create
a user profile for this authenticated user.
adminWindowsGroup (default = Administrators)
Members of this group will be mapped to the Administrative role.
assignLocalAdminsAdminRole (default = false)
Controls whether members of the built in group Administrators are automatically treated as administrators in the application.
smtpServerConnectionLimit (default = -1)
Limits or throttles the number of concurrent connections that can be sent to an SMTP server when sending email. Some ISP's
limit the number of concurrent connections from a single account and if there is a large email queue we can quickly exhaust
the number of connections to the ISP's SMTP server. In other situations you may not have this restriction and can just leave it
at the default which will send the email as fast as it can and not worry about the number of connections used by a single
account.
enableLatestVersionCheck (default = true)
Option to control whether the admin page attempts to contact the forums site to check for the latest version. Turn this option
to false to turn this capability off.
-->
<forums
defaultProvider="SqlForumsProvider"
defaultLanguage="en-US"
forumFilesPath="/"
disableEmail="false"
disableIndexing="false"
disableThreading="false"
threadIntervalStats="15"
threadIntervalEmail="3"
passwordEncodingFormat="unicode"
allowAutoUserRegistration="false"
adminWindowsGroup="Administrators"
assignLocalAdminsAdminRole="false"
smtpServerConnectionLimit="-1"
enableLatestVersionCheck="true"
>
<providers>
<clear/>
<!--
SqlForumsProvider :
Microsoft(r)'s SQL Server Data Provider Configuration Section
To configure manually, replace the value for connectionString with
your MSSQLSERVER's connect information.
For example, replace:
connectionString = "-SqlConnectiongString-"
with:
connectionString = "server=127.0.0.1;database=AspNetForums;uid=Username;pwd=Password"
If installing into a shared web hosting company's database, you will most likely be installing from a
non-DBO (DataBase Owner) account. To ensure your database objects can be accessed properly from the forums,
you may need to change the databaseOwner value below to your username/accoutname you have with your hosting company.
For example, replace:
databaseOwner = "dbo"
with:
databaseOwner = "Username"
-->
<add
name = "SqlForumsProvider"
type = "AspNetForums.Data.SqlDataProvider, AspNetForums.SqlDataProvider"
connectionString = "server=HILSOEWEB1;Database=Forums;Trusted_Connection=true;App=ASP.NET Forums"
databaseOwner = "dbo"
/>
</providers>
</forums>
</forums>
<!-- END - AspNetForums configuration settings -->
<!-- START - AspNetForums file permissions -->
<location path="EditPost.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="PrivateMessage.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="Download.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="License.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- END - AspNetForums file permissions -->
</configuration>