Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASPNET 2.0 Application exhibits strange behavior. Method calls return "False" until we recycle application pool.

Thread Tools

ASPNET 2.0 Application exhibits strange behavior. Method calls return "False" until we recycle application pool.

Dan D.
Posts: n/a
We are running an IIS Server on W2K3 Server. We have 20 or 30 ASP.NET 1.1
applications. Recently I have converted an existing 1.1 application to use
the 2.0 framework. After testing and a little code reconstruction it was
ready to post as 2.0. I removed the application from production IIS and
re-deployed it from VS.NET 2005. I created a new application pool for it
and set the framework for the application to 2.0.

The application is calling a common .NET dll component that is used in most
of our applications. It has a method called "HasObjectAcess". You pass an
objectID to this method and it returns True or False if the current user has
access to the object or not.

Everything works fine for a while and then all of the sudden we get calls
from our users because they don't see all of the buttons on their web forms.
Essentially HasObjectAccess is now returning False for all calls made to it
regardless if the user has access or not.

A quick fix is we will recycle the application pool and all is well again.
The application has been in production as a 2.0 application for a week, and
this has been an issue at least 3 times now.

Has anyone else run into this sort of behaviour or know what could cause it?

Is it something to do with the referenced component being a 1.1 component.
Also, of mention, the referenced component is set to "copy local" and does
not exist in the 1.1 or 2.0 GAC.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do some judges hand exhibits back after a trial? Rocky Computer Support 10 04-25-2010 11:43 AM
Free VIP Exhibits Pass for NAB 2006 DVD Video 0 01-25-2006 11:07 PM
Toshiba Exhibits HD DVD Player At CEATEC JAPAN 2005. Allan DVD Video 0 10-04-2005 03:33 AM
FireFox and Local Links within Generated Content exhibits problems Jim Davis Javascript 3 09-01-2005 09:53 AM
VHDL-AMS ,This circuit exhibits singularity Steffen Netz VHDL 0 05-03-2004 11:45 AM