.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


Similar Messages:

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

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

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

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

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

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

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

Visual Studio :: How To Remove The Unused References In Form Level/vb.net Application And Web Application

Feb 3, 2010

How to remove the unused references in form level, vb.net application and web application?

How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?

View 1 Replies

Active Directory/LDAP :: Service Reposding Slow In One Application And Fast In Another Application

Jun 16, 2010

I have two applications(A,B) both are developed in .NET3.5 and used LDAP services.Application-A in one screen we are fetching users with role "project Leads" and it is taking 10 min time

Application-B in login screen we are checking user is authenticated or not and it is taking 20 sec

Both the applications are using the same service then way there is a time span problem. Please suggest me what can I do to improve performance of application A?

View 3 Replies

MailMessage Sent To Any Adress From Windows Forms Application, But Not From Asp.net Application, After Both Are Using The Same SMTP-server?

Jan 27, 2010

I'm experiencing a to me mysterious error when sending e-mails through a SMTP-server from an ASP.NET web application. I get the famous error "unable to relay for xxx@yyy.zzz". What's mysterious to me is that when I cut and paste the exact same code that sends the e-mail into an usual .NET Windows Forms application, send the e-mail with this application, it all works just fine. This made me think that perhaps the problem is that the ASP.NET application runs as NETWORK SERVICE while the Windows Forms application runs on a domain user account, but it turns out that I have another ASP.NET application sending e-mail through the same SMTP-server running under NETWORK SERVER at the same IIS, and this application does not experience this problem.

I've further tried to send e-mails through the SMTP-server manually by telnet the smtp-server on port 25 and running the SMTP-protocol manually, and it all works fine. The SMTP-server is not configured with any kind of authentication or SSL.

Another mysterious fact is that the ASP.NET application can send e-mails from an adress within the same domain to an e-mail adress within the same domain, but not to any adress outside of the domain. But the Windows Forms application, that uses the exact same code, can send e-mails from any adress to any adress both within AND outside of the domain.

So to summarize:

The ASP.NET application can send
e-mails from addresses within the
domain to adresses within the domain,
but not to addresses outside of the
domain.
A Windows Forms application running
the same code on the same computer
can send e-mails from ANY address to
ANY address.
Another ASP.NET application on the
same IIS running under the same
account (NETWORK SERVICE) can send
e-mails using the same SMTP-server
from ANY adress to ANY adress.
There is no authentication configured
on the SMTP-Server.
Both the ASP.NET application and the
Windows Forms application utilizes
the System.Net.Mail.SmtpClient class
to send a
System.Net.Mail.MailMessage.

The code that sends the e-mail massage is:

private void button1_Click(object sender, EventArgs e)
{
MailMessage mesasge = new MailMessage(txtFrom.Text, txtTo.Text, "Test mail", txtBody.Text);
SmtpClient client = new SmtpClient();
if (!(string.IsNullOrEmpty(txtUserName.Text))) //Is false since txtUserName.Text is empty
client.Credentials = new System.Net.NetworkCredential(txtUserName.Text, txtPassword.Text);
client.EnableSsl = false;
client.Host = txtServer.Text;
client.Port = 25;
try
{
client.Send(mesasge);
}
catch (Exception ex)
{
txtResponse.Text = ex.Message;
}
}

As far as I can understand, this should be a matter of configuration rather than coding issues.

View 2 Replies

Security :: Membership - Single User For Multiple Application And Different Role In Each Application

Jan 30, 2010

I have two .NET applications X and Y

a. I want to have User A as a common user for both application X and Y.
b. User A can have different roles on X and Y. Eg. Read permission on Y and Write Permission on Y.

How do i configure ASP.NET membership to achieve about functionality.

View 3 Replies

Visual Studio :: Application Has Failed To Start Because The Application Configuaration Is Incorrect?

Apr 8, 2010

on desktop start has disappeared, getting above issue on double clicking/running any application.have VS2005 installed with sp1 and all other relevant updates as per MS..., i read some forums which states because of VC++ the system files may be currupted....have not installed VC++can anyone guide me the issue here and its solution...

