daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Nov 6th, 2018 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.   For more information on how to configure your ASP.NET application, please visit
  4.   http://go.microsoft.com/fwlink/?LinkId=301880
  5.   -->
  6. <configuration>
  7.   <configSections>
  8.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  9.     <section name="kvDefaultRole" type="KiotViet.Services.Common.RoleSettingSection, KiotViet.Services" allowDefinition="Everywhere" />
  10.     <section name="kvDefaultContract" type="KiotViet.Services.Common.ContractSettingSection, KiotViet.Services" allowDefinition="Everywhere" />
  11.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  12.     <section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=11.0.17.222, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" />
  13.   </configSections>
  14.   <Telerik.Reporting>
  15.     <Extensions>
  16.       <Render>
  17.         <Extension name="CSV" visible="false" />
  18.       </Render>
  19.     </Extensions>
  20.   </Telerik.Reporting>
  21.   <appSettings>
  22.     <add key="webpages:Version" value="3.0.0.0" />
  23.     <add key="webpages:Enabled" value="false" />
  24.     <add key="vs:EnableBrowserLink" value="false" />
  25.     <add key="UploadFolderPath" value="~/Content/Upload/" />
  26.     <add key="ImportFolderPath" value="D:\ImportTemp" />
  27.     <add key="ExportFolderPath" value="D:\ExportTemp" />
  28.     <!--FTP Import-->
  29.     <add key="FTPImportHost" value="210.245.8.163" />
  30.     <add key="FTPImportPort" value="22221" />
  31.     <add key="FTPImportUserName" value="kvimport" />
  32.     <add key="FTPImportPassword" value="kvimport" />
  33.     <add key="FTPImportDirectory" value="/" />
  34.  
  35.     <!--Limit Number of Threads-->
  36.     <add key="RedisMqNoOfImportThreads" value="10" />
  37.     <add key="RedisMqNoOfExportThreads" value="10" />
  38.     <add key="RedisMqNoOfEmailThreads" value="10" />
  39.  
  40.     <!--Export Timeout Process: default 20'-->
  41.     <add key="ExportTimeoutProcess" value="1200000" />
  42.    
  43.     <add key="MailAttachmentUploadFolderPath" value="\\\\127.0.0.1\\Temp\\" />
  44.     <add key="ClientValidationEnabled" value="true" />
  45.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  46.     <add key="SiteFormat" value="{RetailerCode}.localhost.com" />
  47.     <add key="IgnoreSubdomain" value="www,admin,api,administrator,xxx,application,app,blog,cpanel" />
  48.     <add key="SiteAdminFormat" value="cpanel." />
  49.     <add key="SiteApiFormat" value="api." />
  50.     <add key="SiteInfoFormat" value="www." />
  51.     <add key="ApiAuditTrail" value="http://localhost:6009/api/audittrails" />
  52.     <add key="RetailerNotFound" value="http://www.kiotviet.com/cua-hang-khong-ton-tai/" />
  53.     <add key="DateExpired" value="15" />
  54.     <add key="MvcMailer.BaseURL" value="" />
  55.     <add key="EnabledShareDataBase" value="True" />
  56.     <add key="servicestack:license" value="4898-e1JlZjo0ODk4LE5hbWU6Q2l0aWdvLFR5cGU6SW5kaWUsSGFzaDp1NDQxSGFZRlhicC8rUEsxVCtKOUlIZTNKMStOSTkzV24xbzN4OGNIT1JGTkhZS3hxdlZ5VDVBNEM1Y3hXUEgyNE00Vkx0SDBHT25vZWtYTmt5WFhTTER1ck1lOFhkd1Rqa2tOcWpaaGFPOU92blg0RDNBRzVrblVjbFlTZnRubzlQYnhmVFFkZGpzSC9SbVhnaTk3UWNKZGR4UVRWK3JFZitqa3hZQmQyLzA9LEV4cGlyeToyMDE4LTAzLTIzfQ==" />
  57.     <add key="microsoft.visualstudio.teamsystems.backupinfo" value="1;web.config.backup" />
  58.     <!-- Key for google drive -->
  59.     <add key="parent_folder_id" value="0BwROeiI8-4xSfk1DOERCVlJFM2dGeE1YQnYwZjFpLWljNUg3ZDhNRmhETF9CeldyOEFydGs" />
  60.     <add key="secure_account_email" value="kiot-757@kiotviet-storage.citigo.net.iam.gserviceaccount.com" />
  61.     <add key="secure_p12_file" value="~/kiotviet.p12" />
  62.     <add key="AuditTrailDataSet" value="KiotViet_9002" />
  63.     <add key="MongoDBConnectionStr" value="mongodb://210.245.8.163:27017/KiotViet_9002?maxPoolSize=10000" />
  64.     <add key="google_tracking_number" value="UA-79714363-1" />
  65.     <!--Zalo-->
  66.     <add key="ZaloSiteFormat" value="de138175." />
  67.     <add key="ZaloCallBack" value="http://de138175.ngrok.io/" />
  68.     <add key="ZaloAppId" value="3026106540395232859" />
  69.     <add key="ZaloAppSecertKey" value="HWrZFk4xG3nFFs35pSe2" />
  70.     <add key="ZaloCache" value="7" />
  71.     <add key="LazadaSiteFormat" value="09f0c633." />
  72.     <add key="LazadaCallBack" value="https://09f0c633.ngrok.io/" />
  73.     <add key="LazadaClientAppId" value="103927" />
  74.     <add key="LazadaApiSercetKey" value="BURjOJW3G2DVAwzsEcKUAhAIXVgQbuTE" />
  75.     <add key="LazadaCache" value="7" />
  76.     <add key="LazadaHostApi" value="https://api.lazada.vn/rest" />
  77.     <add key="LazadaHostAuthApi" value="https://auth.lazada.com/rest" />
  78.     <!--
  79.     <add key="MongoDBConnectionStr" value="mongodb://localhost:27017/?maxPoolSize=10000" />
  80.     -->
  81.     <add key="thumbnail_size" value="280" />
  82.     <!-- End Key for google drive -->
  83.     <!-- Key for Redis -->
  84.     <add key="redis.cache" value="{Servers:210.245.8.163:9379,SentinelMasterName:senmaster1,DbNumber:2,MaxPoolSize:200,AuthPass:K10tV13t#Red1s,IsSentinel:false}"/>
  85.     <add key="redis.messagequeue" value="{Servers:210.245.8.163:9379,SentinelMasterName:senmaster1,DbNumber:2,MaxPoolSize:25,AuthPass:K10tV13t#Red1s,IsSentinel:false}"/>
  86.     <!-- End Redis Key -->
  87.     <!-- Key for Amazon S3 -->
  88.     <add key="aws_access_key_id" value="AKIAI3NJRP6JCJX7U2IA" />
  89.     <add key="aws_secret_access_key" value="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" />
  90.     <add key="aws_cache_control_header" value="public, max-age=86400, no-transform" />
  91.     <add key="aws_bucket_name" value="sanphamtest" />
  92.     <add key="aws_cloudfront_url" value="https://d1g7qs2bqguupl.cloudfront.net/" />
  93.     <add key="aws_max_photo_size" value="2097152" />
  94.     <add key="aws_max_photo_width" value="800" />
  95.     <add key="aws_max_photo_height" value="600" />
  96.     <add key="aws_max_logo_size" value="1048576" />
  97.     <add key="aws_max_logo_width" value="200" />
  98.     <add key="aws_max_logo_height" value="200" />
  99.     <add key="max_upload_file_size" value="10485760" />
  100.     <add key="MaxEmailAttachmentFileSize" value="10485760" />
  101.     <!-- Begin Rabbit -->
  102.     <add key="RabbitHostname" value="210.245.8.163" />
  103.     <add key="RabbitPort" value="5670" />
  104.     <add key="RabbitUsername" value="recovery" />
  105.     <add key="RabbitPassword" value="recovery" />
  106.     <add key="RabbitRequestedHeartbeat" value="10" />
  107.     <add key="RabbitVirtualHost" value="9002" />
  108.     <add key="InventoryImpactPerTrans" value="100" />
  109.     <add key="KVClearRetailerQueue" value="KVClearRetailer" />
  110.     <add key="KVSmsMailQueue" value="KVSmsMail" />
  111.     <add key="KVAuditTrailQueue" value="KVAuditTrail_9002" />
  112.     <add key="KVNotificationQueue" value="KVNotification" />
  113.     <add key="KVImportProductQueue" value="KVImportProduct" />
  114.     <add key="KVImportCustomerQueue" value="KVImportCustomer" />
  115.     <!-- End Rabbit -->
  116.     <add key="AdsArticle" value="http://www.kiotviet.vn/?p=10994" />    
  117.     <!-- Begin threshold of report -->
  118.     <add key="ReportLimitRows" value="200" />
  119.     <add key="ReportThreshold" value="200" />
  120.     <!-- Begin threshold -->
  121.     <add key="ReCaptcha:SiteKey" value="6LfmoRMTAAAAAPUe_ErrIBK-iOObmOZIzBKS77Rd" />
  122.     <add key="ReCaptcha:SecretKey" value="6LfmoRMTAAAAABMqKUqhsTOEhsFs801F1RQCt0dS" />
  123.     <add key="UseCacheReport" value="false" />
  124.     <add key="ExportDetailLimit" value="2000" />
  125.     <add key="ExportSummaryLimit" value="100000" />
  126.     <add key="ImportRowLimit" value="5000" />
  127.     <add key="RequestLimitApi" value="5" />
  128.     <add key="RequestTimeInSecondsApi" value="5" />
  129.     <add key="IsUseSignalRSqlConnection" value="false" />
  130.     <add key="IsValidateImei" value="true" />
  131.     <!-- Add Ip for Cpanel User -->
  132.     <add key="GlobalIpLogin" value="127.0.0.1" />
  133.     <!-- Add Black List IP-->
  134.     <add key="BlackListIp" value="" />
  135.     <add key="WhiteListIp" value="127.0.0.1;210.245.8.163" />
  136.     <add key="GlobalApiAccessKey" value="K1oTv!3T@N0j5" />
  137.     <add key="ReportAppId" value="KiotVietReport" />
  138.     <add key="ReportAppCachePath" value="E:\Temp" />
  139.     <add key="EmailAttachmentTempDir" value="E:\Temp" />
  140.     <add key="AttachmentServer" value="127.0.0.1" />
  141.     <add key="AttachmentServerUserName" value="pftp" />
  142.     <add key="AttachmentServerPassword" value="p" />
  143.     <add key="AttachmentServerDirectory" value="/home/pftp" />
  144.     <add key="HostName" value="localhost.com" />
  145.     <!--Retailer use kiotmail limit-->
  146.     <add key="ReportApiBaseUrl" value="http://localhost.com:2694" />
  147.     <add key="ReportLimitRows" value="200" />
  148.     <!--Limit KiotMail-->
  149.     <add key="AdvanceLimitKiotMail" value="100" />
  150.     <add key="BasicLimitKiotMail" value="100" />
  151.     <add key="TrialLimitKiotMail" value="5" />
  152.     <!--External MailService Config-->
  153.     <add key="KiotMailServerList" value="email-smtp.us-east-1.amazonaws.com;email-smtp.us-west-2.amazonaws.com;email-smtp.eu-west-1.amazonaws.com" />
  154.     <add key="KiotMailPort" value="587" />
  155.     <add key="KiotMailUseSsl" value="true" />
  156.     <add key="KiotMailUsernameCertify" value="AKIAJTUWFRBKXDAXAO5A" />
  157.     <add key="KiotMailPasswordCertify" value="AtyopSNkA++agDn/dh0JMiVlJkIeJW5Rk7lGlKmsZTVe" />
  158.     <!--Vietguys api-->
  159.     <add key="VietguysBrandApi" value="http://sms.vietguys.biz/kiotviet/api_load_brand.php" />
  160.     <add key="VietguysRegisterApi" value="http://sms.vietguys.biz/kiotviet/reg.php" />
  161.     <add key="VietguysSendSmsApi" value="https://sms.vietguys.biz/api/send.php" />
  162.     <add key="ReferApi" value="https://www.kiotviet.vn/meeting-register/" />
  163.     <add key="ExcludedRetailers" value="taphoa,banhang5" />
  164.     <!-- Check Explicit-->
  165.     <add key="auth.excludecheckExplicit" value="" />
  166.     <add key="auth.checkExplicit" value="True" />
  167.     <!--Mobile api-->
  168.     <add key="AndroidVersion" value="{version: '1.0.0.1', code: 16052301, URL: 'https://play.google.com/store/apps/details?id=net.citigo.kiotviet'}" />
  169.     <add key="iOSVersion" value="{version: '1.0.0.1', code: '4.9', URL: 'https://itunes.apple.com/us/app/kiotviet-pos-phan-mem-quan/id1080531532?ls=1&amp;mt=8'}" />
  170.     <add key="DefaultNotificationSetting" value="[{'EventType':'Order_Create','IsActive':true},{'EventType':'Order_Delete','IsActive':true},{'EventType':'Invoice_Create','IsActive':true},{'EventType':'Invoice_Delete','IsActive':true},{'EventType':'Return_Create','IsActive':true},{'EventType':'Customer_Birthday','IsActive':true},{'EventType':'Product_OnHand','IsActive':false},{'EventType':'StockTake_Create','IsActive':true},{'EventType':'PurchaseOrder_Create','IsActive':true},{'EventType':'PurchaseReturn_Create','IsActive':true},{'EventType':'Transfer_Create','IsActive':true},{'EventType':'DamageItem_Create','IsActive':true},{'EventType':'Payment_Create','IsActive':true},{'EventType':'PurchasePayment_Create','IsActive':true}]" />
  171.     <!--JWT Key-->
  172.     <add key="jwt.AuthKeyBase64" value="2XVYGzZp8HB/8w9g5jsrNR4RfgvCe37SXYoyoU3swfU=" />
  173.     <add key="jwt.AesIvBase64" value="3Gkbi74FCKyi7uUGzvfyQg==" />
  174.     <add key="jwt.PrivateKeyXml" value="&lt;RSAKeyValue&g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&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;" />
  176.     <add key="jwt.ExpireTokensInDays" value="1" />
  177.     <add key="jwt.ExpireTokensRefreshInDays" value="30" />
  178.     <add key="jwt.Issuer" value="kvssjwt" />
  179.     <add key="jwt.EncryptPayload" value="True" />
  180.     <add key="jwt.RequireSecureConnection" value="False" />
  181.     <!--End JWT Key-->
  182.     <!-- Begin Report-->
  183.     <add key="ReportAppCacheRedis" value="210.245.8.163:6379,password=K10tV13t#Red1s" />
  184.     <add key="ReportAppCacheRedisPrefix" value="KvReportCache" />
  185.     <add key="ReportClientSessionTimeout" value="15" />
  186.     <add key="ReportReportSharingTimeout" value="0" />
  187.     <!-- End Report-->
  188.     <!--Login Key-->
  189.     <add key="AllowFailTimes" value="3" />
  190.     <add key="CacheTimeForFailTimesCount" value="10" />
  191.     <!--End Login Key-->
  192.     <add key="DaySyncIsDeleted" value="30" />
  193.     <add key="TimeFilterShippingPayment" value="2018-07-01" />
  194.     <!--ZZZ License-->
  195.     <add key="Z_EntityFramework_Extensions_LicenseName" value="1005;101-Citigo" />
  196.     <add key="Z_EntityFramework_Extensions_LicenseKey" value="781100b5-3e55-4d6d-e40c-253c095ffe31" />
  197.     <!--End ZZZ License-->
  198.     <!-- Promotion Config-->
  199.     <add key="PromotionApiBaseUrl" value="https://kvpos.com:9027/api/" />
  200.     <!-- Social Network Config-->
  201.     <add key="SocialNetworkApiBaseUrl" value="https://fb.kvpos.com:9046" />
  202.     <add key="FacebookAppId" value="955985111100295" />
  203.     <!-- SeriLog-->
  204.     <!-- UsingStoreProcedure Config-->
  205.     <!--<add key="StoreProcedureInvoice" value="7" />-->
  206.     <!--<add key="StoreProcedureCustomer" value="1,2,3,4,5,6" />-->
  207.     <!-- UsingStoreProcedure-->
  208.     <add key="serilog:minimum-level" value="Information" />
  209.     <add key="serilog:write-to:RollingFile.pathlogUnhandedException" value="~/Logging/unhandle-{Date}.json" />
  210.     <add key="serilog:write-to:RollingFile.pathlog" value="~/Logging/log-{Date}.json" />
  211.     <add key="serilog:write-to:RollingFile.bufferSize" value="500" />
  212.     <add key="serilog:appName" value="web" />
  213.     <add key="DefaultRetailerPassword" value="kiotviet123456" />
  214.     <!--Mobile API-->
  215.     <add key="GroupFnB" value="7" />
  216.     <add key="FnBMobileApi" value="kvpos.com:9034" />
  217.     <add key="ShardRetailer" value="1" />
  218.     <add key="ShardFnB" value="3" />
  219.     <add key="UseFnB" value="false" />
  220.     <add key="DaySyncIsDeleted" value="30" />
  221.     <!-- Begin ElasticSearch -->
  222.     <add key="EnableEsIntegration" value="false" />
  223.     <add key="RabbitVhostEs" value="ES" />
  224.     <!-- End ElasticSearch -->
  225.       <add key="ReportApiBaseUrl" value="https://kvpos.com:7004" />
  226.     <add key="IntergateDeliveryUrl" value="https://shipping.kvpos.com:9061" />
  227.     <add key="InternalApiAccessKey" value="K1oTv!3T@N0j5" />
  228.     <add key="InternalIpWhitelist" value="*.*" />
  229.     <add key="MaxProcessDeliveryItemPerTime" value="150" />
  230.     <!-- Cdn bundle config -->
  231.     <add key="UseCdn" value="false" />
  232.     <add key="CdnPrefix" value="https://d1g7qs2bqguupl.cloudfront.net/retailler/bundles" />
  233.     <add key="BackupCdnPrefix" value="https://d2q42mb8krc1g8.cloudfront.net/retailler/bundles" />
  234.     <!-- End Cdn bundle config -->
  235.    
  236.     <!-- Kv Retailer POS Version -->
  237.     <add key="KvRetailerPOSVersion" value="1.0.2" />
  238.     <add key="KvRetailerPOSForceUpdate" value="false" />
  239.     <!-- End Kv Retailer POS Version-->
  240.     <!-- Define host -->
  241.     <add key="BaseUrl" value="https://{0}.kvpos.com:9002" />
  242.     <!-- End Define host-->
  243.       <add key="ShowPopupZone" value="2" />
  244.    
  245.     <!-- E-Invoice keys-->
  246.     <add key="RetailerUseEInvoice" value="mamikv" />
  247.     <!-- End E-Invoice keys-->
  248.   </appSettings>
  249.   <location path="api">
  250.     <system.web>
  251.       <httpHandlers>
  252.         <add path="*" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" />
  253.       </httpHandlers>
  254.     </system.web>
  255.     <!-- Required for IIS7 -->
  256.     <system.webServer>
  257.       <modules runAllManagedModulesForAllRequests="true">
  258.         <add name="UnhandledExceptionModule" type="KiotViet.UnhandledException.UnhandledExceptionModule" />
  259.       </modules>
  260.       <validation validateIntegratedModeConfiguration="false" />
  261.       <handlers>
  262.         <add path="*" name="ServiceStack.Factory" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" />
  263.       </handlers>
  264.       <httpProtocol>
  265.         <customHeaders>
  266.           <clear />
  267.           <add name="Access-Control-Allow-Origin" value="*" />
  268.           <add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept, Authorization" />
  269.           <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
  270.           <add name="Access-Control-Expose-Headers" value="Retailer-POS-Version" />
  271.         </customHeaders>
  272.       </httpProtocol>
  273.     </system.webServer>
  274.   </location>
  275.   <!--
  276.     For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  277.  
  278.     The following attributes can be set on the <httpRuntime> tag.
  279.       <system.Web>
  280.         <httpRuntime targetFramework="4.5" />
  281.       </system.Web>
  282.   -->
  283.   <system.web>
  284.     <globalization culture="vi" uiCulture="vi-VN" />
  285.     <compilation debug="true" targetFramework="4.5.2">
  286.       <assemblies>
  287.         <add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  288.       </assemblies>
  289.     </compilation>
  290.     <!-- The request length is in kilobytes, execution timeout is in seconds  -->
  291.     <httpRuntime maxRequestLength="10240" executionTimeout="240" targetFramework="4.5" requestValidationMode="2.0" />
  292.     <authorization>
  293.       <allow users="?" />
  294.     </authorization>
  295.     <!-- Required for MONO
  296.     <httpHandlers>      
  297.       <add path="api*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/>
  298.     </httpHandlers>-->
  299.     <customErrors mode="Off">
  300.       <error statusCode="500" redirect="/Content/error/404.html" />
  301.       <error statusCode="404" redirect="/Content/error/404.html" />
  302.       <error statusCode="403" redirect="/Content/error/403.html" />
  303.     </customErrors>
  304.   </system.web>
  305.   <system.webServer>
  306.     <security>
  307.       <requestFiltering>
  308.         <!-- The content length is in bytes  -->
  309.         <requestLimits maxAllowedContentLength="10485760" />
  310.       </requestFiltering>
  311.     </security>
  312.     <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
  313.       <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
  314.       <dynamicTypes>
  315.         <add mimeType="text/*" enabled="true" />
  316.         <add mimeType="message/*" enabled="true" />
  317.         <add mimeType="application/javascript" enabled="true" />
  318.         <add mimeType="application/json; charset=utf-8" enabled="true" />
  319.         <add mimeType="*/*" enabled="false" />
  320.       </dynamicTypes>
  321.       <staticTypes>
  322.         <add mimeType="text/*" enabled="true" />
  323.         <add mimeType="message/*" enabled="true" />
  324.         <add mimeType="application/javascript" enabled="true" />
  325.         <add mimeType="application/json; charset=utf-8" enabled="true" />
  326.         <add mimeType="*/*" enabled="false" />
  327.       </staticTypes>
  328.     </httpCompression>
  329.     <urlCompression doStaticCompression="true" doDynamicCompression="true" />
  330.     <!-- ServiceStack: Required -->
  331.     <modules runAllManagedModulesForAllRequests="true" />
  332.     <validation validateIntegratedModeConfiguration="false" />
  333.     <handlers>
  334.       <remove name="WebDAV" />
  335.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  336.       <remove name="OPTIONSVerbHandler" />
  337.       <remove name="TRACEVerbHandler" />
  338.       <!--
  339.       <add name="KvStaticFileHandler" path="/Scripts/common/config.js" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  340.       -->
  341.       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  342.       <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" />
  343.     </handlers>
  344.     <!--
  345.     <modules>
  346.       <remove name="WebDAVModule" />
  347.     </modules>
  348.     -->
  349.     <!--<httpErrors errorMode="Custom" existingResponse="Replace">
  350.       <remove statusCode="403" subStatusCode="-1" />
  351.       <remove statusCode="404" subStatusCode="-1" />
  352.       <remove statusCode="500" subStatusCode="-1" />
  353.       <error statusCode="403" path="/content/error/403.html" responseMode="ExecuteURL" />
  354.       <error statusCode="404" path="/content/error/404.html" responseMode="ExecuteURL" />
  355.       <error statusCode="500" path="/content/error/500.html" responseMode="ExecuteURL" />
  356.     </httpErrors>-->
  357.   </system.webServer>
  358.   <runtime>
  359.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  360.       <dependentAssembly>
  361.         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  362.         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  363.       </dependentAssembly>
  364.       <dependentAssembly>
  365.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  366.         <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  367.       </dependentAssembly>
  368.       <dependentAssembly>
  369.         <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  370.         <bindingRedirect oldVersion="0.0.0.0-4.6.1.0" newVersion="4.6.1.0" />
  371.       </dependentAssembly>
  372.       <dependentAssembly>
  373.         <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  374.         <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  375.       </dependentAssembly>
  376.       <dependentAssembly>
  377.         <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  378.         <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  379.       </dependentAssembly>
  380.       <dependentAssembly>
  381.         <assemblyIdentity name="EntityFramework.MappingAPI" publicKeyToken="7ee2e825d201459e" culture="neutral" />
  382.         <bindingRedirect oldVersion="0.0.0.0-6.1.0.9" newVersion="6.1.0.9" />
  383.       </dependentAssembly>
  384.       <dependentAssembly>
  385.         <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  386.         <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  387.       </dependentAssembly>
  388.       <dependentAssembly>
  389.         <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  390.         <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  391.       </dependentAssembly>
  392.       <dependentAssembly>
  393.         <assemblyIdentity name="Microsoft.AspNet.SignalR.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  394.         <bindingRedirect oldVersion="0.0.0.0-2.2.2.0" newVersion="2.2.2.0" />
  395.       </dependentAssembly>
  396.       <dependentAssembly>
  397.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  398.         <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  399.       </dependentAssembly>
  400.       <dependentAssembly>
  401.         <assemblyIdentity name="Telerik.Reporting" publicKeyToken="a9d7983dfcc261be" culture="neutral" />
  402.         <bindingRedirect oldVersion="0.0.0.0-11.0.17.222" newVersion="11.0.17.222" />
  403.       </dependentAssembly>
  404.       <dependentAssembly>
  405.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  406.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  407.       </dependentAssembly>
  408.       <dependentAssembly>
  409.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  410.         <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  411.       </dependentAssembly>
  412.       <dependentAssembly>
  413.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  414.         <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" />
  415.       </dependentAssembly>
  416.       <dependentAssembly>
  417.         <assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  418.         <bindingRedirect oldVersion="0.0.0.0-4.2.22.0" newVersion="4.2.22.0" />
  419.       </dependentAssembly>
  420.       <dependentAssembly>
  421.         <assemblyIdentity name="LinqKit" publicKeyToken="bc217f8844052a91" culture="neutral" />
  422.         <bindingRedirect oldVersion="0.0.0.0-1.1.2.0" newVersion="1.1.2.0" />
  423.       </dependentAssembly>
  424.       <dependentAssembly>
  425.         <assemblyIdentity name="RabbitMQ.Client" publicKeyToken="89e7d7c5feba84ce" culture="neutral" />
  426.         <bindingRedirect oldVersion="0.0.0.0-3.6.5.0" newVersion="3.6.5.0" />
  427.       </dependentAssembly>
  428.       <dependentAssembly>
  429.         <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  430.         <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  431.       </dependentAssembly>
  432.       <dependentAssembly>
  433.         <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  434.         <bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
  435.       </dependentAssembly>
  436.       <dependentAssembly>
  437.         <assemblyIdentity name="AWSSDK.Core" publicKeyToken="885c28607f98e604" culture="neutral" />
  438.         <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
  439.       </dependentAssembly>
  440.       <dependentAssembly>
  441.         <assemblyIdentity name="MsgPack" publicKeyToken="a2625990d5dc0167" culture="neutral" />
  442.         <bindingRedirect oldVersion="0.0.0.0-0.9.0.0" newVersion="0.9.0.0" />
  443.       </dependentAssembly>
  444.       <dependentAssembly>
  445.         <assemblyIdentity name="FluentFTP" publicKeyToken="f4af092b1d8df44f" culture="neutral" />
  446.         <bindingRedirect oldVersion="0.0.0.0-19.2.2.0" newVersion="19.2.2.0" />
  447.       </dependentAssembly>
  448.     </assemblyBinding>
  449.   </runtime>
  450.   <system.net>
  451.     <mailSettings>
  452.       <!--<smtp from="&quot;KiotViet.Com&quot; &lt;kythuat@kiotviet.com&gt;">-->
  453.       <smtp from="&quot;KiotViet.Com&quot; &lt;hotro@kiotviet.com&gt;">
  454.         <network host="email-smtp.us-east-1.amazonaws.com" password="AlNCBc5EQ258Gv3nl5kabfA9EoSdGEll3yAVTSOLF8+E" port="587" userName="AKIAJDTRW7NC2S4O5YNQ" enableSsl="true" />
  455.       </smtp>
  456.     </mailSettings>
  457.   </system.net>
  458.   <entityFramework>
  459.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  460.     <providers>
  461.       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  462.     </providers>
  463.   </entityFramework>
  464.   <connectionStrings>
  465.     <add name="KvIdentityEntities" connectionString="metadata=res://*/KvIdentity.csdl|res://*/KvIdentity.ssdl|res://*/KvIdentity.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KvIdentity;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />    
  466.     <add name="KVMasterDataEntities" connectionString="metadata=res://*/kvMasterData.csdl|res://*/kvMasterData.ssdl|res://*/kvMasterData.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietMasterStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  467.     <add name="KVEntities" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  468.     <add name="KVEntities1" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  469.     <add name="KVEntities2" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  470.     <add name="KVEntities3" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  471.     <add name="KVEntities4" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  472.     <add name="KVEntities5" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  473.     <add name="KVEntities6" connectionString="metadata=res://*/kiotviet.csdl|res://*/kiotviet.ssdl|res://*/kiotviet.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=210.245.8.163,22102;initial catalog=KiotVietStaging;persist security info=True;user id=kiotvietdev;password=C1t1g000$6162;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  474.   </connectionStrings>
  475.   <kvDefaultRole>
  476.     <roles>
  477.       <role name="Quản trị chi nhánh">
  478.         <privileges>
  479.           <add name="DashBoard_Read" />
  480.           <add name="Branch_Read" />
  481.           <add name="PrintTemplate_Read" />
  482.           <add name="PrintTemplate_Update" />
  483.           <add name="User_Any" />
  484.           <add name="CustomerReport_CustomerSale" />
  485.           <add name="EndOfDayReport_EndOfDayDocument" />
  486.           <add name="EndOfDayReport_EndOfDayCashFlow" />
  487.           <add name="EndOfDayReport_EndOfDayProduct" />
  488.           <add name="EndOfDayReport_EndOfDaySynthetic" />
  489.           <add name="ProductReport_ProductBySale" />
  490.           <add name="ProductReport_ProducInOutStock" />
  491.           <add name="ProductReport_ProducInOutStockDetail" />
  492.           <add name="ProductReport_ProductByProfit" />
  493.           <add name="SaleReport_SaleByTime" />
  494.           <add name="SaleReport_SaleByUser" />
  495.           <add name="SaleReport_BranchSaleReport" />
  496.           <add name="Product_Any" />
  497.           <add name="PriceBook_Any" />
  498.           <add name="SupplierAdjustment_Create" />
  499.           <add name="SupplierAdjustment_Read" />
  500.           <add name="Transfer_Any" />
  501.           <add name="PurchaseOrder_Any" />
  502.           <add name="PurchasePayment_Create" />
  503.           <add name="PurchasePayment_Update" />
  504.           <add name="Product_Cost" />
  505.           <add name="Product_Import" />
  506.           <add name="PurchaseReturn_Any" />
  507.           <add name="StockTake_Create" />
  508.           <add name="StockTake_Read" />
  509.           <add name="Supplier_Any" />
  510.           <add name="Order_Any" />
  511.           <add name="Invoice_Any" />
  512.           <add name="Invoice_ReadOnHand" />
  513.           <add name="Return_Any" />
  514.           <add name="Customer_Any" />
  515.           <add name="Payment_Any" />
  516.           <add name="CustomerAdjustment_Create" />
  517.           <add name="CustomerAdjustment_Read" />
  518.           <add name="CustomerPointAdjustment_Read" />
  519.           <add name="CustomerPointAdjustment_Update" />
  520.           <add name="CashFlow_Any" />
  521.           <add name="TableAndRoom_Any" />
  522.         </privileges>
  523.       </role>
  524.       <role name="Nhân viên kho">
  525.         <privileges>
  526.           <add name="Product_Any" />
  527.           <add name="PriceBook_Any" />
  528.           <add name="SupplierAdjustment_Create" />
  529.           <add name="SupplierAdjustment_Read" />
  530.           <add name="Transfer_Any" />
  531.           <add name="PurchaseOrder_Any" />
  532.           <add name="PurchasePayment_Any" />
  533.           <add name="Product_Cost" />
  534.           <add name="Product_Import" />
  535.           <add name="PurchaseReturn_Any" />
  536.           <add name="StockTake_Create" />
  537.           <add name="StockTake_Read" />
  538.           <add name="Supplier_Any" />
  539.         </privileges>
  540.       </role>
  541.       <role name="Nhân viên thu ngân">
  542.         <privileges>
  543.           <add name="Order_Any" />
  544.           <add name="Invoice_Any" />
  545.           <add name="Invoice_ReadOnHand" />
  546.           <add name="Return_Any" />
  547.           <add name="Customer_Any" />
  548.           <add name="Payment_Any" />
  549.           <add name="CustomerAdjustment_Create" />
  550.           <add name="CustomerAdjustment_Read" />
  551.           <add name="EndOfDayReport_EndOfDayDocument" />
  552.           <add name="EndOfDayReport_EndOfDayCashFlow" />
  553.           <add name="EndOfDayReport_EndOfDayProduct" />
  554.           <add name="TableAndRoom_Read" />
  555.         </privileges>
  556.       </role>
  557.       <role name="Nhân viên bồi bàn">
  558.         <privileges>
  559.           <add name="Invoice_Create" />
  560.           <add name="TableAndRoom_Read" />
  561.         </privileges>
  562.       </role>
  563.     </roles>
  564.   </kvDefaultRole>
  565.   <!--Default Contract Setting-->
  566.   <kvDefaultContract>
  567.     <contracts>
  568.       <contract name="Trial">
  569.         <features>
  570.           <add name="UseManufacturing" />
  571.           <add name="UseCod" />
  572.           <add name="UseSurcharge" />
  573.           <add name="SMSEmailMarketing" />
  574.         </features>
  575.       </contract>
  576.       <contract name="Basic">
  577.         <features>
  578.           <add name="UseManufacturing" />
  579.           <add name="UseCod" />
  580.           <add name="UseSurcharge" />
  581.           <add name="SMSEmailMarketing" />
  582.         </features>
  583.       </contract>
  584.       <contract name="Advance">
  585.         <features>
  586.           <add name="UseManufacturing" />
  587.           <add name="UseCod" />
  588.           <add name="UseSurcharge" />
  589.           <add name="SMSEmailMarketing" />
  590.         </features>
  591.       </contract>
  592.     </contracts>
  593.   </kvDefaultContract>
  594. </configuration>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top