rchokler's Q&A profile
Visual Studio 2008 (Pre-release) [WCF-RC1] The X.509 certificate CN=STS chain building failed.
Just thought I'd drop a message that may help others if they run in to the above error. My scenario is an STS scenario (Client, SecureTokenService, Service). I am using certificates created by makecert.exe, so they obviously are not issued by a trusted CA. I was receving the above error on my Service, after the client had received a token from the STS. Even though I had the following in my service web.config <clientCertificate> <authentication certificateValidationMode="PeerOrChainTrust" /> </clientCertificate> the service was still refusing to accept the token that was issued by the STS. There is no way in configuration to specify certificateValidationMode for issuedTokens. The only way I could do this is ...Show All
Visual Studio Team System Multiple TFS Projects
I am planning out our TFS strategy. I have read MS recommendations that say not to create a lot of Team Projects, but this concept mankes many of the reports useless: If I have 10 web services in a single TFS Project, and each has its own solution file. If I build one of them, the build report contains all the check-ins since the last build, even though many of them had nothing to do with the single web service I am building. My work item reports give me all work items for all the web services, not just the one I am working on. ... Wy the "minimize Team Projects" recommendation So, the recommendation is to limit TFS project and put multiple subsystems/services under one project u ...Show All
Visual Studio Team System TFS Fails - Report Services Cannot be confirmed
Just a note to MS - TFS installation is a joke. A travesty. An embarassment. And as it's taken 10+ hours just to get to this point and we've decided to abandon this endeavour I wanted to let you in on some error the Reporting Services Configuration tool spewed out. Good bloody luck with this unfortunate product. ReportServicesConfigUI.WMIProvider.WMIProviderException: An unknown error has occurred in the WMI Provider. Error Code 80070003 at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.SetWebServiceIdentity(String applicationPool) Marc, Matt, 10 hours Well, between the two of us at 5 hours apiece... And the two of you need to step back a moment. Let's take one simple fact here, TFS requires a v ...Show All
.NET Development sent and received data size!
hi.. how can i make sure that the socket doesnt send more data than i want it to send ! and that it does not receive more data than that was sent to it!! to be more clear im sending pics from a client to a server.. the max size of the image is 4500bytes.. but some times the size received on the server is more than that!! how come! thnx I assume you are using TCP sockets If so, the amount of data sent will always match that recieved. If UDP, could you potentially have multiple clients sending data to a single receiver ...Show All
Visual Studio Team System The application for project is not installed (project types .rptproj and .dwproj)
It used to work, but then... Visual Studio 2005 was hummin' and I had a number of BI projects in both Report Services and Analysis Services. I wanted to add source control and decided to install the Team Suite and I did something wrong. I just don't know what it was. In the end, I deinstalled every Visual Studio 2005 (including, of course,the Team stuff)and SQL Server 2005 application, and reinstalled old faithful Visual Studio 2005, but nothing has worked. I'm missing the Business Intelligence project templates completely and I'm guessing that if I had them, I wouldn't get either of the following 2 messages when I try to open existing projects: "The project application for 'c:\...\SOS.dwproj' is not installed. Make sure the ...Show All
Visual Studio Express Editions Receive data from reader using MScomm
The program below show the receive function. When i swap the tag to the reader, the reader will receive the data and show the tad id to the monitor. But when i RUN this program, the data didn't come out Please have me to check the code below, and give me a idea to solve it. THK Option Explicit Private Sub MSComm1_OnComm() Dim tRECEIVED As String If MSComm1.CommEvent = comEvReceive Then tRECEIVED = MSComm1.Input Label2.Caption = tRECEIVED Label3.Caption = "Detected" Else Label3.Caption = "Not detect" End If End Sub Private Sub Form_Load() Label1.Caption = "Attach an RFID Tag Reader" Label2.Caption = "" Label3.Caption = "Not detect" M ...Show All
SQL Server Keep existing object unchanged or Create Schema at subscriber =false?
Hi, I have the same database(3GB) in 2 physical locations in usa and europe I need to create a publisher and subscriber between these 2 database without sending any snapshot because i have the same data in the 2 sides, is it possible Thx Jim Hi, Thx for your reply, i made a publication and i added a rowguid with null option in target data (with or without update rowguid from source DB) and later on a created the subscription , and the system gave me the same error (i can\t make backup on source db because because i can't send any data or any snapshot) Any other idea Regards, Jim ...Show All
Community Chat Windows Vista "WoW"
Hi all, Do you think that Windows Vista can be used as Server instead of Windows Server 2003 tell me pls I looking to change my Server OS... What does the "WoW" stands for .............. Thanks in Advance Server OSs usually have different tuning in terms of resource allocation than do the standard products and in addition they have much tighter security and better utilities. I think there's a Vista version of a server OS coming out soon. It would be better to wait. ...Show All
Windows Forms Auto Start of Windows Application after installation
Hi, I have a windows application which as to Auto run the application, soon after the setup is installed. How to do this thanks Murali People use this sometimes for VS setups: http://www.cornerhouse.ca/en/msilaunch.html ...Show All
Visual C++ Manifest files on VS 6 and VS 2005
I'm porting several VS 6 apps to VS 2005. The way I got XP themes to work in the VS 6 apps was to embed a manifest file in the rc file. I understand that VS 2005 will automatically do this, but I need to mainatain backwards compatibility with VS 6 (large customer base, legacy libraries, etc., etc.). If I try to compile the VS 6 rc file, VS 2005 complains about duplicate MANIFESTs. If I set the VS 2005 environment to not embed a manifest, the app is not themed under XP. So my question is, how can I set up the source so I will have only one set of sources, and be able to compile under VS 6 or VS 2005, and get proper XP theming with both Please check the link Using WindowsXP Visual Styles ...Show All
Visual Studio 2008 (Pre-release) Knowing when my class (that inherits from ModelVisual3D) is added to the scene graph
My lengthy subject says it all :) I have a class that inherits from ModelVisual3D (similar to what Daniel mentions in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=397381&SiteID=1 ). I would like to know when it needs to be rendered, as it has a bunch of lazy initialization to get done (like generate its visual). This means I'd like to be notified when it was added to a scene graph that's about to be displayed, regardless of whether my class was added in xaml or programatically). Is there an event I can listen on Should I be inheriting from something else than ModelVisual3D Thanks! Wikipedia says the following: Retained mode refers to a programming style for 3D graphics where a persistent representation of ...Show All
Software Development for Windows Vista Dynamic interface to workflow
Hi, I have a question about making a dynamic interface to workflows. I have searched thru the forums, but can't find any similarities with my problem, so I post it here. If I mistakenly missed another similar posting, please do direct me to that post. The background first. I'm trying to separate the workflow from the application that I'm developing. Let's call the application "AppX". AppX has a lot of modules, and requires multiple number of workflows for approval processes. So, I have to create several workflows in WF. In the end, I will have AppX and several workflows. All workflows are State Machine workflow, which is the most "matched" model to approval process. Since I'm trying to separate AppX from the workflow, I ...Show All
Visual Studio 2008 (Pre-release) Routed Commands (bis)
Hi I tried to implement a custom routed command and referring to the thread "Routed Commands", mine doesn't work. Here are the code snippets: namespace CommandTesting { public partial class Window1 { public static RoutedCommand customCommand; public Window1() { this .InitializeComponent(); customCommand = new RoutedCommand ( "custom" , GetType()); CommandBindings.Add( new CommandBinding (customCommand, CustomOnExecute)); } private void CustomOnExecute( object sender, ExecutedRoutedEventArgs args) { MessageBox .Show( "help!!!" ); } } } < Mapping XmlNamespace="Local" ClrNamespace="CommandTestin ...Show All
Visual C# Time Passed
Is there any way to determine the amount of time that has passed from one specific point to another I.E. If the user logs in at 16:00 and logs out at 21:00 is there any way to tell that 5hours have passed Cheers Thomas Yes... how can the original solution solve this Your original solution was: DateTime startTime = DateTime.Now; DateTime endTime = startTime.AddHours(3); TimeSpan diff = endTime - startTime; MessageBox.Show(diff.ToString()); I can't do this if the Number of hours is unknow. Cheers Thoams ...Show All
SQL Server Building attributes based on calculated values
I have a measure: "# of clicks". I have a calculated measure, which is "# of clicks in last 30 days". What I'd like to do is segment my users using this "# of clicks in the last 30 days" calculated measure so that I have three different segments: "No usage in last 30 days", "Some usage in last 30 days" and "Tons of usage in last 30 days". Here's my question...what's the best way to create an attribute in my user dimension for these usage segments The only thing I've been able to come up with is to pre-calculate the "# of clicks in last 30 days" when I build the warehouse and then put in the "case WHEN [# of clicks]" segmentation in the dsv. I don't li ...Show All
