dmaietta's Q&A profile
SQL Server Errors processing SSAS 2005
Hi, I am receiving the following error when i try to deploy project. Error 1 The following system error occurred: . AS 2005 SP1 Windows Server 2003 Ent. SP1 This could be very much as a result of your computer becoming domaing controller. Can you connect to Anlaysis Server from SQL Management Studio Try deleting everything from the data folder and restarting Analysis Server. This cause you to loose all of your databases, make sure you have you projects saved so you can re-create databases again . If that doesnt help, the only solution I see is to try and re-install Analysis Services. Edward. -- This posting is provided "AS IS" with no warranties, and confers no ...Show All
.NET Development Static classes with codedom
If I create a class using CodeTypeDeclaration, how can I make that class static Something like: CodeTypeDeclaration myType = new CodeTypeDeclaration( "MyClass" ); myType.TypeAttributes = TypeAttribute.Static; Unfortunately there is no TypeAttribute.Static (why Did anyone miss anything ), so the above code won't compile. How can I achieve this Thanks for any help. In the CLR there is no such thing as a static class. C# 2.0 introduced the ability to declare a class "static" to indicate that it could not not be instantiated and all its members would be static. But, after the class is compiled, its just a regular class which is both abstract and sealed (thus preventing it from ever be ...Show All
Visual C++ VC++ equivalent of winforms ResizeBegin and ResizeEnd?
Hi, all - I have a traditional MFC SDI application that contains an OpenGL display. I'd like to implement scene anti-aliasing in this app, but am concerned about the effect the reduced frame rate has when the main window is resized. With anti-aliasing enabled, the frame rate is reduced by 75%. This causes a jerky, rough effect when the main window is resized. Windows Forms provide ResizeBegin and ResizeEnd events that are ideally suited to dealing with a situation like this; one simply disables anti-aliasing at the beginning of a resize sequence, then re-enables it and invalidates the display when resizing ends. So - how can I implement this behavior in an MFC app There are no equivalent, easily indentied events one can trap ...Show All
Game Technologies: DirectX, XNA, XACT, etc. soundBank.GetCue("xxx").IsPlaying - does it work?
Does anyone know if the .IsPlaying value works properly I would assume that the code I wrote below would cause the computer to play the sound only if another one is not already playing, but it still goes too fast for my taste for ( int i = 0; i < ammo;) { if (!soundBank.GetCue( "click" ).IsPlaying) { score += 25; soundBank.GetCue( "click" ).Play(); Draw(); i++; } } When you use the Sound bank to look up and play a sound like you did, you really have no handle on the object it created to check if that object is still playing a sound. In order to actually have a sound object to check "IsPlaying", you need to store that object in the "C ...Show All
Visual Basic Install for Everyone Option not there
All, After publishing my project and installing for the first time I was expecring an option of install for everyone or install as me only. But I never got one. I continued anyway and guess what when a new user logs on the machine they dont have the application. is there some setting i'm missing during the publishing phase so I turn on this option Cheers Hi, you're probably publishing your application using ClickOnce. ClickOnce-deployed application are always installed (or run) per-user, which means that every user must install the application for herself: all application "copies" are stored separately on the same computer, under different user profiles, sort of like temporary internet files ...Show All
Windows Live Developer Forums Problem with event
Hi everybody, I am quite new to Activity SDK and I am trying to develop a project in which I need to get a message from the conversation window in my Activity. To do this I am using the event OnImReceived, as explaned on the documentation, but it doesn't seem to work. I post here an example to explain better: function Channel_OnDataReceived() { myIM = Channel.IM; alert(myIM); } In this example, once I get the message from the user, I just create an alert window to show it in my application. To get the event, I use this function, that is supposed to implement the event. Should I implement the event in a different way Another thing that I can't really understand is why this event is perfectly identical to the event OnDataReceived. Is thi ...Show All
Windows Forms error when refreshing dependencies
Hi We've updated our visual controls to the latest release version (infragistics) and need to refresh the dependencies on the setup and deployment project - when I do this I get an exception, with the message "The operation could not be completed. Exception occurred." Thanks Bruce We can't find dependencies of COM dll's. But, I wouldn't think the UltraWinTabControl is a managed assembly... You can also start to diagnose this by looking at each Project Output group, or each assembly added, and look at the dependencies property. Find out what is still pulling in those dependencies. Perhaps something isn't getting built properly in the parent project... they do have to be rebuilt first ...Show All
Visual Studio 2008 (Pre-release) Can CallbackChannel Serialize
I need to persistence the CallbackChannel when server reboot, and recover it after the server restarted.But I when I try to serialize the CallbackChannel object by BinaryFormatter class, there are some error happened.I want to know,is it possible to serialize a CallbackChannel object If it is, how You can think of the callback channel like you would a proxy/channel you create on the client to consume a service. To persist it, you can't serialize it, but you can save the attributes of the channel and recreate the channel when you need it again. What are the attributes of a channel The endpoint configuration (which is your client endpoint inside the callback channel object, including address and bindi ...Show All
Audio and Video Development Loading Resources
After I installed the newer iHDSimulator none of my projects would load. I get a resource load error and have to Ctrl+Alt+Del and kill the app. I ran the validator and it doesn't find any of my resource files. So I thought maybe this is a good time to start loading from and ACA. I've read the spec, and looked at HD-DVD release titles and have noticed that some titles load resources from an ACA by declaring it as an ApplicationResource and others load from a TitleResource. First question: what is the difference In both examples they seem to be using it to load per Title. Second question, why is my playlist no validating properly on resource load ### Playlist ### <Playlist xmlns="http://www.dvdforum.org/2005/HDDVDVideo/Playlist" xmlns:x ...Show All
Game Technologies: DirectX, XNA, XACT, etc. run-time error
When I make a new XNA game project, it compiles fine. but if i save it, it gives a run-time error on the constructor saying filenotfound exception was unhandeled, and it says the file was C:\C I made no changes to the original template other than saving it. Sounds like you have the path to the file incorrect The program will compile fine because it doesn't run a check to make sure the file is there. ...Show All
Windows Forms Datagrid Cell remains highlighted after reloading the datagrid
I have a datagrid filled with data, I select a row which populates text fields on a form. Changes are then made to the text controls and saved. The grid is reloaded, but the selected cell remains on the grid. If I scroll the grid, the cell remains at it original location. How can I fix this issue ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameComponent Designer Kludginess
Unless I'm missing something, I don't see how to explicitly control the order in which components are updated/drawn except for the order in which I drop them (you have to render the HUD last for example). Maybe I'm misunderstanding the intent of the GameComponent concept, but in a larger project this is going to be hard (kludgy) to deal with. Suggestion (unless I missed something): Add an order property to the GameComponent class, a collections box somewhere so that the order can be specified, and then sort at startup. Yeah, I thought of similar things for my own projects. However, the trouble starts when one wants to use other peoples components. Stuff would have to get modified (so if you want to update to a new version of the com ...Show All
Visual Studio 2008 (Pre-release) Custom IServiceBehavior attribute not invoked when hosting under ASP.NET?
I have a custom IServiceBehavior attribute implementation that works great when hosting under ServiceHost. However when hosting under ASP.NET it doesn't seem to even be instantiated let alone invoked. What's even weirder is that if I turn on ASP.NET compatibility mode it doesn't even load the assembly that my IServiceBehavior attribute is defined in. Any thoughts/experiences are appreciated. Cheers, Drew Brian, 100% correct. Service class has attribute applied, .svc file points to that service. Quite strange. I'm actually writing a custom BehaviorExtensionElement now to see if that approach works, but I shouldn't have to do it this way. Will fill you in on my results, but please let me kno ...Show All
Visual Basic my sql
can i have help with the codes in mysql to save chinese characters in the database i am using the ms sql server with vb studio 2003. thanks I don't have any experience in dealing with Chinese characters, so I'm no expert, but I beleive all you need to do is to create a column of type nchar, nvarchar, or ntext, and you should be able to read and write chineese strings to and from it just as easily as you would english text. Are you having any particular problems -Scott Wisniewski ...Show All
.NET Development .NET plug-ins support
Hello, My COM application has a plug-in architecture based on "C" callbacks. Loading a plug-in is a just a matter of calling a C function exposed by a plug-in dll. Now I want to support .NET objects as plug-ins. So I played a bit with COM interop on .NET v2 and wrote a C# plug-in with a simple class and one method. My app can create the C# object through late bindings and execute the method quite easily. It all works very well. The only drawback is I need to regasm the .NET plug-in dll. This is something I really need to avoid. What would be the best approach I should use to support registration-free .NET plug-ins Thanks for your help! -mab OK. I will simply go with CLR hostin ...Show All
