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 ...



View 10 Replies

Similar Messages:

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

Visual Studio :: 2010 Hangs Up When Click On .sql File?

May 4, 2010

This is the first time i am experiencing vs 2010 hangs up when clicked on .sql file. I am using intel core 1.8Ghz with 2.24Gb of RAM. It work file with other project. We need to end the task to stop running. I have installed only Visual C# Items.The problem happens when i create a new project 1. file new project2. Under Visual C# Items Click on windows 3. Click on empty project4. Then i am trying to add .sql file but cannot find it.5. so i use add WinScript1.wsf and rename it to tblABC.sql 6. When i double click on tblABC.sql it hangs7. I need to end the task to stop working.

View 6 Replies

Visual Studio 2010 Hangs When Starting Website Debugging?

May 4, 2010

i 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?

View 3 Replies

Visual Studio :: 2010 Hangs After Running First Cloud Project?

May 2, 2010

I installed VS2010. Then The Azure toolkit. I created a new solution, with one webrole in it. I added 'HelloAzure' to the default.aspx, and then pressed f5 to run it.

It runs! I see my text 'HelloAzure' in IE8. Yeah!

Now, when I close IE8, it seems that VS2010 simply hangs, is frozen. It accepts no input from mouse/keyb. Nothing moves ... you know ... it hangs.

Taskmanager is required to get out if this state.

View 5 Replies

.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

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

VS 2010 - Design Survey Application And Database

Jul 18, 2011

I'm in the process of re-writing an existing survey application that is currently using nested repeater controls to display questions and answers. The application was not designed with future enhancements in mind and its a pain any time a new question has to be added to the application. The repeaters currently contain questions, answers, and controls(texbox, radiobuttonlist,etc.)

Is the repeater the correct control to use for this type of application? What is the best way to design this type of application and table structure? Are there any new controls or features in VS2010? How to design this application the correct way and make it more flexible?

View 6 Replies

VS 2010 Connecting To SQL Database From Windows Form Application?

Aug 5, 2010

I had another thread on this problem but I wanted to start this one so no one had to look at the code I posted in the other thread. I have a successful connection but want to display data from the SQL database on my website in my Windows form application. Here's the code I have so far. Used some of the ADONET Tutorial1 here. The table Ray Rover Activation has a number of different columns but to start out I just wanted to see if I could display data for the EmailAddress column.



If I comment out the Sub DoStuff I don't get any errors but neither is anything displayed other than the messagebox message. If I don't comment out DoStuff then I get an error, "Incorrect syntax near the keyword 'FROM'". Maybe someone could enlighten me some on what I need to do get the data in the column EmailAddress to display.

View 2 Replies

VS 2010 How To Integrate Application To Sharepoint 2010

Sep 18, 2011

how to integrate my asp.net application to sharepoint 2010?

View 3 Replies

Migrate Existing Database From Specific Application To New Ms Access Based Application (database)?

Aug 2, 2010

how to migrate an existing database from a specific application to a new Ms Access based application(database)?

View 4 Replies

2.0 Application Never Loads Using The VS 2010 Application Server

Feb 21, 2011

I have an application that runs perfectly fine locally using the VS 2010 application server, however, when I deploy to our web app machine startup just spins and spins and never loads. We have other apps on this same machine that load just fine (this is a debug deployment of same app in product). I have been spinning my wheels on this for days and I am at a loss as the problem could be. Here is what I did

1) Create a new directory (same level as other apps)
2) Copied over our existing test ([URL]) and it works fine
3) Build and publish new debug app ([URL]) and it just spins trying to load first form.

I know the diretory is "working" as the 'test' application I put there works fine.

View 3 Replies

Visual Studio :: Coded UI Test In VS 2010 ( Web Application) - How To Create Web Application Test For All

Mar 24, 2010

I am doing Automated coded ui testing in asp.net 2010 for web application. I am testing site and i need to know how can i create the test which will work with all browsers. Right now i created test in IE 8 but its not working in Firefox. So is there any way i can create one test and will work in all browser.

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=, 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

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());


View 2 Replies

VS 2010 - COM Control In Application

Dec 19, 2014

I am having COM control. I am able to use this in Windows Application.

I tried to use it in my aspx application. I am able to create an instance of the control through code and see all the methods / properties / events associated with the control obj intasnce in code. But I am unable to see the UI of the control.

View 18 Replies

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