SVadali7881's Q&A profile
.NET Development Method returning DataTable of a MBR object fails.
Hi, I have remoted a MBR object to the client using TCP channel. Now when a call is made to a method returning data table having large data, it gives following error. {"Underlying connection was closed: Either there was a fatal error on the server or client authentication failed"} Server Stack Trace "\r\nServer stack trace: \r\n at System.Runtime.Remoting.Channels.SocketHandler. ReadFromSocket (Byte[] buffer, Int32 o ...Show All
Windows Forms Multiple MainMenu problem
I have a Form with 3 MainMenus on it. I am trying to make as follows: foreach menu in "MenuCollection" menu.some_method My Problem is that I do not know where the "MenuCollection" is. I cannot create th ...Show All
SQL Server A QUERY THAT RUN ON DB2 THAT HAVE MORE PERFORMANCE THAN SQL SERVER 2000
The execution time for this query on DB2 v8.0 DBMS one second but I execut e it on SQL SERVER 2000 is around 55 second so how i can incease the performance for SQL server SELECT ACC_KEY1,ACC_STATUS_LAST FROM PSSIG.CLNT_ACCOUNTS INNER JOIN PSSIG.CLNT_CUSTOMERS ON PSSIG.CLNT_ACCOUNTS.CSTMR_OID = PSSIG.CLNT_CUSTOMERS.CSTMR_OID WHERE (PSSIG.CLNT_CUSTOMERS.CSTMR_START_DT >= '1900-1-1 12:00:00') AND (PSSIG.CLNT_CUST ...Show All
.NET Development Should I call Dispose on a SQLCommand object?
Should I call Dispose on a SQLCommand object If I do, what exactly gests disposed Jonathan Hi, Disposing an object is just like marking an object for disposal when the Garbage collector runs. So that it would be removed from the memory. Well, if you don't need your object then you must indeed call a dispose against it... cheers, Paul June A. Domag ...Show All
Visual Studio Tools for Office Problem with Bookmark
Hello All, I used a bookmark ( internal Microsoft.Office.Tools.Word.Bookmark bkCode) in Wordtemplate application. When i am writing bkCode.Range.Text ="Hello"; and when i access the bkCode next time it doesn't exist anymore. When i wrote bkCode.Text ="Hello"; "Hello" appears in square brackets on the document. how do i remove this square brackets What is the correct way to add/retrieve text on/ ...Show All
SQL Server DTA (Database Engine Tuning Advisor) error when opening connection
Hi all, I've got some problem to launch DTA, after the connection, I've got this message : =================================== Failed to open a new connection. =================================== Failed to initialize MSDB database for tuning (exit code: -1). (DTAClient) ------------------------------ Program Location: at Microsoft.SqlServer.Management.DTA.Client.TuningServer.InitializeTuningParametersDatabase() &nb ...Show All
Windows Forms how to dynamic bind the Combo to DataGrid?
I want to add a Combo Column in DataGrid, but the Combo 's DataSource is dynamic, the DataSource from the DataBase by this row's other Column. How to do it ,thanks a lot. It sounds like you could define a relationship between ...Show All
Visual Studio Team System 403 Forbidden Error.
Hello, I created a web test, then a load test and in that load test I got more than 1000 403 errors, when I see the details, all are files that actually exist and I am admin on my PC. Thanks I have more questions for you 1. Is the website on the same box where you ran the test 2. What is your operating system 3. Are you running test locally or through controller Thanks. ...Show All
Visual Studio Express Editions Windows service application in Visual C# Express
I'm trying to build a simple Windows Service application in Visual C# Express. I simply can't get started. The documentation mentions a NON -existent template, which makes it kind of hard. However, I can see there's a 'ServiceBase' item in the toolbox and I have a feeling that that's the way to go, but there's no documentation telling how to use that. If I start a Windows Form application, I can drop this 'ServiceBase' component on ...Show All
Windows Forms Inherited forms
I'm working in C# and have a bunch of similar forms that let users do updates to a DataSet with a master-detail type of interaction. Since they have the same basic elements (save button, cancel button, load DataSet funtion, etc), I thought&nbs ...Show All
Visual Basic Slow Build times
I am using VS 2005 Release Candidate, SQL Server 2005 and working with Winforms in VB.net A similar question to the one I have was posted at the following address: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=75278 However, it was never answered satisfactorily. The problem has to do with how to set things up so that when you make a minor change in an application, you do not have to wait an extraordinarly long period of time buil ...Show All
Visual Studio Team System WorkItem programmatic migration query
I'm working on a set of migration apps at the moment to move issues from our existing issue tracking system into VSTS Work Items. To maintain tracking information, there are various bits of information I'd really like to copy over such as "CreatedBy" and "CreatedDate" but these are ReadOnly fields in the WorkItem class. I know I could create yet more custom fields to hold this information, but then I end up in a situation where existing iss ...Show All
Visual C++ The debugger isn't displaying std::wstring values
I have tried to use an std::set<std::wstring>, and the debugger appears to have a problem with displaying the values that are stored in the set (this also happens when using std::wstring as the key value in a map. Sample code: #include <set> #include <string> int main() { std::set<std::wstring> test; test.insert( L "1234567" ); // this is displaying correctly in the watch window ...Show All
Windows Forms How can I reach the Tag of a checkedListBox-Item??
Hi! I created a CheckedListBox. Every contained item got an unique Tag: ListViewItem baItem = new ListViewItem(bauabschnitt.BA_Bezeichnung); baItem.Tag = bauabschnitt.BA_ID; listBA.Items.Add(baItem.Text); Now I want to loop through the selectedItems and retrieve the Tag of each item. But I only can do something like this: foreach (int indexBA in listBA.CheckedIndices) { string baBez = (string)listboxBAS.Items[indexBA]; ... } Isn' ...Show All
Software Development for Windows Vista Error occurred while Loading Workflow
I have created a NEW simple StateMachineWorkflow project. Upon creation the designer view tries to render and I get the following error: Error occurred while Loading Workflow An error occurred while loading the workflow Please correct the following error and try reloading the document to view the Workflow CodeDomDesignerLoaderNoRootSerializer Non StateMachine projects seem to work fine. Any thoughts Do you see a similar behavior ...Show All
