Enggtp's Q&A profile
Visual Basic How to determine the SERVER.TRANSFER'ing aspx page.
Hello, I'm wanting to know how to determine the page that was just transferred away from. For example given three web pages; CallerA.aspx, CallerB.aspx, and TargetC.aspx. Both CallerA and CallerB can perfrom a 'Server.Transfer' to TargetC. TargetC.aspx which needs to appear differently based on where the transfer came from. TargetC also uses properties from the calling page in order to retrieve information from that ...Show All
SQL Server a connection could not be made to the data source
I am trying to process a cube still it failed since "Errors in the high-level relational engine. A connection could not be made to the data source with the DataSource of "MY-DATASOURCE", Name of "MY-DATASOURCE"). The sql instance is running on the same machine in where I am working the solution. Can someone provide some hints on what to do to resolve this issue By looking at the "AdventuresWorks" sample the main difference that I have in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Shader Semantics
Hello, I have been working on shaders recently and have noticed something that appears quite strange to me. If you look in the DirectX9 Documentation in the reference section, you will notice that there is a page that contains the Vertex and Pixel Shader semantics that you can use for input and output, some of these semantics include: COLOR Diffuse and specular color NORMAL Normal vector POSITION Vertex positi ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF in a Windows Service?? "No endpoint listening exception"
Hello, I'm working on an ASP.NET application that i want to host using WCF using "basicHttpBiniding" . The hosting should be done in a windows service. I've did a test by hosting the service in a console application (instantiating a ServiceHost in a console application project), everything worked fine. The same project is now transferred to be a windows service, i receive an exception "There was no endpoint listening at http ...Show All
Visual Studio Team System "tf labels" command does not display label comments.
According to the documentation for the "tf labels" command, the output "Includes label owner, date and time created, and the comment associated with the specified label." However, there is no "Comment" column in the output. Is this a bug In order to see the comments and other details, specify the /format:detailed argument. For example (emphasis added): tf labels /format:detailed Label : MyLabel ...Show All
Visual Studio 2008 (Pre-release) LINQ Preview removes Refactor from VS context menu?
For some reason the Refactor item disappeared from the context menu that appears when you right-click in the Visual Studio editor. I'm guessing that this was a result of me installing the new LINQ Preview today. Uninstalling the LINQ Preview did not restore the menu item. I had to do a "repair" of Visual Studio to get it back (always a time consuming and fun process). The language service (IDE edit ...Show All
Windows Forms Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click ...Show All
SQL Server No duplicates exist but get Msg 2627, Cannot insert duplicate key in object
On SQL Server 2000, a transaction of thousands of INSERTs contains these three consecutive INSERT statements: INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VALUES ( '05b3b88a-f0f2-4e7e-a82f-73a7bd177a96' , 0 , 1 ) INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VALUES ( '05e51bee-ac3b-4257-90f1-f34adcb185cb' , 0 , 128 ) INSERT INTO PARAMETER_ATTRIBUTES ( ID , MIN_VALUE , MAX_VALUE ) VA ...Show All
Visual C++ cannot declare a managed variable in an unmanaged class
Hi, I have this error: cannot declare a managed 'pub_key' in an unmanaged 'Cryptosystems::RSASys' in MS VS2005 because of: StreamWriter ^pub_key; can you help P.S. I have found something about the gcroot but I cannot use it. WhatEverCode wrote: Hi, I have this error: cannot declare a managed 'pub_key' in an unmanaged 'Cryptosystems::RSASys' in MS VS2005 because of: Stream ...Show All
Visual Studio Team System Database error while trying to merge between branches
Hi, I don't know if anyone here has bumped into this problem. While trying to merge a changeset between two branches I get the following error: A database error occurred (SQL error 2627) ---> Violation of PRIMARY KEY constraint 'PK__#1146012A__123A2563'. Cannot insert duplicate key in object 'dbo.@mergingIntoDeletes' . Is this a known issue, anyone has any ideas Any help wold be appreciated. Thanks a lot in advance, BMosc ...Show All
Visual C++ How do I distribute Visual Studio 2005 apps?
I'm using Visual Studio 2005 Professional to create a C++/MFC application. I just recently made the switch to VS2005 (from version 6.0!) so there's probably a lot of stuff I have yet to learn... Anyway, I recently tried to give a user a work-in-progress version of the executable for testing, and the user reported that the program failed with the following message: "This application has failed to start because the application config ...Show All
.NET Development RowFilter Performance Problem in VS.NET 2005 !
Hi, I have a Project in VS.NET 2003 which uses DataView.RowFilter. When I compile it in VS.NET 2005. Performance of the RowFilter Command decreases dramatically. I am in the first stages of migrating my project to VS.NET 2005. But this is a big draw back. I would really appreciate it if you could help me in this. No need to mention that Microsoft has indicated that RowFilter performance has increased in this new version. Thanks ...Show All
Software Development for Windows Vista Rule Condition Editor doesn't resolve correctly
Hello, I have the Feb CTP. I am building a basic sample where I have a custom activity (Activity1) dropped into the Sequential Workflow. Then I drop an IfElse activity after my custom activity and I create a new RuleConditionReference condition. When the Rule Condition Editor appear and I type "this." I don't see my activity listed. Do I miss something Thanks, Pierre pierreg wrote: Hello Steve, no, I have the pro ...Show All
Visual C++ Running a MFC Application?
Hi! Sorry about that "probably-stupid" question, but... I started a new project with Visual Studio 2005 including a MFC Application. There was no error in the code and I compiled/build it. However, how can I create a portable .EXE with it Must I include something else Aren't the files of the solution enough Thanks! You will need the binaries of the solution in addition to the CRT related binaries are needed. T ...Show All
Visual FoxPro I really confused
Hi, I really confused..what is the different between Visual FoxPro and Visual Basic and Visual Studio.. ..which one better.. ..what features for each programs.. ..when to choose each program.. Please help me.. Thanks, Jennifer It all depends on what kinds of programs you need to write. They are different tools for different puurposes, althoug there is some crossover. If you plan to study VB, ...Show All
