Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Wednesday, March 12, 2014

Visual Studio Debugging - Waiting For Localhost

PROBLEM:
When debugging an ASP.Net application in Visual Studio 2010, launching the inbuilt webserver in Firefox is extremely slow and may eventually time out.

CAUSE:
An IPv6 DNS problem with Firefox

SOLUTION:
Load the about:config screen in Firefox and set network.dns.disableIPv6 to true.


SOURCE:
http://stackoverflow.com/questions/6405121/how-to-figure-out-why-my-local-host-site-takes-so-long-to-load

Friday, December 3, 2010

ASP.NET Datasets: Failed to enable constraints.

Got this error after changing the length of a column in the database:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

CAUSE:
The table adapter column maxlength is not updated automatically.

SOLUTION:
Update the table adapter column maxlength manually in the properties window for that column in the dataset editor.

Source:
http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/27aec612-5ca4-41ba-80d6-0204893fdcd1