Answer Questions
mexy Custom Perisistence: There can only be one service of type "WorkflowPersistenceService"
I initially created a simple ASP.NET app to demonstrate a state machine and passing data to a workflow using a local service. It works fines. Now I am trying to play with persistence. I have created a custom persistence service using MySQL. I have followed the steps outlined in the SDK help. I have added the needed entries in the web.config line. Here is my Global.asax entries. protected void Application_Start(object sender, EventArgs e) { System.Workflow.Runtime.WorkflowRuntime workflowRuntime = new System.Workflow.Runtime.WorkflowRuntime("WorkflowRuntime"); Application[Constants.WorkflowRuntime] = workflowRuntime; // attach persistence service MySqlPersistenceService stateservice = new M ...Show All
programmer01 Test Case 1 - embedded manifests and MSIs
I am able to embed a manifest into my executable with mt & a custom action, but it does not work when I put it in an installer. I can verify that the manifest is being embedded into the executable that I am building but when I create an msi, using a standard setup project, and install it, the executable no longer has the manifest. Do I need to run mt on the .msi Is the execuable being placed in the .msi before the post build events Or is there just something wrong with my setup project Yes, it is. I also created a second installer project with all the default settings, except that I added the project output to it. This installer also installed the .exe with no manifest. I also verified (again) that ...Show All
Farrel Creative soundblaster driver issues
Hello, Is Soundblaster supported by Vista x64 The divers (ES1373) installed fine on Vista 32 but not on x64 Also what sound cards are supported by Vista x64 at the moment Thank you ...Show All
Likewise Workflow not persisted
I have a state workflow that is published as a web service. After it is started it waits for another call to a web serive so it should be persisted to the database. On my development computer where I have WWF, SQL-Server Express and VS.NET 2005 this works with no problem. However on the test computer where there are WWF, SQL-Server Express and IIS the workflow never seems to be stored in the database. I have copied the WWF web service project and the database to the testing computer. I have also updated the path to the database in web.config to point to the database on the tesing computer. I can call the web service through IIS with no problem. I have then copied the database back to my development computer so I can look at it in ...Show All
Tom Frey Context in workflow?
I was curious to know if there a way of sharing a "context" between all activities in a workflow instance. I am looking at something analogous to HttpContext in ASP.NET and LogicalCallContext in Remoting. Of course, I can resort to ThreadLocalStorage or AppDomain data myself, but I wondering whether there is a better way of handling this. Thanks, Manoj Mikael, What is your email address John P. The ReadyForAppoval method takes a ExternalDataEventArgs as parameter. Create a class that inherits from ExternalDataEventArgs. Before you call the ReadyForAppoval from within your wf, add some activity/WF properties to the WorkflowEventArgs1.Properies. [ Serializable ] public class WorkflowEventAr ...Show All
AndyPham Graphics (Text) Quality in an VRM9 Overlay Bitmap
I am developing an Win32 application that superimposes text over fullscreen video using VMR9AlphaBitmap. One thing I've noticed is that the graphics quality seems to be worse when displaying the bitmap with video than when it is created and displayed on a normal window. In particular, the edges of the characters are jagged, not smooth. Also, I create shadows and other effects for the text by offsetting by one or more pixels and redrawing, using the system colors COLOR_3DSHADOW, COLOR_3DDKSHADOW, and COLOR_3DLIGHT. This works great on a normal window, but when I do this over video, some of the yellow (the color used for the source key) bleeds through. Can someone explain to me why I am seeing this and how I can workaround these issues Than ...Show All
zdrae Major Compile Error
I am running 3.0 with 2005 Team Suite and I have installed the extensions for WF. I have downloaded the samples but when I try to compile them I get the following error. I need help figuring this out. The "CompileWorkflowTask" task failed unexpectedly. System.NotSupportedException: The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copy ...Show All
Devin Canceling a burn
I can't find the documentation on canceling using IMAPIv2. Is it the same as in IMAPIv1 I'm not really using IDiscMasterProgressEvents, so I'm not sure how I'm supposed to implement a QueryCancel() Also, I've seen claims that the cancel is broken on xp sp1/sp2, is it for sure working on Vista Thank you sir! So after I call that CancelWrite(), how can I reliably know that everything is done Wait for a IMAPI_FORMAT2_DATA_WRITE_ACTION_COMPLETED Also, which interface can I get dispatched to do the same thing from erase event Update() So, basically, this is what I want to do... class CTestDataWriter2Event : public ::AT ...Show All
DavidThi808 Test Case 13 for Vista Certification
I'm looking at Test Case 13 which says: Verify application's installer contains an embedded manifest. (Only applies to applications that are using a non-self-containing bootstapper or chainer to install the app) Anyone know what exactly a "non-self-containing bootstrapper or chainer" means I am familiar with what a bootstrapper is, but I'm so sure sure about the context here. Can anyone enlighten me Did you find some way to get rid of this error I get the same error message as you. If your installation is an setup exe it needs to be a bootstrapper or chainer. Bootstappers are an exe that will install pre-reqs and then call your msi. The msi maybe external ...Show All
Rick Hill UAC Sheild Program Icon Overlay
I have an application and the Setup.exe and *.exe program file has a manifest added with asInvoker and uiAccess="false" The application is installed for All Users, however the Start menu icon and desktop icon for the application has the UAC shield added. However, clearly our application does not require Administrator permissions due to the manifests. Is there any tools to confirm the manifest is correct or why the shield is being displayed The manifest is shown below for the program file: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLe ...Show All
RTS4ME SQL Persistance Services - Workflow Instance Conflicts.
I am doing some experimentation with a several State Machine Workflow examples that I have copied and altered to suit my needs. I may be missing something but the issue I am having is such that: I have 2 different Asp.Net Web Apps that Persist the State of their Workflow to a Local SQLExpress DB. The Problem is when I use the GetAllWorkflows() Method it pulls the Active workflows from Both Applications. Then when I try to access the Particular Workflow Instance it throw a Invalid Workflow Type error ..Obviously. Why is there NOT a Parameter in the GetAllWorkflows Method method that you can specify the Workflow Calls or Type I beleive I may have done something wrong in the Web.Config Sections for Workflow realted item ...Show All
Timothy Wilson Service running under local administrator unable to set Time Zone on Vista
I am getting error 1314 (A required privilege is not held by the client) while invoking SetTimeZoneInformation() from a Win32 service on a Vista machine (RC1 Build 5600) This service is running under a logon which is a domain user and also a local administrator on the machine. Service exe has been marked to always run as an administrator. I also tried running it in Windows XP SP2 compatibility mode and the results are same. Any Idea Hi Louis, I actually had this privilege enabled for Local Administrators group (in local security policy) and the logon user is a member of the local administrators group. Since I am running this service on Vista, I was wondering if there is some incompatibility issue. Thou ...Show All
Greenstrike Problems with Vista
ive recently installed Vista Home Premium and of course there are problems. my goal here is to list a few of them and hopefully comeone will reply on how to fix them. 1. AVG Free Virus scan will not properly boot up on start-up 2. After PC loads up, a splash screen appears that says "This system is not authorized to run DISCover" (What is DISCover, and how can i make this go away/fix the problem. 3. When signed into my Windows Live Messenger account choose to see my emial the browser seems to auto-refresh the Windows Live Mail loading screen every 1second making it immposible to load and check my mail. Those are my three questions, help would be greatly appreciated. Thanks, Pat. (patovens@hotmail.com) ...Show All
dni installutil.exe installing windows service
I'm tring to install a windows service and keep getting the following message, can anyone help with this TIA C:\Program Files\My Application>installUtil.exe MyApp.exe Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the C:\Program Files\My Application\MyApp.exe assembly's progress. The file is located at C:\Program Files\My Application\MyApp.InstallLog. Installing assembly 'C:\Program Files\My Application\MyApp.exe'. Affected parameters are: logtoconsole = assemblyMyApph = C:\Program Files\My Appli ...Show All
TjMulder CardSpace and Single Sign On
Hello, When I have authenticated myself once to get a token for using a specific card, I don't want to be asked for authenticate again with the same card, for another RP, during the session. In fact, I want Single Sign On. Is it possible I'm trying to remember where my head was when I said "if you use WCF"...I guess I was really thinking about passive profile WS-Federation capabilities. In fact, all parties in the identity metasystem including cardspace, identity provider (IP/STS), relying party (RP) and client (browser plug-ins to CardSpace or client proxies such as WCF) are interoperable in theory. So, to revisit my statement, with personal cards, you can't get single sign-on unless all relying parties d ...Show All
