473,466 Members | 1,565 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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.
Sep 12 '06 #1
0 1282

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: gachris | last post by:
I have a return false as part of my if statement and my form is still submitting. Here is the simple example. Any suggestions? if(msg != ""){ alert(msg); return false; }else{ //submit the...
1
by: ItsMillerTime4u | last post by:
I'm trying to change the <body> 's event oncontextmenu attributes, but am having no luck at it. I know I can do <body oncontextmenu="contextMenu(); return false;"> but the thing is that I set's...
11
by: me | last post by:
I have got all my pages to comply with the W3C validator, except this one line as below. I need to keep the line (or the functionalilty) but it would be nice to implement it in a way that gives...
1
by: yingjian.ma1955 | last post by:
When I want to disable the select functionality, Can I just use onselectstart="return false"? I tried it and it works. But it seems people always put onselectstart="return false"...
13
by: kurtj | last post by:
Hello Gurus: I have a validation script (below) that is somehow messed up. If the Name field is blank, I get the alert message, then the browser window goes to a blank document with the word...
13
by: alvin.yk | last post by:
Hi, Normally, a piece of code such as <a href="http://www.yahoo.com" onclick="alert('hello');return false;">link</a> will stop the browser from actually going to href's destination....
2
dmjpro
by: dmjpro | last post by:
what concept i have that when i wrting my own event handler then if my handler returns false then the default event handler will no more execute. so i can stop the window default behaviours...
5
by: Ben | last post by:
Hi; I use ain asp.net the CreateUserWizard control for new users. When it's done, i want to redirect them to another page (modifyprofile.aspx). This works with the code below. My question is:...
5
by: dangt85 | last post by:
Hello, I have the following page: ... <style type="text/css"> body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.