&#169&#59; Ţĩмό Şąļσмāĸ's Q&A profile
SQL Server How to set is_receive_enabled and is_enqueue_enabled from 1 to 0.
Hi All, I used service broker activation in my receive queue (SQL 2005 SP1). However, it seems the stored procedure does not work after the receive queue get message. I saw the following error in SQL Error log. "The activated proc [dbo].[Mystoredpro] running on queue test2.dbo.ReceiveQ output the following: 'The service queue "ReceiveQ" is currently disabled.'" Then I checked the queue in sys.service_queues and noticed is_receive_enabled and is_enqueue_enabled is 0 but not 1 (is_activation_enabled is 1, which is normal). I believe this is the cause of my service broker activation issue. According to this link: http://www.eggheadcafe.com/aspnet_answers/SQLServerservicebroker/May2006/post26788966.asp I t ...Show All
SharePoint Products and Technologies SharePoint 2007 ECM for IIS sites (non-SharePoint integrated IIS sites)
Hello, I am currently reviewing the capabilties of SharePoint ECM for creating and publishing content for our companies public website. Our site is hosted by Verio. Based upon what I undestand of SharePoint architecture is that ECM is setup to manage SharePoint sites only. Would it be possible to manage content published to externally hosted Verio site Questions: 1) Can SharePoint manage and publish non-SharePoint IIS sites (I don't this can be done out of the box) 2) How hard would it be to copy pages and content from a SharePoint managed site to IIS thx jjmasteril Hi, In answer to your questions: 1) No - SharePoint only knows or cares about SharePoint IIS websites; if an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does LPD3DXMESH have built in values I can adjust manually?
I have my CUBE.x loaded into LPD3DXMESH object. Are there specific flags I can set for the entire object Like I want to translate/rotate/scale just this object in the view of my camera. I don't want these changes to affect any of my other loaded models. Are there local axises that I can alter The meshes itself doesn’t contain build in values for this. If you want to translate/scale or rotate them you have to build a matrix for this operation (Direct3DX contains helper for this) and use it as part of your transformation. If you use the fixed function pipeline you have to set it as world matrix. The shader pipeline needs it as constant on the right registers. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Questionable Design?
Granted, I'm only a hobbiest, but it seems that many of the samples in this beta just have some very poor design regarding encapsulation. Is it no longer one of the pillars of good OO that an objects data is private and exposed through accessors ThwartedEfforts wrote: I'm glad someone else had the balls to mention this. Not only is the Spacewar demo a sloppy example of what Game Studio Express can do, you also need prior knowledge of C# to add keyboard or mouse support—something every gamer takes for granted. IIRC, it's a matter of uncommenting one #define to get keyboard support. Really tough. I'm not trying to start a flame war here, but it seems your comment is a bit off-base. The whole ...Show All
Software Development for Windows Vista New xp pro machine, MSDTC not installed or configured?
Hello everyone, I purchased a brand new shiny development machine last weekend (one of the new dual core 2 processor machines...two thumbs way up!). The operating system on the machine is XP Pro. I am coding a C# 2005 winforms application which requires MSDTC and after opening my C# project and running it I noticed that MSDTC is not installed on my new machine. I thought MSDTC was installed on every windows machine but apparently that is not correct. So when I go to component services to look at the Distributed Transaction Coordinator the "my computer" icon has a red arrow over it instead of a green arrow which makes it look like there is a problem. If I click on the "distributed transaction coordinator" folder under co ...Show All
Visual C++ destructor of global objects not called (CRT without managed code)
Hi there, our MFC application uses a couple of own and foreign dlls (like stlport , xerces , ..). After porting it from Visual Studio 2003 to VS2005 the destructors of the executable's global objects are not called anymore. Those of the dlls still are! The problem exists in the debug and release version of the application. For analysing the error I created a simple new MFC application, forced loading almost all external dlls and put a break point into the destructor of "The one and only " global MyApp object. But the destructor of MyAp p IS called. I looked into the call stack and found out that the destructors of global objects are called by the CRT function doexit (file crt0dat.c). That function runs through an array of functio ...Show All
Visual Studio Team System TFS - periodic automatic builds if a check in has been made
Hi, Yesterday I set up my TFS system so that it does periodic 15 minute builds of all the team projects contained within TFSource Control. However it seems a waste of resources to be building all my files every 15 minutes and sending out alerts to the appropriate people when theres a good chance that nothing has been changed within the past 15 minutes. I'm wondering if anyone knows of a way to build at the automatic 15 minute stage only if a change has been made to the source repository Cheers, smudie Hi, I've done what I said I would in the last post and I've got it working. Big thanks for the help. Cheers, smudie ...Show All
Visual C++ How do I include CInternetSession?
CInternetSession requires the "afxwin.h" header file to be included. If i put #include "afxwin.h" at the beginning of my program i get an error message saying that "afxwin.h" doesn't exist. If I do not type this it can't find any of the CInternetSession functions. What do I need to include/do in order to use CInternetSession Viorel. wrote: The file belongs to MFC library, which probably is not delivered with any version of Visual Studio. You seem to be very unfamiliar with VC. MFC has been in every version of VC since about version 2; as best as I can remember MFC was in version 1 of VC. Microsoft has recently begun omitting MFC from some editions of VC, such ...Show All
Visual Studio 2008 (Pre-release) Error passing a string[] array - application hangs up
Hi I encountered an mysterious error today. I am passing a string[] array with 60000 elements (10 chars per element) via WCF and a netTCP binding - everything works fine.. Then I am passing a string[] array with 60001 elements (10 chars per element) via WCF and a netTCP binding - the application hangs up without an error. Here is my binding config: m_maxMessageSize = something about 1,5GB.... NetTcpBinding _binding = new NetTcpBinding(SecurityMode.None, true); _binding.ReceiveTimeout = new TimeSpan(0, 20, 0); _binding.SendTimeout = new TimeSpan(0, 20, 0); _binding.MaxReceivedMessageSize = m_maxMessageSize; _binding.ReliableSession.Ordered = true; _binding.ReliableSession.InactivityTimeout = new TimeSpan(0, m_s ...Show All
SQL Server Quicky : Views of views of views
Hello, to make a report easier I'm developing it using a view of joined views of joined views. Is there any significant performance penalty as opposed to just having one big select Cheers. I think there is because running a view on more than one table need more processing power than running a view n a single table. So if you are concerned about performance issues, you might certainly not run a view of joined views of joined views. Try the big select rather. Hope it Helps... ...Show All
Gadgets file is .gadget but IE downloads as .zip
I have packed my gadget files in a zip file. I then changed the name to *.gadget. The icon changed to a gadget icon and double-clicking it installs it. I then uploaded the file to my webserver and it is there are a gadget file. I then linked to it as a gadget file. When I click that link it downloads a .zip file and asks where to save it rather than downloading as a gadget file and installing. What am i doing wrong Well, Microsoft rejected it again. They said they couldn't unzip my "zip" file that was actually a cab. They will not accept a cab file even though it is a valid file. You MUST upload a zip file. I built the cab and renamed it zip thinking it would be a good work aro ...Show All
Visual Studio Express Editions Placeholders for Menus
Can you attach a placeholder to a menu that displays any controls you like What I mean is say you want a menuitem to have more than just a textbox for example. Maybe you want it to have a textbox, checkboxes and a maybe a dropdown too, all in the one menuitem. Sorry, perhaps I wasn't clear, I want lots of controls in a single menuitem, I used to be able to do it in vb6 with a control I got from vbAccelerator. It had support for placeholders (basically picture boxes that could hold other controls). I was just wondering if anyone has managed to put more than one control in a single menuitem. ...Show All
SQL Server To connect to this server you must use SQL Server Management Studio or SQL Server Management Objects (SMO)
What could be wrong I get this error when a stored procedure is executing sp_OAMethod from SQL Server 2000 SP4. EXEC @rc = master..sp_OAMethod @Obj, 'Execute' The linked server is SQL Server 2005 x64. Already installed is SQLServer2005_BC_x64.msi version April 15, 2006. Local server is SQL Server 2000 SP4. I can execute the sproc successfully in Query Analyzer from my local dev box which has both 2000 and 2005 installed. Profiler in 2005 indicates success for the whole sproc. It fails when I execute in Query Analyzer while connected on SQL 2000 SP4. Tried this with 3 different machines SQL Server 2000 SP4. The server do not have any 2005 component installed. According to Profiler in 2005, the last event that happen is ...Show All
Visual Studio 2008 (Pre-release) Reliable Messaging and custom transports
Hey, first i got to ask if anyone happens to know of some sort of step-by-step tutorial for implementing reliable messaging Then on to my question... I'm doing some request/reply-communication over mail, and want to add some reliable messaging. The plan is that the client sends a mail to the server, with the message supposed to be sent AND the CreateSequence piggybacked on it. The server then replies with another message piggybacking both the CreateSequenceResponse and SequenceAcknowledgement. Finally the client sends an TerminateSequence over mail to the server. (This should work, right ) The big problem is that when my Proxy calls Channel.Request(), the message I get is a CreateSequence instead of the message i sent over Proxy.Request() ...Show All
.NET Development Opening file for reading and writing
I'm building an application that logs data continuously to a file. However, periodically I want to search the log and read data from a specific point in the file, while allowing the log to be continually updated. Can I do this without closing the file How do I go about this Many thanks, Michael But also keep in mind that the file may be in an inconsistent state when you read it. In other words it's possible that only half of a log entry has been written, so your reader should handle that scenario. ...Show All
