Boo79's Q&A profile
SQL Server Secure Replication from Cluster to Workgroup
I am trying to set up replication (transactional with updates) from a 2-node Active/Passive SQL Server 2005 Cluster to a SQL Server 2005 server in a Workgroup. When configuring the Snapshot Agent, Log Reader Agent and Queue Reader Agent from the Publisher (Cluster) we are advised not to use the SQL Server Agent Service Account for security reasons. When I specify a Domain Account I get an "unknown security error" staring the snapshot agent. When I select the option to run under the service account all works well. Strange thing is when I specify the service account I still get the "unknown security error" message. Anyone got any ideas Hi, Looks like it is pretty hard to find the root ...Show All
Visual Studio Why can not chm files be integrated automatically in Visual Studio 2005 ?
If I have understood the help system correctly, it is not possible to use chm files directly without first converting them to some format that Visual Studio 2005 can understand, and to be able to do that, I would need a third party tool. Why does not Microsoft yourself let developers add chm files directly to Visual Studio 2005, and let your product automatically take care of the conversion If the chm format is considered as "deprecated", and should be replaced with some other format that Visual Studio 2005 can understand, then why does not Microsoft yourself distribute this other VS2005-compatible format with your products For example, when you install " Windows SharePoint Services 3.0 SDK ", the installation direct ...Show All
SQL Server question on package configuration
Hi, Programmatically, how will i be able to know if a package is using package configurations Thanks. if the package is using package configurations, i need to get the values from the connection strings in the ssis configuration table. if the package is not using package configuration, i need to get connection strings from the connection objects. also, from a script task, how will i get the value of a package configuration variable ...Show All
Visual Studio Express Editions Debug.WriteLine not outputting anything!
I have had this problem for a while now, which I have just helped by using a form with a rt box. It's beginning to make life a pain, and I was wondering if anyones having this problem to... Debug.Writeline works with c# properly by the way. I don't normally use debug.writeline, but I just tested it and it shows up in the 'immediate window' at the bottom of the IDE, not the 'output' window where I would have guessed it to show up. ...Show All
Software Development for Windows Vista Task Scheduler
I have a problem using the task scheduler from an application in Vista(RC1). I'm able to get the task scheduler object but when I try to activate the specific task I get 0x80070005 (access violation) the code to where the application fails is included below. Does anyone have any idea why this doesn't work in Vista (Works just fine on 2000/XP) Also note! This application is complied ti a Control Panel applet (cpl-file) Code extract: HRESULT hr = ERROR_SUCCESS; bool bReturn = false ; HRESULT phrStatus; ITask *pITask; LPCWSTR lpcwszTaskName; // Initiali ...Show All
SQL Server past and future date
How should I find the dates for 3 days past and 5 days future. Such as TodayDate-3 and TodayDate+5 base in the date only, discarding the time Also, to get rid of time you can do something like this: select cast(convert(varchar(10),getdate(),112) as datetime) ...Show All
Visual C++ Newbie getting C2352 error
I get this error, error C2352: 'System::IO::DirectoryInfo::GetFileSystemInfos' : illegal call of non-static member function, when I try to compile this line: array <FileSystemInfo^> ^fi = DirectoryInfo::GetFileSystemInfos( "*.txt" ); GetFileSystemInfo returns a handle to an array of filesysteminfo objects. I think I'm defining fi as a handle to an array of these objects. Any help is appreciated! Johnny Thanks all! I did look up the error, but frankly haven't reached the point where that explanation is useful. I tend to think of static in terms of variables that are initiatialized only upon first entry into a function. The context here seems to be different. The working code snippet is ...Show All
Visual Basic Problems with Process class
Hi, I am trying to use media player classic to open certain songs in my program and close it after some period of time. Here are the source codes: dim myProcess as Process = new Process() myProcess.start("mplayer2.exe", "C:\My Song.mp3") myProcess.WaitForExit(60000) myProcess.CloseMainWindow() As the program runs, it can open windows media player and play the song. However, it keeps on displaying exception like this "The process is not associated with certain object" (i don't quite remember the name) when it reaches waitforexit method. anyone can help me thanks a lot. In order to run another process beside the default file association process you will have to explicity start the exe fi ...Show All
Visual Basic FileSystemWatcher tutorials?
Hello, I'm trying to get my head around filesytsemwatcher, and not really getting Anywhere, like many new 'features' in .net, it's a bit obscure. Anyone point me to a good tutorial vb.net please, but c# ok too thanks Actually it's not as hard as I thought, the documention I was trying to follow made it more complex than it needed to be. ...Show All
Visual Studio 2008 (Pre-release) How to expose a Webservice at two addresses: one with http, the other with https?
How can I expose a Webservice at two addresses: one with http, the other with https I tried the following, but unfortunately I can only access the first service: < xml version="1.0" encoding="utf-8" > <configuration> <system.serviceModel> <services> <service name="Webservice1" behaviorConfiguration="Behavior1"> <host> <baseAddresses> <add baseAddress=" https://myhost/Webservice"/ > </baseAddresses> </host> <endpoint contract="IWebservice" binding="basicHttpBinding" bindingConfiguration="Binding1" /> </service> <service name=&qu ...Show All
Visual Studio Crystal Reports for VS 2003
Hello, I am trying to make a report with Crystal Reports that come with Visual Studio 2003 using a stored procedure, but i cannot get the stored procedures that are in my Sql Server or Oracle DBMS. The strange point here is that I made a report in this fashion a long time ago, but at that time I used to see the stored procedures and do not know now how I can get them show back. Using VS 2005, no problem because as soon as I make a new connection I can see the stored procedures. The problem is with VS 2003. Thank you very much for your help in advance, Marco ...Show All
SQL Server Multi Select type-in Parameter - To PYRO
Hi All Can anyone tell me whether or not it is possible to multi select when you have a parameter that is set as non-querried in order for it to be typed instead of selected. My users prefer typing the values and selecting more than one. But at the moment I cant give them both.. I'm using SSRS with SSAS cube all in BI all 2005 Please help. I suspect that if it's possible it may just be a syntax thing but I am yet to find it. Thanks in advance Gerhard Davids Hey Roy No solution yet :S But I have been thinking of one and the following is what i've come up with: Create a Parameter that is non-queried so that it is type-able. then create some form of custom code to split user input by 'comma' or some form of seper ...Show All
Visual Studio make language filter fix
What I have to do, that the language filter in Help of VS 2005 stayes fix on C# I only want code samples in C#, but unfortunatly by every new help search all languages are displayed. What I have to do BW Hi BW, A similar query was voiced in this Forum on Dec 29, 2006. Please see this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1060105&SiteID=1&bcsi_scan_A9C07E6225287F19=kU9KdF8ocebVBbKmM+X/QAUAAAAm5k4B&bcsi_scan_filename=ShowPost.aspx Check out the answer provided by Paul O'Rear, Program Manager - Help Integration MSFT. Please let us know if Paul's advice helps solve your problem Frank ...Show All
Windows Live Developer Forums Need help
I have been unable to get this working at all with the soap implementation in php5- has anyone else had the same problem We don't have any official samples using PHP, however, I was able to find a few on the web using http://search.live.com: http://www.dyeager.org/articles/msn-search-api/ regards, nate ...Show All
Visual Studio 2008 (Pre-release) Uri + Pack
Hello, I've created a WPF Browser application within Visual Studio using the latest .NET 3.0 framework and Visual Studio extensions. In my project I have a single WPF Page as well as a single .htm file. My .htm file simply states: "Hello World". I'm trying to create a "Frame" element that displays the .htm file. Everytime I attempt to display the .htm file, I receive an "InvalidOperationException" which states, "Cannot navigate to application resource 'pack://application:,,,/test.htm' in web browser. Am I trying to access my web page completely incorrectly If so, how do I display/access a simple .htm file I have attached my XAML code below. Thank you so much for your help: <Page x:C ...Show All
