Click here to Skip to main content
15,898,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: do I need to index and follow? Pin
Daniel Casserly9-Sep-10 4:49
Daniel Casserly9-Sep-10 4:49 
Questiondisable or hide minimize button Pin
vishnukamath9-Sep-10 3:00
vishnukamath9-Sep-10 3:00 
AnswerRe: disable or hide minimize button Pin
Not Active9-Sep-10 5:34
mentorNot Active9-Sep-10 5:34 
GeneralRe: disable or hide minimize button Pin
vishnukamath9-Sep-10 19:05
vishnukamath9-Sep-10 19:05 
QuestionRe redirection to Login.aspx Pin
Ajay Kale New9-Sep-10 2:44
Ajay Kale New9-Sep-10 2:44 
AnswerRe: Re redirection to Login.aspx Pin
Daniel Casserly9-Sep-10 4:50
Daniel Casserly9-Sep-10 4:50 
GeneralRe: Re redirection to Login.aspx Pin
Not Active9-Sep-10 5:30
mentorNot Active9-Sep-10 5:30 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New9-Sep-10 23:15
Ajay Kale New9-Sep-10 23:15 
Hi
can you please refer to below config file -

<?xml version="1.0"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
<section name="enterpriselibrary.configurationSettings" type="Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationManagerSectionHandler, Microsoft.Practices.EnterpriseLibrary.Configuration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
</configSections>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="Logs/Valuations.log"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger. %M - %property{user} - %message%newline"/>
</layout>
</appender>
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
<to value=""/>
<from value="BarracudaFrontEnd@us.hsbc.com"/>
<subject value="BarracudaFrontEnd Error Warning"/>
<smtpHost value="nysuntrade03"/>
<bufferSize value="512"/>
<lossy value="true"/>
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="ERROR"/>
</evaluator>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger.%M - %property{user} - %message%newline"/>
</layout>
</appender>
<root>
<level value="DEBUG"/>
<appender-ref ref="RollingFile"/>
</root>
</log4net>
<enterpriselibrary.configurationSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" applicationName="Application" xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration">
<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData" name="dataConfiguration" encrypt="false">
<storageProvider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="dataConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer">
<includeTypes />
</dataTransformer>
</configurationSection>
</configurationSections>
<keyAlgorithmStorageProvider xsi:nil="true" />
<includeTypes />
</enterpriselibrary.configurationSettings>
<appSettings>
<add key="entities" value="HBUS-New York,HBEU-London,HBFR-Paris,HBFP-Paris,HBAP-Hong Kong" />
<add key="sftpAddressRecords" value="5" />
<add key="DefaultDate" value="2003-09-01" />
<add key="ServerName" value="UAT" />
<add key="disableSimultaneousLogins" value="Y" />
<add key="senttoDMLservletPath" value="http://136.50.107.141:9080/dev/approvedOrCancelledAction.do"/>
<add key="approverejecttltproc" value="GVS_TLT_PKG.APPROVE_REJECT_TL" />
<add key="tlt_delete_proc" value="GVS_TLT_PKG.PROC_SUBMIT_TLT_DELETE" />
<add key="approverejectclientproc" value="GVS_CLIENTPROFILES_PKG.ApproveRejectClient" />
<add key="Environment" value="QA"/>
<add key="ServletCommTimeout" value="9000"/>
<add key="RevisedTradeColor" value="#faa5a0" />
<add key="UnMatchedTraderTicketColor" value="#ffffff" />
<add key="CancelledTraderTicketColor" value="#cdcdcd" />
<add key="AllocatedTraderTicketColor" value="#ffff64" />
<add key="MatchedTraderTicketColor" value="#99ff99" />
<add key="TradertoTrader_StreetTradeColor" value="#F4A460" />
<add key="MAPagingDifference" value="50" />
<add key="PagingDifference" value="50" />
<add key="frequencies" value="DAILY,WEEKLY,FORTNIGHTLY,MONTHLY,QUARTERLY,SEMIANNUALLY,ANNUALLY,RANDOM,EOM,EOQ,EOHY" />
<add key="InclExclPagingDifference" value="100" />
<add key="TQTPagingDifference" value="500" />
<add key="TLTSearchRecords" value="500" />
<add key="ManagingLocation" value="Hong Kong,London,New York,Paris" />
<!--<add key="ManualTradeServlet" value="http://136.50.107.141:9080/dev/UploadAction.do" /> -->
<add key="ManualTradeServlet" value="http://136.50.107.141:9080/dev/UploadAction.do" />
<add key="CheckForUpdates" value="60"/>
<add key="appPath" value="http://localhost" />
<add key="TQTDownloadPagingDifference" value="5000" />
<add key="TQTDownloadLimit" value="60000" />
<add key="gvsadminpkg_getuserdata" value="GVS_ADMIN_PKG.GetUserData" />
<add key="gvsadminpkg_saveuserdata" value="GVS_ADMIN_PKG.SaveUserData" />
<add key="gvsadminpkg_adminops" value="GVS_ADMIN_PKG.AdminOperations" />
<add key="gvsfeedpkg_updatestmtstatus" value="GVS_PROCESS_FEED_PKG.PROC_UPD_STMT_FE" />
<add key="excludedproducts" value="FXS,SDS,SPM,SPT,SWO,ASW,BMO" />
</appSettings>
<location path="images">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="styles">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="Administration">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="ajaxpro">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<system.web>
<pages buffer="true" enableSessionState="true" enableViewState="true" enableViewStateMac="false" />
<identity impersonate="true"/>
<httpHandlers>
<!--<add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />-->
<add verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
</httpHandlers>

