.NET Application Hangs After A Call?

May 24, 2010

I'm having a simple ASP.NET application hosted on my local IIS6, under Vista.It contains a button that when I click I execute a piece of code for recognizing the text in a WAV file (using the System.Speach.Recognition.SpeechRecognition class) and display the text in a label.

The code works great on a desktop application, and it almost works on the web one... I say almost, because if I debug, I can see that the recognizer returns the correct text from the WAV, I can see that I am finishing the handler for the button click with no error, but nothing gets displayed in my page, and the page appears like loading... it's hanging, or something... No errors, no timeout, nothing. Just loading...

I don't know if this detail helps, but in order to make the piece of code that was already working on the desktop application work on the web application, I had to set the identity of the ApplicationPool of my application to LocalSystem (security breach, I know). Otherwise, I would have received a Access Denied error (0x80070005(E_ACCESSDENIED)).

View 1 Replies


Similar Messages:

VS 2010 Application Hangs When Used With Different Database?

Mar 14, 2011

I have a development box running Win7 and VS2010. A User Acceptance Testing server running Windows Server 2008 / Sql Server 2008 and a Live server running Windows Server 2008 / Sql 2008.

When doing development I connect to a development database on the UAT server.

I have a problem that only occurs when I change the connection string to point to the database on the Live Server.

So, before I start describing the problem - the app works fine in development and when published to the UAT server - but there is a problem when I either publish it to the live server or, whilst on my dev box, point the connection string to the live database.

Here's an example.

I have a page with a gridview on it. In each row of the gridview there is a drop down list. All calls to the database are done through a Data Access class.

Say I have a function on an .aspx.cs page called GetDetails().

In this - to populate the Gridview I'll have something like ...

Code:

[code]....

View 10 Replies

AJAX :: Application Hangs While Changing The Tab?

Feb 19, 2010

I am using update panel and Tab container of Visual Studio 2008 (VB .NET) in my pages, but in one of the pages I am having a problem. The page structure is something like a List Tab and Details Tabs. On page load LIST tab is visible and other tabs invisible. User clicks on a record and click Modify button. Then List tab gets invisible and other details tabs (4 of them) visible. Here I have OK (to save data) and CANCEL (do not save the data) buttons. On which the list tab again gets visible and other tabs invisible. Now here I am facing a problem. I have same functionality on my other pages also. But in this page when I click on OK or CANCEL button my application hangs after END SUB. My whole click event of both the buttons runs fine up to END SUB but after that the problem starts.

View 2 Replies

Configuration :: Debugging One Application Hangs All Others On IIS Server?

Mar 10, 2010

I have a server running Windows Server 2003 R2 Standard Edition (Service Pack2) and our IIS server is hosting about 20 different asp.net websites. I've never noticed this in the past, but when I debug an application and it stops at a breakpoint, the other websites hang as well. If I try to go to any of the other websites, then I just get a while page that's loading until i pass the breakpoint or I stop debugging.Does this have anything to do with application pools and if so, how do i fix it? Or if it does not, any ideas on how to fix this issue? I find myself debugging my apps often and I can't bring down all other applications when I do it.

View 2 Replies

ASP.NET ReportViewer IE Hangs 100% CPU

Jan 7, 2011

We've recently been experiencing an SSRS (SQL Server 2008) report displayed in an ASP.NET web application using the ReportViewer control (Microsoft.ReportViewer.WebForms,Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) hanging when rendering a report with over 100 rows and causing Internet Explorer (6, 7, 8) to use 100% (of one core) of CPU.The report renders quickly in Firefox (and doesn't use high CPU).

View 1 Replies

VS2010 Hangs Up All The Time

Jun 18, 2010

Visual Studio 2010 hangs up more tha 20 times in a working day. I'm thinking of going back to 2008 but that is such a hassle. Mostly it hangs when debugging starts and when I open a xaml file. I'm doing silverlight/WCF development.I have HP I7 laptop, 8gig, windows 7 64bit.

View 4 Replies

IE Hangs When Debugging With VWD2008?

Jun 16, 2010

When I try to start my application in debug mode (F5), 1 out of three times IE opens with a blank screen, and Visual Web Developer says it cannot start the application. Sometimes it also says "Element not found". I can only shut down IE by using the task manager.

View 6 Replies

IE7 And 8 Hangs Randomly On CSS Images?

May 1, 2010

We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS.

Suddenly, this week, we have had reports from some users that the page seems to hang up while loading. The status bar was showing the name of a background image used in the page main area (assigned in CSS). At our office, some of us could recreate the problem, while others could not. IE6 and Firefox do not seem to be affected, only IE7/8. Running Fiddler on an affected machine and trying to see what was happening with the requests seemed to make the problem go away (while running through Fiddler, it returned when not). Hitting Refresh on a hung load often made the page load just fine.

