Search

You searched for the word(s): userid:778835

Matching Posts

  • Accessing Static Lists in an ASP.NET Object Framework

    Hi. I am writing an object framework that uses in memory static Lists to maintain information. These are synchrinised with SQL server for obvious reasons. My issue is this:- How do I allow multiple concurrent instances of a Web page to search this list (i.e. iterate over it), when there is a chance that the List is being updated. The obvious thing - which I have implemented is the use of the Lock{SyncRoot) statement, which works but this prevents concurrent searches of the list.(If you have to lock
    Posted to VS 2005 Web Application Projects (Forum) by AgeGould on 6/27/2008
    Filed under: Concurrency Static Lists
  • How to Trap Application Error - Trace Stack...

    Hi. Can anyone advise how to trap the Debug Trace that is displayed by ASP.NET when an application raises an exception. For example: If CustomErrors="Off" you get a trace of the error which is useful in finding out what went wrong and where, but you do not want clients to see the trace, so we either set Custom Errors On, or Catch the Error in code. If I catch the Error in code, is it possible to obtain this trace stack, and either log it or email it to somewhere? If so - How? Thanks in
    Posted to State Management (Forum) by AgeGould on 6/26/2008
    Filed under: Application Error Trace Stack
  • Re: Global.asax - Not triggering events as expected.,

    Curt. I agree but surely when a session ends, you should at least be able to get hold of the one unique reference to the session that has ended. i.e the session ID. Nothing else.
    Posted to Web Forms (Forum) by AgeGould on 4/30/2008
  • Re: Global.asax - Not triggering events as expected.,

    Curt. You have a valid point. I have looked at my code and made some changes. Even the email sending was referencing HttpContext .Current.Session.SessionID and as you say, there isn't one at Session END, so an application error is probably raised in the background. I am waiting to see if the Session-End fires now, which I think it possibly will. Is there any way to tidy up at the end of a session, taking into account I need the Session ID to do the tidying up? Is there something similar to OnBeforeSessionEnd
    Posted to Web Forms (Forum) by AgeGould on 4/29/2008
  • Re: Global.asax - Not triggering events as expected.,

    In Addition. I have checked IIS and Session timeout is 20 minutes and Session state is InProc - which means the Session End should be triggered.
    Posted to Web Forms (Forum) by AgeGould on 4/29/2008
  • Re: Global.asax - Not triggering events as expected.,

    I am using the same Method code to send email on Application & Session start as I am with Session End and Application End. I don't receive Session or Application End emails. The reason I set up email notifications was because I noticed the object clean up was not occurring. Still not convinced. Even when I debug the code and set breakpoints, they are never reached.
    Posted to Web Forms (Forum) by AgeGould on 4/29/2008
  • Re: Global.asax - Not triggering events as expected.,

    Hi. The reason I use email to notify me was so I could test for Session and Application End's - even in my absence. They simply are not firing as far as I can see. I use session_End to remove session related static objects - and Application End to monitor application recycling by IIS. I guess the point is, why are they not firing? Regards
    Posted to Web Forms (Forum) by AgeGould on 4/29/2008
  • Global.asax - Not triggering events as expected.,

    Hi. I need some advice or help working out why the Application events in global.asax are not being fired as expected in my ASP.NET application.(.Net 3.5) I have build a web application that is dependant on events that are supposed to be executed in Global.asax I use all of the events to initialise data and to clear data - appropriately. The Application_Start and Session_Start events are triggered as expected, but I was not convinced that the Session_End or Application_End events were being called
    Posted to Web Forms (Forum) by AgeGould on 4/29/2008
    Filed under: global.asax events not firing
  • Creating ASP.NET Web Sure Controls - Design Time StyleSheet Issue

    Hi. I am creating Web User Controls in Visual Studio 2008 for a number of Web projects. When I am designing the presentation of a user control I would like to apply a stylesheet to the control at design time so I can see the effect of the varous styles I am referencing from the site style sheet when I am designing the control. I can not find a way of applying a style sheet at design time unless I place the control into a page that contains the stylesheet reference. Another issues related to this
    Posted to Visual Studio 2008 (Forum) by AgeGould on 4/29/2008
    Filed under: user control stylesheet design time
  • Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

    I have tried for several hours to resolve this on my machine. What resolved it was to delete all files from the following folder:- C;\Users\{Your User Name}\AppDate\Local\Microsoft\Temp\Temporary ASP.NET Files\ Note: You will need to change your Folder Options - in control panel on Vista, to view Hidden and Operating System Files, otherwise you will not find this folder. Delete all files in the folder and re-run your app. Good luck.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by AgeGould on 4/8/2008
Page 1 of 2 (13 items) 1 2 Next >