Demchuk's Q&A profile
SQL Server Analysis Services 2005 Tutorial Error
Hello, I am new to SQL Server 2005 and SQL server in general. Recently I installed the September CTP of Server 2005. I am currently going through the Analysis Services Tutorial with the AdventureWorksDW database. In Lesson 2 of the tutorial after I deploy the cube, when I enter the cube browser and try to drag and drop the "Sales Amount" measure into the data pane, I get the error: The query could not be processed: o Memory e ...Show All
Visual C# Operation must use an updateable query
I had created a windows application. The application will pull data and insert to an access database. But while running the application half way through, it will gives me the above error message "Operation must use an updateable query" I had read through some of the forum, most of them mentioned that it is due to permission settings and they are using asp. But I had check my table permission. It is read and write. Moreover ...Show All
.NET Development Using System.Transactions and System.Data.SqlClient.SqlConnection
We are attempting to use the System.Transaction classes with a SqlConnection. When we call the EnlistTransaction method we are getting an InvalidOperationException with the following message [Cannot enlist in the transaction because the connection is the primary connection for a delegated or promoted transaction.] I'm pretty sure what's happening is that we are getting a pooled connection that already has a transaction reference and ...Show All
.NET Development AppDomain.CurrentDomain.Load semantic ?
I am trying to remotely load an Assembly into the current AppDomain in order to perform a deserialization requiring the types defined into the particular assembly. Here is what I have tried (but it fails): public void MyMethod( byte [] rawAssembly, byte [] rawMsg) { AppDomain.CurrentDomain.Load(rawAssembly); // no pb here // deserialization of 'rawMsg' fails (unknown types) } As a dirty wor ...Show All
Visual Studio Creating folder structures in VS.NET 2003.
I managed to modify existing vsz, vsdir and csproj's as described in the article. Creating custom project wizards in VS.NET . Everything works fine..until I want to create folder structures and place files inside them. Is there any way to tweak the files/folders in C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards to enable the new custom project to be able to create folders. I tried adding the folder structure...but it wo ...Show All
SQL Server XML query output to File in SQL Server 2000?
Hey All, I wanted to build a simple scheduled task that hits my document library table in SQL Server, builds an RSS (XML) file based on that table, and then saves the resulting XML as a flat .rss file. I'm using SQL Server 2000, and so far I've gotten SQL Server to output the XML from the table in the right format for RSS (using FOR XML EXPLICIT) as a query. I'm not sure where to go from here - can't figure out how to go ...Show All
Software Development for Windows Vista ASP.NET and WF viable?
Hi, I am very much enjoying all the new technology coming out around the WF. Seen some interesting webcasts from MSDN and articles in MSDN mag. I've not seen anything about how to actually do PageFlow from the WF as described briefly in Israel's webcast on ASP.NET/WF. I've yet to see any examples here at the WF website. There are some good webcast examples using InfoPath and Sharepoint to demonstrate WF (not PageFlow). I'm wondering if anyone ...Show All
.NET Development C# 2.0 Convert Bitmap to Icon
Hi There I am using .NET 2005 Beta 2, and am trying to write a utility program that converts icons to bitmaps. The following function creates an icon file OK, but the icon file is not properly formed. When I try to open it using Visual Studio I just get a heap of jumbled characters. public void BitmapToIcon(string sourceFileName, string destFileName) { // Create a Bitmap object from an image file. Bitmap bmp ...Show All
Visual Studio Express Editions Playing an audeo file
sounds easy dosnt it well i have been trying and i cant get it to work. This is what i have so far My .Computer.Audio.Play(C:\Documents and Settings\Steven Bayer\ My Documents\ My Music\iTunes\iTunes Music\30 Seconds to Mars\A Beautiful Lie\01 Attack.mpeg, 10) and that dosnt work i think the error is in the : The Audio.Play method only supports .wav files - you can't play a .mpeg. If you had a .wav version of the same file y ...Show All
Visual Studio Upgrade to VB.net 2005 gives - the given assembly name or codebase was invalid
Just upgrading a VB.NET COM enabled DLL (class library) from VS 2003 to VS 2005 I am getting this error message... Error 1 'The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)' C:\company5\BusClassNET04\LC companybusinessclass5 The file LC does not exist Another similar project compiles OK so I am really confused as to why this is happening. I have tried shortening the assemb ...Show All
.NET Development How to avoid locking a file after reading it?
Howdy folks, I wrote a small windows application that allows the user to drag and drop files from Windows Explorer. The program attempts to load each file as an assembly in a try-catch block. If it's a valid assembly, it displays information about it in a data grid. The problem is, the application has some sort of lock on the file from that point until the application is closed. After I get the information I want from the assembly ...Show All
Visual J# import netscape.javascript.JSObject;
I'm recompiling a java applet which I have found as an aid to learning J#. While doing so, I keep getting the same error "Error 1 Cannot find type 'netscape.javascript.JSObject'" I've searched google and msdn for the answer to this and have even downloaded the browser controls twice. how do I get rid of this error -john Did you add vjsjbc.dll as reference to your project Downloading the ...Show All
Visual Studio SQL Server 2005 Express April CTP Fails from VSTS DVD
When installing VS 2005 (Team Suite) the SQL Server Express install fails with an error code 1603. Also tried reinstalling it after VS but still fails with same error code. Anyone else got this problem /Per Salmi This was a clean installation on a new PC. I can't find the installer or the folder you mentioned to do a manual install. ...Show All
Visual Studio 2008 (Pre-release) Media Cube Example
Anone else getting a line of tranparency in this demo, it was there in the last CTP and still in beta 2. I am imagining it though or is performance way better Its horizontal in the bouncing ball demo background, right through the window, I can see my TV playing behind it. Yeah the uploaded image still has this 'super' transparency for me, I can see the news through it. MPC doesn't have this effect no matter what rendering mode I put ...Show All
Windows Forms load csv file
hi guys! I have a question about CSV file. I have a problem loading data to my Datagrid. How can I specify which column to get data from and which column of the grid to load data to BTW, I'm using Memory Stream and UTF-8 encoding in loading my csv file. Please help!Thanks! Thanks! I checked the generate field name and it seems to be using F1, F2..etc... Thanks again! ...Show All