View 3 Replies

Architecture :: Auto Update Application Like In Wordpress, Application Must Check If New Updates Are Available?

May 3, 2010

I need to auto update application like in wordpress, Application must check if new updates are available, download this updates and install.But I don't know how to install application. Because if some files in bin directory are updated application is restarted.Is it possible to create ASP.NET web application which will be auto updatable?now we have a new technologies, could u please suggest me any kind of soultion for the above problem. here i am enclosing my email idsunnyb4uu@hotmail.com

View 2 Replies

Social Networking :: FaceBook - Error Validating Application - Invalid Application ID

May 6, 2013

{
"error": {
"message": "Error validating application. Invalid application ID.",
"type": "OAuthException",
"code": 101
}
}

View 1 Replies

Web Forms :: Gmail Like Chat Application - Building An Instant Messenger Application For The Selected User

Feb 22, 2010

I have a requirement for building an instant messenger application for the selected user.

I have googled for the solution but without any sucess.My requirement is once a user initiates a chat with another user,the another user needs to get a popup of the chat window,where the two users can start chatting.

View 4 Replies

State Management :: The Service Seems Not Working Correctly - Application Pools Recycles The Application Loose The Session?

Jul 7, 2010

we are experiencing big difficulties in the configuration of ASP.Net state service and II7. The service seems not working correctly because when the application pools recycles the applicatio loose the session.If we try the same configuration in IIS6 it works correcly.What is the correct way to configure the aspnet session state service in iis7?

View 2 Replies

Load Balancing Application - Connect (login) To Application The TPS Reaches Zero

Feb 24, 2011

We have an ASP.NET application deployed on 2 Application servers with load balancer server. It is using INPROC state management. The ADO.NET connection pooling is enabled with 50 as minimum connections and 100 maximum connections.

In Load testing (using load testing tool) when the application reaches to 50 users no more users can connect (login) to application the TPS reaches zero. No errors are logged in application log related to application or database. The sessions are working fine.

View 2 Replies

Drawback To Creating A Separate IIS Application Pool For Each Website / Application?

Jan 5, 2010

Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories.A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings).

Is there any drawback or potential issues to doing this?Is it possible that ASP.NET applications could have been built with the requirements that they are all within the same App Pool?

View 2 Replies

How To Handle .NET Application Error That Occurs On Application Start And Transfer

Mar 9, 2010

I know that ASP.NET MVC has error filter attribute to handle specified error type. However, this feature cannot catch any error that occurs when application start. Therefore, I need to add some code to "Application_Error" method for handling this error like the following code.

public void Application_Error(object sender, EventArgs e)
{// At this point we have information about the error
var ctx = HttpContext.Current;
var exception = ctx.Server.GetLastError();
[code]...

View 1 Replies

Configuration :: Deploy Application That Uses Application Services Membership Provider

Aug 25, 2010

Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.

I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).

I packaged my application and deployed the relevant files with FTP to my shared hosting provider.

I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.

I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.

View 2 Replies

Architecture :: Design An Application To Fetch Data From Different Application Databases

Nov 10, 2010

I need to develop an application, which will get records (orders) from one application and process them. The updates to this records (order updates) will be sent back to the source application for end customer reference. I'm planning to achieve this data synchronization at the database level using triggers and stored procedures to insert database between the 2 databases.

But, the issue is I have to deploy this application in 3 different customer sites and I have to change the database names (cannot use the same database name) in each deployment manually. Because of this deployment issue, I was thinking of handling this within the asp.net application where I can store the db name in the database and then build the query within the application, but I dont want to do it as building queries like that doesnt look very professional.

View 2 Replies

State Management :: How To Pass Query String From One Application To Another Application

Nov 1, 2010

How to pass query string from one application to another application, i need to send values through one page of application to another application,I am using inprocess session state.
from loging page i need to send sessions to another applicaion but here sending sessions are some what diffcult (after googling).so is it possible through query strings???if yes How pass them please tell me the sample example.will it be possible through coockies?? or query strings. How

View 6 Replies







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