Prafull Jain's Q&A profile
SQL Server How to use AMO to determine if a cube is being processed by another user?
Hello, We have a cube in AS2005, and it is going to be used by multiple users. The users will all have the ability to process the cube by clicking on a button. Is there a way to to use AMO to check whether the cube is currently being processed Thank you very much, Hsiao-I This is pretty easy. Take a look at return value for the State property of the major objects. Edward. -- This posting is prov ...Show All
SQL Server XML Configuration Files -- BIDS vs. dtexec
Hoping someone can help me out quickly on this. I have a package with package configurations enabled. I have an XML file specified for a configuration, with the connection string being loaded from the configuration. After configuring this, the package knows that the connection string for the connection should be loaded from the XML file. When I run the package within BIDS, it finds the XML file at the specified path, grabs the ...Show All
Visual Studio Team System Unknown Error (28002) when installing TFS App Tier
I'm attempting to install the application tier of TFS (Beta 3 Dec CTP) on a Win2k3 SP1 box. My SQL Server box is also Win2k SP1 (SQL 2005) and I'm running into an unknown error every time I try to install. Here is the section in my error log which is stating the error: MSI (s) (E0:58) [13:58:49:918]: Executing op: CustomActionSchedule(Action=CA_QuietExec,ActionType=25601,Source=BinaryData,Target=**********,CustomActionData=******* ...Show All
.NET Development Problem in calling C++ dll from C# Code
Hi! I am calling a C++ dll function from my C# code . but facing the problem in a function called inside that C++ function. That's how I'm referring to the C++ dll function inside my C# class : class TestInterop { [DllImport("DBApi.dll", EntryPoint="DeleteRecFromDB", ExactSpelling=false,SetLastError=true, CharSet=CharSet.Unicode)] internal extern static int DeleteRecFromDB([MarshalAs(UnmanagedType.LPWStr)]string empName,[MarshalAs(UnmanagedTy ...Show All
Visual Studio Problem building
I have been successfully using VS 2005 Beta 2 (VB.NET) for about a month now. Yesterday, I started getting the error: Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' because it is being used by another process. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2274 9 This error does not occur the first time I build ...Show All
Visual C++ Getting Error - Regarding stdafx.h
I'm trying to fool around with the new Visual studio version (2005 Beta 2) and for some reason it keeps telling me: \Practice.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory A long time ago someone told me to go into the properties of the project and change the default to CLR support. I did this time but it doesn't seem to build. Can someone tell me what to do Here is my code: #includ ...Show All
Visual Studio Installing Visual Studio 6.0 on XP SP2
Before any setup screen appears for Visual Studio 6.0, the typical XP error appears and says 'setup has encountered a problem and needs to close'. The issue is with v60wiz.exe, with an error code of 0xc0000005. The setup screen does not even appear, just the error. I have attempted to install from several different burned ISOs, and have also attempted to copy the contents to the hard drive and install from there. I have also at ...Show All
Visual Studio Team System Preferences: Use documentation from:
I am using the current version 1.32 and my setting is the default http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.32&url = However, a click on the documentation links gives an error message. Could not invoke link: Application not found. How do I resolve this Best regards, Paul. There's something awry with your configuration, I don't think this is an FxCop issue. What happens if you select Star ...Show All
SQL Server How can I make a Matrix Transposition in SQL ?
Can we do matrix transpose (rows become columns and columns become rows) in standard SQL 1 2 3 4 5 6 7 8 9 changes to 1 4 7 2 5 8 3 6 9 how about the situation when no of rows <> no of column let's consider the no of rows it's fixed and known before running the SQL statement. thanks. What do you mean standard SQL Here is a 2005 version that will rotate your data (it is not as elegant wit ...Show All
Visual Studio Invalid license data. Reinstall is required.
This is really hurting my schedule ... got the latest VS 2005 DVD so uninstalled my RC version and installed the DVD. Since then I get "Invalid license data. Reinstall is required." everytime I run the environment. I have tried everything that I could find on the net and am completely stuck. I am not even sure I can uninstall the SQLServer components to try and get back to the RC build used prior to this. Any help would be appreciated. ...Show All
Visual C++ Controlling settings for all the vc8 projects from a common place.
Hi, Issue: Controlling settings for all the vc8 projects from a common place. I have heard about property sheet for vc. Can anyone explore about property sheet for VC In VS2005 MS has provided MSBuild but it is not supporting VC projects. Thanks in advance. Regards, Madhur To inherit from a property sheet, switch to the Property Manager window and select all projects / configurations you want to have the same proper ...Show All
Visual Studio Team System Custom Exception causes "Not Authorized to View this page"
Hi, I am having a problem throwing custom exceptions. Whenever my web application throws an unhandled custom exception it does something so that the next time I run the application I get a "You are not authorized to view this page" message. I have tried manipulating the Directory Security in the website property pages and on the physical directoreis themselves with no luck. It seems to work just fine if the exception thrown is a system exc ...Show All
.NET Development Credit Card Processing in VB.net Windows Application
Does anyone know how to implement credit card processing in vb.net windows application. Any suggestion, reference would be great help. I also need to integrate credit card processing support in my vb.net application. But I don't know in detail how to use a web service. I have a very few idea about it. would you please provide some sample code or some related links about it thank you Alvi ...Show All
Software Development for Windows Vista Building the DirectShow Base Classes using Visual Studio 2005
Hi, I am getting a declaration error on the PVOID64 in winnt.h when building the base classes. I adjusted the directory paths for the headers to match the locations for DirectX I used in VS2003 but this declaration error peeks popping up. How can this be solved -John Ok, waded through the mud and got the new DirectShow SDK, rebuilt and linked the new BaseClasses in VS2005, but the GraphBuilder stil ...Show All
Visual C# Closing Dialog Box without ending exe
At the moment I am trying to use a dialog box to put progress messages on the screen as a long process takes place beneath. The box has a close icon (that X at the top right of the title bar) If the user clicks on the close icon this then closes the exe, but I would like to be able to keep the exe going and do some recovery routine to re-establish a known condition on the running exe. Any ideas would be very welcome. Thanks ...Show All
