Mike Oleary's Q&A profile
SQL Server Unable to browse the dimension '<Dimension Name>'
Hi, When I try to browse a dimension using the Dimension Browser the following error is displayed in the dimension browser Unable to browse the dimesion '<dimension name>'. The dimension cannot be displayed until a cube that contains it has been processed Even though the cube is processed, analysis server displays the above error. Can anyone please let me know what could be the solution for this TIA Ajay Yes, I am able to see the dimension members and hierarchies while browsing the cube. I am able to see the data of other dimensions using the Dimension browser and I am in the admin group. ...Show All
Audio and Video Development ISAN Numbers - Obtaining them
For all those who havent been able to premaster with AACS, I learned with the latest SACA update that you MUST have an ISAN issued # for every title you pre-master!...So, you actually have to call them or file a request and they will respond back with a price. Otherwise you will have unplayable non-encrypted content...even to make 1 check disc you need a ISAN number. to learn more email isan@microsoft.com or if you just want to order go here... http://microsoftstudios.biz/Lists/Request%20an%20ISAN%20Number/NewForm.aspx Source=http%3A%2F%2Fmicrosoftstudios%2Ebiz%2FLists%2FRequest%2520an%2520ISAN%2520Number%2FMyRequests%2Easpx ...Show All
Visual C# Classes with the same name in the same namespace....
Hi All, In my solution I have 2 classes with the same name in the same namespace. This was legal in VS.net 2003 (.Net 1.1) and all the compiler did was to raise warning about this problem. However with VS.net 2005 (.Net 2.0), this has changed it now throws a compiler error for the same. Is it possible to get around this issue in any way without having to change the class names... Thanks in Advance andypai This code compiles. The compiler picks up the defintion from the first reference in its refernce list that matches... I agree it is bad coding practice but I have inherited this piece of code from the previous team and I dont want to make changes unless I really have to :-) So, the functioning of your appliation d ...Show All
Visual Studio 2008 (Pre-release) The int, decimal datatype fields in my class that i pass to a wcf service is being set to 0 on the server
I can't figure out why this is happening. I have a class, say for example [ DataContract (Namespace = "http://Turner.Isg.Admiral.DataContracts" )] public class Order { private int _OrderID; private int _VersionID; [ DataMember ] public int OrderID { get { return _OrderID; } set { _OrderID = value ; } } [ DataMember ] public int VersionID { get { return _VersionID; } set { _VersionID = value ; } } } When I populate the OrderID and VersionID with non-zero values on the client, as soon as the Order object appears on the server, OrderID and VersionID are always zero. The funny thing is that my String properties/fields are retaining ...Show All
Audio and Video Development Extending Classes in HDi - not working in Emulator
We're seeing some weird behavior on the Toshiba Emulator. Object oriented javascript runs well in HDi - you can have multiple extensions of a class and they act as expected. However when this script was run in the Emulator all extended classes act like the very last class loaded. So for example if a Food class is extended to veggie, fruit and grain; in they Emulator they all act like the grain class (assuming it was the last one loaded). Am I missing something in the ECMA spec that prohibits object oriented javascript I assume initialize it is added to Object.prototype at some stage Are you sure it is returning the same object every time, or is it just incorrectly binding the this reference every time The create function should retu ...Show All
Visual Studio Team System CTP5 - Import Schema Problem
I am testing CTP5 against a database with approximately 50 tables. About 5 of these tables have a schema prefaced in their name. For example, I have table names like: ClientBilling.TransactionMaster ClientBilling.TransactionDetail None of these 5 tables were imported into my project when I did an Import Schema. The 45 or so tables that do not have a schema prefaced in their name (they are dbo) imported successfully. Is this a known limitation with CTP5 or is there something else I need to do Amos. Amos - Are you still having this issue or has it been resolved If it has been resolved, I'll mark the thread as answered. If it is still active, please provide the additional details that Jon ...Show All
SQL Server Can't launch executable from SQL Server Agent Job
I'm trying to launch an .exe from SQL Server Agent Job and basically nothing happens. I created a job, with 1 step, type is Operating System (CmdExec), run as sql agent service account, and in the command box I typed "start notepad" (no quotes). The job owner is set to administrator. I manually start the job, it processes successfully yet notepad does not launch. I've tried with other .exe's and result is the same. Any advice Thanks! It's part of an I/O process. I create a data file from a db and have to launch the .exe to import the data. I've decided to do it through an SSIS package...But thanks for your suggestions! ...Show All
SQL Server Trying subreports - does not work
Hello colleagues, I have the following issue: I am trying to create a report with subreport this way: 1) create report 2) create subreport. Set parameter @AccountName in the SQL query (...WHERE account.name = @AccountName) and in the parameters collection - AccountName, data type string 3) place the subreport into the report and set parameters AcountID = =Fields!name.Value, so that the WHERE clause in the subreport should filter the content according to the field Fields!name.Value. So far, I suppose this should work. Nevertheless, I get this result in Visual Studio .net: An error occurred while executing the subreport ‘subreppp’: An error has occurred during report processing. Cannot read the next data row for the d ...Show All
Software Development for Windows Vista State Machine Exception Handling
Can anyone tell me what the best practice is to handle exceptions in a state machine process. I would like to move the instance to different error states depending on the type of exception. It would seem that normal compensation processing is not available in a State Machine Regards Jaco Hello, i also had this question, luckily I have the right book at hand .. ;-) this thing is well described on that page: http://www.kcdholdings.com/blog/ p=80 starting at Imperative Fault Handling It is really hard to find, without that book not possible i think: - you rightclick on a errHandler on the canva - then choose "Promote Bindable Properties" - after that you have a error variable you can look ...Show All
Community Chat Opensource C# BitTorrent library
Hi there everyone, I've written an open source bittorrent client library which runs on Windows/MacOS and nearly all flavours of Linux which is pretty much at Beta 2 status, i.e. most of the really big bugs are gone. The source is available at the public SVN for mono under the Bitsharp folder (details can be found at www.mono-project.com). There is also a TorrentCreator and BitTorrent Tracker library available at the same place, both written in C# aswell. Those are also needing developers should anyone be interested in pitching in. Example code and a more detailed blurb is at www.mono-project.com/Bitsharp. Basically, i'm doing a call to developers to: 1) Try and find a few people who wish to help with further developing the library. 2) Try ...Show All
Visual Studio 2008 (Pre-release) Usage of Order property in MessageBodyMember
Should the Order property of the MessageBodyMemberAttribute follow the same guideline as for the DataMemberAttribute This is the data contract recommendation wrt versioning: "The Order property on the DataMemberAttribute should be used to make sure that all of the newly added data members appear after the existing data members. The recommended way of doing this is as follows: None of the data members in the first version of the data contract should have their Order property set. All of the data members added in version 2 of the data contract should have their Order property set to 2. All of the data members added in version 3 of the data contract should have their Order set to 3, and so on. It is okay to have more than one da ...Show All
Visual C++ Profiling C++ .Net app in Visual Studio .Net 2003 enterprise version
Hi, Does anyone know how to profile a C++ .Net application in VS .NET 2003. With VS 6, you can do it by enabling the "profile" in project property link page. But in VS .NET 2003, I couldn't find this setting. Has it moved to some other places DevPartner Performance Analysis Community Edition http://www.compuware.com/products/devpartner/profiler Be warned - you will get a phone call from their sales before you are finished downloading the file :-) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Draw() called before Update()
I noticed Game.Draw() is being called before Game.Update(), which doesn't (seem to) make sense. Is there any suggested way of dealing with this If Update() is supposed to, umm, update the state of the application to a certain local time, before the first Draw() there is no state ready to be painted to speak of. I have to agree with Peter. All objects should be in a valid state from either (1) construction time, or (2) you should have a guard flag "Visible" that determines whether your object is ready to draw. One of the primary reasons that you want Update and Draw disconnected is so that you can schedule Updates (potentially) more frequently than Draws... for example, to track action ...Show All
Visual Basic Replace COM xyz.dll with .NET CCW xyz.tlb
Hi, We need to upgrade an VB 6.0 class library to VB .NET. We have one enterprise COM application which has custom exit through which we can make enterprise application call our class library. As of now when we register the VB6.0 class library our Ent App is able to instantiate VB6 library and working fine. But when I unregister it and then create .NET assembly and register the .NET assembly for COM using REGASM, enterprise app is not able to instantiate this CCW. My question here is how can i exactly replace an COM "abc.dll" with CCW abc.dll so that existing applications which worked fine with COM abc.dll also should work fine with CCW abc.dll. We are completely stuck here. Any help would be greatly appreciated. Upd ...Show All
Visual Basic datetimepicker control
Here is my dillema, I am trying to create a function with a button to open a hidden datetimepicker, once the date has been selected then hide it again. I have no problem opening the picker from the button, but once date has been selected the textbox still appears. I have tried numerous ideas and think it is time to ask the panel to see if anyone has tried to do this before or knows the commands to do this. Thanks for your time Greg Hi Greg It's a little hard to completely grasp what you are trying to do, so apologies if the enclosed proves irrelevant. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me .DateTimePicker1.Visi ...Show All
