nbrege's Q&A profile
Visual Studio Team System Migrating From RC to RTM on a different physical server
We have an old server with the RC build of TFS and we want to do two things: Upgrade to RTM (but keep the old server for backup – we can't trash it) Move all the data to a new server with the RTM version is there a way to migrate RC data into RTM Data directly If not, we can install the RC version, THEN migrate existing data into the new RC installation THEN upgrade that to RTM The questions are: - What does * migrate * all data mean between the RC versions (not RTM) (does simply copying all the SQL databases over onto the new server solve this fully , or are there various registry and config file settgins we'll need to move ) - What does * migrate * all data mean between the RTM ...Show All
Visual C# ManagementScope.Connect taking 20 seconds
In the code listed below, I am attempting to do a ManagmentScope.Connect to do a WMI query on a remote machine. While this connect only takes milliseconds on most machines on others it takes up to 20 seconds. One the ones that it takes 20 seconds on I recieve the following error: ERROR: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) I am OK with the failure, but I cannot have the failure taking 20 seconds to return control back. I attempted to set the ManagementScope.Options.Timeout value to 500 milliseconds but still doesn't return back control for 20 seconds. Any help would be greatly appriciated! Vincent Fournier public string GetW32_Compute ...Show All
Smart Device Development Nullable Enums and Generic Collections in the Same Class Cause an Exception
I have found an interesting problem while working with .NET CF and would like to determine if this is a bug in .NET CF or if I have missed something completely. I am working in Visual Studio 2005 writing a class library that works with .NET Framework 2.0 and .NET Compact Framework 2.0 SP1 targeted for PocketPC 2003 and later (the problem also exists without SP1). The problematic behavior is exhibited on an actual device as well as the PocketPC 2003 SE emulator. The problem does not show up on the standard framework. Here's the problem: a class that contains an application-defined nullable enum field and a field containing an object that inherits from a generic collection causes a TypeLoadException. The following is a C# console ap ...Show All
Visual Studio Team System Name of the validation database
Hi, A very quick one. I have 3 datadude projects, hence 3 validation databases. 2 of these DBs are named: <last-few-characters-of-the-project-name>_DB_<guid> The third one is named <full-project-name>_DB_<guid> Why the difference I know its nothing to do with truncation in order to keep the database name under a certain length because the name of the third one is much longer than the other two. Just interested to know that's all. -Jamie Bruce Johnson - MSFT wrote: Haven't seen this issue before. The default naming convention for the validation database is as you show for the 3rd one above: <full-project-name>_DB_<guid>. I'd be interested in ...Show All
Visual Studio Team System TSD3012 and TSD3028 in Data Dude RTM
Hey, I have 7 warnings on a reverse engineered database from ASP.NET 2.0. See below, the warning list and a couple of the bodies of the stored procs. How can I get rid of these warnings Thanks, Dennis Warning 1 TSD3012: The following dependencies are missing from your database project: [dbo].[aspnet_Roles], [dbo].[aspnet_Roles].[RoleId], [dbo].[aspnet_PersonalizationPerUser], [dbo].[aspnet_PersonalizationPerUser].[UserId], [dbo].[aspnet_WebEvent_Events]. Your database application might fail at runtime when [dbo].[aspnet_AnyDataInTables] is executed. c:\Projects\Intergas.Spin.ISS\Intergas.Spin.ISS.Database\Schema Objects\Stored Procedures\dbo.aspnet_AnyDataInTables.proc.sql 1 1 Intergas.Spin.ISS.Database Warning 2 TSD3 ...Show All
SQL Server SQL Server Xpress remote connections
Hello I've installed the SQL Server 2005 Xpress Edition on a server. On other machine I've got the SQL Server 2005 Enterprise Edition. From this, I'm trying to connect to the SQL server witch has the SQL Server Xpress Edition but gives me the follow error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476 I've ...Show All
Visual Basic Calling dos program and capturing output vb.net
Hello, I am new to vb.net (came from vb6) and was wondering how I can call a dos program (a c program that I wrote) with vb.net, catch the output and handle it via the language. I knew how to do this in vb6, I could even hide the command prompt, but I cannot figure out how to do this in vb.net. Any help would be greatly appreciated. thanks -Frank You need to use the Process class and the ProcessStartInfoCLass to redirect the output http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDiagnosticsProcessClassTopic.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reflection - Assembly.Load generates error
I seem to be experiencing some trouble with Reflection, specifically I am trying to load an assembly and call foo.EntryPoint.Invoke on it, but when I call Assembly.Load, I get: System.BadImageFormatException was unhandled Message="Could not load file or assembly '90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." Source="mscorlib" FileName="90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" FusionLog="" StackTrace: at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlM ...Show All
Windows Forms DataGridView binding self joined nested table for tree view
I tried many things to bind the following table to show a tree view id int parent id text But I was never able to display the values of this table in the grid as tree view - only in a linear way. I added a relation id <->>parentid I bound the datagridview to a binding source which contained the dataset as datasource and the relation as member. No success. Is this possible, are there examples TIA Hi, If it is ok for you to use third-party controls, maybe you should try Hierarchical DataGridView control which is developed especially to address similar problems. You can find more information on http://www.applicationaspect.com/SiteSections/Home/Common/Home.aspx Reg ...Show All
SQL Server I can't seem to find exactly what my problem is in the following
I have trying to figure out where the error is exactly. The error message shows a '/' and there isn't one of these in my stored procedure at all The error is: Msg 102, Level 15, State 1, Line 5 Incorrect syntax near '/'. Here is the rather lengthy code. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [TEST] @StartDate DateTime , @EndDate DateTime AS BEGIN SET NOCOUNT ON ; DECLARE @sql varchar ( 8000 ), @select_clause varchar ( 8000 ), @from_clause varchar ( 8000 ), @gift_clause varchar ( 5000 ), @is_welcome bit , @pckg varchar ( 100 ) declare @bk_id int , @it_id int , @qty int , @desc varchar ( 100 ), ...Show All
Software Development for Windows Vista Uninstall Powertoys
Hi, I upgraded Windows XP SP2 to Windows Vista. I had some Powertoys in XP and I did not uninstall them before the upgrade. Now I don't see a way to do it. The uninstall always refuses to start because it's not the XP no matter that the only thing I want to do is to uninstall. Does anybody run into such situation Could you help me resolve it Thank you, Alex Hello Alex1, I would try running a compatibility mode on the installer (Right Click SETUP.EXE-> Properties, Click on the Compatibility Tab, Check the "Run this application in compatibility mode for" check box and select Windows XP SP2 from the drop down list below it. Select OK/Apply and then run the exe, the version che ...Show All
SQL Server GetDataDrivenSubscriptionProperties vs GetSubscriptionProperties
Is there a similar method for Data Driven Subscriptions like there is for plain subscriptions ListSubscriptions. I would like to get SubscriptionID for use with the GetDataDrivenSubscriptionProperties just as I do for GetSubscriptionProperties. When I execute GetSubscriptionProperties for Data Driven Subscriptions there is no array of Subscriptions. Here is an examole of the code which I execute using rs.exe: Sub Main() 'Dim rs As New ReportingService() 'rs.Credentials = System.Net.CredentialCache.DefaultCredentials Dim DRPlan As DataRetrievalPlan Dim extSettings As ExtensionSettings Dim desc As String Dim active As ActiveState Dim status As String Dim eventType As String Dim matchData As Str ...Show All
Windows Forms Web application
hi i am integrate a web application in VS 2005 but when i want bind my database to the gird view have problem. I n my web application who do is get the datatable and bind to my gird view. Please help! protected void Page_Load( object sender, EventArgs e) { BindingSource bs = new BindingSource (); dbManager.getReceive( Convert .ToDateTime(rtxtDate.Text)); gvReceive.DataSource = ds; gvReceive.DataBind(); } this is my connection method and return datatable public DataTable getReceive( DateTime date) { SqlConnection conn = new SqlConnection ( this .ConnectionString); try { conn.Open(); SqlCommand cmd = new SqlCommand ( "select * from RecieveL ...Show All
Smart Device Development How can I connect pocket pc to Access in Window CE 4.2?
Dear all, I am using pocket pc on platform window CE 4.2. I am trying to make a connection from pocket pc to access with microsoft access. How can I do that Best Regards, Amy Please see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=221300&SiteID=1 ...Show All
Visual C# MouseOver Event
Hi there. I developed an application which shows the colour of a pixel when the mouse moves over it. My problem is that when the mouse is over the picture box, before an image is loaded, I get the following Null Referance Exception message: "Object referance not set to an instance of an object" What I have to do to overcome that problem I would really appreciate any help of you. Thank you in advance. NM PS: Here is my code... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace PictureViewer2 { p ...Show All
