ahbenshaut's Q&A profile
SQL Server Failed to acquire connection / The AcquireConnection method Failed
I am running the Sept CTP. I have created a SSIS package that pulls data from a text file and inserts into a database. When I run the package on the DB server it runs fine. I have moved the package the the web server (we are attempting to kick off the package from a web site) and we get connections errors. We are running the package using dtexec from the command line. The 1st time we got The AcquireConnection method call to the connection manager "Program DW" failed with error code 0x80004005. One post I read said that changing the DelayValidation to true may help. I set the DelayValidation to true on all the pac ...Show All
Visual Studio Team System Team Foundation Server Build Process
Let me give you an overview of the situation. I am the .net architect for ediets.com, which is currently built in cold fusion. We are in the process of moving it to .net/tfs. We have TFS setup, and the cold fusion developers will be using Teamprise (a team foundation server plugin available for Eclipse). The site is failry large (2+gigs). They currently do 2 production releases today, but partial, not full. Is there a way to handle partial builds (1-20 files), as opposed to building the entire website everytime they have an update I have went through the different TFS building walkthroughs but can't seem to find it anywhere. By ...Show All
SQL Server Funny problem (bug?) using MAX() on SQL Mobile
This sure looks like a bug, but I'm still new... First I create a simple database: SqlCeEngine eng = new SqlCeEngine ( @"Data Source=\My Documents\test.sdf" ); eng.CreateDatabase(); eng.Dispose(); Then I put something in it: SqlCeConnection conn = new SqlCeConnection(@"Data Source=\My Documents\test.sdf"); SqlCeCommand cmd = new SqlCeCommand("CREATE TABLE myTable (ID int, name nchar(10))"); cmd.Connection=conn; conn.Open(); cmd.ExecuteNonQuery(); cmd.CommandText="INSERT INTO myTable (ID, name) VALUES (1,'bill')"; cmd.ExecuteNonQuery(); Then I try to get the maximum value from th ...Show All
Windows Forms Drag and Drop Datasources have all stopped updating
I'm using VS 2005 Pro. For some reason all of the applications I have on my dev machine that use data binding for database access have stopped working. What I mean to say is, even applications that have worked in the past are not updating the databases when TableAdapter.Update is called. These applications are using drag/drop datasources, bindingsources, etc. I noticed this last night when creating a datasource via the wizard. Nothing I could do made the updates work. Then I went to an application I knew worked and it had the same symptoms. These applications are not all accessing the same database and there is no error thrown; They ju ...Show All
Software Development for Windows Vista Unicode data in Reg.dll
Hi, Can anybody tell me, "Is Reg.dll functions are not supporting Unicode data ". I have got some keys that is in written in Pseudo language. I am able to see the key correctly in windows registry but when i try to read it gives me key with question marks and some un-readable output. What is the reason Also do let me know in case anybody has solution meanwhile i am searching for some equivalent DLL on net. Thank you for your time. Ni@#$h Hi All, I finally found the solution. Following microsoft site would give you the source code for Reg.dll. http://www.microsoft.com/n ...Show All
Windows Forms Unhandled Exception when running on another machine
I am trying to install a program on another machine besides the developer. I keep getting the unhandled exception error whenever I try to start it. Runs fine on the development box. The other pc has .NET framework 1.1, MDAC 2.8. I've set the Security to Full Trust of the Intranet (it accesses a db) and localhost, as well as  ...Show All
Windows Forms Wishlist
Hello, This is a great application in both commercial as well as educational standpoint. Here are some of my wishlist: 1. Ability to change the project on a particular task. 2. Ability to refresh instead of restarting or offline/online 3. Ability to delete the tasks by the admin. 4. Adding one more userlevel called Project manager, who can manage the&nb ...Show All
Visual Studio VSS 6.0d doesn't get resx files
We are using VSS 6.0d integrated with VS 2005. When we do a GET ALL (RECURSIVE) in the VS IDE we are not getting the latest resx files. If we open VSS and to a GET in VSS, we do get the resx files. We use form inheritance heavily. Has anyone else seen this or have suggestions Thanks Alin. You are right. Anyway, John, if this is exactly what you're seeing..then...it is by-design because it is impossible for the project to know about the new file is added to the project without doing a get on the project. Thanks, Thuy ...Show All
Visual C# Replacing C++ __LINE__ and __FILE__ in release builds
Is there a way to replace the C++ __LINE__ and __FILE__ functions in C# Used like this: sprintf(s, "ASSERT in file:%s, line:%d\nText: %s" , __FILE__, __LINE__, "bla, bla" ); Something which will work not only in Debug Builds but also in Release Builds. ...Show All
Windows Forms Gameplay idea
Current gameplay field is very plain. I think that ability of bugs to dig holes and underground passages could add more variety to the game, thou i can't write any details now - they need to be thougt over. ...Show All
Visual Studio Express Editions Need a faster ArrayList save to text file
Hi I have used a variety of file write routines to try to find a quick way of saving an ArrayList of 240,000 strings. The best I have managed so far takes an awful long time, 20 minutes and hadn't finished when I stopped it. In all my attempts, I have to split off each word from the ArrayList and File.Append it to the file. I can see that is not an efficient way of doing it, but I can't find an alternative method. What is the best/fastest approach to write a large ArrayList to a text file I use a routine based around the following which reads the same file almost as fast as I can blink, but what would be the equivalent Write o ...Show All
Windows Forms DevExpress
Has anyone....other than me.....have trouble using DevExpress's control when doing no-touch deployment Thanks, Trey Yes,many problems... with lookupEdit for example... and Tab control... Complete Controls ,but inefficient ...Show All
SQL Server How to add YTD (Calculation) to Time Dimension?
Is there any you can add YTD to Time Dimension as attribute Or it has to be Calculation Then how do we do this Is this need to base on Dimension or Measure I would prefer this to be base on dimension and show in Time dimension hierarchy. Any inputs on this are highly appreciated. If you are using Analysis Services 2005 you can open the cube editor and then click on the "Add Business Intelligence" button you will get a wizard that will guide you through the process of adding a "Period Calculations" attribute hierarchy to your time dimension which can be used to support YTD, QTD, MTD and other p ...Show All
Windows Forms Windows Forms Design strategy
I am new to .net . When building forms to interface, say, to SQLServer tables and queries, I imagine forms splitted into components (as frames in html), like header, body, footer I suppose the way is to use UserControls as containers (for instance, the footer will contain mainly buttons, to exit, help, record and form navigation, and the like). The thing&n ...Show All
Visual Studio Adding a top-level menu to VS plugin
When I put something in the top most menu (between Tools and Window), I get a big ugly space to the right of the menu text. Is there something I could be doing incorrectly CMDPLACEMENT_SECTION menuGrp:IDM_VIEW_CUSTOM, mainMenu:IDM_VS_TOOL_MAINMENU, 0x0700; CMDPLACEMENT_END Do you mean a package Do the steps in the doc walkthru "Walkthrough: Creating a Top Level Menu" create the same ugly space ...Show All
