MVC 5 - After some idle time, users are prompted to enter windows credentials on [allowanonymous] controller

I have set up a web application using windows authentication and have two views for allowanonymous access. In the two views I also have partial views and have function which gets a list of items by calling the enumerable function in the model class.
Everything all seems fine when accessing the allowanonymous view pages but after some idle time I get prompted to enter username and password. It is consist across different environment DEV, UAT so I am very worried it will happen in Production environment.
And it seems to go to the home page (http://localhost/home} after failing the credentials.
See the following configuration I have. Please help.
in web.config
  <location path="SomeControllerName">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
In controller
namespace namespace.Controllers
    [AllowAnonymous]
    public class SomeControllerNameController : Controller
In IIS
Anonymous Authentication setting
Status : Enabled
Anonymous User identity: IUSR
Windows Authentication setting
status:Enabled
Extended Protection:Accept
Enable Kernel mode authentication: ticked
Provider:NTLM
ASP.Impersnation :disable
basic authentication :disabled
Form authentication:disabled

You put allowanonymous so everyone has the right. It will not be authenticated.
Anyway you should post this in http://forums.asp.net.
chanmm 
chanmm

Similar Messages

  • SSRS 2012 report integrated with SharePoint 2013 issue :Report refreshing after some idle time

    we have SSRS 2012 report integrated with SharePoint 2013  , when we click on any toggle item after some idle time of 60 secs and try again to expand
    another toggle item then  complete report is getting refreshed and  if we are in child report it is redirecting to parent report. . we didn’t set any refreshing property at report level. I hope there will be some idle time setting at sharepoint site
    level.
    what we observed.
    1. there is no problem when we expand toggle items without any idle time.
    2. when we open the report and expand few toggles and keep idle for 60 seconds and try
    again to expand another toggle item then  complete report is getting refreshed (all toggle items are collapsing).
    3. If you keep idle for 60 minutes and if you didn’t do any action like expanding toggle
    items it is not refreshing.
    why it is happening and how to stop that complete refresh.
    Surendra Thota

    Hi Surendra,
    I have tested on my local environment and the issue can be caused by the session time out ,the time out of the report precessing, database timeout,DataSet query execution timeout and so on.
    I would like to confirm that the refresh you have mentioned is the page refresh or the report reloading?
    Please reference to the setting below to don't limit the timeout values if you got the report reloading:
    Point to a report in the library.
    Click the down arrow, and select Manage processing options.
    In Processing Time-out, select Do not time out report processing or
    Limit report processing in seconds if you want to override that value with no time-out or different time-out values.
    If you got the session timeout that refresh the page, please reference to the setting in below article:
    http://msdn.microsoft.com/en-us/library/gg492284.aspx#bkmk_session_settings_section
    Details information in the article below about the timeout setting for your reference:
    Set Processing Options (Reporting Services in SharePoint Integrated Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Users are prompted for session password

    Password authentication is disabled in my remote control policy, but when port 5950 is scanned by our friendly network security team users are prompted to enter a session password. Is there any way to disable this pop-up?
    Screenshot:
    session password prompt - Minus

    etotman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • CLOSED: MAPVIEWER LONG PREPARATION TIME AFTER LONG IDLE TIME

    SR # 6896831.994
    Customer: NEDGRAPHICS BV
    Mapviewer Release: 9.0.4
    This issue was posted to the Field Service Forum. They responded with
    For Map, we do create the datasource and related maps, themes, styles to be used for Map. The exeuction part is done by Mapviewer and we don't have much control on the mapviewer code on performance tuning point of view.
    Please post this question in mapviewer forum
    Issue:
    After MapViewer being idle for some time (+/- 60 minutes) it takes a long time to generate the first map image --> 5 minutes.
    In the MapViewer logfile with log-level=finest, I see that there is a very long preparation time.
    After producing the first map image the next (same!) image is produced very fast.
    What could be the reason?
    What does MapViewer do during "preparation"?
    Customer statement:
    I am a very experienced Oracle specialist and a very experienced MapViewer developer.
    Could you please pass on my request to the MapViewer developers?
    I have to know what is going on during preparation time.
    Is there a possibility to get more detailed logging of the preparation time?
    SEE log file at:
    http://workbench.oraclecorp.com/cgi-bin/tools/its_reltar?tar=6896831.994
    FILE: mapviewer_37.log
    Additional customer info.
    UPDATE from customer
    ================
    The first time after long idle time it takes between 100 and 300 seconds.
    After that it takes less than 2 seconds.
    Can it be a dabase connection issue?
    Will it make a difference if I use a database connection via data-sources.xml
    instead of a direct data-source in mapviewerConfig.xml?
    This is what I mean :
    Method 1:
    <map_data_source name="NBG"
    jdbc_host="plutonium"
    jdbc_sid="ods"
    jdbc_port="1521"
    jdbc_user="nbgex"
    jdbc_password="ELvaJ7axzKQl0aKtjikuKT7JUFTjukU3"
    jdbc_mode="thin"
    number_of_mappers="3"
    />
    Method 2:
    <map_data_source name="NBG"
    container_ds="jdbc/NBG"
    number_of_mappers="3"
    />
    data-sources.xml:
    <data-source
    class="oracle.jdbc.pool.OracleDataSource"
    name="NBG"
    location="jdbc/OracleCache"
    ejb-location="jdbc/NBG"
    xa-location="jdbc/xa/OracleXADS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="nbgex"
    password="nbgex
    url="jdbc:oracle:thin:@plutonium:1521:ods"
    inactivity-timeout="30">
    <property name="connectionCacheName" value="ICC"/>
    <property name="connectionCachingEnabled" value="true"/>
    <property name="fastConnectionFailoverEnabled" value="true"/>
    </data-source>
    Thanks
    Message was edited by:
    user639281

    RESPONSE from customer
    ====================
    The database is restarted once a day in the morning. That could explain the problems in the morning. But there are also problems during day time after some hours of idle time when the database in not restarted.
    After testing we noticed that we don't have the problem if we use database connection through OC4J (data-sources.xml).
    If we use that method every database connection is cleaned up if it is not used for 15 seconds or so.
    If we use the other method (database connection in mapviewerconfig.xml) then the database connection is open for a long time and then we have the problem with the long preparation time.
    This problem only occurs in a DMZ environment. MapViewer is installed on a DMZ server and connects through the firewall with a intranet database.
    Is it possible that the firewall software prevents communication of an open database connection after a long period of idle time?
    Thanls.

  • WRT300N V1.1 - Firmw v1.51.2 - Problems to get wireless connection after long idle time

    Hello,
    I have a WRT300N, v1.1 with latest firmware available (v1.51.2).
    I've been experiencing a strange problem:
    1. After long idle time (router is on, no devices are using it wirelessly), no device can get a wireless connection;
    2. I have tried using different OSes (Windows XP SP2, Windows Vista, and Symbian OS);
    3. Wireline connection to a FE port works (if I plug a device using the cable, I can get an IP address and navigate to the internet).
    4. If power reset it (WRT300N), I can get wireless connections working again.
    Is this a known issue?
    Thanks, Gustavo

    Well as you are able to go online from your Hardwired Computer, then i think you need to make some changes on the Wireless Part of your Router. Follow this settings on your Router, i think this might solve the problem.
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration...Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Wide-40MHz and change the Wide channel to 9 and Standard Channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on save settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Encryption, select AES...For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone.
    NOTE : Passphrase should be more that 8 characters...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 50 >>Change the Fragmentation Threshold to 2304 Change the RTS Threshold to 2307 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect...

  • I purchased microsoft office 2011. I have downloaded and installed the software but at no time was I prompted to enter my product key. As a result I am unable to use the software. Please help me activate the software. Thanks

    I purchased downloaded and installed microsoft office 2011 onto my iMac. At no time was I prompted to enter the product key so I am unable to activate the software. Can anyone tell me what to do in order to activate the software?

    Welcome to Apple Support Communities
    Where did you download Office for Mac? If you downloaded it from Microsoft, read > http://support.microsoft.com/kb/2391941/en-us

  • Users are having PC with Windows 7 as OS

    Users are having PC with Windows 7 as OS. They are not able to work on Oracle Application, Oracle Forms. They are facing issues, like IE crashes as soon as the Oracle Application web page is accessed/Form open.

    Hi;
    Users are having PC with Windows 7 as OS. They are not able to work on Oracle Application, Oracle Forms. They are facing issues, like IE crashes as soon as the Oracle Application web page is accessed/Form open.Please check below notes and compare it wiht your settings:
    Internet Explorer 8 Certified with E-Business Suite Release 12
    http://blogs.oracle.com/stevenChan/2009/09/internet_explorer_8_certified_ebs12.html
    Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
    Regard
    Helios

  • Reset after some predefined time of no activity.

    Hi, we are setting up Firefox as a Kiosk application.
    CU is asking the session would be reset (=firefox restart) after a predefined time of no activity by the user, so whatever page the browser is left, after some amount of inactivity it returns to its home page.
    One way to do that could be to add some extensions to Firefox (https://addons.mozilla.org/it/firefox/addon/616), but I am guessing if there is any timeout value I can set on Sun Ray Server and which is the recommended way to do that.
    MTIA

    Thanks for your answers.
    I've been tracing the execution and I've found out that I don't get that exception (sorry, when I said I got it, it was due to a different matter). In fact I don't get any exception at all, but it doesn't work out.
    I've been checking my code and don't close the socket myself at any point and the other end doesn't close it, either. I have no clue about what the reason of the problem is: it just stop answering.
    I'm working on sending PING messages to the client so it isn't inactive so long. Perhaps this will solve the problem, but I still wonder what the cause is.
    Can you give any advice?

  • Question: howto end a gui transaction after some nonactivity time?

    Hi guru's,
    Our users are using TMW (trx PTMW) on a regular basis for entering time data.  It would be real nice to encourage them to close their TMW screens when they have done.
    It would be real nice if the TMW gui (or any other program they leave idle, example PA30) would get cancelled after X minutes of idle time.  Any pending non saved changes may get lost.
    I' ve looked at the rdisp/gui_auto_logout parameter.  But this cancels the whole session and so they need to log on again.  We'd just like it if they return to their easy access startmenu.
    Any suggestions how to do this? (a system parameter? repair of TMW? job that ends idle gui's?)  I'll reward any usefull suggestion
    Kr,
    Jonathan

    I would be interested to know what the solution for this is. Could you please let me know?

  • Crystal report not shown after application idle time

    i have a web page which uses around 10 session variables to store values on a button click.and after assign session values Response.Redirect("~/url",false); to a a page which contains crystal report viewer.and report should show those session values.after keeping the application idle for 45 mins i click on the button which assign session values.then it's redirecting to the report page but the report is not shown.it shows a empty page and no errors shown(only happens application is idle for nearly 45 mins other wise works fine)
    i'm using iis 7
    in the web.config i have set sessionState timeout="60" and application pool idle time out to 60 mins.
    any idea why this happens

    Make sure you are on SP 8
    Make sure you are using .Close and .Dispose on your report objects as you get done with them.
    What OS? (2003, 2008, 2012)
    Provide more info on the following:
    The problem is that the Crystal Report Viewer does not load after a few hours.
    What does that mean? Errors? Warnings? Behavior? Symptoms?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Report Server does not respond after certain idle time

    We have an oracle 10g application server on solaris 10.
    The report server has the defaul settings for time out , callback etc..
    After the report server stays idle for 2 or 3 hours and the first report that comes after that takes around 8 to 10 minutes to generate. The report server engine does not seem to be getting active immediately.
    Is there any parameter I can change so that the reports do not get effected.
    Thanks

    I have put the idle time out at 300 minutes and the max idle time as 350 minutes. But that does not seem to have helped.And also I have min engine as 1 , max as 10.
    Even with the above settings , When the report engine is idle after 30 minutes the 1st report to generate after 30 minutes takes 9 minutes.
    please let me know if there are any other parameters I need to change.
    thanks

  • Java.lang.InternalError: jzentry == 0 after long idle time

    Hi,
    Our J2Se 1.4.1 Client/Server application works fine.
    However, after a long period of inactivity on the Windows 2000 client side (one hour or two, like during lunch), the icons in the toolbars have vanished and be replaced by black.
    Some other times, I get an internal error:
    java.lang.InternalError: jzentry == 0,
    jzfile = 9641264,
    total = 2427,
    name = L:\xxx\yyy\ourapplication.jar,
    i = 1,
    message = couldn't read LOC header
    It seems as if the memory content was swapped out and the classes loaded in the heap were lost due to some timeout.
    Can someone explain the phenomenon and propose a solution to this annoying behaviour?
    Jean-Pierre

    I have a similar (if not iqual) problem. The diferense is that I'm using XP and not 2000 edition.
    the error "begin" when I do my first Ctrl+Spacebar.... I think that eclipse begin to load the super classes, but stops because of some reason, that I dont know..
    what is LOC header? is that an JVM problem? I think so because of the error message witch apears after that long time waitng:
    "Virtual machine error jas occurred
    You are recommended to exit the workbench
    Subsequent errors may happen and may terminate the workbench without warring.
    here is my .log file:
    !SESSION Abr 30, 2004 14:16:25.932 ---------------------------------------------
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 1 Abr 30, 2004 14:16:25.932
    !MESSAGE Skipping builder for project Model. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
    !ENTRY org.eclipse.ui 4 4 Abr 30, 2004 14:35:10.329
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Abr 30, 2004 14:35:10.339
    !MESSAGE jzentry == 0,
    jzfile = 50349248,
    total = 1049,
    name = \\xxx\yyy\zzz\Model\lib\fop.jar,
    i = 54,
    message = couldn't read LOC header
    !STACK 0
    java.lang.InternalError: jzentry == 0,
    jzfile = 50349248,
    total = 1049,
    name = \\xxx\yyy\zzz\Model\lib\fop.jar,
    i = 54,
    message = couldn't read LOC header
         at java.util.zip.ZipFile$2.nextElement(Unknown Source)
         at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:84)
         at org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:173)
         at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:200)
         at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:488)
         at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280)
    ............

  • Displaying large clock after short idle time ?

    Hi,
    When I leave my desk I'd like my Mac to turn into a large clock (since I can't read the small menu bar clock from a distance).
    Is there a way to have a large digital or analog clock overlaid on the screen once there has been an idle time (mouse/keyboard) of a set number of minutes?
    Thanks!

    http://www.versiontracker.com/dyn/moreinfo/macosx/18727
    http://www.versiontracker.com/dyn/moreinfo/macosx/11450

  • Office 365 ProPlus Shared Computer Activation - users are prompted to activate, proxy issue?

    Hi all,
    We're currently testing the roll-out of Office 365 ProPlus with shared computer activation but are having problems with Office automatically activating (with no user prompts) when using our web proxy.
    I've already added proxy exceptions (in our PAC file) for the 'Office 365 portal and identity' and 'Office 365 ProPlus' URLs (not Content Delivery Network) from
    https://technet.microsoft.com/en-us/library/hh373144.aspx but test licensed Office 365 E4 users still get the 'Activate Office' prompt and even if they enter in their credentials are ultimately
    told 'There is a problem with your account. Please try again later'.
    Testing this on a computer not directed through the web proxy works fine and users get no pop-ups whatsoever and Office is licensed.
    The problem is I can check the traffic passing through the proxy in real-time and no traffic destined for any of the URLs on the TechNet page actually goes out over the proxy, indeed there is no Microsoft orientated traffic at all. It's as if simply
    specifying a proxy on IE's connection settings breaks shared computer activation.
    I'm in the process of a support case with our web proxy company itself but if there's anyone out there who can shed any light on this it'd be appreciated.
    Thanks in advance.

    Read this:
    https://technet.microsoft.com/en-us/library/gg702620.aspx
    Next read this:
    http://blogs.technet.com/b/neiljohn/archive/2012/01/26/office-365-proxy-server-exclusion-list-office-365-service-url-s.aspx
    Last: My workaround that's about 6 months old:I
    went through the same issue with Websense Cloud Web Security Gateway in my RDSH environment.
    Off and on, and seemingly without provocation, users would be prompted for credentials and these credentials would sometimes be accepted and other times they could just cancel out and continue working.
    I chalked this up to Microsoft's continual tuning and scaling of their cloud environment (we use Office 365).  I suspect Websense was not able to add hosts fast enough and the authentication issue just popped up from time to time.
    My solution? A workaround...set the list of recommended MS servers on "bypass" so that any traffic destined to these servers Websense would essentially permit without interference.
    Best of luck to you.

  • After some running time I cannot download large files via any browser.

    I am running OS X 10.9.2 on a 27inch iMac 2013 model.
    If I keep it running (without sleeping) for some time, perhaps a week, I can no longer download any large files via any browser. It will start and after a very short time go down to 0 B/s, stall there and at the end aboft with an "Unknown network error" or something similar.
    Has anyone seen similar problems?

    Open router set up using http://192.168.1.1  .....you will see username & password .....leave username blank & in password use admin...............
    Click status tab..........check firmware version .......download the latest firmware from http://linksys.com/download ..........
    Udate the firmware ....reset the router for 20-30 seconds ........ later on reconfigure the router ........

