Click here to Skip to main content
15,889,411 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Performance testing for 500 concurrent users ends with 100% CPU Utilization on DB Server Pin
Kornfeld Eliyahu Peter14-Jul-14 3:31
professionalKornfeld Eliyahu Peter14-Jul-14 3:31 
AnswerRe: Performance testing for 500 concurrent users ends with 100% CPU Utilization on DB Server Pin
David Mujica14-Jul-14 4:07
David Mujica14-Jul-14 4:07 
GeneralRe: Performance testing for 500 concurrent users ends with 100% CPU Utilization on DB Server Pin
antony beula15-Jul-14 20:32
antony beula15-Jul-14 20:32 
GeneralRe: Performance testing for 500 concurrent users ends with 100% CPU Utilization on DB Server Pin
Richard Deeming16-Jul-14 2:20
mveRichard Deeming16-Jul-14 2:20 
GeneralRe: Performance testing for 500 concurrent users ends with 100% CPU Utilization on DB Server Pin
antony beula16-Jul-14 20:26
antony beula16-Jul-14 20:26 
Questionhow to use ajax tabcontainer in asp.net mvc 4 Pin
shwe pwint14-Jul-14 1:04
shwe pwint14-Jul-14 1:04 
AnswerRe: how to use ajax tabcontainer in asp.net mvc 4 Pin
thatraja15-Jul-14 1:02
professionalthatraja15-Jul-14 1:02 
QuestionAuthorization not working in Classic mode(Application pools) Pin
sajithnet13-Jul-14 22:37
sajithnet13-Jul-14 22:37 
Hi,

I need to do authorization for files in a particular folder. For example:: i am storing files in the folder named "Report" and if some is not authenticated he must not able to view the particular resource(http://localhost:82/Report/manager.pdf) and It must redirect to lo-gin page (http://localhost:82/Account/Login.aspx). This is working fine in with the site configured Application pools with integrated mode(Managed pipeline mode) , But in classic mode with out Authentication i can access the files directly(http://localhost:82/Report/manager.pdf) that must be restricted. The web.config is attached below.Can some one help to resolve this issue.
XML
----Web.config------

<configuration>
  <connectionStrings>
    <add name="ApplicationServices"
         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
         providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
    <authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
  </system.web>
  <system.webServer>
     <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>


Regards,
sajith
AnswerRe: Authorization not working in Classic mode(Application pools) Pin
Richard Deeming16-Jul-14 2:13
mveRichard Deeming16-Jul-14 2:13 
GeneralRe: Authorization not working in Classic mode(Application pools) Pin
sajithnet16-Jul-14 22:44
sajithnet16-Jul-14 22:44 
QuestionHelp with ASP.NET Event Calendar Pin
Member 1092961012-Jul-14 8:36
Member 1092961012-Jul-14 8:36 
QuestionWhat is Katna in asp.net Pin
Tridip Bhattacharjee10-Jul-14 21:29
professionalTridip Bhattacharjee10-Jul-14 21:29 
AnswerRe: What is Katna in asp.net Pin
thatraja10-Jul-14 22:03
professionalthatraja10-Jul-14 22:03 
AnswerRe: What is Katna in asp.net Pin
ZurdoDev11-Jul-14 1:51
professionalZurdoDev11-Jul-14 1:51 
AnswerRe: What is Katna in asp.net Pin
Praveen Dselva24-Jul-14 0:09
professionalPraveen Dselva24-Jul-14 0:09 
QuestionSetting the StatusCode of the response Pin
ThetaClear10-Jul-14 0:16
ThetaClear10-Jul-14 0:16 
QuestionRe: Setting the StatusCode of the response Pin
thatraja10-Jul-14 4:35
professionalthatraja10-Jul-14 4:35 
AnswerRe: Setting the StatusCode of the response Pin
ThetaClear10-Jul-14 7:36
ThetaClear10-Jul-14 7:36 
AnswerRe: Setting the StatusCode of the response Pin
thatraja10-Jul-14 21:58
professionalthatraja10-Jul-14 21:58 
GeneralRe: Setting the StatusCode of the response Pin
ThetaClear12-Jul-14 21:37
ThetaClear12-Jul-14 21:37 
GeneralRe: Setting the StatusCode of the response Pin
ThetaClear12-Jul-14 22:54
ThetaClear12-Jul-14 22:54 
AnswerRe: Setting the StatusCode of the response Pin
jkirkerx11-Jul-14 11:17
professionaljkirkerx11-Jul-14 11:17 
QuestionDynamic reports in asp.net Pin
Member 105902599-Jul-14 21:17
Member 105902599-Jul-14 21:17 
AnswerRe: Dynamic reports in asp.net Pin
thatraja10-Jul-14 4:37
professionalthatraja10-Jul-14 4:37 
AnswerRe: Dynamic reports in asp.net (Using Formula Fields) Pin
Vikas Joshi (Sofware Developer)14-Jul-14 21:53
Vikas Joshi (Sofware Developer)14-Jul-14 21: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.