.net sukbir's Q&A profile
Visual Studio Team System Generation Recommendation
I understand that the tool has the ability to use regular expressions when doing a Data Generation, which is great. However adding an expression to each individual field can be a bit tedious. Is it possible to make the Expression a property of the datagen file (dgen) Here is the issue we've found while using this tool at a client site. The application we are building has extensive search features. As developers we loved the datagen because it gave us data to work with but the QA team hates. Their only complaint is "How do you search on A Ie OO N7AX ". The database is too large to set each individual column. Thanks Fellas, Pete Orologas Neudesic Just ...Show All
Visual Studio Team System Custom Build Summary Report
I've followed the example at: http://blogs.msdn.com/aaronhallberg/archive/2006/08/29/730447.aspx to add custom build steps. Does anyone know if it's possible to add links in the build step message ...Show All
SQL Server Specify cell background color for cell that contains subreport
Hello. I have a subreport in a cell and I can't specify the background color of the cell. I have a "dummy" dataset in the subreport to always return data so that it appears grey, but the problem lies in when there is a carriage return/line feed. The next row will be white with color only where the subreport is located and not where other subreports in the same row are located with no carriage return/linefeed. Thanks! BJ I have it set in the subreport and it is fine when the subreport itself will bleed to the next line because it has a background color set. If I have a subreport in the same line as another, if the other bleeds to the next line and the other doesn't it will show a white backgroun ...Show All
Visual Studio How can I automatically log out VSS users
We run a night job for Analyze/Fix and want to be sure all VSS users are logged out before the job runs. How can I automatically log out VSS users via a script (VSS 6.0 and above) I'm not sure if there's a way to do this within the VSS tools. One easy way is to delete the share via net share /delete <sharename> . Then you can recreate it with net share after Analyze is finished. ...Show All
Visual Studio Team System How to use validate() for workitem OM
hii guy.. this probably a silly question. :) How do i used the validate() function in workitem Object Module. Do I just set the value of the workitem field then just use validate() before i save or are there other way of using it. Because I want to check all the field that i set is correct/allow before i save it thanks. You are right Ahmad. You set the values of fields and call validate method before saving the work item. This method returns a list of invalid fields if any, empty result means are fields are valid. Best Regards, Serkan Inci devBiz Business Solutions ...Show All
Visual C# Recompile causes IDE Crash
I have written my own control that inherits from the System.Windows.Forms Control object. It is basically something that had to be written in order for the developers I work with to plug a visually interactive interface into their apps. It is a lot like the WinForms treeview in appearance. The Problem: When ever anyone writes a control that inherits from this control, if they have the desinger open to view it and they build, the IDE crashes. Does anyone have any clues as to what is happening here. I am sure it is something to do with me not understanding how to develop a control that is ment to be used by the desinger. Something with the componant model or something like that. I am reading all I can to figure it out, but if anyone has any ...Show All
SQL Server Problems when SQL is restared
Hi! Yesterday we experienced which I'd like to share here. Secondly, I don't know how and where to report possible bug, so if someone could direct me, please.... We have AS instance with query logging enabled. Problems started when underlying SQL engine service was restarted, with qury log table placed in that instance. Since that moment olap started to generate dumps virtually every minute (huge files >GB), which really hindered performance. To me it seems like some internal sql connection was closed and that it wasn't able to reconnect for any reason (bug ). Every thown exception then forced generation of that dump file (with sqldumper.exe). Win2003 64b SP1, SQL+AS 64 bit SP1, running on same box. Thanks, Radim Hampel ...Show All
Smart Device Development System.Thread.Timer help
Hi, I was hoping some could help with a threading issue that uses a timer. I would like to have a piece of code execute every 10, 15 or 30 minutes. (users choice). So, as users are using the application every ten minutes I need to do write something to the database. Sorry I am so unfamiliar with the System.Thread.Timer object I do not even no wherre to begin. Any help would be greatly appreciated. A logical first step would be to get familiar with it, e.g. by reading MSDN article. I would assume you can't find it because your namespaces are wrong, so here it is: http://msdn2.microsoft.com/en-us/library/system.threading.timer.aspx Also please read this, item #7 and #17and ask specific question ...Show All
Visual C# Question on DACLs and ACEs (changing them directories & files) using C# [Specifically on SPECIFIC and STANDARD RIGHTS]
Hi all, I got a bit confused on seeing two different namespaces talking about ACEs and ACLs. 1. System.Messaging contained classes for AccessControlLists and AccessControlEntry 2. System.Security.AccessControl being another. My requirement is to set access rights to a directory and I am trying to change a VC++ code to C#. In the VC++ code I saw a statement access[0].grfAccessPermissions = SPECIFIC_RIGHTS_ALL | STANDARD_RIGHTS_ALL; And have been trying to find the flags SPECIFIC_RIGHTS and STANDARD_RIGHTS in .NET framework classes. I was not able to find any such flags in the System.Security.AccessControl namespace (and to be specific in the FileSystemAccessRul ...Show All
.NET Development Creating Account on remote machines in a Workgroup
Hi, I'm trying to develop a program in .NET 2.0 that will manage( create, modify) user accounts on remote computers. These computers are not part of a domain and do not have active directory running on them. They are running under their own workgroup Can DirectoryEntry be used The DirectoryEntry constructor does take username, password for the remote machine. So I think providing the credentials of Administrator on that machine should have worked. But it does not. I'm using System.DirectoryServices. DirectoryEntry Ad = new System.DirectoryServices. DirectoryEntry ( "WinNT://" + "Machine2" , "Administrator" , "ewrerseadr21321!@#" ,System.DirectoryServices. Authent ...Show All
SQL Server MultiFile Connection Manager
Hi, how can i use a MultiFile Connection Manager Thanks, Willfried When using it, you can set the ConnectionString property to something like: C:\Program Files\Microsoft SQL Server\90\Samples\Integration Services\Package Samples\CaptureDataLineage Sample\DataFiles\*.txt. Then, it'll loop through each file in the directory and load the file and perform your function. You can see an example here in this directory: C:\program files\Microsoft SQL Server\90\Samples\Integration Services\Package Samples\CaptureDataLineage Sample. -- Brian ...Show All
SQL Server Type of format export.
Hello : There is a means to limit the list of the format to the export. That is limit the list. (XML, CSV, PDF, …..) Thank's. Are you wanting to remove an option from the export list If so, you can comment out the extension in the rsreportserver.config file. It should be in this location: X :\Program Files\Microsoft SQL Server\MSSQL. x \Reporting Services\ReportServer\rsreportserver.config Open it in Notepad and search for "<Render>", you will see all of the current options. Whichever ones you want to exclude, just comment them out. For example, if I wanted to exclude Excel export: <!-- <Extension Name="EXCEL" ... .ExcelRendering"/> ...Show All
SQL Server Minimum config to upgrade 2000 to 2005?
I am trying to upgrade from SQL Server 2000 Developer Edition (SP4) to SQL Server 2005 Developer Edition. I want to be able to use Reporting Services in the 2005 version. But the 2005 Upgrade Advisor says: Reporting Services is either not installed or is installed incorrectly. - Virtual directory settings do not match the default configuration - Custom virtual directory settings block edition upgrades - Custom extensions are deployed on the report server - ASP.NET account information is encrypted What do I need to install from the 2000 product in order to be able to upgrade to the 2005 version Daniel, thanks for your help. I'm on the (very) low end of experience with all this. >1) Have you modified the IIS settings for either ...Show All
SQL Server Decision Trees
I am studying the behavior of 200.000 clients. With the use of decision trees I would like to know if my clients will abandon our service or not. I use a training set of 21.822 clients and I use a predict variable "aband" wich is a discrete variable and it can be 0 or 1. In my training set i have 21.597 cases in which aband is 0 and 255 cases in which aband is 1. Looking at the classification matrix obtained using as input table a testing set (unselected data) I can see that my decision tree doesn't recognize the cases in which aband is 1. Here is the Classification Matrix: Counts for Dati Training on [Aband] Predicted 0 (Actual) 1 (Actual) 0 21597 225 1 0 0 What should I do Chiara ...Show All
Software Development for Windows Vista Starting a WF from a WF
Hi, I'm trying to create a custom listener activity that starts other workflows and running into problems getting a handle on the WF Runtime. We are calling this particular activity from an ASP.NET site. On my local machine it works fine when I do this: WorkflowRuntime wfRuntime = new WorkflowRuntime("WorkflowRuntime"); wfRuntime.StartRuntime(); Dictionary < string , object > parameters = new Dictionary < string , object >(); parameters.Add( "TaskId" , taskId ); WorkflowInstance wfTask = wfRuntime.CreateWorkflow( typeof ( j1pTask ), parameters); wfTask.Start(); But when we publish the site to the server we get errors on the first line. From my reading it appears that this shouldn't w ...Show All
