ebc's Q&A profile
Visual Studio Team System Cannot open database 'LoadTest' requested by login
Hi, When I run a load test, I get the following error message: Error occured running test. (Computer computer name ). The load test results database could not be opened. Check that the load test results database specified by the connect string for your Test Controller (or local machine) specifies a database that contains the load test schema and that is currently available. For more information, see the Visual Studio Team System help topic 'About the Load Test Results Store'. The connection error was: Cannot open database 'LoadTest' requested by login. The login failed. Login failed for used ' domain \ username '. So then ...Show All
.NET Development Question about AssemblyBuilder.DefineUnmanagedResource
Hi, I'm creating a .exe assembly using AssemblyBuilder. Is it posible to set the application (.exe) icon on my dynamic exe assembly I know that the .exe icon is define in unmanaged resource, therefor I think I should play with AssemblyBuilder.DefineUnmanagedResource methods but there is not enough sample using it. Anyone have experience using this method Or maybe a suggestion for another solution thanks ...Show All
Windows Forms Full-Trust and Internet Zone Workarounds?
Hi all, My application requires full trust, but it's just a freeware application that I want anyone to be able to install from my web site. At this point the only way to install it from my site is to add the site to your "Trusted Sites" in IE. This, obviously, is less than ideal for Joe User. Is there any way we can get around this Could I, for example, allow them to download a copy of the deployment files and run them from a local folder, then have it check my web site for updates Or would the updates themselves mean that the site needs to be trusted It seems that for a little free application like mine I'm going to be forced away from Cli ...Show All
Visual Studio Team System Subfolder overwrite issue in Team System RTM
Hello, We've run into a frustrating problem with the Team System RTM involving drag and drop operations in the IDE that overwrite files in subfolders. The issue is illustrated here with an animated GIF movie: http://blogs.vertigosoftware.com/teamsystem/archive/2006/03/31/Subfolder_overwrite_issue_in_Team_System_RTM.aspx James Manning confirmed this as well, so I think it's a bug in the RTM. I need to figure out a few things now: 1) Can anyone can think of a good workaround for this bug In other words, how do we overwrite existing files in the IDE with new versions 2) Is there any ETA for a hotfix on this bug How long will we have to wai ...Show All
Windows Forms What do I Raise an Event?
I just read the article entitle: Multiple Forms in VB.NET. Part 3 - Using Events in Multiple Forms by Ged Mead | Published 09/03/2003. http://www.devcity.net/Articles/102/multipleforms3.aspx ________________ I followed his example and everything worked well. I want to reverse what Ged did. In his example, He created and raised the event in Form2 and handled it in Form1. I& ...Show All
Visual Studio Express Editions cannot open form in design view
Hi i saved a visual basic 2005 project containing two forms. When reloading the project the next day, i could not get the design view of those forms anymore. I only see the code in form1.designer.vb, i do not see the form with the usercontrols itself. In the solution explorer i see a node form1.vb with an icon which looks like a small textfile and "VB" in its corner. When i click on this node two files appear: Form1.designer.vb and Form1.resx. I also noticed that in a project where i do see the form in design view, the icon of the node form1.vb looks different from the icon in this project. What has gone wrong here or do i need to ...Show All
.NET Development XMLHttpRequest in .NET ?
Is there any class or wrapper or support in .NET of any version for Microsoft.XML components. XMLHttpRequest is an object from MSXML component. If i'm not mistaken MSXML is designed preior to .NET. Is there any related objects in .NET namespaces Correct me if I'm wrong but XMLHttpRequest that you are talking about is for generally used for Dynamic HTML and AJAX. So your focus should be on javascripting at user side of the web page. Why would you need to have a managed version of such thing What's aim to accomplish ...Show All
Visual Studio 2008 (Pre-release) There is event when server is closed that send to client ?
Hi I write server and client in wcf(indigo self host). Sometimes the server is failed. I want to know how client can to know if server was failed, without accept exception when i call the server. There is event when server is failed that the client can accept. Hi Oren, What do you mean by saying that the server failed Do you mean that the server threw an exception and the client never got it If you do mean that, you should read about FaultContracts. When exception occurs in the service, the channel is cut off and the exception never return ...Show All
Software Development for Windows Vista Is Vista can support older WIA driver on XP?
Dear all, I have written a WIA Micro driver on the XP, but it cannot work on the Vista. My Vista version is Build:5112. What's matter with it And if needed,how to modify the inf files Thanks in advance! Horky ---------------------- 2006/2/21 Vista supports all XP drivers. WIA service runs in local service security context in Server 2003 and Vista, where as it ran in Local System security context in XP. The details on the change in security context can be accessed at http://www.microsoft.com/whdc/device/stillimage/secure-drv.mspx . It will help if you can provide more details of the error that you are witnessing. Yo ...Show All
Smart Device Development Suddenly get "sql server does not exist or access denied" after connected for ages.
Hi all, I'm developing a PDA app using the compact framework. It connects to a SQL server 2000 database calling stored procedures to read data and update it etc.. It all works absolutely fine for 10 minutes or so - reading and writing lots of data. Then all at once I get the error "sql server does not exist or access denied". In my error handler I try to reconnect - but it seems once this error has happened it's not possible to reconnect. I don't know whether it makes a difference but the PDA is connecting to a database on my machine via a USB connection and the ActiveSync (the very latest version) program. Any ideas would be much appr ...Show All
Visual Studio Express Editions Error adding web reference
Trying to add a web reference to a program yields: ERROR: Some of the files required for web references are not installed. I've tried re-installing, but no dice. Help Apparently the same unregistered files that prevented me from using windows update were to blame. Fixed through the windows update instructions and serendipity. ...Show All
Software Development for Windows Vista Tracking location question
I am experiencing inconsistent behavior with ActivityTrackingLocations. The following code works as expected, all activities except IfElse, IfElseBranch, and Parallel are included. ActivityTrackPoint activityTrackPoint = new ActivityTrackPoint(); ActivityLocation includedActivityTypes = new ActivityLocation(typeof(Activity)); ActivityLocation excludedActivities1 = new ActivityLocation(typeof(IfElse)); ActivityLocation excludedActivities2 = new ActivityLocation(typeof(IfElseBranch)); ActivityLocation excludedActivities4 = new ActivityLocation(typeof(Parallel)); activityTrackPoint.ExcludedLoca ...Show All
Visual Studio Team System Email problems with SharePoint
I get two errors that I am pretty sure are related to the SharePoint configuration: 1. When adding users to a project site The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail 2. When configuring Alerts This virtual server is not configured to send e-mail. When I go to the Sharepoint Central Administration I can see the following: Virtual Server List Default WebSite http://syd-tfs1/ 6.0.2.6568 Team Foundation Server http://syd-tfs1:8080/ Not Installed Extend The default website has alerts ena ...Show All
Windows Forms I Don't Want To Hardcode Any Colors
I am developing an application and I want to use the colors that the user has customized for his Desktop. So I am using Color.FromKnownColor(KnownColor.xxx) to set the colors of the various parts of my form. However, I notice that the enumerations of KnowColor do not match the items in Advanced Appearance dialog box of Windows Display properties. For example, in KnowColor I see InactiveBorder, InactiveCaption, InactiveCaptionText, but in the latter I see Inactive Title Bar, Inactive Window Border. May I ask where do I go and look if I don't want to hardcode any colors in my application. Thank you. ...Show All
Visual Basic VBA: Cannot find project or library
I am having a problem running an Excel/VBA program that has been working till this morning. The error I got when I ran a macro I wrote is: Compile error: Cannot find project or library When I check the references in VBA editor, I find the list of references to be different than when I ran it on another machine. I have some xla libraries on a server that I've linked to the application, and the libraries are being shared among my colleagues. I tried relinking the libraries but that didn't work either. Sometimes, I get another message saying the library is being used by another application. Has anyone encountered this b ...Show All
