The Page Occasionally Locks Up Permanently?

Dec 16, 2010

I have a page with the CuteWebUI upload control in it. The page occasionally locks up permanently, and by locks up I mean the whole browser locks up. Does anyone have any problems like this, or can anyone think of a general reason why this would be happening?

View 4 Replies


Similar Messages:

Website Occasionally Being Redirected To Login Page Even Though Session Not Expired

Oct 27, 2011

What might cause this? Seems to be happening at random on a site I created. A user will for example be filing in a form, and when they click Save, it will flash to the login page as if the session has expired, but it will still show them logged in, and if they click back and save again it will work. It's not confined to the one page either, it just seemingly at random acts like the session has expired when it hasn't.

View 7 Replies

.Net Application Locks Up?

Dec 16, 2010

We have ASP.Net 2.0 application. It was running corretly and suddenly get loked up, when I kept opened a member edit page for 20 minutes or so. And after 20 minutes when I cliked on save. It is locked. Not it does not let me login. Niether it opens the login page sometimes.This has happened twice.

In hosting server architecture we have two app servers and two db servers for fail over purposes.

View 1 Replies

C# - Web Service Occasionally Slows Down Significantly?

Mar 11, 2010

My company is running into a problem with a web service that is written in C#/ASP.Net. The service receives an identity key for data in SQL Server and a path to generate and save a PDF report for this data.

In most cases, this web service returns results to the calling web pages very quickly, usually within a few seconds max.

However, it seems to occasionally hit a significant slowdown. The web application calling the web service will generate a timeout error when this slowdown occurs. We have checked and the PDF does get created and saved to the server, so it looks like the web service eventually finishes executing. It seems to take about 1 to 2 minutes for processing to have completed. The PDF is generated using ActiveReports from Data Dynamics.

Wwhen this problem occurs, making a small change to the web service's config file (ie, adding a blank space to a connection string line) seems to restart the web service and everything is perfectly ok for a period of time afterwards.

Other web applications that are running on the same web server do not seem to experience this type of behavior, only this particular web service.

I have added the code for the web service below. It is basic calls to 3rd party libraries. We are not able to recreate this problem in test.

