DanielRehn's Q&A profile
SQL Server How to convert Dynamic Properties to SSIS Package Config?
I'm currently trying to convert over packages from SQL 2000 to SQL 2005. The biggest obstacle at the start has to do with converting my "Dynamic Properties" control. I use it to read an .ini file and load the user name and password to my connections. With 2000 it's nice and easy 1 file 3 lines. While trying to convert it I’ve had nothing but problems. I've tried the Registry Entry but it forces everything into the Current User and I can't use that I need local machine. There is no documentation and I can't have a xml file with 1000 different username and password settings because 1 person has to update that file with the new passw ...Show All
Visual Studio Team System Team Projects vs. Source Control
The company I work for has a structured file system for VSS6.0. We want to keep the same system for the source code, but would like to utilize Team Foundation Server and Team Projects. Do Team Projects need to be associated in the same way as source code or are they independent of the code For example, my Explorer tree looks like this: Classes MyClass HisClass WebApps WebApp_A WebApp_B Each sub-directory is a solution which could contain multiple code projects. My Team Project would consist of WebApp_A and MyClass. Is this possible If so, does it only make a reference to the directories or does it create a new dire ...Show All
.NET Development Appln developed on .Net 1.1 not working on 2.0
Hello, We have c# code of small as well as large application that we have developed on fallowing system configuration. OS: Microsoft Windows XP professional 2002 PentiumR 4 CPU 2.40 GHz 256 MB RAM Visual studio .net 2003 (VS 2003) .Net Framework 1.1 Problem: Now we want our code to run with VS2003 and Framework 2.0. I tried much as to get code run on specified environment. Steps taken: (Code initially works with VS2003 and Framework2.0) I Installed framework2.0 and rebuilt code by clearing solution. I don’t get any response and application terminates without any output ...Show All
Visual Studio Team System event not fired on postback
I am doing af webtest in which i am posting some data. The recording contains a "post" to the correct page, but when i run the test, the posted data is not stored in database. I have tried this when debuging the web application which shows me, that the event handler responsible for storeing the data, is never called. I realise that javascript postbacks are not recorded, but since the actual post is recorded, I am a bit confused on how to enterpret the recording and how to collect and store the posted data! Great job figuring that out. I just want to add that we are well aware that this is a high priority bug and we hope to f ...Show All
.NET Development Failed to load viewstate
Hello: Ive got a UserControl (data Entry form). Within it ive got HTML Tables all of which have questions . I want to bring the questions that were missed up on top of the html table. Alls working fine if its an .aspx. The code to do the row manipulation is fione,But i get the above error message (in the subject) when its in a control .ascx which is being loaded in a page. Pls advise how to tackle this situation. Thank you Is your user control overriding SaveViewState and LoadViewState Can you paste the whole Stack Trace exception ...Show All
Visual Studio Tools for Office Creating Excel Report file From VB.Net 2k5 - Help
Objective Trying to create an output from visual basic, with data containined within a Dataset into an excel workbook. Problem I've got is the Microsoft.Office.Tools.Excel to Microsoft.Office.Interop.Excel issues. I have already written a procedure which creates an excel workbook and populates a worksheet cell by cell from the dataset programatically using the interop interfaces. Problam is this is damn slow. Have tried to use a Listobject (which seems only usefull in the Tools namespace) to noavail (damn type conversions no matter which way I turn. This is what I've got so far, help would be apprieciated: ...Show All
Visual C# Dependencies problem
Hello everyone, I'm experiencing the following problem: I have an app that starts a service when it's executed (so the app has a reference to the serviceproject). These two projects are client-side. Then I also have a client to communicate with the previous service. This client calls a method from the service and when that method is being called, the service should change something in my app. Problem is that I can't put a reference from my service to my app, cause it would be a circular reference. Any idea how I can sove this issue thanks in advance, Kimme You could have shared interfaces and classes in a ...Show All
Windows Forms I search Source code of terranium
If anyone still has any version of the .Net Terrarium Server and/or Client Source code OR SIMILAR APPLICATION that use P2P like Terrarium, I would apreciate it greatly if you would contact me please: vgta_@hotmail.com Sssa2000. to see how to use customers's code in DLL I would check out http://www.divil.co.uk/net/articles/ Writing Plugin-Based Applic ...Show All
SQL Server Query/View Question
I am trying to create a view that returns data from three tables and can't seem to get it to return the data that I want. I am no SQL expert, so hopefully someone can give me some insight into what I need to do. The tables are basically set up like this: TABLE 1 PrimaryKey Textfield1 Textfield2 Textfield3 TABLE 2 PrimaryKey Table1ForeignKey Table3ForeignKey Textfield1 TABLE 3 PrimaryKey Textfield1 Textfield2 Tex ...Show All
Windows Forms Custom User Control
Hi all I am new to CSHarp I want to know if what I want to acomplish is possible, and how if so: I want to extend the methods of the treeview to include more custom defined methods, also I would like to create or add new event to that control and make other controls act with ... IF any body can illustrate in detail& ...Show All
Visual Studio Team System Unit Test Wizard in Visual Studio Team Suite doesn't generate tests for C++/CLI classes.
Hi all, Is there a way to generate unit tests for projects written in C++/CLI I added a Unit Test project to a solution containing C++/CLI and C# projects. All C++/CLI projects are compiled using clr/safe. When I right click on the Unit Test project and select Add->Unit Test, a Generate Unit Tests dialog comes up displaying the projects in the solution. If I select a C# project, unit tests are generated and added to the Unit Test project. If I select a C++/CLI project, nothing happens. I've confirmed this behavior on two separate Team Suite installations. I'm using Visual Studio 2005 Team Suite Beta 2. ...Show All
.NET Development TripleDESCryptoServiceProvider error
Hello, I am getting the error: Specified initialization vector (IV) does not match the block size for this algorithm. Here is the code: Dim des As TripleDESCryptoServiceProvider = New TripleDESCryptoServiceProvider des.IV = New Byte (8) {} Thanks for any ideas. Tom Hi Tom, The single-argument syntax for a new VB array actually specifies the array's upper bound rather than its size, so you're essentially creating a 9-byte array (indexed 0-8) for the IV, while the 3DES CSP specifically only allows 8-byte values. Brian Stern [MSFT] ...Show All
Visual C# How to Clear TreeView nodes?
Hi. In my application, I run a BackgroundWorker to load content from the net. In BackgroundWorkers RunWorderCompleted event handler I want to populate a treeview based on the received content. But first I need to clear the whole treeview. When I try to clear the nodes using myTreeView.Nodes.Clear(), a TargetInvocationException is thrown. I never saw that before, so I think that background worker is to blame. Any suggestions how to clear the TreeView If one thread is trying to add nodes while another is trying to remove them, then bad things will happen, exactly the type you are seeing. Is this what's happen ...Show All
SQL Server Object reference not set to an instance of an object
I enter http://localhost/reportserver and get the error message from Reporting Services:: "Object reference not set to an instance of an object" along with a link to Get Online Help. I click the link to get the "Details" and am told "We're sorry, there is no additional information in the error logs or knowledge base. I've run the RS Configuration Manager many times to try different options, I've also run SQL Server Config Mgr. and the Reporting Services seems OK and is "running." I've checked IIS and the virtual "reportserver" look OK there as well.... I just don't see anything amiss or missin ...Show All
Visual C++ Help ID generation not available for ActiveX Control
Hi there, Well we have been using an ActiveX control in VC6 for quiet a long time and generating help ID for them but , when We start using newer versions of VC Studio the Option for generating Help IDs for ActiveX control is not displayed and we have difficulty using Context Sensitive Help, If there is any work around Please help us out. Regards Usman Mahmood Yes this is still an issue can I have any work around for it or .... Regards, Usman Mahmood ...Show All