<httpRuntime executionTimeout="60000" maxRequestLength="100000" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->



<compilation defaultLanguage="c#" debug="true"/>
<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.

"On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="RemoteOnly" defaultRedirect="ErrorPage.aspx">
<error statusCode="500" redirect="ErrorPage.aspx?err=500" />
<error statusCode="404" redirect="ErrorPage.aspx?err=404" />
<error statusCode="403" redirect="ErrorPage.aspx?err=403" />
</customErrors>
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"

"None" No authentication is performed.
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
its settings for the application. Anonymous access must be disabled in IIS.
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then
you authenticate them in your application. A user credential token is stored in a cookie.
"Passport" Authentication is performed via a centralized authentication service provided
by Microsoft that offers a single logon and core profile services for member sites.

slidingExpiration=[true|false]
-->
<authentication mode="Forms">
<!--
<forms loginUrl="login.aspx" name="adAuthCookie" timeout="600" path="/" slidingExpiration="false" />
-->
</authentication>

<!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<!--<allow users="*" />-->
<!-- Allow all users -->
<deny users="?"/>
<!-- Deny anonymous users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
<!--<identity impersonate="true" />-->
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->

<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".

mode="Off|InProc|StateServer|SQLServer"

-->
<sessionState mode="InProc" timeout="36"/>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
</configuration>
AnswerRe: Re redirection to Login.aspx Pin
Not Active9-Sep-10 5:29
mentorNot Active9-Sep-10 5:29 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New9-Sep-10 23:31
Ajay Kale New9-Sep-10 23:31 
GeneralRe: Re redirection to Login.aspx Pin
Daniel Casserly10-Sep-10 1:15
Daniel Casserly10-Sep-10 1:15 
GeneralRe: Re redirection to Login.aspx Pin
Not Active10-Sep-10 2:42
mentorNot Active10-Sep-10 2:42 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New10-Sep-10 2:47
Ajay Kale New10-Sep-10 2:47 
GeneralRe: Re redirection to Login.aspx Pin
Not Active10-Sep-10 2:54
mentorNot Active10-Sep-10 2:54 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New10-Sep-10 3:37
Ajay Kale New10-Sep-10 3:37 
GeneralRe: Re redirection to Login.aspx Pin
Not Active10-Sep-10 3:50
mentorNot Active10-Sep-10 3:50 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New13-Sep-10 0:31
Ajay Kale New13-Sep-10 0:31 
AnswerRe: Re redirection to Login.aspx Pin
Fayu9-Sep-10 6:02
Fayu9-Sep-10 6:02 
GeneralRe: Re redirection to Login.aspx Pin
Ajay Kale New9-Sep-10 23:27
Ajay Kale New9-Sep-10 23:27 
QuestionThe function gets Fired Twice why ? Pin
Vimalsoft(Pty) Ltd8-Sep-10 22:35
professionalVimalsoft(Pty) Ltd8-Sep-10 22:35 
AnswerRe: The function gets Fired Twice why ? Pin
Fayu9-Sep-10 6:05
Fayu9-Sep-10 6:05 
GeneralRe: The function gets Fired Twice why ? Pin
Vimalsoft(Pty) Ltd9-Sep-10 20:52
professionalVimalsoft(Pty) Ltd9-Sep-10 20:52 
GeneralRe: The function gets Fired Twice why ? Pin
JV99999-Sep-10 22:18
professionalJV99999-Sep-10 22:18 
QuestionAjax runtime script failed to load Pin
Ahamed Azeem8-Sep-10 20:16
Ahamed Azeem8-Sep-10 20:16 
AnswerRe: Ajax runtime script failed to load Pin
Ankur\m/8-Sep-10 23:53
professionalAnkur\m/8-Sep-10 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.