PSRibeiro's Q&A profile
SQL Server Mirror Operating Mode change problem
I am unable to change the mirror operating mode on a test database mirror I have set up. I installed (from MSDN) the RTM SQL 2005 Std Edition and applied SP1, then set up a mirror, which works fine but only on High Safety mode. I want to use High Performance mode, but the operation mode radio buttons are greyed out for me in the mirror properties page. Also, I tried running: alter database TestDB set safety off and recieve the error: Msg 1473, Level 16, State 6, Line 1 This SQL Server edition does not allow changing the safety level. ALTER DATABASE command failed. Are the various mirror modes not supported on the Std edition or am I overloo ...Show All
Visual Studio 2008 (Pre-release) MaxItemsInObjectGraph
I'm getting the following error. Error while trying to serialize parameter http://tempuri.org/:GetByUpdatedDateResult. Maximum number Error while trying to serialize parameter http://tempuri.org/:GetByUpdatedDateResult. Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. The method returns List<T> where there are about 1,900 items. Any ideas May this help < bindings > < netTcpBinding > < binding name = " SecureBinding " ...Show All
Visual Basic ListBox as an argument
Here is one for the group. Can a list box become an argument, ie. ListBox(21) ListBox(22) My problem is that I have several list boxes with data. I need to compare ListBox1 with ListBox2 and 3 and so on. It would be so much easier to use a variable like ListBox(x) as the list box number. Thanks, rmc The easiest way is to create an array of the TextBox type and add your TextBoxes to it ala: 'Create a 10 TextBox long array Dim TextBoxes(10) As TextBox 'Add new TextBox at array index 0 TextBoxes(0) = New TextBox() 'Add new TextBox at array index 1 ...Show All
Visual Studio Visual Studio 2005 Beta 2 Uninstall error.
I am receiving the following message when I try to uninstall VS 2005 Beta 2 Setup is unable to determine a valid ordering for the installation. See the error log for further details. Has anyone else received this message And where is the error log located that is supposed to contain "further details". Thanks. Can you try uninstalling using the updated uninstall tool http://go.microsoft.com/fwlink/ LinkID=47598 The error logs are also located in your %temp% directory. ...Show All
Visual Studio 2008 (Pre-release) sugegstions for anonymous types
As it stands, its not possible to create structs using the anonymous type mechanism. Its also not possible to create immutable anonymous types. Id like to suggest the following syntax: // a mutable anonymous class var a = new { X = 1, Y = 2}; // a mutable anonymous struct var b = new struct { X = 1, Y = 2 }; // an immutable anonymous class var c = new readonly { X = 1; Y = 2}; // an immutable anonymous struct var d = new readonly struct { X = 1; Y = 2}; One thing also to keep in mind is that this is purely a C# matter. Other languages may deal with anonymous types if they so choose, and may do so with different rules. Go ...Show All
Visual C# RaftingContainer upgrade to Beta 2
I don't even know what a rafting container does. I assume that it was automatically added to my forms when I added some other controls. Now when I upgraded to Beta 2 it is obsolete and I need to change to ToolStripContainer I think. I have top, bottom, left, and right RaftingContainers, what are they there for thanks for looking, dave Well, I think it is something left over from playing around with different controls. I commented out every line that contained RaftingContainer and I don't notice any difference in my app. Thanks for the information. dave ...Show All
Visual C++ VC++6 upgrade. which is better?
I have VC++6, what is the next upgrade Visual Studio 2003 Visual C++ .NET Visual C++ 2005 I guess really I don't know what the difference is between visual C++ and Visual Studio. I tend to agree - you'd be a lot better off waiting for VC++ 2005. ...Show All
Windows Forms Webbrowser control with Flash Website problem - PLEASE HELP
Hello, I've got a VS.NET 2005 (VB.NET) Winform App that has a webbrowser control on it. I can open a web site just fine with it and can even open websites that utilize flash just fine. The problem is this: After clicking around for a VERY brief time inside of a flash file within the webbrowser control, the mouse clicks don't seem to work inside the flash movie. They work for a little while, but very soon after, quit working. Mouseover events in the flash file seem uneffected. To remedy this, I must click outside of the flash movie (still inside the webbrowser control) then clicking withing the flash movie contin ...Show All
Visual Studio Team System Team Project Creation failed because of some user account problems
I used a single-server mode and encountered the following error: Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30224: Failed to retrieve projects from the report server. Please check that the Yukon Reporting Web and NT services are running and you have sufficient privileges for creating a project.. User Action Contact your Team Foundation Server administ ...Show All
Visual Basic How can I produce Invoices (bills) like the ones we get at home from phone companies and utility companies, for display and prin
How can I produce Invoices (bills) like the ones we get at home from phone companies and utility companies, I want the users to be able to view the bills on the screen and be able to print them for the customers as well. I ll be using VB.NET but I don t know what control or what other tool I should use as well to produce those results. R.Tutus Thanks Phone companies and so on print onto specialised stationery, as a rule. The best tool for producing invoices is Excel :-) However, if you want to do it in code, then basically you just need to use the forms designer to lay out your invoice however you like, and you should look fo ...Show All
Software Development for Windows Vista Workflow Serialization Problem
Hi to all, I have been using beta 2 bits for a couple of days and trying to upgrade my project with the new stuff. I've change a lot of things ( as you guys did in beta 2 :), but one problem still cannot be solved. I'm using the workflow designer control to change workflow definition. I have also a state machine workflow. If I load the workflow from file (xoml) no problem. But if I want to get a workflow definition from running workflow the serialize it and pass it to the workflow designer control I cannot edit the workflow. After debugging it seems that serializing state machine workflow it only serialize the root activity. Stefan, ...Show All
Visual Studio VSS Plug-In with VS2005 RC install
I just installed the release candidate for VS 2005 and I've lost support for VSS 6. Beta 2 installed just fine. With this install, it's telling me the plug-in hasn't been installed on my machine. In Tools > Options > Source Control, I can select "Visual SourceSafe" in the Envitonment and Plug-In Settings areas, but in Plug-In Selection, I only have "none". Any ideas out there Thanks! Todd Gray Try registering RemoteVssScc.DLL and ssscc.dll regsvr32.exe "C:\Program Files\Microsoft Visual SourceSafe\ssscc.DLL" regsvr32.exe "C:\Program Files\Microsoft Visual SourceSafe\RemoteVssS ...Show All
Visual Studio Team System Website Branching
Hi all, I was wondering if any of you have run into a similar problem and can help. We're trying to branch a website project for a QA release. When we branch it, and then open the solution, it seems to still reference the original codebase. Is there something special you have to do to get a working branch for websites in particular We need to be able to do QA bug fixes without introducing code from our mainline release. I appreciate any assistance, links or advice that you can offer. Best Regards, -Mark The RC is not the final RTM build, but it's certainly supported ...Show All
SQL Server Merge replication failing after recreating the publication
I am having a problem with merge replication after recreating a publication. It is a simple two-way replication between two servers allowing applications to update data at both ends, i.e. 1 publisher, 1 subscriber for all tables except some junk ones. The problem started after I did the following: 1) I dropped and recreated the publication to allow for some changes to the database schema. These caused problems so I dropped the subscription and publication and restored the databases at each end from backups taken before we started. 2) When I created the publication again, it wouldn't let me use the same name as it thought the publicatio ...Show All
SQL Server How to display milliseconds as part of datetime field?
When I execute the following query: SELECT EntryDate, EntryName, CONVERT(datetime, EntryDate, 121) AS LongEntryDate From Entries ORDER BY EntryDate LongEntry is displayed in the format of "MM/DD/YYYY HH:MM:SS AMPM". My understanding is that the formatting code 121 (also tried 21 and 113) is suppose to be in the format of "YYYY-MM-DD HH:MM:SS.MMM". I'm using the June CTP of SQL Server 2005, and executing the query via the Database Explorer in Visual Studio 2005 Beta 2. Any suggestions, feedback, work-arounds Is this a known issue Try the following query: select convert(varchar, getdate(), ...Show All
