The Computer Hangs When Debugging An Webform?
Apr 27, 2010I 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 RepliesI 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 RepliesWhen 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 RepliesI 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 Repliesi have problem with Visual Studio 2010 on Windows 7 x64. When i started asp.net site debugging, it stoped working. Only solution is restarting IIS.
Have anyone experiences with this?
I am running a website from IIS on one computer and I want to view the web page on another computer. the only way I can do this is by using the ipaddress of the computer with IIS on it but would rather have a url. How can I generate a url or use a domain name from [URL]. I signed up for an account on that website but dont know how to use it. I dont know how to configure it.
View 2 RepliesI get this error when I hit F5 in VS 2008. I have checked that Windows authentication is enabled on the site and it is. I can mannully attach the debugger to the IIS process and it works. What could be wrong? I have tried alot of things without success.
View 2 RepliesI'm trying to debug my web application on my localhost machine in Visual Studio 2010 and I keep getting this error: "unable to start debugging on web server. The Microsoft Visual Studio remote debugging monitor(MSVSMON.exe) does not appear to be running on the remote computer."
Is there a way I can turn this off as I'm not trying to make any attempts debugging remotely.
I am using a server control on a single web.forms page. I have to use this control on a web.forms page since its a server control, although this is actually a MVC project. So I created a web.forms folder and put my new page in it. I then copy the example code from the signature control. I get the following error:
The base class includes the field 'ctrlSign', but its type (WebSignatureCapture.SignatureControl) is not compatible with the type of control (ASP.signaturecapture_signaturecontrol_ctlsignature_ascx).
I know the code works because if I removed the ID attribute from the server control, it no longer gives me this error and my control renders. But I need the attribute for the ID so I can perform is post event
I am using this signature control. Here's the web.forms code...
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="KahunaCentralTIDRevamp.SignatureCapture.Index" %> [code]....
in webform 1, i have search button when i click its open webform2 and there the gridview.
I want when i click the link in gridview in webform 2 then it close webform 2 and change the datasource parameter in webform 1 without open the new window (still same window)
What is right way to send visitors from one webform to other. What are their limitations and their plus points.
View 2 RepliesI am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64. I am able to run the ASP.NET web site in IIS 7 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging. Unfortunately the help link is not helping me much and leads down a heck of a large tree of things. I checked the following:
Security requirements — I don't recall having to do anything special before. The worker process in IIS7 is w3wp.exe. It says that if it's running as ASPNET or NETWORK SERVICE I must have Administrator privileges to debug it. How do I find out if I need to change something here? Web site Property Pages > Start Options > Debuggers > ASP.NET is checked. Use custom server is set to the URL of the site (which works fine without debugging). Debugging is enabled in web.config. Application is using ASP.NET 3.5 (I want to move to 4.0 eventually but I have some migration to deal with). Application pool: Classing .NET AppPool (also tried DefaultAppPool). Surely it shouldn't be that hard to install IIS, VS, create a web site, and start testing it?
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 RepliesVisual 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 RepliesI'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)).
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.
Is there any way to find computer owner or computer accounts in activedirectory via ldap?
I wanna to know if it is possible via ldap or another way?
I using c#.
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]....
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 RepliesDeveloping 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 RepliesI 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 RepliesI'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?
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 RepliesI 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]....
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.
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