I checked the background image, and even replaced it with an archived copy. No joy. We re-deployed the app from our production source. No Joy. We restarted IIS and eventually rebooted the whole server. There are no unusual entries in the event logs, the app logs or the IIS logs. Finally, I removed the image entirely and re-styled the page not to use a background image. That solved the problem at least for now.

However, we have reports of other images "hanging." The images are PNGs, but I have heard some rumors that sometimes a GIF hangs, but I have no screenshot to confirm.

This just started happening "out of the blue." There have been no releases or updates applied to the server recently. We even checked updates on clients to see if a recent Windows Update might have caused this on the client, but there was nothing updated within the last couple of weeks.

View 4 Replies

Security :: How To Call An Exe Application

Aug 13, 2010

Is it possible to call an '.EXE' application which is on Server Machine from Any Client Machine?

View 4 Replies

Configuration :: Web Site Hangs After Publish?

Oct 4, 2010

Developing a website in ASP.net. On the development site all is working fine.We decide to publish the site using visual studio 2008's publish mechanism.The publish goes flawless.When we go to the live site, it hangs anywhere from 2 minutes to 30 minutes before it starts serving pages.All other sites on the same server seem to work fine.If we reboot the server it starts serving pages right away.It is not a programming issue, as once the site kicks in all seems to work fine.VS 2008, .NET 3.5, On both IIS 6.0 and 7.5

View 3 Replies

IE Hangs On Web Site When Contacting Web Service?

Feb 18, 2010

I have a website that seems to be Ok in Mozilla but when I access some pages in IE (mostly the ones where it has to contact a web service) the page hangs. If I refresh and then click the same button again, it seems to work fine 90% of the time. As mentioned, the same features work flawlessly in Mozilla.I am not really sure where I need to go to start debugging this but does anyone have any ideas on a cause?The website is hosted on my machine which is running on localhost using IIS7 on Vista and the web service is hosted in the same place. (So all it should need to do is contact itself). Its is an ASP.NET website running framework 2.0 (something)

View 1 Replies

The Computer Hangs When Debugging An Webform?

Apr 27, 2010

I start learning ASP.NET few days. I don't know why my computer hangs when I debug my very simple application? My computer hangs, not only IDE hangs?

View 1 Replies

Long Task Hangs Other Pages?

Sep 28, 2010

I'm generating reports on the fly using the great SpreadSheetGear tool. At first things were great because the reports were simple and done in under 1 second. Now I'm at more complex reports and they are taking about 30 seconds up to 1 minute. This isn't a problem, we just throw up an activity image and let the user wait, fine by us.

The problem I've found is when two users come to the site.

User 1 comes to the site
User 1 runs a report that takes 30 seconds.
User 2 comes to the site
User 2 waits until user 1 report is done then the page loads.

The report running for User 1 hangs up the site until it's done. What is going on and how can I fix this?

View 2 Replies

Threading Hangs Other Page Loading?

Jun 1, 2010

I have a Main page containing links to five other pages. each page has a button which does some job using Thread. Problem is when i open a window from main page and click the button, The Process starts but if now i want to open another page from main window it doesn't load untill that previous page loads fully(when thread ends). I am not using any session variable on my page.

View 2 Replies

C# - Webpage Hangs After The On_Unload Event?

Nov 24, 2010

I have a web application which hangs after clicking a checkbox which is set to autopostback. This checkbox is supposed to do some process.

It didn't fire the OnPreLoad and the OnLoad events.

Below are the codes

