Bjorck's Q&A profile
Software Development for Windows Vista SqlWorkflowPersistenceService: Exception thrown while persisting instance: The transaction has already been implicitly or explic
Hi, I use SqlPersistenceService. I found that SqlPersistenceService has bug, it does not write values to ownerId and ownedUntil colums in instanceState table (SqlPersistenceDatabase). The problem was in constructor, the connection with parameters was broken so I changed the constructor to this NameValueCollection stateServiceSettings = new NameValueCollection (); stateServiceSettings[ "OwnershipTimeoutSeconds" ] = "10&q ...Show All
SQL Server [+]/[-] inconsistency
SQL Server 2005, Reporting Services 2005, Windows Server 2003. It looks like in report matrix the start icon for collaspsing/expanding subgroups is always [+], regardless of whether subgroups are hidden or visible by default. In report table it is vice versa [-]. Expected behavior: [-] when group is expanded, [+] when contracted. So to get that behavior I'm forced to hide all subgroups in report matrix, and expand in report tables. ...Show All
SQL Server Looking for sample code for doing store procedures
I'm looking for any good samples that anyone might be aware of on how to write a SQL Server 2005 stored procedure with error handling (using TRY-CATCH blocks) that I can use as a model. I did find the article "Detecting and Reporting Errors in Stored Procedures - Part 2: SQL Server 2005 TRY-CATCH Blocks" by Rob Garrison. It's pretty good. The article was written based upon an early beta so the author (understandable) wasn't ...Show All
Visual Studio Tools for Office 1.1 Add-in fails to load on 2.0 system
Good Day, I have a .NET 1.1 IDTExtensibility2 add-in written for Word, Excel, and PowerPoint 2003. It's shimmed using a COMShim Wizard generated shim. We're in the final phases of development and I am currently testing deployment. We tested deploying to systems that have the 1.1 Framework installed, the 2.0 Framework installed, and both installed. In most cases the add-in works fine. However, on one system that just has ...Show All
Smart Device Development Registry Editor for x86 devices?
Hi there. So Ive looked all over the net to find at registry editor for x86 devices but with no such luck. And also these forums without any luck. Anybody that knows of either a free or a trial registry editor out there On that will run on the device directly I have tried to connect remote but for some reason I cant. I get an error message stating that the computer I connect to either is not available or it is not ready! Ed ...Show All
Visual Studio Just Completed a Conversion From an Imake-based Build System Over to MSBuild
Some stats up front, the old system was comprised of 37 Imakefiles with 2333 lines altogether. The msbuild system has roughly the same number of MSBuild project files (.csproj and a single .targets) with a total of 2022 lines. The cool thing is that even though none of these are C# projects I can use a .csproj file and trick VS 2005 into building the MSBuild projects for me. WRT build times, MSBuild appears to be a bit slo ...Show All
Visual C# how to hook for windows messages..
i want that my app recive all the messages that windows is sending to other applications.. Anybody knowes how to do that You can use winProc to hook all messages. Each message corresponds to a number which corresponds to each event e.g. public enum WinMsg { WM_KEYDOWN = 256, WM_KEYUP = 257, WM_PAINT = 15, WM_CREATE = 1 ....... }; protected override void WndProc(ref System.Windows.Forms.Message m) { MessageBox.Show ...Show All
Visual Studio 2008 (Pre-release) Orcas Development Tools for WinFX
Just downloaded and installed the May release. When right clicking project and selecting Add Service Reference... I previously got a dialog box up but now nothing happens. Can anyone tell me whether this has been disabled in this release or whether this I've just got a dodgy install on this machine Thanks BenW This feature is not disabled in May release (Beta 2), may be orcas development tools didn't inst ...Show All
Visual FoxPro Using a Lan Connection on Visual FoxPro 9
hi guys...im just new here on this forum...i am about to work on my thesis and i chose visual foxpro 9 as my software development tool..im planning to create an enrollment system for a certain school..im just wondering that if im going to create this type of system, i need to make LAN connections because enrollement system includes sectioning,assessment and payment. actually, i dont have any idea of how LAN works on visual foxpro and the things ...Show All
Windows Forms printout/report generation ideas
A quick question to ask what people tend to use as a reporting tool for winforms application that DONT use a database as their underlying data storage. In the past we've tried various methods from writing our own routines, data dynamics, component one and devexpress and found all un-satisfactory in one way or another. What I'd like is to give the end users the ability to create a template in say word and drop in markers and then fill t ...Show All
Visual Studio Express Editions VC++
Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ ...Show All
.NET Development Bug in ADO.NET 2.0 using SQL Server 7?
We were using .NET 1.1 against SQL Server 7 just fine. When we switched to .NET 2.0 we found that the connection pooling against SQL Server 7 no longer works. As a side note we would like to upgrade from SQL Server 7, but we currently have a number of integrated third party packages that make this a very large task. I traced the connection pooling issue to the connection setting Connection Reset with a value of true. It you set Connection Res ...Show All
Visual Studio Team System Task Assigned To
When creating a new task in TFS, the Assigned To drop down includes many different accounts by default. For example, it includes the TFSSERVICE account that we use to run TFS, and TFSSETUP which we used to install TFS. Is there a way to limit the list of people, or create exclusions I'd like to remove TFSSERVICE, TFSSETUP and several others from the list. Thanks in advance. Mark You can achieve that by ...Show All
.NET Development Securing web services without WSE
I'm at the beginning of developing a new web service that will be consumed by a potentially wide variety of clients, ranging from Compact Framework apps to Java apps. I would like some guidance on securing the web service such that consumers will be able to implement the required security protocol quickly and easily. My security needs are simple: I just need to prevent the web service methods from being called by anyone who has not been prev ...Show All
SQL Server Error in Aggregation wizard - AS2005 cubes
Hi, I got the following error message while i was trying to do the aggregation wizard for SSAS 2005 cubes. I chose the storage setting as MOLAP then in the next screen , when i hit on the count objects, i am getting this error message. 'IBMDADB2.1' failed with no error message available, result code: DB_E_OBJECTOPEN(0x80040E05). (Microsoft Visual Studio) Please let me know any one has got this error before and hot to fix it Thanks ...Show All
