agerman77's Q&A profile
Visual Studio Team System Displaying line numbers in unit test failure results
Hi, I'm new to unit testing and have been experimenting with it over the last few days. I have been writing my tests in the test class generated by VS. I'm finding that it is easier to put multiple Assert statements into each test method (to fully test everything). Then, when one of my test methods fail I get a call stack but it doesn't show any line numbers. So I can't tell which assert statement caused the problem - I would prefer the stack to show line numbers rather than have to fill out the message parameter of the Assert statement (I'm lazy). My understanding of line numbers is that the pdb files need to be available for line numbers t ...Show All
Windows Forms VB .NET: How to display "Licenced to: user name"
Hi! I am making About form where I want to display, between other information, something like this: "This program is licenced to: user name". How to fetch the name of the person Which class to use I know there is the PC user name digged somewhere in the registry. How to get it from within VB .NET IDE Thanks a lot! Dida I don't& ...Show All
Visual Studio Team System Team Explorer - red cross on "documents"-folder
Since installation of TFS I am unable to see the content of the documents-folder (teamexplorer) on a client-machine. There is always a red cross on the folder! If I start the team explorer on the server the documents folder is shown correctly. I tried to copy the http-url ( http://[servername]/sites/[Project ]) to an IE on a client and there the sharepoint site is shown without any problems. I did the changes required after installation of Sharepoint Portal Services SP2 ( http://blogs.msdn.com/robcaron/archive/2005/10/07/478336.aspx ). I think I also configured the users like mentioned in the install guide (TFSInstall-v50926.chm - Manag ...Show All
Smart Device Development Focusing on my running program
Hi I'm writting a new program which i can run on the back ground but under c ertain conditions i want the program to get focus into the front from homesc reen or what ever its state is. Any idea Thanks. what I meant is... FindWindow does work. Use this to get the handle of the form, then use this with SHFullscreen. I don't know how to make that any plainer! ...Show All
SQL Server Error Message "Key Sequence columns are not supported at the case level"
Hi group, I was trying to build a sequence clustering model in MSAS. I could deploy the model. Then while building the model, I end up getting an error with message "Key Sequence columns are not supported at the case level". Can some one tell me what it means and how i can avoid it Thanks in advance to any kind of help here. The Microsoft_Sequence_Clustering algorithm requires the sequence information to be modeled as a nested table so you can only have a nested table column with Content=Key Sequence (right-click on the column in the Mining Structure tab and look at the Properties pane). In the ...Show All
SQL Server Error while importing Text file using Import Export Wizard
Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare for Execute (Success) - Pre-execute (Success) Messages Information 0x402090dc: Data Flow Task: The processing of file "C:\Documents and Settings\Wail\Desktop\All_Alarm5.txt" has started. (SQL S ...Show All
.NET Development Running ASP.NET as NetworkService
Hi, I'm writing a ASP.NET Web Service that needs to access an external database (which uses Windows Authentication). However, ASP.NET runs as ASPNET account (I'm using .net 2.0 on Windows XP, IIS 5.1) and the server refuses to accept that. Running ASP.NET as "SYSTEM" works, but I'd rather not do that. Accessing the database through non-web-based means (i.e. Windows apps) works without any problems, the authentication runs into trouble only when I create Web Apps or Web Services. The machine.config file has this entry in it : <processModel autoConfig="true"/> I tried putting in <processModel userName="NT Authority\NetworkServic ...Show All
Visual Studio Express Editions Debug problem - Source code/original difference...
Any change to my source results in the following (abbreviated) message in debug mode at the breakpoints when moused over: "The breakpoint will not be hit. Source code is different from the original version. To allow breakpoint to be hit when sourcecode is different right click, choose 'Location' and turn on 'Allow.....'. To allow for all BP's disable the option 'Require source to exactly match...' under Tools>Options>Debugging>General" What causes this phenom I have none of the suggested options in the menu system or context menus Using Beta 2 - clean install, new machine, using old code written in Beta 1/old machine For anyon ...Show All
Visual Studio how can i get the latest version by command line ?
Hi, I need to get the latest version of my project by command line , i checked the VSS 2005 help i didn't find any real example. Please can u give me an example (with recursive option) Thanks, Tarek Ghazali SQL Server MVP Hi Tarek, If you're thinking of getting a VisualStudio project using VSS command line, so you can open it later with the IDE from the local disk, this scenario may or may not work. It is not a scenario recommended or supported by source control team. If your solution has web projects, is is likey your solution will not open or build correctly - web projects require enlis ...Show All
SQL Server Using Partitioned Views in SQL Server 2005 Standard Edition
We currently use partitioned views (over horizontally partitioned tables) in SQL Server 2000. The tables are partitioned by month. This works extremely well for our needs. In evaluating SQL Server 2005 Standard Edition, we are finding some issues trying to get this to work properly. A select against the view results in a table scan. Does anyone know if partitioned views have any issues in 2005 SE We are not doing anything different in 2005 SE than we currently do in 2000 SE. StephanG, Would you please post your query and the query plan by the following commands set showplan_text on <run your quer ...Show All
Visual Studio Team System support for windows applications
Hi, We are in the process of Test Automation(sanity test) of our Windows Application. Can Visual Studio Team Edition for Software Testers be used for that process Ours is an VB MDI application. Anyone please suggest whether we can automate the test of this application using VSTS or not Thanks Ravivarma VSTT does not have support for driving applications from the UI layer. However, unit tests are supported out of the box, and different partners with UI automation tools are integrating their tools into VSTT, such as Compuware. Ed. ...Show All
Visual Studio Express Editions Uninstall won't work
I'm having problems with my current installation of VB 2005 Express Beta 2 and want to uninstall/reinstall, but can't. if i try to uninstall, i get a popup saying "Setup is unable to determine a valid ordering for the installation. See the error log for further details." Where do i find the error log, and what can it tell me Anyone seen this before I managed to find a cleanup utility from MS that worked. i think it may have been that tool that ended up working. if it's the visual studio 2005 cleanup tool, then that's the one. i'd run it to check, but i don't want to clean up my install again... it's useable ...Show All
Visual Studio Express Editions ContextSwitchDeadlock was detected - CLR unable to switch contexts
I'm using VS Express and have a Windows form that uses the My.Computer.FileSystem.GetDirectories to get a list of files in a directory and then using the My.Computer.FileSystem.CopyFile to copy the files in the directory to a new location. As each file is copied I'm updating a ListBox (adding an item). After about 2-3 files the ListBox is no longer updated (even tried Refreshing the ListBox and/or Form) and if there are very many files I get the ContextSwitchDeadlock error but I can hit continue and the process will finish. Only after all of the files are copied and the process is complete does the ListBox show all of the added items. How ca ...Show All
Windows Forms Error "Impossible to analyse 'child' at position 1"
Hi Experts, I have a dataview from a dataset with 2 tables in relation. I want to filter this dataview only with child info. I use this filtering expression as in MSDN : dataView.RowFilter="child(Myrelation).MyChildColumn=1"; But don't work and throw exception "Impossible to analyse 'child' at position 1". Could someone help me Thanks in advance for your answer. ...Show All
Visual Studio Express Editions Developing Projects on a Linux-based Server
We have just installed a new server which is Linux-based and want to store our porjects on this server. I have created the directory structure on the server and configured VB Express to default to the correct location for saving etc. Everything appears to be fine until I run the project. When I run any project I get the word 'Internet' prefixed on the main form and a bubble saying never to type your password unless you can trust the server. Any Ideas on what I have to do to stop this from happening There are security restrictions in place by default when running a .NET application from a remote network resource. The followin ...Show All
