sl5's Q&A profile
Visual Studio Team System xpath queries cause false error.
the following code (sample from msdn) CREATE FUNCTION my_udf(@var xml) returns bit AS BEGIN RETURN @var.exist( '/ProductDescription/@ProductID' ) END when you do a save, you get an "unexpected token was encountered." errors. the function is created, and the project will deploy. i cannot find any valid xpath that will be accepted to any of the xpath functions. -- bruce (sqlwork.com) Just checked, this will work in the coming CTP (5), which will be available in 2-3 weeks from now. -GertD "DataDude" Development Manager ...Show All
.NET Development NetworkStream.Flush() disabled at NET 2?
Hi! My program sends more than one msg at a time, and I wanted to avoid the reciever to recieve it as one msg, eg: server.send("123"); server.send("abc"); the reciever would get "123abc". <<<<<---- not wanted ! I tried to use Flush() but it seem not to be working, plus, in the function description it's says something like "This method is reserver for future use."...... Any suggestions good people Indeed a good solution, how come I didn't think of it the moment I posted here I have no clue - thanks Rizwan (and the rest who tried to help) ...Show All
SQL Server SSIS doesn't execute
Greetings, I have an SSIS package composed of several sequence containers; each of these executes fine if I individually right-click them and select "Execute" - however, when I press F5 (but it did in the beginning) none of them executes :| Any ideas why this happens Thanks in advance :) OK, it looks like the problem was due to the package's configuration - the Disable property was set to Disable there, as soon as I deleted the package's configuration file it started working like it should :) ...Show All
Visual Basic Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'.
Dear all, I'm getting this nasty error and I cannot find any answers (google didn't help either). Here's the thing: I'm calling a VB6 DLL from a VB.NET (VB2005) application. This is the error I get when I call the DLL: Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{780BDA61-8169-4A5D-AD31-59A902BC3B84}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Strange thing is, sometimes my code works properly, and the next hour I get this error. I rebuild the DLL, unregistered and re-registered the DLL, swept through the internet and the ...Show All
Visual C# hiding explorer bar
how can i hide explorer tile bar, menu bar, tab bar(everything behind my web page) after mypage opened; is it possible i cant use pop-up window because my reason is that i want to use my window like this;; i will open my webbased program in thinclient(with windows ce 5.0) automatically and thinclient use this page in 42 inc lcd hd screen so when thin clients open my page in screen explorer bar must not be there; because screens will be touchable so people should not see explorer bar is it possible with c# codes or how can i do this is anybody have an idea Hi You can resize or full Screen by pressing F11 on IE . If you are developing ASP.NET application then you can use Java Script to Press F11 Automatically from the ht ...Show All
Visual Basic Maximum number of warnings has been exceeded.
I'm using VS 2005, after VB6 to VB.NET conversion we have fixed all the errors but still have unidentified number of warnings. Is there any way to increase this limit of 101 warning you can see after compiling I want to actually see the total number of warnings to get an idea how much work is there. Hi, I too have found this problem. Have a large client project to convert and with this limitation it is impossible for me to give any accurate costings for conversion Bob F ...Show All
Visual C# creating arrays
i need to create an array of objects to act as a simple database. So the task is to: Create an array of Student objects called Students that can store: Name, Course and Email of up to 50 students. i am having a little bit of trouble though with the actual array. this is what I have done so far: public class student { student[] students = new student[50]; //an array with 50 elements { new string name[50]; new string email[50]; new string course[50]; } } the details that the user inputs will be via 2 text box and one combo box. I think my syntax is badly wrong. could anyone point me in the right direction, thanks. I am also using MS visual studio .net 2003 ! i think ...Show All
SQL Server Problems with Reporting services - Solved
I just installed SQL Server Express Advanced. I previous had SQL Server EXpress installed, which I didn't uninstalled. The problem is that, when I look in Services, it is not started and when I try to start it, I get a warning: "SQL Server Reporting Services started and stopped, some services stop automatically if they have no work to do". I have IIS installed and running. I have disabled Apache web server. What could be the problem Thank you. Just in addition, if you install the Framework before installing the IIS you will have to use the aspnet_regiis.exe -i command to make the IIS framework-ready. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Audio and Video Development Using external style sheets
Is there a way to use external style sheets without having to use include for the styling section of the markup file XSS My idea is to have the same menu markup file for 2 menus with slightly different styling. Well, in theory you would do it via a GPRM (I was mistaken when I said script would work -- you can't set XPath variables until the markup is loaded, but the expression is only evaluated before the markup is fully loaded!) Unfortunately HDiSim has some bugs with the include attribute where it expects a nodeset rather than a boolean... so right now it looks like an include for the body is the easiest thing to do. ...Show All
.NET Development Accessing info from Active Directory
Hi, I am creating an intranet using VS2005 with C# as the language of choice. I would like to access some information from Active Directory (which is on another server) on users that log in. Does anyone know of a tutorial online that I could read to see how this can be done or a book that covers this I would want to be able to generate a drop-down list containing all users from the directory as well as displaying the logged-in users' name. Thanks in advancve You will want to take a look at the System.DirectoryServices Namespace . ...Show All
SQL Server Slow changing Dimension
How to implement the Slow changing dimension type 2, in SSAS 2005. Its gives an error of duplicate names. You cannot implement SCD II in Analysis services 2005/2000 only. This is mainly an ETL/SSIS problem when you load your dimensions with new members or new versions of members(SCD II) In Integration Services(SSIS) there is a guide that can help you with a basic setup I would recommed to have a look here www.kimballgroup.com or buy the "Microsoft Datawarehouse Toolkit". HTH Thomas Ivarsson ...Show All
Visual Studio Team System Adding the Build_Type field to the TFS Builds Report...
HI, Reporting Newbie... I wanted to do what i thought was a simple thing...just add an extra field to an existing report... I setup a new Reporting Project, added the Datasources and downloaded the Builds.RDL file from the Report configuration page. I then added a field: < xml version="1.0" encoding="utf-8" ><Field xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xsi:type="Level" UniqueName="[Build].[Build_Type].[Build_Type]" /> called Build_Type. I added a column to the designer & assigned the above field. When I upload and run the report through the Reporting Services Web page, I get an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blender
Can blender be used with XNA GSE Just wondering b4 i go and get my new comp this week because my desktop crashed... I am not too keen on Blender I prefer GMax, but I have had trouble exporting models from this to, but IMhO GMax has a better interface. That could be down to me trying Blender first and getting basic concepts from that before using GMax. ...Show All
Visual C++ error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup
I am getting the following error: error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup I am building a .NET application (not console). I am using Unicode and I did change the entry point in project settings to wWinMainCRTStartup. Can anyone suggest what might be wrong Thanks, Michael Ok I found out what I am doing that causes this. But I still need some advice on the proper way to do what I am trying to do. This occurs only after I delete the default Form1 files form the project and add my own form. It seems that the project is still tied to Form1 or something. I need advice on how to add my own form in place of Form1 or at lea ...Show All
Software Development for Windows Vista error 347: Could not deserialize object // reference resolving
Hello I've got a question about how a workflow instance resolves references. I'm trying to get a xoml file* to load by passing an xmlreader to the CreateWorkflow method on the Workflow runtime, like this: WorkflowInstance instance = WFInstance.CreateWorkflow(reader, null , param); However, I use a custom If-activity, located in a seperate non referenced assembly, in the xoml so I get the following WorkflowValidationFailedException :[0] = {error 347: Could not deserialize object. The type 'CustomIfActivity' could not be resolved.} It's not referenced using the project references because I want this to be pluggable. I figured it'd be as easy as adding the references at runtime. This doesn't seem to work, however. I ins ...Show All
