Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "dinhienhy"

You should use:

resolve:
                        {
                           id: function () { return roleId; }
                        },

Instead using:

angular.copy(roleId)

Thanks for your support. It worked!

Hi hikalkan,

  1. <script src="/AbpScripts/GetScripts" type="text/javascript"></script> bellow script has been include to page.
abp.localization.values['AbpWeb'] = {
        'AreYouSure' : 'Are you sure?',
        'Cancel' : 'Cancel',
        'InternalServerError' : 'An internal error occured during your request!',
        'ValidationError' : 'Your request is not valid!',
        'Yes' : 'Yes'
    };

Do you mean that code in abp.js? If so, it doesn't contain bellow code.

@apexdodge and @hikalkan Thanks for your help. I will set default tenant to 1 for all role and user.

Thanks for your help!

I have config log4.net successfully. Bellow is my log4net.config:

<?xml version="1.0" encoding="utf-8" ?> <log4net> <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"> <bufferSize value="1" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionString value="data source=HIEN-PC;initial catalog=HappySport;integrated security=false;persist security info=True;User ID=sa;Password=12qwaszx" /> <commandText value="INSERT INTO Log4Net ([Date],[Thread],[Level],[Logger],[Message],[Exception], [CreationTime]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception, @log_date)" /> <parameter> <parameterName value="@log_date" /> <dbType value="DateTime" /> <layout type="log4net.Layout.RawTimeStampLayout" /> </parameter> <parameter> <parameterName value="@thread" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%thread" /> </layout> </parameter> <parameter> <parameterName value="@log_level" /> <dbType value="String" /> <size value="50" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%p" /> </layout> </parameter> <parameter> <parameterName value="@logger" /> <dbType value="String" /> <size value="255" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%c" /> </layout> </parameter> <parameter> <parameterName value="@message" /> <dbType value="String" /> <size value="4000" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%m" /> </layout> </parameter> <parameter> <parameterName value="@exception" /> <dbType value="String" /> <size value="2000" /> <layout type="log4net.Layout.ExceptionLayout" /> </parameter> </appender> <root> <level value="ALL" /> <appender-ref ref="AdoNetAppender" /> </root> </log4net>

Showing 1 to 6 of 6 entries