Jody Crozier's Q&A profile
SQL Server Not in correct state to become principal
I am using asynchronous mirroring. When I try to failover on the mirror server using “alter database xxx set partner force_service_allow_data_loss” (having disconnected the primary server from the network) it sometimes fails to failover (it reports that the database is not in the correct state to failover). I can re-connect the primary server, get them sync’d again, then unplug the primary and it will failover ok. Any ideas... or is this j ...Show All
Software Development for Windows Vista Designer problem, VS extensions
I am having what appears to a be glitch with the VS extensions. When laying out a state machine workflow in the desinger, there are no visible connectors (arrows) between the states. I downloaded the orderingStateMachine sample, and I have the same problem - I get a state diagram that only shows the state graphics, but none of the connections between the various states. Any ideas I just downloaded and installed the workflow extensions ...Show All
Visual C# dllimport: can not locate dll, on danish winxp
I have an application where I use some functions from a dll that i wrote. The dll is written in unmanaged oldstyle c++. The main application is in c# with VS2005 In a class i have definitions like this [DllImport("VideoCard.dll")] private static extern long dllCommitAndPresentBuffer(void* vcp, int bufferIndex, bool synch); Which relate to a function with the given name and arguemnts and return type in the given dll. The cod ...Show All
SQL Server Null Measure Data Processing....
Hello, I created a cube with measures and dimensions using AMO. The measure group comes from a table called "client_coverage", and there is a measure called "count". There are also 2 dimensions, namely "TimeZone" and "Source". For example, Coverage ID TimeZone Source ----- -------------------- ----------------- 1 null null 2 null null ...Show All
Visual Basic C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax Hi Ever since .NET arrived this question has stirred emotions between those developing in VB and those developing in C# (needlsessly so in my opinion). You often find the usual ramblings that C# is better than VB which I guess stems from when VB classic was an interpreted language against C++ which was a compiled langu ...Show All
Visual Studio Identifying newly checked in files
Is there anyway I can identify newly checked in files (say from a specified date such as date of the last build) Thanks in advance! Simple solution is that take recursive history of the project by checking the the "include files history", it will give you the list of all latest checked in files. Further you can also refine your approach by giving the time span, "From" and "To" ...Show All
Smart Device Development .NET CF 1.1 development and VS2005
I have a prototype for .NET CF 1.1. I need to complete it and make full application working on .NET CF 1.1. I have VS2005. So, i can develop application for .NET CF 1.0 and .NET CF 2.0. But I need to do it for .NET CF 1.1. I don't want to instal VS 2003. Can i develop application for .NET CF 1.1 using VS 2005 How Prototype building for .NET CF 1.1 don't want to run on .NET CF 1.0. It's hard to rebuild it. But if i do it , should it run ...Show All
SQL Server OUTER JOIN table limit?
I came across this statement from ASP.NET forum : "..There is a limit to the level for OUTER JOIN ANSI SQL limit is four after that you may get strange results. ..." . I did a little research but without getting clear answer from the SQL92 standard itself. I am wondering whether I can get help about this in SQL Server 2005 implementation here. I put this question in another way, How many tables can we use in OUTER JOIN(or INNER JOIN ...Show All
Visual Studio Team System Bug in FxCop 1.32 displaying an FxCop custom rule error
When I run FxCop.exe (build 50628.0) and analyze an assembly using my custom rules and then double click on the error generated from my custom rules I get the following error:- System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.FxCop.UI.MessageDetailsForm.DisplayMessage() at Microsoft.FxCop.UI.MessageDetailsForm.SetListViewItem(ListViewItem value) at Microsoft. ...Show All
Visual C++ Linker PRJ0002 error
I am now getting the following error virtually every time I link (VC++ 2003): pwbGEClient : error PRJ0002 : error result returned from 'link.exe'. There are no LNK* errors or warnings. Furthermore, there appears to be no problem with the link itself - the executable it builds runs correctly and always has my latest changes. I used the build log to assemble a call to link.exe from the command line, and captured its process&nbs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. AudioVideoPlayback
Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All
Visual Studio Express Editions MP3 Playback
Is it possible you can playback mp3 files through VBE, If so could someone please point me in the right direction, I've seen loads of examples in VB6 but none in VB Express. Thanks. The following should work my.Computer.Audio.Play(<filename>) ...Show All
SQL Server The problem of MDX Syntax use OpenQuery
Hi, I want to select the cube's data and insert into table, so I use MDX syntax and via the OPNEYQUERY to implement. But, I found that the OPENQUERY result set from the TSQL will containt the Dimension's hierarchy member. These members are not from the MDX query result, it's genereate from the OpenQuery result. I don't want to these hierarchy members just want what I define, any way can do this I use SQL Server 2005 has no SP1 and pos ...Show All
Smart Device Development VB Timer Questions
I have a VB app that calls functions from a C++ DLL. I wanted to use the Timer to check how long a certain process took. Initially Label3 says "Reset". When Button1 is pressed, Label 3 should display 0:0, the timer is enabled, and the dll function is called. I use a manual stop button to disable the timer and freeze the display when appropriate. a code segment follows: Private Sub InitializeTimer() &nbs ...Show All
Visual Studio 2008 (Pre-release) 10 minute Timeout between calls to service
I'm posting this question sort of as a follow up to a post I made a couple months ago ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=280234&SiteID=1 ). I have a service that is hosted in IIS and uses the following binding: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- <bindings> <wsHttpBinding> <binding name="UserNameSSL"> <security mode="TransportWithMessa ...Show All
