Illegal character found in search text!
[Only A - Z, a - z and 0 - 9 are allowed]
Altering the Web.config file
To give more information about most errors you can alter the /Web.config file.
For security reasons the /Web.config file cannot be manipulated from within the n-gen.net CMS as it contains database connection information written in plain text (database host name, database instance name, database username and password)
You have to use an FTP client. We recommend FileZilla (an Open Source application available for MacOS, Windows and Linux, 32 bit and 64 bit versions are available).
- Download FileZilla client from https://FileZilla-project.org,
- Install the FileZilla client on your computer,
- Use the FileZilla client to see your files on the web server,
- Scroll down until you find the /Web.config file,
- Right click on it and select "View/Edit",
- The file will now download to your computer and open in your default text editor.
- Edit the /Web.config file:
Content of the Web.config file after installation
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add
name="ngenMaster"
connectionString="server=g121.synology.me; uid=ngineer; pwd=n-gen.NET; database=rep; sqlservermode=True; port=3306;"
providerName="MySql.Data.MySqlClient" />
<add
name="ngenMasterCc"
connectionString="server=CasaCalma.synology.me; uid=ngineer; pwd=ccN-gen.net1*; database=ngenMasterRep; sqlservermode=True; port=3307;"
providerName="MySql.Data.MySqlClient" />
<add
name="n-gen"
connectionString="server=[YourDbHostName or IP]; uid=[YourDbUserName]; pwd=*******; database=[YourDbInstanceName]; sqlservermode=True;"
providerName="MySql.Data.MySqlClient" />
</connectionStrings>
<system.web>
<compilation
debug="true"
targetFramework="4.8"
urlLinePragmas="true" />
<pages
validateRequest="false"
enableEventValidation="false"
viewStateEncryptionMode="Never" />
<globalization
fileEncoding="utf-8"
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="da-DK"
uiCulture="da-DK" />
<httpRuntime
maxRequestLength="200000"
targetFramework="4.8"
enableVersionHeader="false" />
<customErrors
mode="RemoteOnly"
defaultRedirect="~/error.aspx">
<error
statusCode="403"
redirect="~/error403.aspx" />
<error
statusCode="404"
redirect="~/error404.aspx" />
<error
statusCode="500"
redirect="~/error500.aspx" />
</customErrors>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits
maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
<httpErrors
errorMode="Custom">
<remove
statusCode="403" />
<error
statusCode="403"
path="/error403.aspx"
responseMode="ExecuteURL"
prefixLanguageFilePath="" />
<remove
statusCode="404" />
<error
statusCode="404"
path="/error404.aspx"
responseMode="ExecuteURL"
prefixLanguageFilePath="" />
<remove
statusCode="500" />
<error
statusCode="500"
path="/error500.aspx"
responseMode="ExecuteURL"
prefixLanguageFilePath="" />
</httpErrors>
</system.webServer>
</configuration>
Heading 1
heading 2
heading 3
heading 4
heading 5
heading 6
Bold text
Italic text
Link text