Base solution for your next web application

Activities of "ismcagdas"

Hi,

Clock.SupportsMultipleTimezone is true only when you use UtcClockProvider for Clock.Provider. Maybe that is why you don't see timezone settings.

Hi,

The resolution of your image is a bit low and it's hard to read error message. Can you send a bigger image ? Or you can share error message only.

Thanks.

That's good :)

Answer

Hi,

The log4net.config file's content should be like this by default.

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender" >
    <file value="App_Data/Logs/Logs.txt" />
    <encoding value="utf-8" />
    <appendToFile value="true" />
    <rollingStyle value="Size" />
    <maxSizeRollBackups value="10" />
    <maximumFileSize value="10000KB" />
    <staticLogFileName value="true" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%-5level %date [%-5.5thread] %-40.40logger - %message%newline" />
    </layout>
  </appender>
  <root>
    <appender-ref ref="RollingFileAppender" />
    <level value="DEBUG" />
  </root>
</log4net>

and it's configured in Global.asax file's Application_Start method like this:

//Log4Net configuration
AbpBootstrapper.IocManager.IocContainer
    .AddFacility<LoggingFacility>(f => f.UseAbpLog4Net()
        .WithConfig("log4net.config")
    );

Can you check those two sections as well ?

Hi,

Thanks for sharing your solution :).

Hi,

It seems there is a access problem in your environment, not related to the AspNet Zero solution. It does not require any special permission. You may need to run your Visual Studio as administrator or need to grant read/write permissions for the given path.

Hi,

You also need to change UpdateProfilePicture method of ProfileAppService.

Hi,

What is the value of customErrors in your web.config ? Can you try with

<customErrors mode="On" />

Hi,

You can check definition and usage of ICreationAudited interface for this in ABP Framework. You can define an interface just like ICreationAudited and use it in your entities.

Then override SetCreationAuditProperties method of your DbContext and do whatever you want in it. Don't forgot to call base method in overriden SetCreationAuditProperties of yours :).

See usage of ICreationAudited interface here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/52020f9d154752c09d9aa2c7ef8a5a44a5ede21a/src/Abp.EntityFrameworkCore/EntityFrameworkCore/AbpDbContext.cs#L297">https://github.com/aspnetboilerplate/as ... xt.cs#L297</a>

Hi,

Thank you, it's very clear for me. Can you check the version of EntityFramework.DynamicFilters library in your project ? If it's higher than v1.4.11, it causes this problem.

You can upgrade to latest ABP v1.1.1 and when doing that, you need to downgrade to EntityFramework.DynamicFilters v1.4.11.

See <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1451">https://github.com/aspnetboilerplate/as ... ssues/1451</a>

Showing 11871 to 11880 of 12740 entries