cooldoger's Q&A profile
Windows Search Technologies WDS won't recognize Outlook
Desktop Search was working fine. Then I noticed that emails (Outlook 2003 SP2) were no longer available for search. Reinstallation has not helped. Suggestions I am having the exact same issue! I am using Outlook 2007 in cached mode with WDS 3.0 for XP. I have tried rebuilding the index, uninstalling and reinstalling, creating a new Windows profile,... but nothing works. Documents are searchable using the deskbar but no emails show up in the results. Instant Search within Outlook returns no results. When I disable cached mode I can search email within Outlook but not from the deskbar. When I re-index it usually stops at about 900-1000 items but scans a lot more (presumably the email). Thanks, ...Show All
SQL Server Aggregation utility for AS 2005
I've heard that an aggregation utility for "manual" aggregation design is available after installing SP2 but I did not find it. How can I run it Hey Maxim, Download the latest samples for SQLServer 2k5, install them, broswe to the samples directory and you'll find it. (for me it was C:\Program Files\Microsoft SQL Server\90\Samples\Analysis Services\Administrator\AggregationManager). Chris. ...Show All
Visual Studio 2008 (Pre-release) Changing WCF Endpoint at Runtime
I have a WCF simple service (ServiceA) that I have running on Machine A. I have a client that accesses that Service on Machine A at ( http://MachineA/ServiceA/ ). Simnple enough. Now I have ServiceA running on 4 machines on my network. I still have the client on MachineA. I need to enable the user to connect to any of the 4 machines and call ServiceA. SO basically I need to be able to set the endpoint in code dependant on a selection from the user out of a pool of x machines that would all be running ServiceA. Anyone have a good way to do this with a WCF based service Answered by own question. I added an additional endpoint entry identical to the others with the URLs of my other server machines ...Show All
SQL Server Database Diagram Migration
Hi, I got information how to make work of Database diagrams in SQL Server2005, But i have a requirement that the DB diagram which i was using in Sql2000 can be transferred to SQL2005. Is it possible is there any link showing the details of this issue in BOL Mat Thanks for the reply satya but i done all the steps as similar to BOL but when i restarted the server and trying to double click the diagram its giving an error. "TITLE: Microsoft SQL Server Management Studio ------------------------------ Unspecified error (MS Visual Database Tools) ------------------------------ BUTTONS: OK ------------------------------" what can be the cause of it.... Mat ...Show All
Visual Basic How event method is written for dynamically created controls
In my application controls are created dynamically. I want to know how to write code for an event, for eg. KeyPress event Also how to a call parent form event, for eg. KeyPress event instead of its child control(dynamically created control) KeyPress event (VB 2005) You have two ways to do this. 1. Declare the control WithEvents and then you can use a Handles clause on your event handler. However you can't do this if you are declaring the control in a sub routine. Dim WithEvents T As TextBox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load T = New TextBox Me.Controls.Add(T) T.SetBounds(50, 50, 200, 20) End Sub Private Sub T_KeyPress(ByVal s ...Show All
Visual C# Private members ... global variable??
At my work ... sometimes i hear people say ... that it's bad/sucks .. to use private members because it is like using Global variables .... Which to mean .. doesn't make sense ... since the variable is encapsulated in a class ... thus it is not Global at all .... since only the class can use it. Am i right .. to be frustrated ... to hear that Or am i completly wrong ... We have a senior developper at my work .. i heard him say that .. and he even laught cuz it was like using a global variable .... To me .. global means .. global .. accessible from anywhere. Let me know what you guys think. Well mate, you are right with your suggestion. It's not a big mistake by him, but is a hard way of doing it. You ...Show All
Visual Studio Express Editions Windows Media Player 10 SDK
Hi, I’m trying to play a file using windows media player 10 SDK in VC C++ Express Edition without using managed C++ and without using ATL. Can anyone help me Thanks in advance. For such issues, the newsgroups groups at http://msdn.microsoft.com/newsgroups is a better place. OTP Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Proxy Class is fine when used in C# project but returns error when Used with SSIS
My proxy class returns web service responses well if I use it in a C# code. I compile it with CSC and put it in GAC to use it with SSIS. Then I get web service response with some field values populated with "Exception of type :{System.InvalidOperationException "' occured. Here is the part of web service response received by the C# program: Name Value Type mainAddress {Address} Address city Metuchen string cityField Metuchen string country USA Country countryField USA Country state NEW_JERSEY State stateField NEW_JERSEY State Here is the same objec ...Show All
SQL Server Should be easy...Someone has to have done this already
This may not be the right place for this post...but my head is hurting and I can't think right now. I have a SQL table of users. Each record has a required 'Birthdate' field. I'd like to order this by the days left till the give birthday, keeping in mind that the year may be 1980 or their birthday might have been 2 weeks ago. Can someone cure my headache Hmm, interesting question. I hadn't, and it was a bit tricky for me brain drop table person go create table person ( personId int, birthdate datetime ) go insert into person select 1,'20040120' union all select 1,'19800514' union all select 1,'19980301' union all select 1,'19780819' union all select 1,'19890203' go The basics are that want to look for the next date, eith ...Show All
Windows Forms communicating between objects
Lets say I had a windows form Form1. Now, later at some point I created an object of the form Form1 ^myObj. How would I send lets say a string that this new obj gathers to some control on the form itself How do I communicate between the two You can't access a control from another thread. I'm surprised you don't get an exception, it is normally checked in the .NET 2.0 FCL (but not consistently). Check the docs for Control.InvokeRequired() and Control.Invoke(). ...Show All
SQL Server Error 547
Hello kind people. I'm converting a MS Access database into a SQL database by using the 'Upsizing Wizard' in Access. I get lots of error messages concerning constraints. I've solved some, but I'm stuck with 8 messages like this one: ALTER TABLE "060 Common_indoor_info" WITH CHECK ADD CONSTRAINT "060 Common_indoor_info_FK00" FOREIGN KEY ("Area code") REFERENCES "061 Area_description_facade"("Area code") ALTER TABLE "060 Common_indoor_info" CHECK CONSTRAINT "060 Common_indoor_info_FK00" Server Error 547: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "060 Common_indoor_info_FK00". The conflict occurred in database "SakStairWayKopi ...Show All
Smart Device Development Problem in creating the application for windows mobile 5.0 for pocket pc or smart phone
hi, I am facing the problem in developing the new application. When i make new project for windows mobile 5.0 for pocket pc or smartphone i m not getting the controls in the tool box as they r disabled. Can any1 help me to knw whts the prob can be Thanx in advance. Do you have Visual Studio 2005 beta installed on the same machine If yes, you will have to uninstall it. Otherwise, t ry running devenv.exe /setup /resetuserdata. This should initialize your toolbox again and enable it. ...Show All
SQL Server Error: 'The DbpropMsmdMDXCompatibility property is not overwritable'
I am getting the error: "XML for Analysis parser: The DbpropMsmdMDXCompatibility property is not overwritable and cannot be assigned a new value." when I try to connect to an AS2005 cube through http using Office 2007. I can connect to the same cube fine with other clients. Any ideas how to approach this issue MDX Compatibility Mode is a session property and cannot be changed from command to command. What you describe here sounds like a bug inside connection pooling in msmdpump.dll - perhaps somebody connected with non-default value for MDX Compatibility Mode, and his connection is being reused for your session. ...Show All
.NET Development Setting/getting encoding property
Is there any way to get/set the 'encoding' property of a DOMDocument With .NET the System.Xml.XmlDocument does not have a property named encoding (or Encoding). In general for the in memory DOM document encoding does not matter as the DOM simply exposes anything (element names, attribute names, text content) as an Unicode string (i.e. a sequence of Unicode characters). What should the encoding be if you build the whole document in memory with e.g. CreateElement/AppendChild With the .NET DOM model the XML declaration is modelled as a node of type XmlDeclaration and that node has a property named Encoding you could check e.g. XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(@&q ...Show All
SQL Server Cannot attach my database
That's the error I get. Please help ' TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum) ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) ------------------------------ C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Data\MyNewDB.mdf is not a primary database file. (Microsoft SQL Server, Error: 5171) Hello! I have exactly the same error, could you please help me and tell me in fact what is the real problem and how i can solve it Th ...Show All
