View Complete Post
I get the following error anytime i change something in the XAML and try and build the project. If I change anything in the code behind it works everytime.... To get it to work i have to get out of the ide come back in place a space in one of the .vb files to change it then it will build..... Any ideas?
ErrorÃÂ 107ÃÂ The "ResourcesGenerator" task failed unexpectedly.System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.ÃÂ ÃÂ at System.IO.MemoryStream.set_Capacity(Int32 value)ÃÂ ÃÂ at System.IO.MemoryStream.EnsureCapacity(Int32 value)ÃÂ ÃÂ at System.IO.MemoryStream.Write(Byte buffer, Int32 offset, Int32 count)ÃÂ ÃÂ at System.IO.BinaryWriter.Write(Byte buffer, Int32 index, Int32 count)ÃÂ ÃÂ at System.Resources.ResourceWriter.WriteValue(ResourceTypeCode typeCode, Object value, BinaryWriter writer, IFormatter objFormatter)ÃÂ ÃÂ at System.Resources.ResourceWriter.Generate()ÃÂ ÃÂ at System.Resources.ResourceWriter.Dispose(Boolean disposing)ÃÂ ÃÂ at Microsoft.Build.Tasks.Windows.ResourcesGenerator.Execute()ÃÂ ÃÂ at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)ÃÂ
After calling a very simple WCF Service I bind the result an Observable Collection of Countries to WPF ComboBox, in second ComboBox of cities I displayed the filtered cities based on the selected country. It works fine the first time but when
I select another country it takes lots of time to display, the Visual Studio 2010 output displays this like 50 times:
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Intereting to point out that it only happens if I try to open the ComboBox and not if if navigate through code doing something like SelectedIndex=2 . It does not happen as well if instead of the ComboBox I use a ListBox or TreeView.
Some extra details.... the real exception detail is:
An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)
Please help with this bug....
In my asp.net application i have getting an error
Error 1259 The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception. How to solve this one
I configured this application in iis.
As per the many forum result . i changed the framworkwortion in asp.net tab of iis proprty.
So kindly give a good solution for it
i was trying to access list webservices using visual studio 2010 in SharePoint2010.
i written a simple console app to call getlist method
static void Main(string args)
ListsProxy.Lists newlistProxy = new ListsProxy.Lists();
newlistProxy.Credentials = new System.Net.NetworkCredential("administrator", "Password1");
XmlNode nodelistitems = newlistProxy.GetListItems("Blist", null, null, null, null, null, null); ( ----> when i debug error it throws exception here?)
XmlNamespaceManager nsManager = new XmlNamespaceManager(nodelistitems.OwnerDocument.NameTable);
XmlNodeList nodes = nodelistitems.SelectNodes("rs:data/z:row", nsManager);
foreach (XmlNode node in nodes)
string str = node.Attributes["Customer Name"].Value;
When the Stored procedure is executed through SQL Server Management Studio, its taking 23 seconds
When the same Stored proc is called through web app, its throwing below copied exception. It is noticed that when the data is more than 100k records this exception is thrown other wise expected records are shown in UI. Another stored proc from the same app returns over 150k records without any excetpion.
Can't conclude that the exception is in Stored proc, because it works from SQL Server Management studio, but throws below exception from Web app.
Your help is appreciated in resolving this issue.
An exception of type 'System.Data.SqlClient.SqlException' occurred and was caught.
Type : System.Data.SqlClient.SqlException, System.Data, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Source : .Net SqlClient Data Provider
Help link :
Errors : System.Data.SqlClient.SqlErrorCollection
Class : 11
LineNumber : 0
Number : -2
Server : XXXXX
State : 0
ErrorCode : -2146232060
Data : System.Collection
i have .net 4.0 application in wpf . application is running fine but when i close the application by using exit button. it throws the exception after stopping the debugging. the exception is "An unhandled exception of type 'System.StackOverflowException'
occurred in WindowsBase.dll ".
the code in exit button is
private void btnExit_Click(object sender, RoutedEventArgs e)
don't know from where it throws the exception and why ??
I have a web service which tries to connect to the SQL server.
It uses Integrated security = true.
I get the Conn.ServerVersion threw an exception of type System.InvalidOperationException as soon as the connection object is instatiated.
My web application is in Classic ASP and in that we had developed few modules in ASP.Net 2.0.
Initially all modules were working fine but as we goes on developing new modules in ASP.Net 2.0 we are getting this error very frequently - Exception of type 'System.OutOfMemoryException'.