Maybe you are looking for

  • Adobe Creative Suite 5 / Upgrade System Windows Vista to Windows 7

    Dear customer service, I am a customer of Adobe as I bought two years ago the Adobe Creative Suite 5. My system is still Windows Vista. Now I wanna buy the Microsoft Home Office 2013 and now I have to upgrade from Windows Vista to Windows 7. My quest

  • I am runnung FF 4.0.1, I cannot uphgrade.because FF is not compatible with some programs I have..is there any thing I can do??

    I keep getting notifications to upgrade to FF 8.0.1. However that version of FF will not run several programs I have, for which I paid good money Also...when I went from FF 3.6 to FF 4.all my bookmarks disappeared...and two other major programs cease

  • Urgent case on NLS setting

    I want to write a program to extract data from one oracle database and put that into another. Source is US7ASCII, and target is ZHS16GBK. Since OCI library will only read NLS_LANG env setting when initializing, there are only one NLS_LANG setting wil

  • Intermittent Service Drops (Evenings) - SE1

    Dear BT Forum: For the past month, I have been having significant issues with my BT Broadband service.  (My exchange is Southwark, London for reference.)  In short, during the mornings (8, 9am), the broadband works fine (meaning, I am receiving appro

  • Showing Image on applet

    I have a question about showing an image in an Image class. Actually, I'm preparing the program with JBuilder. I was going to show an image as follow, logo = parent.getImage(parent.getCodeBase(), "http://10.1.100.120/png/DEV123_1_1.png"); if(logo!= n