﻿<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  https://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <connectionStrings>
  
 <add name="DefaultConnection" connectionString="Data Source=PRASHANT-PC\SQLEXPRESS02;Initial Catalog=HRflix; User ID=sa;Password=triple" providerName="System.Data.SqlClient" />
    <!--<add name="DefaultConnection" connectionString="Data Source=.; Initial Catalog=Inventory; User Id=InvStore; Password=Hxyg7386$pop;TrustServerCertificate=True" />-->
  </connectionStrings>
  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
    <add key="InitialCatalog" value="Inventory" />
    <add key="Host" value="smtp.zoho.in" />
    <add key="EnableSsl" value="true" />
    <add key="UserName" value="keshaw@hrflix.in" />
    <add key="Password" value="Kishor@2026" />
    <add key="Port" value="587" />
    <add key="Quotation" value="Quotation" />
    <add key="GRN" value="GRN" />
    <add key="Performa_Invoice" value="Performa Invoice" />
    <add key="Sale_Invoice" value="Sale Invoice" />
    <add key="Sale_Return" value="Sale Return" />
    <add key="Purchase_Order" value="Purchase Order" />
    <add key="GRN" value="GRN" />
    <add key="Pruchase_Return" value="Pruchase Return" />
    <add key="Payment_Received" value="Payment Received" />
    <add key="Payment_Out" value="Payment Out" />
    <add key="Expenses" value="Expenses" />
	<add key="Transfar_stock" value="Transfar stock" />
  </appSettings>
  <system.web>
    <customErrors mode="Off" />
    <compilation debug="true" targetFramework="4.7.2" />
    <httpRuntime targetFramework="4.7.2" />
    <authentication mode="Forms">
      <forms name="Inventory" loginUrl="Login.aspx" defaultUrl="~/Dashboard.aspx" timeout="525600" protection="All" slidingExpiration="true" path="/" cookieless="UseCookies" requireSSL="false" />
    </authentication>
	  <authorization>
		  <deny users="?" />
	  </authorization>
  </system.web>
  <system.webServer>
    <httpErrors errorMode="Detailed" existingResponse="PassThrough" />
    <rewrite>
      <rules>
        <rule name="RemoveASPX" stopProcessing="true">
          <match url="^(.*)\.aspx$" />
          <action type="Redirect" url="{R:1}" redirectType="Permanent" />
        </rule>
        <rule name="RewriteToASPX" stopProcessing="true">
          <match url="^([^/.]+)$" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            <add input="{REQUEST_FILENAME}.aspx" matchType="IsFile" />
          </conditions>
          <action type="Rewrite" url="{R:1}.aspx" />
        </rule>
      </rules>
    </rewrite>
	  <defaultDocument enabled="true">
		  <files>
			  <clear />
			  <add value="Login.aspx" />
		  </files>
	  </defaultDocument>
  </system.webServer>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008,40000,40008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </compilers>
  </system.codedom>
	<location path="Login.aspx">
		<system.web>
			<authorization>
				<allow users="*" />
			</authorization>
		</system.web>
	</location>
</configuration>