protected override void BindReference()
{
BindComboBox(ref rcbPortfolioId, CNPL_Portfolio.GetPortfolioDicWithAll());
BindComboBox(ref rcbProductId, CNPL_Product.GetProductDicWithAll());
BindComboBox(ref rcbNewAgencyId, CNPL_Agency.GetAgencyDicWithAll());
BindComboBox(ref rcbPreviousAgencyId, CNPL_Agency.GetAgencyDicWithAll());

[Code]....

View 2 Replies

Call Web Service From Another Web Application Using Jquery?

Dec 12, 2010

I have created an WCF data service in a new asp.net web application and i want to call this web service from another web application using jquery, but it always returns null.

My jquery call looks like this:

[code]....

Note that [URL] works in the browser but since the jquery call is from localhost:3410 i assume its a problem with cross domain.

I have been reading that i should use jsonp for this, but i have a hard time figuring it out.

View 2 Replies

Call Google Translator In Our Application

Nov 29, 2010

I have a web page, in which i need to translate arabic words into english words.. need to provide google translator.

View 2 Replies

Call A Website In JavaME Application?

Jun 3, 2010

I'm trying to pass information set in a celphone applications Form and pass it to an ASP.Net web page.

The idea is that the parameters will be passed through GET and my app will save it to a database.

How can I achieve this if hypothetically my asp.net site is: www.mysite.com/save.aspx

Here's what I have so far:

public void GuardarInfraccion(){
Infraccion infraccion = new Infraccion();
infraccion.IDPolicia = txtUsuario.getString();
infraccion.PlacaAuto = txtPlaca.getString();
infraccion.Nombre = txtNombre.getString();
infraccion.Carnet = txtCarnet.getString();
infraccion.Fecha = txtFecha.getString();
infraccion.TipoInfraccion = String.valueOf(tipoInfraccion.getSelectedIndex());
}

View 1 Replies

Call Google Translator From Our Application?

Nov 29, 2010

I have a web page, in which i need to translate arabic words into english words..

I need to provide google translator.

View 2 Replies

C# - LoadLibrary Call From MVC Application Running In IIS?

Mar 28, 2011

I'm having trouble executing this line of code in my MVC application:

IntPtr hModule = LoadLibrary(BondProbeSettings.AssemblyFilePath);

The problem is that hModule is always 0.

If I run the same code with the same value for BondProbeSettings.AssemblyFilePath but from a console application instead of the MVC app hModule is non-zero.

Are there any security issues I need to consider?

The signature for LoadLibrary is:

[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
static extern IntPtr LoadLibrary(string lpFileName);

View 2 Replies

Website Hangs After Dropdown Post Back?

Aug 10, 2010

I have a website installed on one of our sales guys laptops and am having issues with the website hanging if left for 2 minutes. This doesn't happen on my dev box, my live machine or the other sales guys machine.

The website will hang. It's not just limited to this page, it will happen on all pages when I leave it for more than 2 minutes and then try and process a page that calls back via button or drop down ect. I have checked the IIS settings of the machine and everything seems the same as the other sales guys machine who is running the same version of the site.

Here are the specs:

Dev Box: asp.net 2, windows server 2008 64bit

Live Box: asp.net 2, windows server 2008 64bit

Working Sales Guy: asp.net2 windows 7 64bit

Broken Sales Guy: asp.net 2 Windows vista 32 bit (the only thing I can see different is windows version)

EDIT: For more information, if I stop the website from trying to load while it hangs, clear my history for the last hour and then refresh, the page comes back fine.

EDIT2: I have just spat out some debug information and it seems it doesn't even go into the post back I need.

EDIT3: This doesn't seem to happen when using Chrome but does when using IE and Mozilla.

View 1 Replies

MVC 3 Hangs When Open A New Project Using VS 2010 SP1 Beta?

Jan 17, 2011

ASP.NET MVC 3 was released on Jan 13, 2011. I was able to install it on my XP SP3 workstation. But, when I opened an MVC C# project, VS 2010 hangs. I have repaired VS 2010 and Framework 4.0 with no luck. The issue was resolved after uninstalling VS 2010 SP1 Beta. Does anyone know if ASP.NET MVC 3 works with VS 2010 SP1 Beta?

View 1 Replies

Web Forms :: Webpage Hangs After On Unload Event?

Nov 24, 2010

I have a web application which hangs after clicking a checkbox which is set to autopostback. This checkbox is supposed to do some process.

When I did the breakpoint, the application does not go to the On_PageLoad event but goes directly to the On_Unload event. After that, it hangs. It does not go to the On check changed of the checkbox.

Here are the events that are only called after the checkbox has been ticked.

OnInitOnUnload

View 6 Replies

Configuration :: Deployed Website Hangs After EndRender?

Aug 25, 2010

I'm currently in the process of deploying my C# website. In the development IDE everything works fine but when i deploy to ISS 7 some of the pages work fine but others will just randomly hang. Ive been using the tracing utility and debug code to see where the problem is occurring. This is where it gets weird. If I turn on the tracer and set the pageoutput to true it works as fast as it does in the IDE without the hangs but displays all the tracing information. If i set the pageoutput to false and leave the tracer on, it will return to having the same problem. Ive put time outputs through the system and everything is running through quickly. So im at the point now where if i have the tracer displaying on the website there is no problem. But if i don't display the tracer the problem occurs and i cant see the logs to pinpoint it. The problem is occurring after EndRender. Sometimes it loads the top of the page and then hangs. The pages do complete but can take up to 10 seconds. . The same problem is happening in both IE and firefox.

View 3 Replies

WCF / ASMX :: How To Call Remote Web Service From Application

Apr 13, 2010

We have two application created one for webservice and other application will call the methoddefined in webservice .The problem is we want to add webservice in our application dynamically

View 4 Replies







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