Nagu's Q&A profile
Visual Studio 2008 (Pre-release) WCF integration with GSOAP
Hi, I’m trying to write a c++ client that talks to .net WCF server. For that aim I’m using the GSOAP application. I was successful in writing a c++ client that talks to an asp.net server, but when I tried to write c++ client and a WCF server they failed to interact. When the client sent a request to the server the following fault was received: Error 415 fault: SOAP-ENV:Server [no subcode] "HTTP Error" Detail: HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'. It looks like the WCF server doesn’t know how to deal with the format of the client requests. Does anybody know why this occurs Can I change the ...Show All
Visual Studio Team System Unable to Merge
I have been unable to merge changed files from a Source to a Destination. I select the Source project and Merge. I then select the Destination and tell it to use a specific changeset. The changed file then appears in the Pending Changes tab. I select the file and Check In. A resolve files dialog then appears. There are two options: Undo local changes and Igrnore Conflict. If I select Undo local changes the file disappears from Pending Changes but never is actually merged and does not appear in the History. If I select Ignore Conflict the file still appears in Pending Changes and nothing ever happens. Is this a bug and, if so, how do I work around it SP1 does not change the way namespace confli ...Show All
SQL Server Importing data from Movex
I am looking to replicate data from a Movex system into an SQL 2005 database for reporting and analysis purposes. Does anyone have any ideas/tips on how to go about automating this process With scripts Thanks in advance. Dan E. You may try your question at the MSDN forum: SQL Server Reporting Services (http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 ). ...Show All
.NET Development .NET Basics
There are 2 things I would like to get cleared whose answers I could not find anywhere else: 1) Making different applications to communicate in a seamless way is one of the most important advantages on .NET. However, even COM makes this possible. But COM requires a lot of routine plumbing that .NET does not. But Windows (including the new Vista) still rely on COM heavily. Does all this mean that .NET is completely foreign to COM. I dont mean to say, that they cannot communicate. What I am asking is that the code that goes into the CLR, the Base Class Library etc. etc. itself uses COM internally or not 2) The second thing is that .NET applications ae JIT compiled at run-time. This provides them the advantage of being compiled specifically ...Show All
Visual Studio Team System Problems installing TFS SP1
Hi All I have TFS installed in a following manne: >app-tier (tfs and wss) on a virtual server >data-tier is installed on another server. Now, I'm trying to install TFS SP1, I first have to install 'Quiescing GDR'. When I try to install Quiescing GDR (KB919156), it fails with the following error: "Ther Required Windows SharePoint Services configuration database (STS_Config_TFS) is not located on the Team Foundation Server data-tier computer. To proceed, you must exit setup and uninstall Windows SharePoint Services. Then, reinstall Windows SharePoint Services in accordance with the Team Foundation Installation Guide, and run setup again." How shall i get around this Any help will be highly appreciated :) ...Show All
.NET Development ItemDataBound
Hello, everyone, I am working with the VSTS 2005 and I am trying to hide some fields (cust_id) from displaying in the grid view. The VS 2003 had a ItemDataBound in the namespace UI.WebControl. Is it been replaced in 2005 Can someone point me to the right direction Thanks, Antonio Sorry for the delay I'm really busy now, hmm as I told it can happens when the dataset you are using as datasource has no data, you can also verify the columns the gridview has, put a breakpoint in the databound event and add watch to the columns collection of the gridview and check if it has columns data. ...Show All
Visual C++ LNK2005 (VC8)
Hi! I'm getting following linker error (using /verbose): 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\lib\uuid.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbccp32.lib: 2> Searching ..\debug\polling.lib: 2> Found "public: __thiscall polling::Poller_SurfAce112_E1::Poller_SurfAce112_E1(void)" ( 0Poller_SurfAce112_E1@polling@@QAE@XZ ) 2> Referenced in init.lib(SA112Init.obj) 2> Loaded polling.lib(Poller_SurfAce112_E1.obj) 2>polling.lib(Poller_SurfAce112_E1.obj) : error LNK2005: "char const * __cdecl std::_Find(char const *,char const *,int)" ( _Find@std@ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Error 1920 - failed to install DX sdk
"Error 1920.Service DirectX Debug Service (DXDebug) failed to start. Verify that you have sufficient privileges to start system services." When attempting install of the Direct X sdk - this question has been asked on this forum before but the solution presented did not work for me - Info - I'm using a games development PC, which has a ton of old software on it. I reinstalled Microsoft Visual C# 2005 express edition. No luck, same error on sdk. On my machine is something called Microsoft Visual Studio .NET Enterprise Architect 2003 - so I tried reinstalling / repairing that and after a while it asked me for a disk for a resource. I have no disks to go with this software - do I even need this Enterprise Architect software on ...Show All
.NET Development Transfering large BLOB
Hi all I have a C# application managing some clients on a SQL Server database accessed through local network and also through VPN, and here is my problem. To update the versions of this application I store the recent exe files on the database and they are downloaded to the client's computer when they start the application. Everything works fine except for the VPN users. The file is almost 5MB and they get timeouts. What is the best way to transfer this files on to the client's computers, specially to the ones using the VPN Anyone as a bit of C# code to demonstrate how to retrieve large files from a BLOB Thanks in advance Have you considered to use "Publish" feature of VS Studio to distribute your applicat ...Show All
Windows Forms Closing ChildForm in an MDI Application
Hi, I need assitance in closing a child form under certain circumstances. What I need to accomplish is when the child form opens it checks a value in the registry, if this value is absent I need the form to stop loading and return to the Parent from. How can I acheive this Here's my code so far.. <Code> namespace Mort { public partial class frmFuneral : Form { public frmFuneral() { InitializeComponent(); } private string myPath; private void frmFuneral_Load(object sender, EventArgs e) { CheckRegKey(); } private void CheckRegKey() { RegistryKey myKey = Registry.LocalMachine.OpenSubKey("Software\\Mort", true); string myPath = (string)myKey.GetValue("DBP ...Show All
Silverlight (formerly WPF/E) WPF/E vs. XBap
Hello Community! I was recently trying to evaluate why there is seemingly two ways to write web-based applications with WPF. Am I way off Can anyone explain to me when I would use an XBap over a straight up WPF/E application Thanks, Alan Shan McArthur wrote: As it stands, neither XBAP or WPF/E are suitable for integrated web development. Indeed. It really seems as if Microsoft has gone out of its way to make sure they don't have a competitive rich-client development environment. XBap's hijack your whole browser and can't even read your session cookies. Meanwhile, WPF/E is just an anemic version of Flash with no Flex components. WPF/E's ability to communicate with browser obje ...Show All
Visual Studio 2008 (Pre-release) How to put 2 ListBoxItem on same row?
Since everything is possible in WPF (well almost) this should be a pieece of cake. when you have a number of ListBoxItems in a ListBox, they’re listed one item per row. But what if my ListBox.Width = 300 and my ListBoxItem.Width = 100 then there’s some waste of space. Before I dig in to it I just want to know if the way to do it (if doable) is by overriding some methods that’s placing the itmes out so I can manually place them out, animate them etc.. Well, why don’t I use like a Stackpanel I need to use a control that inherits from ItemsControl so I can use ItemsSource to databind my object in xaml. Would be grateful for some hints in the right direction Have a nice day /erik tr ...Show All
.NET Development WSE 2.0 SOAPAction Problem
Scenario: WSE 2.0 Client sending Dime attachments to a Java SOAP service expecting a SOAP 1.1 type message. The server REQUIRES that the SOAP HTTP MIME header contain the SOAP SOAPAction line. I've tried: envelope.Context.Addressing.Action ="myaction"; and XmlElement body = envelope.CreateBody(); XmlElement soapaction = envelope.CreateElement("myaction"); tmp = body.AppendChild(soapaction); and SoapEnvelope response = base.SendRequestResponse("myaction",envelope); but the server does not get the SOAPAction HTTP header. Help Please. ...Show All
Software Development for Windows Vista Elevation during runtime
Hello I would like to ask you something about our software. Perhabs anyone has the same or a similar problem. The software we wrote does not write into the registry or into the Program Files folder except for one registry key under HKEY_LOCAL_MACHINE... this key/data is required by another foreign tool, that is really old and not state of the art (its some kind of software-protection module, that allow us to check serial key's for our software). Anyway, so the whole program run's in Vista with no problem except you try to enter the serial key which one we must save to HKEY_LOCAL_MACHINE. Does this mean we must make our whole software with a manifest that's execution level is "requireAdministrator" or can we call the e ...Show All
Windows Forms ErrorProvider time-delays
Several time-delay properties are exposed for the ToolTip component - AutoPopDelay, InitialDelay, ReshowDelay. These properties are not members of the ErrorProvider class. It seems as though they might be available somehow because the ErrorProvider displays what look like ToolTips, but I can't find the technique. Is there a way Thanks, Gus ...Show All
