miku's Q&A profile
Software Development for Windows Vista CorrelationParameter results in QueueNotFound error
I have a sequential workflow with a ReplicatorActivity. The only activity in the replicator is a HandleExternalEvent activity. I use the InitialChildData property of the replicator to make 3 parallel handleExternalEventActivity1 items which receive an event from a web service. The replicator works as expected. When I send 3 web service events they are received and processed (in order) by the 3 parallel handleExternalEventActivity1 activities. But when I try to add a CorrelationParameter to the interface, I can get nothing but the QueueNotFound error. Here's the whole error: WebDev.WebServer.EXE Error: 0 : 2/1/2007 9:11:55 AM System.Workflow.Activities.EventDeliveryFailedException: Event "Sign1" on interface typ ...Show All
SQL Server reporting server failing....System outof memory exception
Hi : We have a setup reporting services for reporting...and our reports are working fine for 100-200 thousand records which is basically 1 year worth of data. The reporting server fails when it starts processing beyond 200 thousand records...when I check the reporting log I see System outof memory exception. The reporting server has 8GB of ram and its a blade server. I dont know how to solve this issue. Please let me know where I am doing wrong.... Thanks, Pramod Are you sure that SQL Server has not been restricted in how much memory is available for it to use Also as a general rule, I try to return as little data in the dataset for RS to process as possible. So it's better to do some GROUP BY clases in your que ...Show All
SQL Server One Date Hierarchy - In several cubes, but with different captions
How I can model cubes that use one hierarchy, but for each cube I want determine an own caption (AS2005). How I can realize it Thank you in advanced for your answers. Have you checked the translations tab in the dimension editor in BI-Dev Studio You can laso add columns to your dimension table in the RDBMS or in the data source view(named calculation) and make this additional rows member properties of dimension key or user hierarchy level attribute. You will need a tool that supports translations or the change of a member name to an alternative member property. Excel 2007 and ProClarity Professional 6.2 also show member properties as information boxes when you put the cu ...Show All
SQL Server How to execute SSIS package from VB 6.0?
Hi, I've an application developed in VB 6.0. Now I had created a SSIS package which is used to import data from an Excel file. This package has a variable "App ID". Now I need to execute the package from VB application. Also I need to pass the value for the variable "App ID". Please help me in this regard. I'm using the following piece of code for executing the package. Dim pkgLocation As String Dim pkg As New Package Dim app As New Application Dim pkgResults As DTSExecResult pkgLocation = "C:\Documents and Settings\nagaraja_subbrayalu\My Documents\Visual Studio 2005\Proj ...Show All
Visual C# send e-mail
Hi, Im using VS .net 2003. I'm trying to send and email. I tried both smtp.gmail.com and smtp.mail.yahoo.com. I also tried many examples on the web on how to do it, and it is not working. Here is one of the codes I used: I have even deactivated the firewall. I don't understnad how come it isn't working. ************************************************* System.Web.Mail.MailMessage message=new System.Web.Mail.MailMessage(); message.From="myAccountOn Yahoo@yahoo.com" ; message.To="aMy other account on gmail" ; message.Subject="ddddd"; message.Body="yyyyy"; message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver","smtp.mail.yahoo.com"); me ...Show All
SQL Server Conflicts from nowhere
I have two tables that are getting conflicts between the subscriber and the publisher, however I am pretty sure we only update these tables at the subscriber. I have column level tracking turned on. The tables both have Nonoverlapping, single subscription (3) set for partition options. I wonder does this do any maintenance to the tables I have put in place some triggers to audit what makes changes to the data, but won't know until tomorrow, so if there is something that anyone knows about that might help, please let me know. Thanks Hi, Could you return the contents of MSmerge_conflicts_info and MSmerge_conflict_publication_article table for the article where the conflict occurred Also, there are probably some information about ...Show All
Visual Studio Team System What is the TFS equivalent to check out with "Don't get local copy" under VSS?
To delay-check-in changes on a local file that has not been properly checked out under VSS, I can use a check-out with "don't get local copy" and then a check in. This is an important feature for us since some tools, e. g. FrontPage do not recognize the "read-only" flag. FrontPage just removes it without asking. To be sure that everything is checked-in properly afterwards, there must be a way to detect local changes on files that were not checked out and to "delay check-in" them. If I edit a local file under TFS source control with an external tool (remove read-only flag, edit with editor and save), then the Source Control Explorer doesn't detect this at all! The pending changes view doesn't list the fil ...Show All
.NET Development Microsoft.XMLHTTP Problem...
Hello, I have an application that does the following: MSXML::IXMLHttpRequestPtr HttpRequest; hr = HttpRequest.CreateInstance("Microsoft.XMLHTTP"); The above is failing with Invalid Class String We have many customer using our applicatipon and this happens only on one system. Can anyone give me any insight as to why this may be happening I have tried to re-register the msxml3.dll but with no luck. Any help would be greatly appreciated. Thanks, Tony This is a versioning issue. Most people resolve this by explicitly specifying the version of XMLhTTP. e.g. MSXML2.ServerXMLHTTP or MSXML2.ServerXMLHTTP.4.0 Are you using .NET 2.0 If so - I encourage ...Show All
Windows Forms using mousewheel in treeview
I want to use the mousewheel to scroll trough nodes in a Treeview, selecting und unselecting each in turn as I scroll. This will displays display certain related information about the selected treenode. My problem is that this also scrolls the entire treeveiw display up or down, often hiding the node I am trying to select with the mouswheel. I dont want the nousewheel to scroll the treeview. Essentially I want the mousewheel all to myself after pressing the middle mouse button to start the process. How can I acheive this Also, I cant quite figure how to determine how many mousewheel click occured. (e.delta always seem to be either +120 or - 120, but relative to what ). In practice the user might want to click down several nodes, b ...Show All
Visual C# Is it possible to write data to Excel file as I like?
Using my current code, I can write data to an Excel file as the following format: Time Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel A Channel B Channel C Channel D 10:06:02 375 AM 5.0024426 10:06:03 359 AM 0 10:06:04 359 AM 0 10:06:05 359 AM 0 10:06:06 359 AM 0 10:06:07 359 AM ...Show All
.NET Development Why are there extra items in List after Deserializing?
Actually, I know why. What I need to know is the best way to get around this. Here's the deal: I have a class that exposes a List<>. In the constructor of this class, a couple items are added to the list. i.e. public class MyClass { private List<OtherObject> m_list; public List<OtherObject> List { get { return m_list; } set { m_list = value; } } public MyClass() { m_list = new List<OtherObject>(); //every instanced of this class starts with objects in the list m_list.Add(new OtherObject()); m_list.Add(new OtherObject()); m_list.Add(new OtherObject()); } } When serializing this object, everything looks c ...Show All
.NET Development Stripping diacriticals from string?
Is there a .Net string method that will strip diacriticals from strings That is, what can I replace ToNoDiacriticals with to get the following to work: string foreign = "Bia owie a"; if (foreign.ToNoDiacriticals().Equals("Bialowieza")) System.Console.Writeln("Works!"); Check out the definitions for NormalizationForm D and character decomposition at http://unicode.org. Characters like e and are considered compositions of the ordinary latin characters e and z with combining diacritical marks. Normalize(NormalizationForm.FormD) separates the base characters from the combining characters, and UnicodeCategory.NonSpacingMark identifies the diacritical marks as non-spacing marks so they don't ...Show All
Visual C# Parameter and Enum Value
command.Parameters.Add("@Type", _ENUMValue); I have this paramter but when i call my insert function i want it to insert a ENUM value for the property that is assigned to represent this parameter in the sql querey....is there way to do this Do i need to be more clearer usually it should be: TypeOfInsurance.Cargo for example when giving it to the SqlParameter. What errors are you getting if any Is the field in the database an Int What type is the field for this enum value ...Show All
Smart Device Development Discover and Pair with Bluetooth devices
Hello. I am trying to develop a Pocket PC app that uses a bluetooth GPS unit. I would like to be able to simplify the process of pairing with a GPS device by writing code to discover the GPS unit and pair with it. I understand (I think) that this is not possible at this time in the .NET CF 2.0 without using P/Invoke. My Question is where can I find some info and possibly some examples of how to implement something like this. I've tried Google, but perhaps I am not thinking of the right keywords. I would appreciate any help. It depends on what Bluetooth Stack your device uses. The OpenNetCF library supports the Microsoft stack but not having used it I'm not sure whether it supports pairing. Unfortunately the OpenNetCF library does no ...Show All
.NET Development Error Message "There is no source code available for current location" ..
Hi, Error while debug on bRet = SetupDiEnumDeviceInterfaces(hDevInfo, NULL, guid, dwIndex, &devInterfaceData); The Error Message is " There is no source code available for current location " .. I am using VC++ .Net VS2003 What is it, and how i can solve this problem. Thank You. -------------------------------------------------------------------------------------------------------------------------------------------------- source file --------------------------------------------------------------------------------------------------------------------------------------------------- #include "stdafx.h" #include <stdio.h> #include <windows.h> #include <Setupapi.h> #inclu ...Show All
