oehp's Q&A profile
Visual Studio 2008 (Pre-release) What is the equivalent of UnknownFaultException in WinFx Beta 2?
Hi, one of the breaking changes in WinFx Beta 2 is the removal of the UnknownFaultException. I would like to know what is the equivalent class in Beta 2. I have this snippet if (exception.Contents.HasDetail) { //Do Something here } The FaultException does not have the Contents property. How can I have the same if clause in WinFx Beta 2 Thanks in advance ...Show All
SQL Server Still a problem with Report Refresh Icon
In my installation of RS 2005 when I click the Refresh Icon on a report the report doesnt update. But when I click the "View Report" button it does. For example, if I change the parameters on the report and click the refresh icon the report seems to flicker as if it was rfreshing but the report data remains the same, even the paramaters in the report remain the same (I have the parameters that are selected in the report header) Anyon ...Show All
Visual C++ MSVC++ 6.0 Pro error c2400 in assembler
The following code produces the error: error C2400: inline assembler syntax error in 'opcode'; found 'xmm0' __asm { mov esi, this ; vector u movups xmm0, [esi]   ...Show All
SQL Server Show Parameter Selection on Page Header
My first day using Reporting Services. I have a report parameter that has the following properties: Name: Region Multi-value Available Values = From query Label/Value examples: East/4160 North/869 South/6185 West/5315 The report Page Header needs to show the region(s) selected in a textbox named "SelectedRegion" and the body has a table that shows the filtered data from a stored procedure. What is the best way to populate the SelectedRe ...Show All
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpCl ...Show All
Smart Device Development how to connect to internet
Hi, I have cradled my emulator, connected with activesync 3.8 and my desktop has cable internet. Now I'm trying to figure out how to connect to the internet on the emulator. Thanks for the help. Vladimir Fedorov wrote: Once you have the emulator cradled you should have connectivity out of the box. One thing to do is to turn off the NE2000 emulation (File\Configure\Network Tab) before cradling the ...Show All
Windows Forms Simple Add New Record
I have a simple win form which has a few text fields bound to my dataset i designed in the dataset designer. I am able to view, edit, and delete records no problem using the bindingsource.EndEdit() and the tableAdapter.Update() or Delete(). However i am at a loss when it comes to adding a new record to the database. I have spend days looking at articles on the internet but very few cover the inserting of data from a databound form. Here ...Show All
Visual Studio Team System From Workgroup Edition to Standard Edition
Hi, I've installed the Team Foundation Server Workgroup Edition (RTM Ver. 8.0.50727.147) And now what to migrate/upgrade to the Standard Edition. Because of the limit with the 5 "Team Foundation Licensed Users", but i read that i can't use the "TFSUpgradePackageRTM". Can i do this by running the TFS setup in maintenance mode and then enter the TFS Standard Edition key Thanks You've got it. To upgrade from Workgroup to Stan ...Show All
Visual Studio VC 2005 does not copy files when publishing a web site
I have recently converted a .net 1.1 web application to .net 2.0. The conversion went very well. I was very pleased with the wizard. The application runs well from inside the development environment. Problem is when I try and publish the web site... no files ever get copied to the output directory. Any ideas would be appreciated Bill I am experiencing this same problem. I have two projects in this solution ...Show All
Visual Basic How to use a Process to run CMD and a DOS utility to send Commands
Hello, I need some help. I want to write a program that will do the following: 1. Start a process that will run CMD.exe 2. Once in CMD window run the DOS utility (i.e., "C:\utility.exe Command) where Command is the command to send to a device. 3. There are about 5 or 6 commands that I need to send to configure a device using this utility. This utility exits with the "quit" command and returns to CMD window. Ca ...Show All
SQL Server SQL Server 2005 Timeout expired exception
Hi, I have a program in C# that I used to run on Visual Studio 2000 and SQL Server 2000 without any problem. Now I upgrade to VS2005 and SQL Server 2005 and get and exception while insert via SqlCommand.ExecuteNonQuery(). the insert is after many inserts to the same table by that program. the CommandTimeout is set to 600 (in the 2000 version I never had to change the default value of 30 seconds). the insert is through a connection th ...Show All
SQL Server how to control the table's column number
Hi, When I add the table into the report, the default column number is 3. Let's say I need 10 columns on the report, besides right click on the last column and click on "add column right" to add the other 7 columns, is there any easy way Thanks. ...Show All
SQL Server Missing Text in Notifications via SMTP
Hello, We are seeing portions of text missing from our notification emails using NS 2.0 and the built in SMTP delivery protocol. The notification looks fine in the MS notifications table -- no missing text in the field that becomes the email body, so it may be a bug in the xsl transform code where the text disappears. Our xslt is very simple and it has been tested. The field is plain text. We run perhaps thousands of "short" ...Show All
SQL Server SSIS Fuzzy Matching
Is there any way to use fuzzy lookup functionality (that exists in SSIS) in your .Net code I want to call a .Net class rather than calling an SSIS package. Thank you. -- AK Thank you Michel, Jamie, and Darren for clarifying the issue. Yes, as Jamie wrote, the startup time for a SSIS package is quite significant. I have a project with a relatively big database (3+ million records), and needed to do fuzzy matching ...Show All
Visual C++ How to find the C++ source lines given a crash address?
In VS2003 you used to be able to find source code lines from a crash address using the MAP file generated with /MAPINFO:LINES. In VS2005 this doesn't seem to be possible. I have found a handfull of references on the web that say that the source line can be found from the crash address using the exe and the pdb file, but I can't figure out how to do this in VS 2005. The code I'm wanting to debug is a wrapped unmanaged assembl ...Show All
