danielda's Q&A profile
SQL Server Merege Replication Failed
Hi Guys im newbie but need to learn more of it so please cooperate with me and slolve my problem. my Sql Server starts merging and it starts dumping the scema and data after some time it the status shows failed, it doesn't give any error message also. please let me know what to check and how to resolve this. Try one of all of the following: 1. Can you expand all the + in the job history view and see if there is any relevant information there. 2. Run the merge agent from command line tool D:\Program FIles\Microsoft SQL Server\90\COM\replmerg.exe with all the relevant parameters and also add -OutputVerboseLevel 2 3. Look in distribution..MSmerge_history for the error message for this session. ...Show All
Visual Studio 2008 (Pre-release) Browser Control editable mode required
Hi Guys, Can we use frame for html editor, I mine as we can do with browser Control in 1.1. That user can build the html pages in the browser (by using the edit mode). Is there any editable browser like functionality available in avalon for building html. If any confusion please do comments. Thanks for reading:) Cheers, Kahn Avalon has two editing controls - TextBox (supports only plain text) and RichTextBox. You can get contents in xaml or rtf format from RichTextBox. There is no built-in xaml to html conversion in Avalon but there might be some simple tools in the net which do that (not perfect though). ...Show All
Visual Studio Visual Studio 2005 and IE 7 Compatibility Issues?
Is there any reason not to install the IE 7 upgrade if I already have VS 2005 installed on a Win XP Pro system Can I expect any loss of functionality/integration between Visual Studio and IE Will I wind up building sites that will require IE 7 Don't see any reason why you would not install IE7 although it is not needed there are some known vulnerabilities that have been fixed in IE7, anyway you do not need IE7 for Visual Studio. ...Show All
Visual Studio Team System TeamFoundationServer.EnsureAuthenticated() appears to hang in ASP.NET app
I have the following code in the code-behind C# file of an ASP.NET application: TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(m_strTeamSystemServer, new UICredentialsProvider(); tfs.EnsureAuthenticated(); Works fine when in my development environment inside the Visual Studio solution. Well, the connection to tfs works anyway. I don't get prompted for credentials. The problem is when I copy the website to my deployment environment. When tfs.EnsureAuthenticated(); is called, the site just "hangs". It sits there in a loading state (this code is called in my Page_Load) forever, or at least until I got tired of waiting (5 minutes or so). Any ideas what could be the problem here Why don't I get a crede ...Show All
Visual Studio Team System cpt 7 fails to install - claims team suite required
even though I run team suite studio, the install fails claiming team suite is required. note: i only run team client (unit test and coverage), no team server even though i have a license (as we use source safe) here is the visual studio info: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Microsoft Visual Basic 2005 77642-113-3000004-41771 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77642-113-3000004-41771 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77642-113-3000004-41771 Microsoft Visual C++ 2005 Microsoft Visual J# 2005 77642-113-3000004-41771 Microsoft Visual J# 2005 Microsoft Visual Studio Tools ...Show All
Windows Forms How can I optimize a custom UI?
So far I always developed windows applications with the standard ‘out of the toolbox’ form components (i.e. buttons, labels and textbox …). Now I face a situation where the application has to have a ‘fancy’ look and feel. The application has to have buttons and forms with rounded corners. The application also has to work with skin files defining how the interface looks like. The skin files are nothing but a bunch of .png files that are used as background images for transparent buttons, forms and user controls. I managed to get everything functional but now the application is VERY slow. Even on my development machine (intel duo core with a gig of ram) the application is really slow especially when I have multiple forms on top ...Show All
SQL Server DB2 to SQL Server 2005 Problem
I am trying to copy some tables from DB2 to SQL Server 2005. DB2 database is on IBM iSeries server (AS400). Code page of all tables on AS400 is IBM-037. My Windows code page is 1250. Provider for data source is -IBM DB2 UDB for iSeries IBMDA400 OleDb provider-. I get a following warning: Setting Source Connection (Warning) Messages * Warning 0x80202066: Source - ACCMST [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID wil ...Show All
Visual Studio Express Editions Problem with WMI and PrintUI.dll
Sorry if this is the wrong place to post, but I can't see anything dedicated to scripting/wmi I have a script which uses PrintUI.dll to add a per-machine printer. This script runs as a 'startup script', assigned using Group Policy. I have another script which uses WMI to enumerate printer connections and set a default based on certain criteria. When I test the script by running it manually, it enumerates all local and network printers, including the per-machine printer added by the first script. When I assign the script as a logon script however, it does not 'see' the per-machine printer, even though it appears once the logon process is complete. Does anyone know of a good workaround (I can think of a few 'icky' ones) ...Show All
SQL Server Fatal exception while firing a rule
Hi, I am having a problem when moving our NS application from dev environment to testing environment. What happens, is that when the rule is fired, a fatal exception is generated. Any hints how I can start hunting down what the source of the problem is. The thing is, this works in dev environment, but not in test. Further, if I try to execute the stored proc manually which fails ( NS_MyAppApplication].[NSFire3] ) I get the same error: A user request from the session with SPID 63 generated a fatal exception. SQL Server is terminating this session. Both dev and test environments use same ADF and ICF files. The ADF file is pretty much like in the InventoryTracker sample, using ConditionAction element like this: <ConditionAction> ...Show All
Visual Studio Express Editions Problem with C#
Is it possible to create a DLL using C# that can be declared and run in FOXPRO: I am using the following C# code to create TESTCODE.DLL : using System; using System.Collections.Generic; using System.Text; using System.IO; class DirectoryLister { public static void Main( string [] args) { int i = 0; String FILE_NAME = "C:/Test.txt" ; String path; String name; name = " " ; int j = args.Length; Console .WriteLine( "HIT SPOT A " + j.ToString()); if (args.Length > 1) { Console .WriteLine( "HIT SPOT B" ); Console .WriteLine(args[0]); Console .WriteLine(args[1]); if ( Directory .Exists(args[0])) { ...Show All
Smart Device Development Audio Capturing
Hi, I'm developing smart device applications by using CF 1.0/2.0. I have a question about recording. The question is "How to capture the audio . for eg. I play the audio/video file using WM player on the Pocket PC device. I want to record that audio voice in the audio format as you want programmatically". Please send your suggestion or links. Thanx. M. GANESAN You'd need to P/Invoke waveIn* API: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/PInvokeLib.asp ...Show All
.NET Development UserNameToken and KerberosToken together
Hello all. In my webservice I want to mix windows and custom authntication. I can successfully use UserNameTokens or KerberosToken via applying corresponded policies to a webservice class. But I want to an ability to mix these 2 options and write something like this: if ( RequestSoapContext.Current.Credentials.UltimateReceiver.GetClientToken<KerberosToken>() != null ) { //do some win-based authorization actions } else if ( RequestSoapContext.Current.Credentials.UltimateReceiver.GetClientToken< UsernameToken >() != null ) { //do some forms-based authorization actions } The problem is that I cannot achieve this using one policy. Also I cannot apply 2 policies to one WebService class. Does ...Show All
Software Development for Windows Vista Windows WorkFlow: Created my project exactly as OrderApplication sample and still I get below error
Activity 'handleExternalEventActivity1' validation failed: ExternalDataExchangeAttribute missing on interface ResWFService.IResWFSer h:\Personal\Visual Studio 2005\Projects\ResWFWin\ResWF\Workflow1.cs Yes. Problem has been Resolved by commenting below line <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" /> Thanks for your help. ...Show All
SQL Server Dynamically create text file as destination
I am trying to create a text file from an SQL query on a SQL table. I would like the SSIS package to prompt for the file name and path. The text file is tab delimited and the text qualifier is a double quote. Thanks, Fred Thanks for the suggestions but I am still lost. I have a Data Flow Task which has a SQL Server Source. In the Data Flow Task I connect the SQL Server Source to what I believe is next - a Destination Script Component. I did not see anywhere you code put code in a Data Flow Destination - Flat File Destination. In the Script Component it allows you to add code in Script Design box which is Visual Studio's designer window. How do I assign the filename to the new file I create ...Show All
SQL Server This exception gets generated every 60 secs..Any resolutions?? Thanks in advance
Description : Error Message : System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ReportingServices.Library.ReportSnapshot.EnsureAllStreamsAreClosed() at Microsoft.ReportingServices.Library.RSService.RenderAsLive(CatalogItemContext repor ...Show All
