sumit kr's Q&A profile
SQL Server The new connection manager could not be created.
I had to reinstall the June CTP and now when I right click in the connection manager area and try to create a new OLEDB connection I get this message: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL INFORMATION: The connection manager 'OLEDB' is not properly installed on this computer. (Microsoft.DataTransformationServices.Design) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50215.44&EvtSrc=Microsoft.DataTransformationServices.Design.SR&EvtID=ConnectionManagerNotInstalled&LinkId=20476 I can however create MSMQ,WMI,SMO,SMTP connections. (Coinciden ...Show All
Visual Studio Express Editions Sendmail vb
Hi, I can send email to outlook using this code. Private Sub Command4_Click() 'Option Explicit 'Add a reference to MS Outlook xx.0 Object Library Dim oApp As Outlook.Application Dim oEmail As Outlook.MailItem Set oApp = New Outlook.Application Set oEmail = oApp.CreateItem(olMailItem) With oEmail .To = "example @other.co.uk " '.CC = " ruff@example.com " .Subject = "hi!!!" .BodyFormat = olFormatPlain .Body = "Blah, blah, blah... ...Show All
Commerce Server Banners offline after 11pm
Our CS2007 website stops serving all banners after 11pm and restarts it's normal behaviour after midnight. There are no time restrictions on the properties for the banners, only date restrictions. Is this a known issue/bug Thanks guys. -- Jorge Medeira Daily Start Hour and Daily End Hour are set from the boxes beneath the "All Day" checkbox. When you create it with "All Day" checked, both Start Hour and End Hour should be set to zero. The fact that it ends at 23 means exactly that: you won't see anything after 23:00:00 (11:00 PM). Try these steps (I just tried it on my dev commerce box) 1. Disapprove the ad so you can edit it 2. Uncheck 'All Day' ; the values should default to 9am-5pm 3. Save and ...Show All
Visual Studio 2008 (Pre-release) STA error when creating scrollviewer in background thread?
Hi, I am trying to print a xaml file in background thread using PrintVisual. The code is like this 1) MainWIndow call the print routine using ThreadPool.QueueUserWorkItem 2) in the print routine - Load the xaml file - Create the UI using XamlReader.load - Now if I call ui.Measure( new Size ( double .PositiveInfinity, double .PositiveInfinity)); I get the following error if I am using ScrollViewer inside my xaml file. {"The calling thread must be STA, because many UI components require this."} The same code works fine if I remove the scrollviewer and just use a TextBlock. Since the UI element I created is in the same background thread, I don't know why this error happens Does ...Show All
Visual C# Go to definition takes me to metadata file instead of source code
Hi, In my solution when I right click an object and click on "Go to definition...", instead of taking me to the source file for that particular class it will take me to the file with "[metadata]" tagged at the end. How can I stop this behavior and have it go to the real file instead Thanks, Yi If you have a Web Site with a project reference, the DLLs and PDBs don't get copied to source control. However, if you remove the Web Site from the Solution and then re-add it, it includes the Dll's and Pdb's as references and adds them to source control. Is this a bug The reason i remove, then add a Web-Site is because this fixes a problem i have been experiencing with very slow builds. I find t ...Show All
SQL Server The connection "" is not found
Hi. I have a SSIS that is failing and I don't know if it is a logging or dba connection issue. I has this set up: -A db connection pointing to the data source -A file connection for the logging -A package configuration with the db connection and file connection info. When I run my SSIS in the IDE then I get in the error message this: Error at packagexxx: The connection "" is not found. This error is thrown by Connections collection when the specified connection element is not found. Error at packagexxx [Log provider "SSIS log provider for Text files"]: the connection manager "" is not found. A component failed to find the connection manager in the Connections collection. Do you know ho ...Show All
Visual C# Windows Service OnStart Event
Hello Everybody I wanted to know how to work with Windows services In the Service it is said that we should not write looping code in the OnStart Event So where should i write my code of looping event as such i wrote in the start event it works fine Is it good to write the code in onstart as my code will take a time may be more than 30min to 1 hr And one more thing how to stop the service i.e after my code has done the work Thank you in advance Sarguna, The OnStart event handler is not intended to contain the service's 'work' code. Instead try moving your looping code to a function that follows the WaitCallback delegate definition and call ThreadPool.QueueUserWorkItem in the OnStart event. This will allow the OnStart event hand ...Show All
Gadgets for html generaotr gadget..
hi~. now, i make html generator gadget. simply... when i type some content in my gadget's text area.. and click generate button than ,, html content be generted. my question is here. do you know webpage that have html genertrator javascript code(or article). if you know. tell me plz. or not, any feed plz~. ...Show All
Windows Forms How to get Datagridvieweditingcontrol programmatically
Hi all, I would like to get the datagridvieweditingcontrol programmatically, for examply by specifing column and row index. I know that we can get this datagridview.EditingControl or when the editingcontrolshowing event is fired and parsing the e.control....but they are currently in editing state... But my problem is I want to get the combobox control that is not currently in editing state and bind some data to that control at runtime. Exactly, I have two combobox column in datagridview. One column is bind to datasource and generate items to default. And when I select the item from first combo, then the second combo will be bind to the data based on the selection of first control. Thanks, WIROL ...Show All
Visual Studio 2008 (Pre-release) Little help plz
Hi i have the following code taken from a tutorial. Now i wish to return a string called returnString but it won't compile because the string is being accessed from another class. So how do i return the string Basically i wish my service to access objects from the application hosting the service. Thanks. using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; namespace Messenger { public class ClientService { ServiceHost serviceHost; String returnString = "String I want to return"; public ClientService() { } public void startService() { Uri baseUri = new Uri(" http://localhost:1234/hello "); serviceHost = new ServiceH ...Show All
Visual Studio Team System Ordered Test Results to HTML
I remember earlier there was a discussion on the trx2html program which generates html reports from trx files. It only works on unit tests, and I did make some tweaks for web tests. Unfortunately I have no clue how to make it work for the results of an ordered test. Can anybody here help me I don't know what formatting is required in the xsl file... Thank you ever so much. -matt Hello, We don't support any tools that change test results files into html. Of course all the information is in the results file, so you could write a tool to create your html, but it won't be easy because the xml files are complex. For next version of our product, we have worked on making this xml much easier to und ...Show All
SQL Server Performance issues in upgrading from SQL Server 2000 SP3(win 2000) to SS 2000 SP4(Win 2003)
Of late the Sql Server and Windows server is bouncing and we are trying to figure out the issues in the environment. Some of recent happening are – 3 weeks back we moved from WIN 2K to Win 2003 EE; and Sql Server 2000 SP3 to SQL Server 2000 SP4. It's a Datawarehouse which is used for generating many important reports. Problems we are seeing – reports are taking more time; sql server is getting self blocked and jobs are failing; SQL server is taking too much time to restart (8 hrs). Architecture: OS: Windows 2003 (64 bit) EE Database: SQL Server 2000 SP4 (32 bit) Datastage Version: 7.5 Hi, have you tried capture events with Profiler ! Any odd behaviour !!! have you applied patches ...Show All
Visual Basic Textbox Dataformat
Hi, I am trying to setup the data format optionsto use for values in Textbox. How can i do it I remember using some option which when you click on the e llipsis button ( ... ) in the Format tab of the Textbox Properties dialog box. This property appreaded in the Misc Section. Any suggestions I could locate only a similar option in Report Designer Thanks Well, this will do the trick but the standard textbox wont. You may have used a 3rd party custom control to achieve it in the past - only you would know. There are numerous suppliers of controls which may serve your purpose. Infragistics, Component One are two good sources. But these will cost you. If I'd spent money on a piece of ...Show All
Visual Studio Team System Unit tests not running in build type
I created a build type that includes a test project and has a configured test list. When I run the build through Team Explorer, the log file reports: : warning : Test <testname> can not be found. It lists the four tests I have in my test list, so it can see the list, but can't find the tests. What am I doing wrong TIA jdn The tests do appear. They are new and so have never moved. This article: http://msdn.microsoft.com/msdnmag/issues/06/03/Bugslayer/default.aspx suggests the problem is because there are hard-coded paths in there somewhere (my local machine where I develop uses the c: drive for instance, while the build machine uses the d: drive for its directory structure. ...Show All
Visual Studio 2008 (Pre-release) Expression Interactive June CTP
Is there a know date for the june CTP of expression interactive, working with the june ctp of the .net 3.0 framework. Thanks Paul Hi, Thx for your question. There's actually an even later version of Expression Interactive Designer available now. It's the July CTP of Expression Interactive Designer, that targets the July CTP of Microsoft .NET Framework 3.0 (formerly known as WinFX). http://www.microsoft.com/products/expression/en/interactive_designer/id_free_trial.aspx Here's the link to the download. Hope this helps. Regards, Parimal Deshpande ...Show All
