Answer Questions
coppertopuk Security Authentication Approach
Hi, Is it possible to do an authentication in a security session (tcp) and leave it after authenticated, but continue connected without any security I want only to secure the 'username' and 'password' and no more, so I need only to create a secure session, authenticate and leave it...but continue using the same connection ( PerSession ) without security. Many web site does it for user authentication. Regards, Alexnaldo Santos Have you profiled Can you share the timing data Alexnaldo, The basic authentication mode (except message anonymous client) is Message Security with Username Client. So, it is defined on binding object that is part of ServiceEnd ...Show All
skrsanac ReportViewer.refreshreport method missing!
Hello I'm using the VS reportviewer on my asp.net application. I've seen many examples using the reportviewer.refreshreport to force a reportviewer refresh after setting up parameters. Well.. In my environment this method is missing. Do you have any idea why I don't have this method available Thanks Ez lemaradt, bocs. < asp : Wizard ID ="Wizard1" runat ="server" DisplayCancelButton ="True" DisplaySideBar ="false" OnCancelButtonClick ="Wizard1_CancelButtonClick" OnFinishButtonClick ="Wizard1_FinishButtonClick" OnNextButtonClick ="Wizard1_NextButtonClick" OnPreviousButtonClick ="W ...Show All
Deepu.MI What's the difference between a VS .Net Add In and a Shared Add In?
My question is in the subject. I'm trying to create an VS add-in, and although it works fine on my machine, it doesn't do anything on my co-worker's. I created the install and ran it on his machine. The add-in shows in his Add In Manager, but it doesn't appear to be working. It has no GUI, it's just supposed to run whenever a build completes. FYI, I'm using VS .Net (2003). Thanks! In the meantime, I'll be working on a simple example. Perhaps it's a rights issue OK, on the question of the difference it's what will host the add-in, correct As far as my problem is concerned, it was a simple matter of making the "events" variable a member variable rather than local, since it was going out ...Show All
mgmcd34 LocalMode ReportViewer Export to Excel/PDF uses wrong session on server. Any Solutions?
I've built a very simple webforms local report using the ReportViewerControl application. Not using SSRS. VS2005 (no SP1 installed) It runs fine on my local machine, and it renders, and export to Excel and PDF work. After Deploying it to my web host, the export operations on the report toolbar fail with an Expired Session. Note that the report displays fine. The export seems to fail because the session id string present in the URL during the export process is different than the one the report is rendered in. If I Cut/Paste the right session id into the "bad" URL, the report is exported and can be opened in Excel/Acrobat as I'd expect. So.. Question is, what am I doing wrong (or what's causing) this different session ID to be us ...Show All
palmirag Is there a tool to compare two Visual Sourcesafe Databases? We have off-shore developers r/o
and they have their own VSS database. The on-shore database and the off-shore databases have to be synchronized weekly. Is there a tool/utility that can do this for us For a specific project within the database I am VERY new to Sourcesafe and have had no training so forgive me if this is a stupid/no brainer question. We are using VSS 6.0. Thanks in advance. You can read about Team Foundation here: http://msdn.microsoft.com/vstudio/teamsystem/team/ Proxy: http://msdn2.microsoft.com/en-us/library/ms252490.aspx Thank you for your response. So a proxy server acts to alleviate response issues ...Show All
Shaantu certmgr.exe makecert.exe in Windows xp2
I develop in Windows xp2 . i understand that makecert.exe and certmgr.exe built to run only on windows vista http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=340297&SiteID=1 if i should to use certmgr.exe what i can to do i think we have some known issue in FEB CTP,you can implement following workaround http://blogs.msdn.com/edpinto/archive/2006/03/03/543061.aspx i installed June CTP on my machine,we don't have this problem in june CTP -Thank you Madhu I run them from the Visual Studio Command prompt. . ok but i get "This is not a Valid Win32 application". ...Show All
twindragon Make a special listing...
Hello! I must make a "ToDo Application" with Windows Presentation Foundation and I want to list the tasks like this : http://test.duotone.ch/TaskList.gif Do you think it is possible And how can I make that Thanks ;-) PlaTyPuS Thanks for your answers, I really appreciate! If I understood correctly, you can use listbox, group the items and use an ItemTemplate to display information in that format. this section in sdk should help ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/145c8c3f-dbdd-4d0d-816f-90b35eba7eda.htm Yeah that is definitely possible! It shouldn't be too hard to do but depends on your knowledge of X ...Show All
Thad213 ListBox/ItemsControl DataTemplate issue
I have a ListBox with a DataTemplate as follows: < ListBox x:Name = " procList " ItemsSource = " {Binding} " > < ListBox.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Text = " {Binding Path=Identifier} " /> </ DataTemplate > </ ListBox.ItemTemplate > </ ListBox > This works fine, i.e. the DataTemplate is applied to my items as expected. However, if I use an ItemsControl instead of the ListBox, i.e.: < ItemsControl x:Name = " procList " ItemsSource = " {Binding} " > < ItemsControl.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Te ...Show All
Lili Gao Security and Encryption
Does WCF encrypt its data between the SOAP client and the soap header. Does that occur under basicHttpBinding What is its purpose, spped of transmission, scurity etc Ingeneral what security advantages does WSHttpBinding have over BasicHttpBinding Just a note that BasicHttpBinding does support MessageSecurity, but only by specfiying client credentials using X509 Certificates to secure the message. For other credential types, U/P you will need to use TransportSecurity. wsHttpBinding supports the more advanced ws-specs, including ws-addessing,ws-security, ws-trust. This allows it to support message and transport layer security. BasicHttpBinding has limited security ...Show All
Proram VSTO Outlook Add-in Debug errors even for simple HelloWorld add-in
I am trying to learn about VSTO Outlook development and I've tried several Outlook add-in samples online. I'm getting all kinds of weird behavior when I try to debug even a simple HelloWorld add-in. public class ThisApplication Private Sub ThisApplication_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup MsgBox( "Hello World" ) End Sub Private Sub ThisApplication_Shutdown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shutdown End Sub End class Sometimes I get the following in a Microsoft Visual Studio message box: "Unable to start debugging. Check for one of the following. The application you ...Show All
Rastogi Export to PDF programaticaly
I have a heavy report with graphs When rendering to PDF it runs out of memory any way to make it render directly to a file Try exporting as jpeg image. byte[] bytes = localReport.Render("Image", null, out mimeType, out encoding, out filenameExtension, out streamids, out warnings); fs = new FileStream("c:\tmpimg.jpg", FileMode.Create); Regards, Asif What is the Assembly Reference or Directiive for using the FileStream and ErrorBox Have you tried this: FileStream fs = null; try { Warning[] warnings; string[] streamids; string mimeType; string encoding; string filenameExtension = "pdf"; ...Show All
A.Carter Unsatisfied Reference in Single View Editor Sample in VS Apr 2006 SDK Package
Please help me to guess where can I find unsatisfied reference at tom (tom.dll ) neede to run Single View Editor Sample (VS Apr 2006 SDK). Thank you. Check the proj file for this example. This reference gets generated. It looks like a com typelib import. This is the entry in the project file that generates this reference. <ItemGroup> <COMReference Include="tom"> <Guid>{8CC497C9-A1DF-11CE-8098-00AA0047BE5D}</Guid> <VersionMajor>1</VersionMajor> <VersionMinor>0</VersionMinor> <Lcid>0</Lcid> <WrapperTool>tlbimp</WrapperTool> <Isolated>False</Isolated> </COMReference> </Item ...Show All
GMS0012 September CTP Error with Crystal Reports Reference
Hi, I'm getting an error when trying to build a CHM using the Sandcastle September CTP on an assembly with a reference to Crystal Reports. I've built CHMs successfully for several other assemblies, but this one gets the following error when running MRefBuilder: Error: Unresolved assembly reference: CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304) Crystal is (unfortunately) installed on this machine. Does anybody know how I might be able to resolve this Edit: --------------------------------------------------------------------------- I should have searched first! I see that Sandcastle can't reference assemblies in the GAC Is this someth ...Show All
kundalani Changing the IDE
I hastily chose the c++ interface, but now want to switch back to the Visual Basic IDE, can anyone tell me how to do this Thank you you may need to reset the IDE settings. go to tools > options > Import and Export Settings > Reset all settings. be sure to back it up before hand just in case. Does this work ...Show All
comspy Shutdown word application forcefully
How to shutdown word application forcefully without even saving the document using VSTO This sounds like a strange requirement. But, it is a valid scenario for my application. Thanks, Yuhang. Word process would not shutdown if you have programmatic references to it. So, first, you would need to make sure you do not have any references to any Word objects (except Application object), then you would need to iterate over all open documents and close them, then again release all references to Word OM by calling GC.Collect(); GC.WaitForPendingFinalizers(), then call Application.Quit. Unfortunately this is not definitive answer and it only MIGHT work. Of course, you can always kill the process but ...Show All
