Hello team
Kindly advise what am missing. When I publish my project and after hosting on IIS, i get a blank page with no errors.
Here is my web.config file. I have tried .Net Framework and also .Net Core 6
<?xml version=”1.0″ encoding=”utf-8″?>
<!–
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
–>
<configuration>
<appSettings>
<add key=”Wisej.LicenseKey” value=”” />
<add key=”Wisej.DefaultTheme” value=”Bootstrap-4″ />
</appSettings>
<system.web>
<compilation debug=”true” />
<httpRuntime targetFramework=”4.8″ maxRequestLength=”1048576″ />
<httpModules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework” />
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration=”false” />
<handlers>
<!–
Uncomment the aspNetCore handler below to deploy to IIS when using .NET Core.
–>
<!–<add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModuleV2″ resourceType=”Unspecified” />–>
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” />
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Framework” />
<add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModule” resourceType=”Unspecified” />
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”1073741824″ />
</requestFiltering>
</security>
<defaultDocument enabled=”true”>
<files>
<add value=”Default.html” />
</files>
</defaultDocument>
<!–
Uncomment the aspNetCore section below to deploy to IIS when using .NET Core.
–>
<!–<aspNetCore stdoutLogEnabled=”false” hostingModel=”InProcess” processPath=”bin\Debug\net6.0\Client.exe” arguments=”” />–>
<aspNetCore processPath=”dotnet” arguments=”.\Client.dll” stdoutLogEnabled=”false” stdoutLogFile=”.\logs\stdout” />
</system.webServer>
<!–
Uncomment the trace listener below to enable logging to a log file.
–>
<!–
<system.diagnostics>
<trace autoflush=”true” indentsize=”4″>
<listeners>
<remove name=”Default” />
<add name=”Default” type=”System.Diagnostics.TextWriterTraceListener” initializeData=”Trace.log” />
</listeners>
</trace>
</system.diagnostics>
–>
</configuration>
<!–ProjectGuid: 6d01858e-57d1-4f28-bb7a-4c96b7abc87a–>
Hi Sam,
You’re probably missing both Default.html and Default.json files in your application folder.
We have a guide on our Documentation website that has step-by-step instructions for deploying and troubleshooting.
HTH,
Alaa
Please login first to submit.