aragon's Q&A profile
.NET Development How to programmatically release logical port ?
Hi All I am developing an application host (Remoting listener) from C# v1.1 for windows clients. I am using logical port ( say 9000 ) for my server to listen for the client’s request, I need to release/close the logical port when ever I restart my listener, so, how can I programatically release/close any logical port used by my application Thanks! Regards, Karthikeyan ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
SQL Server Job To Execute A SSIS Package Fails - The Command Line Parameters Are Invalid
I have created a job to execute a SSIS package located in the SSIS Package Store. When starting the job I receive an error. The history log reports: Message Executed as user: DOMHARRPROMAST\SQLMAIL. The command line parameters are invalid. The step failed. This is the command line: /DTS "/File System/DataWarehouse/AgencySCD" /SERVER ntharrsqlt500 /MAXCONCURRENT " -1 " /CHECKPOINTING OFF What am I doing wrong ...Show All
Visual Studio Team System Lock Project recursively
Is there a way to lock a source control project recursively Hmmm.... when I lock a project, does this prevent other users only (but not myself) from checking in/out files in the project and in all its subprojects ...Show All
SQL Server <Code>-8462</Code>
Hi: My service broker is working with 2 different instances in local server.But could not able to get working on 2 different servers because of Conversation ID cannot be associated with an active conversation error which I have posted. After I receive the message successfully...in the end I get this message sent... < Error xmlns = " http://schemas.microsoft.com/SQL/ServiceBroker/Error " > < Code & ...Show All
Software Development for Windows Vista Sharepoint 2007 dependency
I am trying to install WSS 2007 as part of the beta and am being stumped by an error that WWF Beta 2 must be installed previously. I thought I did this but the error persists. What server components must be installed Can you give me a URL please The best place for support for WSS 2007 would be to use the beta newsgroups in order to resolve the issues you are having. The Office beta is still private, so that ...Show All
SQL Server How to check if row exists...
Hello, I'm SQL Server 2005 newbie, could you be so kind and help me how to write the most efficient way stored procedure, which checks by PK if specified row exists, then updating the row, otherwise inserting new one. Thank you for your kind help. If EXISTS(select 1 from MyTable where MyPK = @PKValue) Insert else Update ...Show All
SQL Server Inserting dynamic XML Nodes via XML-DML modify?
I am trying to insert an XML node using the XML-DML Modify method. However, I am unfortunately working with a dynamic xml nodes, rather than hard coded string literal XML elements. This means that I need to do something like the following: xml.modify('insert sql:variable("@myXmlNode") as last into (/myTargetNode)) However, I get the following error: Only non-document nodes can be inserted. Found "xs:string " ...Show All
Visual Studio Microsoft.Build.Commontypes schema is invalid according to XmlSpy
I tried searching on this, because I doubt I'm the only one seeing this problem, but I didn't see anything. When I try to validate an MSBuild xml file against the Microsoft.Build.xsd schema, XmlSpy tells me that Microsoft.Build.Commontypes.xsd is an invalid schema. It takes issue with every spot that the "Include attribute is redfined." The comments above each "illegal" line is: &n ...Show All
Visual C# Is it possible to make a subitem on a listview clickable?
Hello, I am wondering if it's it possible to make a subitem on a listview clickable (on detail view). Many thanks. No, the default managed ListView control class doesn't support that, but there are a lot of extends of the ListView control the simplest and best i know is: In-place editing of ListView subitems . ...Show All
SQL Server how to get the sum of a group and not the whole column?
example: Account Sales New John Doe 1,000,000 George Bush 2,000,000 Juan Luna 3,000,000 6,000,000 Old Michael Tell 5,000,000 Billy Banks 2,000,000 7,000,000 where Account and Sales are table columns, New and Old are group names. i want to display the total of the group. ...Show All
.NET Development dll file is getting locked even after the domain in which it is loaded is unloaded
hi, i am having a problem with dyanmic loading of assemblies.the problem is that the dll file is getting locked even after the domain in which it is loaded is unloaded.The code below shows a dll search being loaded in domain appdomain.then we get a specific type from the dll and unload the domain thereafter. Now if we want to replace the search dll or delete it ,it is shown as being used and hence can't be deleted. But unloading a domain ...Show All
Visual Studio Unchecking a project and files from VSS beta
How do I uncheck a file that is locked by a user that does not exist anymore do I got to the admin interface c. You have to open the VSS using the admin account and perform 'undo checkout' for the file. ps. there is another forum for VSS issues. ...Show All
Visual Studio 2008 (Pre-release) Microsoft still on track to ship the WinFX bits
Hello all, I am reading on some news groups that WPF is not going to be there in initial release of windows vista. Does anyone knows more about it I cannot imagine vista without WPF. Any thoughts from experts Thanks Basav Until it is final, it is not final. That said, the last I heard (At the Mobility group partner briefing this week), is that WPF will be on the Vista CD, but will be an ...Show All
Visual Studio Sorting with Matrix
Hi folks. Im trying to get some sorting functionality in my matrix conrol. I have tried it with the interactive sorting but when clicking on the arrow in column header nothing happens. Can some one help me out on this one. Its a guite simple matrix that is filled up with data from a couple of access tables. Thanks I suppose you want to sort the matrix group instances e.g. alphabetically. In that case, you should not put ...Show All
