MarcoSartore's Q&A profile
SQL Server Invalid object name 'dbo.sysmergesubscriptions'. error
Hello, the Expired subscription clean up agent is failing. When I try and run the command via studio mgmt I get the following error. Any help would be greatly appreicated. We have 5 publishers and one distributor all on a sql2k5 sp1 box. Command run: EXEC sys.sp_expired_subscription_cleanup Error: Msg 208, Level 16, State 1, Procedure sp_MSdrop_expired_mergesubscription90, Line 21 Invalid object name 'dbo.sysmergesubscriptions'. Greg, It seems the arizona one might be the issue since under replication it's not really there nor should it. How can I fix this Thanks in advance. John pub_arizona 4 pub_colorado 4 pub_nevada 4 pub_sandiego 4 pub_f_sandiego 4 pub_f_nevada 4 pub_f_colo ...Show All
Visual Studio BizTalk Project Type
Does anyone know how to gain access to a biztalk project within GAT. The normal VSProject project1 = referringProject.Object as VSProject just throws an error as it cant recognise the project format which is specific to biztalk. On a related question, are you binding recipes to a BizTalk project type I don't have much (any) experience with BizTalk but I guess they implement a custom project flavor, which means most probably you need to know their custom GUID:ID pair in order to be able to bind recipes to it. If you have done this, could you share it with the community :-) thanks!, -Victor. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Post-Processing glow shader
I'm trying to get the Glow shader technique discussed in a Gamasutra article (http://www.gamasutra.com/features/20040526/james_pfv.htm) implemented in my XNA project but am struggling with certain aspects of it. The blur of the scene takes place in two separate passes, one for each axis. So when you do the horizontal blur pass, you pass it your scene which you've rendered to a RenderTarget2D. Then for the vertical blur pass which follows, you have to pass it the resulting texture from the previous pass. This is where I don't really understand anymore... what is the proper way to set this up so that you can extract the results of the first pass and give it to the second pass when you already have an Effect activated ...Show All
SQL Server Workbench won't connect
I am having problems with SQL Workbench not being able to connect to remote SQL servers. I can connect fine on the localhost. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1265) If I reboot the machines enough times it seems to start working. However I will soon be moving into production and will be unable to reboot the machines. I found a 3 part blog post on troubleshooting this but it didn't help. Any ideas Steve there are several thi ...Show All
Visual Studio Express Editions Can't find Add Function
I recently have switched over to c++ from VB, and am currently working through a couple of tutorials. It asks me to expand everything in my class view, right click on my form and -> add -> add function. But I don't seem to have that. I am using Visual c++ Express. What else could I do to add a function except manually code it in. Help would be appreciated. Thanx VC++ 2005 Express has a class view...try from the top menu: View>Class View. You'll be able to expand all the pieces of your project incrementally. The Class View is an alternative to the Soultion Browser and comes up in the same area of the screen. As for "Add Fucntion, your question is unclear. Are you tryin ...Show All
Visual C++ Error in VC# to VC++
Hi all, I am new in VC++. Net. i am facing problem to convert the VC# code to VC++ .Net. No sure is Setup Api problem or convertion problem, any one can help looking on it. Thanks -------------------------------------------------------------------------- here is VC# code (Working) -------------------------------------------------------------------------- class Class1 { [DllImport("setupapi.dll")]// public static extern Boolean SetupDiClassGuidsFromNameA(string ClassN, ref Guid guids, UInt32 ClassNameSize, ref UInt32 ReqSize); [STAThread] static void Main(string[] args) { UInt32 RequiredSize = 0; Guid[] guids=new Guid[1]; bool res=SetupDiClassGuidsFromNameA("DiskDrive",ref guids[0],Required ...Show All
Windows Forms GUI problem
I have a problem I don't know how to solve: There are two controls on my form, lets assume two TextBoxes. The Leave event of the first TextBox disposes the other one - so if the focus is on the first TextBox and there is a mouse pressed on the second one - there is an exception because the second one is disposed and can't get the focuse. I know it is weird but I need it. Help anyone Thanks The leave event from the 1st txtBox will cause the 2nd txtBox to dispose on whataver else you click on the form. So it is impossible for the user to use the 2nd txtBox no matter what as soon as you loose the focus from txtBox1. Maybe you mean to have the 1st txtBox to be disposed when the user gets focus of the 2nd txtBox wich would kinda ...Show All
Visual C# User Account
Do yuohave a way to count user accounts in a machine I search smdn but I never find anythign Regard Watanabe in Kushiro The system management classes allow you to use wmi queries to look for information in regards the the main system set up and configuration. Using these classes and queries you can pull information like hardware setup and config all the way to the software installed on the machine. At the moment tere are not that many examples around that use the WMI system in C#, but you should be able to have a look at some vbscript examples on the technet scripting centre and convert them for your needs. ...Show All
Software Development for Windows Vista Copying sys file into the System32/drivers
Hi, I'm trying to load my driver into the WIndow Vista Beta 2. Seems that i cant copy my dirver file (aaa.sys) into the System32/drivers. Is there anyway to work around so that i can let the system to run my driver Should i disable the UAC How can i get the Administrator privileges The error msg that i got is: "You need to provide administrator credentials to copy to this folder" Thanks in Advance... -Brian- I don't think disabling UAP is a good idea. You can add a manifest file for your application. And indicate in the manifest file that your application needs Administrator privilege. Then when your applications is launched, system will ask the user to allow your ap ...Show All
Windows Forms How do I choose an event from a control using the designer (c#)
Hi all. Probably this question was already answered or it's increadibly easy to answer. But I'm turning crazy, because I can't find how to do this using c#. With vb.Net I simply double click a control, the "default" event appeared on code view, and then I can choose from the comboBox in Visual Studio the event I need. But in using c# it doesn't seem to work this way. There's got to be the list of the events that can be handled somewhere in Visual Studio (c#), I just can't find it. Please help!!! Thanks a lot. Right click the control and select Properties to ensure the properties pane is visible. On that pane there is a events button (looks like a lightening bolt) press that to show the possible e ...Show All
Windows Forms How to change default language of a TextBox?
Hi All, I have a TextBox in a form that has the property RightToLeft is set to Yes. The TextBox is also Right to Left by default. I need to set the default language of the TextBox to arabic. Thank you. Bishoy Hi Check the link given below, which tells about Arabic support for windows form control. http://www.microsoft.com/middleeast/msdn/arabicsupp.aspx#19 Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. can i use visual studio .net professional?
Can i use visual studio .net 2005 professional with xna or do i have to use xna game studio express. and if its possible to use vs professional would it still be better to use the game studio sorry if this question has been asked, i did a search and nothing came up. thanks for any help I'm aware of those differences, but I don't see what impact that has on 360 development. So I assume the gse will probably have the same plug-in support as express. It's just disappointing to not have the same development environment I am used to because of different IDE versions. :( ...Show All
Visual Studio Express Editions can't find Microsoft.Office.Interop.....(excel)
can't find Microsoft.Office.Interop..... i search COM components but i cant find it..... If I recall correctly, the Office Primary Interop Assemblies are not installed by default. You need to re-run Office install (Control Panel | add/remove programs | Microsoft Office | Change should work) and then look for a component under Excel (or whatever you want to interact with) called ".NET Programmability Support". Make sure that component is installed then you should be able to use it from Visual Studio. Also I believe the PIA would be NET references not COM references. ...Show All
Visual Studio Team System Sharepoint Services or Sharepoint Portal Server required?
Hello I have Sindows Server 2003 SP1 plus latest updates, and am trying to install Team Foundation Server. It says it needs Sharepoint. Does it need Sharepoint Services or Sharepoint Portal Server Sharepoint services is a very small install, if I can get away with that, I would prefer that. If Sharepoint Portal Server 2003 is really needed, then I will install that. Thank you David I got pretty far into the install when it told me that sharepoint must be using SQL 2005. I looked it up and saw several people referecing sharepoint server not services. I tried to install server with the article "how to install sps 2003 with sql 2005" but it continuosly failed. ...Show All
Software Development for Windows Vista Dropping frames using Directshow
Hi, I am writing an application for preview and capture of Basler A602f cameras using the Basler directshow filter. The camera uses firewire interface and is capable of capturing at 100fps at 640x480 (~30MB/s). However, I am only able to capture at around 90 fps at that resolution. I am sure that my hardware is capable of supporting 100 fps at that resolution as I have used an application that uses the driver to do so. Hardware specs are as follows: Windows XP Professional Dual Xeon 3.0 Processor (CPU usage only 20% max when running application) 4 x SCSI U320 in raid 0 (NTFS) Firewire card plugged into PCI-X. I am using preallocated capture file. Have also tried capturing without preview.I am able to preview at 100 fps wi ...Show All