[WebMethod]
public string Publish(int identity, string transactionType, string directory, string filename)
{
try
{

[Code]....

View 2 Replies

Insert Html Content Permanently From C#?

Mar 4, 2010

[Code].....

how to insert html content Permanently from c#

View 2 Replies

C# - Why Do Nested Locks Not Cause A Deadlock

Feb 17, 2011

Possible Duplicate:
Re-entrant locks in C#

Why does this code not cause a deadlock?

private static readonly object a = new object();
[code]....

View 3 Replies

AJAX :: TabContainer Occasionally Failing To Draw?

Mar 2, 2010

Okay, so this is one of those annoying bugs that happens sometimes, but not with enough regularity to really root out.

Fair warning that I'm still just toddling in ASP.NET, so I could be doing something heartbreakingly stupid. Here's the gist:

I've got a page with the bulk of its content inside of a TabContainer from the AJAX Toolkit. There are a few page elements outside the TabContainer -- mostly just header/footer stuff from the master page. Sometimes the page will load (either initially or on a postback) and the TabContainer will completely fail to draw, leaving a mostly-empty page. Clicking "Reload" in the browser almost always makes everything appear as usual.

What would make a TabContainer occasionally fail to draw? How can I go about debugging this.

View 4 Replies

Web Forms :: MSCaptcha - Image Is Not Displayed Occasionally?

Aug 31, 2010

I am using MONDOR's MSCaptcha control in my ASP.NET 3.5 application, and everything seemed to work fine both locally and remotely, till I started receiving complains from rare users.I am using is for my web site registration, and as I see many people are able to register, I assume that the problem is rare.

However, I've heard two complaints from two different users that Capthca image is not displayed at all. They did not add any special blocks to browsers, and both tried several browsers and it did not work in all of them.here is my code for referrence:

web.config:
<httpHandlers>
< [code]....

View 6 Replies

Iis - 2.0 Small Application Locks Up Until We Run Iisreset?

Nov 1, 2010

I recently developed a simple application for displaying a list of files to some users based on access levels and allowing them to download them etc.

This application was developed to be hosted inside a large corporation with heavy security policies and is fairly mission critical.. The application is very basic,

it checks the users NTID (using windows authentication) compares that to a table in SQL then pulls up a list of all the files on which this user has access Thats pretty much it.. There are also a couple of forms for adding a user and editing a user and uploading a file.

We have a problem often where the application is pretty much unresponsive. This can be remedied by opening command prompt and running 'iisreset' I should also note when originally deploying the application we changed some settings on the server to allow connections to stay open a while longer to allow bigger file uploads.. Could this be locking the application up? I am unabble to restart the server until the weekend. The server is a windows 2003 box running IIS6.0 and .NET 2.0

View 3 Replies

Why Does .Net Locks When Update Code With TortoiseSVN

May 5, 2010

when I update Adobe Flash/Flex code that is not related to ASP.Net with TortoiseSVN (latest) on a Windows Server 2008, the complete website locks and stop responding.Is it ASP.Net recompiling my code, is it IIS 7 or is it Tortoise locking the file system?How can I prevent or minimize this if I need to do an update when 1000 users are using the ASP.Net website?

View 2 Replies

C# - Timer Causes Dropdownlists To Disappear Permanently After A Modal Popup?

Apr 8, 2010

On a fairly complex page, we're getting some unusual behavior with dropdownlists in IE6. To layout the basic structure, there are 2 update panels on the page each with a gridview presenting a master-details layout. In addition to the grid, each panel houses some dropdownlists for filtering the data in the respective gridview.

Now what's happening is that a button on the bottom grid will cause a modal popup form to display, where some details about the row item can be modified. As per the ASP.NET AJAX javascript, the dropdowns disable during the postback, and re-enable after it closes. The bottom grid also has a timer attached to it that periodically updates it to keep the view of the data fresh. When this timer ticks after the modal popup is closed, the drop down lists mysteriously vanish, except for the ones in that update panel which apparently get rendered again.

Oddly enough, if the timer ticks while the popup is up, the drop downs enable early and show through the modal (oh IE6...) but don't vanish later on.

View 1 Replies

State Management :: Save A Value To A Variable From Database Permanently?

Dec 20, 2010

Suppose there are three button and every butthon has a click event function.

Clicking the first button displays something on this page with a gridview taking data from databases.

After clicking the first button i stored the value in a variable.

But when i click the second or third button i get null value for that variable.

Clicking the second or third button the page reloads and the value of that variable becomes null.

How can i store the value to that variable permanently?

View 9 Replies

Configuration :: Web.Config Needs To Be Resaved Occasionally Or Login Fails ?

Jun 6, 2010

We have an ASP.NET forum (Community Server) installed in a subdirectory of a site. For some odd reason we occasionally get:

Login failed for user 'NT AUTHORITYNETWORK SERVICE'

If we open the web.config file and save it again without modifying anything in it, the login works again. This happens with intervals of 1-3 days.

View 3 Replies

AJAX :: SliderExtender Occasionally Not Render TextBox Correctly?

Oct 18, 2010

I am using a bunch of SliderExtenders to morph the ASP Textbox into a Slider control. This has worked great. However, I noticed that 1/20 times, occasionally, the sliderextender fails to morph the textbox. So the textbox actually appears during initial page_load. However, you can still drag the slider around because it is also rendered beneath the textbox.

A subsequent page refresh fixes this problem until some other time.

Second thing, this also frequently comes out more when switching between a javascript tab and an updatepanel.

View 1 Replies

Java Applet Locks IE Window During Printing

Feb 14, 2011

I have created a Java Applet that will be used in IE to print images from a remote server. I load the applet in a new popup window from my main web page and it prints fine, but it locks up the new popup browser window while it is printing. When the print job is complete the popup window becomes responsive again. The main browser window remains functional during the printing. Is there something I can do during the printing process to cause it to yield so the popup does not lock up?

package javaprint;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.awt.image.ImageObserver;
import java.awt.print.*;
import java.io.IOException;
import java.io.InputStream;
import java.net.Proxy;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
public class jPrinter implements Printable
{
String ASP_NET_SessionId = null;
ArrayList<URL> pages = new ArrayList<URL>();
BufferedImage lastImage = null;
int lastRequestedIndex = 1;
public EcPrinter(ArrayList<URL> pages, String sessionId)
{
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
ImageIO.setUseCache(false);
this.pages = pages;
ASP_NET_SessionId = sessionId;
}
public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
{
if (pageIndex < pages.size())
{
URL url = pages.get(pageIndex);
BufferedImage img = null;
if (pageIndex == lastRequestedIndex)
{
img = lastImage;
}
else
{
URLConnection connection = url.openConnection(Proxy.NO_PROXY);
connection.setRequestProperty("Cookie", "ASP.NET_SessionId=" + ASP_NET_SessionId);
InputStream is = connection.getInputStream();
img = ImageIO.read(is);
lastImage = img;
}
graphics.drawImage(img, 0, 0, null);
return PAGE_EXISTS;
}
return NO_SUCH_PAGE;
}
}

View 1 Replies

How To Select On A View, Locks The Table Update?

Feb 1, 2010

I have a Web site live and running now. I am using the Subsonic to handle the database connections etc. I am getting time out expired error while updating a table (say Employee). When I check sp_who2, I see the suspended connection for the PID which is updating with a block by anothor pid, so I run the profiler and found out when ever this suspended connection occur, the blocked pid is a select statement on the view (say ActiveEmployees, which is the same as the table but with some where conditions).

View 2 Replies

C# - How To Browser Occasionally Losing HttpCookie For Authentication After Postback And Redirect

Dec 29, 2010

This has been a nagging issue for some time, but very sporadic and difficult to isolate.

From time to time, browsers that have authenticated on a web application, have been open for a while, have logged in and out of the same web application multiple times, have multiple tabs, are pretty much any browser (Chrome, IE, Firefox, Safari), and seemingly at random, lose their ability to retain an AuthCookie after being set and followed by a redirect. Closing the browser and starting a new session resolves the issue, as does opening up a different browser and attempting to authenticate.

Our team uses forms authentication for all of our websites and web application. This is a pretty typical setup where a login form is displayed, the user enters credentials and a cookie is set on the click event of the postback, then a redirect occurs to the same page where the cookie is then referenced and used to complete authentication.

In this situation

FormsAuthentication.FormsCookieName = ".WebAuth"

Within Event:

FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(1, Username, DateTime.Now, DateTime.Now.AddMinutes(SessionTimeout), false, Username); HttpCookie faCookie = new HttpCookie(FormsAuthentication.FormsCookieName, FormsAuthentication.Encrypt(authTicket));
Response.Cookies.Add(faCookie);
Response.Redirect(Request.RawUrl, true);
After the redirect, on PreInit:
HttpCookie authCookie = Request.Cookies[cookieName];

At this point, the authCookie variable is typically not null, but in these isolated circumstances that I've outlined above, the cookie comes back null after the redirect.

This happens very randomly, sometimes weeks before affecting one of our developers. As I said, restarting the browser resolves the issue.

Today I had it happen on our dev server while using Chrome. I had logged into the application, allowed the application to session timeout, and then attempted to login again. The attempted login then failed to set the cookie. I remotely attached Visual Studio to the process on the server to begin debugging. The entire time I could step through my code, even deploy new code versions to the server with updates, restart the app, restart IIS on the server, attach and reattach to the project, and the issue persisted in Chrome. In Firefox, I was able to authenticate without issue.

From Chrome, the login would validate, attempt to set a Response Cookie as outlined above. Prior to redirect, I could see the properly set Response Cookie, as well as its counterpart in the Request Cookies. However, on each redirect after a seemingly successful login, the Response and Request Cookie are gone.

I enabled Trace on the application to view the cookie collection:

There is a .WebAuth in the Request Cookies Collection, as well as ASP.NET_SessionId and several ASPSESSIONIDxxxxxxxx, but when the page loads, only the ASP.NET_SessionId and ASPSESSIONIDxxxxxxxx cookies are available in the Request.Cookies scope, no sign of the .WebAuth. However, in the page's Trace information after render, there multiple .WebAuth cookies listed, it is just that the page seems to have no access to them.

Primarily, on a working version after authentication there is both a .WebAuth Response and Request Cookie in the page's Trace info. But on a non functioning browser window, the Response Cookie is absent.

Has anyone else had any experience with this? It is such a nagging issue, and so sporadic, but I would love to be able to resolve it. My concern is that it may be affecting users and we would have no knowledge since the description of the issue is so convoluted.

View 1 Replies

AJAX :: ContentType Header Attribute Occasionally Not Present In Web Method

Jul 23, 2010

I am having a simple web service method which returns JSON serialized response. The attribute to web method is

[WebMethod, ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]

As security of the return data is not a problem, I am Get enabling the HTTP response. On the client (browser) end, my code is as below

[Code]....

Everything works smoothly but occasionally on the web server's event viewer, I see the following error

"Request format is unrecognised for URL unexpectedly ending in /SomeWebServiceWebMethod"

After fiddling through the request headers using Fiddler, I figured out that if I make direct request to the webservice link, contentType header attribute is missing and that is what throws the error. There is a good post by scott guthrie explaining this. I am not able to replicate the issue and not sure what removes the contentType attribute from the request header occasionally.

View 2 Replies

AJAX :: How To Permanently Add Control Toolkit In ToolBox Of Visual Studio

May 7, 2015

how to permanently add ajax control toolkit in toolbox in vs2013 ? bvx if i add it and then close vs , it disappears ....

View 1 Replies

AJAX Postback Locks Up Controls Inside A TabPanel?

Aug 11, 2010

I am developing a site using VS2008, so I have AJAX 3.5, and the site is meant for using IE8 browser only. I have a TabPanel with 6 tabs, one of them uses controls with postbacks. I had an UpdatePanel outside the TabPanel so the entire panel will perform a refresh on postback. However, the refresh is a little slow so I tried using an UpdatePanel inside the specific tab to refresh only the controls I need updated. It worked, but what ends up happening is the subsequent AJAX controls (I have NumericUpDownExtenders) and tabs become locked (can't click on them). Is this a problem because the Update Panel is already nested inside an AJAX control (TabPanel)? Or is there some other way to go about doing this?

View 1 Replies

AJAX :: Postback Locks Up Controls Inside TabPanel?

Aug 16, 2010

I am developing a site using VS2008, so I have AJAX 3.5, and the site is meant for using IE8 browser only. I have a TabPanel with 6 tabs, one of them uses controls with postbacks. I had an UpdatePanel outside the TabPanel so the entire panel will perform a refresh on postback. However, the refresh is a little slow so I tried using an UpdatePanel inside the specific tab to refresh only the controls I need updated. It worked, but what ends up happening is the subsequent AJAX controls (I have NumericUpDownExtenders) and tabs become locked (can't click on them). Is this a problem because the Update Panel is already nested inside an AJAX control (TabPanel)? Or is there some other way to go about doing this?

View 8 Replies

Web Forms :: Changing Masterpages And Themes Permanently But Dynamically Using An Admin Interface?

May 15, 2010

So I have a couple of Masterpages as base templates and a couple of themes that can be applied to either one of these masterpages. Using profiles, global.asax and some code behind I can change the Themes dynamically but they are associated with the profile. In other words, once the user logs off, the theme is changed back to default.

My objective is to use an Admin page to

1. change the theme of the site permanently for all users, including anonymous visitors.

2. change the masterpage for all pages permanently for all users, including anonymous visitors.

So when I log off after changing the settings, the new settings are retained.

View 10 Replies

Databases :: Causing Oracle Database Table Failing To Save Inserted Record Permanently?

Sep 29, 2010

I have a table in orcale database where I am inserting records. I am able to insert a record in a table but it is not being saved permenantly.When inserting there is no error. what could be causing this?

View 4 Replies

Access :: Add Columns To An Existing Ms Access Database Permanently?

Jan 30, 2010

I hava a textbox and button in my project. I want the button on click to add a new column inside the database "Trial.mdb" , table name "table1". The column name will be text typed in the textbox and it will be text type. How could I do that? with a sql code in asp:accessdatasource or in my code behind ?

View 13 Replies

Regex Validation On A Text Box Locks-up Text Box On Postback?

Nov 10, 2010

I have a web application (done in ASP/C#) that has regex validation on a text box. Initially the regex works perfectly fine. But then I also provide a button click event (clear) that allows the user the clear text box and change their input for a new query. At this point (page post back) the regex takes control and maintains control of the text box so a new query can't be run. Can anyone tell me what to do so that the regex doesn't fire on page postback and allows new input for validation?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved