-
- WCF Server hangs on host.Open()
by bpSchoch
- 4 Replies
- Last post
by Seba Gomez
- I've tried several examples including the ICalculator example both under vs 2005 and vs 2008 beta 2 and whenever I start the server code hosted in a console app, it hangs at the host.Open method. After it hangs, I cannot debug stop debugging nor kill it with task manager. Any suggestions in doing problem determination here
Thanks,
Bernie
-
- TreeView Sort
by Ariel S
- 9 Replies
- Last post
by SwenTech
- Hello. Is there any way to sort the ItemsSource of a HierarchicalDataTemplate
I tried with a CollectionViewSource, but it seams that the Binding doesn¡¯t work.
I tried to use a Converter method, but the value uses an internal class (MS.Internal.Data.XmlDataCollection) so I can¡¯t sort it :(
Any idea
Thanks
-
- Determining if Show() or ShowDialog() was called
by Ed Noepel
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- I am subclassing System.Windows.Window to make a custom dialog box. I want the caller to be able to show it modal or modeless. I have handlers for OK and Cancel buttons that need to set the DialogResult if it is modal. However, setting the DialogResult on a modeless window generates an InvalidOperation exception. Show() and ShowDialog() cannot be overridden, so I cannot set a flag there. How can
-
- That assembly does not allow partially trusted callers.
by Nilang Shah
- 10 Replies
- Last post
by Todd West - MSFT
- We tried to search lot on net. However not succeed.
Scenario: I tried to consume WCF Service in VS.NET 2005 Office 2003(Smart document) Application Client.
Steps: 1. I hosted WCF service on IIS. 2. I can view WCF service in Browser. E.g. http://localhost/servicemodelsamples/service.svc 3. I added ¡°Service Reference¡± in Client Application. So proxy and app.config file generated ap
-
- Flat Style Button in WPF
by Saravanan_3i
- 2 Replies
- Last post
by benskynet
- Hi All,
Wants to know,how to apply the FlatStyle Property for Button Control in WPF Code Behind as C#.
-
- Difference between DateTime? and DateTime
by DiamonDogX
- 6 Replies
- Last post
by DiamonDogX
- What is the exact difference between types that appear as "TypeName" vs "TypeName "
-
- System.ExecutionEngineException
by Eric B. Delahaye
- 8 Replies
- Last post
by DMG
- I am debuggin in the same machine services and Web application, both are hosted in IIS 5.1 (XPsp2).
Apparently, randomly, when i run from vs2005 i have System.ExecutionEngineException when i call one service, then i restart and all ok.
Please, help me!
-
- CreateBitmapSourceFromMemorySection
by Joel Holdsworth
- 7 Replies
- Last post
by Draders
- Can anyone explain the
System.Windows.Interop.Imaging.CreateBitmapSourceFromMemorySection(..)
function to me From the name it sounds like you simply give it a
pointer to an unmanged piece of bitmap memory, then what you get back
is a BitmapSource pointed at that data. However when I try this, the
function throws an exception: "The handle is invalid. (Exception from
HRESULT: 0x80070006 (
-
- Kevin's bag o tricks DatePicker bug
by NoSuchThingAs2
- 3 Replies
- Last post
by NoSuchThingAs2
- In the MIX 07 build of the controls the DatePicker has a drawing bug that only occurs the first time the control is dropped down - the right side of the calendar control is chopped off. This happens every time for me and it also happens in every application that I test the control in, even the sample app that ships with it.
Has anyone else noticed this and maybe have a fix
-
- Possible to use transport security with basic authentication and a MembershipProvider?
by Jon Miller
- 0 Replies
- Last post
by Jon Miller
- Hi all,
Does anyone know if it's possible to configure a WCF service to use basic HTTP authentication and transport security and have it use a MembershipProvider instead of Windows authentication As far as I can tell, this isn't possible. I've tried using a custom UserNamePasswordValidator as well as using a custom MembershipProvider. I can only get it to work if I use message based securit
-
- Resizing images
by cgraus
- 7 Replies
- Last post
by cgraus
- Hi all. My app has a zoom feature, and we reload images at the zoomed size, to save memory. I was loading them with the following code, but for some images ( ones with big areas of white or black ), the images sometimes get corrupted ( significantly so ). The same zoom levels always create the same issue, it's repeatable.
bi = new BitmapImage ();
bi.BeginInit();
bi.DecodePixelWidt
-
- Using the First and Single methods
by John Papa
- 9 Replies
- Last post
by John Papa
- I am using the LINQ to Entities (I call it ELINQ as opposed to SLINQ, LINQ Tto SQL) and I am successfully creating and adding entities to the database using code like the following:
NorthwindModel.Orders newOrder = new NorthwindModel.Orders(); &n
-
- Adding a join method to Predicate builder
by kfrost
- 14 Replies
- Last post
by kfrost
- I copied this code from an example on the web. Works great to dynamically build and, or clauses for queried sql. However, I need to figure out how to add a Join method to this class. So say using customer entity to return info and then want to join, an orders table in the predictate.
Any Ideas
public static class PredicateBuilder
{
public static Expression <
-
- Using Orca to modify a user interface dialog in a setup project.
by steve1_rm
- 0 Replies
- Last post
by steve1_rm
- Hello, I have created a setup project and added some dialog boxes to the user interface. I have added the dialog with 4 text boxes. Then using Orca I have modified this and added a radio button group with 2 radio buttons (A and B). Which has been done. What I am trying to do is when the user selects A then all text boxes will be enabled. And when the user selects B then only 2 text boxes will b
-
- SSL for Tcp - turning off certificate Revoke check on client?
by Boz
- 2 Replies
- Last post
by Boz
- I setting up a Server certificate for tcp transport security that I generated myself using makecert. However, since I generated the certificate myself, the client bombs because it cannot make the certificate revocation check (even though it is a "valid" certificate with a valid root authority). Is there an easy way to turn the revocation check off temporarily on the client I've seen exam
-
- empty security header gives exception, is there a way around it?
by kawano1h
- 8 Replies
- Last post
by James
- Hello.
When I use WCF client using basicHttpbinding with Username authentication over SSL, the reply message from oracle application server doesn't have Action tag. I get the exception saying it's missing security header. However the transaction itself is complete because when I look at the soap message, it sends username and password with neccessary parameters(which is simple two integers) and
-
- Question to experts
by petzold
- 13 Replies
- Last post
by WPCoder
- Hi fellas, I'm working on a project which is dependent on a huge project. This huge project has been just updated and I have upgrade something in my project. I'm getting the following error in my project: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll Additional information: Cannot create instance of 'Window1' defined in assembly 'Te
-
- The HTTP request is unauthorized with client authentication scheme 'Anonymous'
by Sha Sea
- 3 Replies
- Last post
by Matt Woodward
- I have tried number of times to execute for my WCF WebService,
svcutil.exe http://localhost:9010/WCFWebService/mex/ also svcutil.exe http://localhost:9010/WCFWebService/mex/ wsdl also
svcutil.exe /config:C:\WCFWebService\web.config http://localhost:9010/WCFWebService/mex/
but it continously throwing an error of
" The HTTP request is unauthorized with client authentication sche
-
- Where can I get svctraceviewer?
by Kitty Cute
- 2 Replies
- Last post
by KjellSJ
- Hi All,
I want to see message log from svconfigeditor using svctraceviewer and I have been searching for svctraceviewer in my computer, but I did't find it.
I have install :
.Net Framework 3.0
Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP
Did I miss some installation
Thanks.
-
- Editable GirdView in WPF
by Kona Chaitanya
- 3 Replies
- Last post
by Odi
- By default gridview will display data from database.once the user clicks the edit button whole gird or particular row shuld be converted into editable gridveiw or textboxes.
How to add a control field to gridview in .net 3.0 or XAML or WPF which performs the same functionality as in ASP .net 2.0
-
- how linq is more useful that usual binding
by seco
- 1 Replies
- Last post
by Jeff Reed - MSFT
- Hi they always said that linq gives you more control over the end product in agile software development how any one met some situation like that what flexability i will gain is i use linq thanks in advance.
-
- I need a simple example using netMsmqBinding
by Kirk Lipscomb
- 6 Replies
- Last post
by Kirk Lipscomb
- Can anyone point me to a tutorial that can get me started. I'm looking for something simple - just drop a message in a queue and pick it up. I have seen some tutorials, but they seem very complex and are not working for me. I need a little more hand-holding and a little simpler example in order to get my head around this.
For example, I have built just such a simple test. In order to generate a
-
- using a 2005 user control in a 2003
by buratino22
- 4 Replies
- Last post
by buratino22
- Hello
Is there any way I could use a user control built for .net 2005
in a 2003 could I "wrap" it somehow
I can install the 2.0 framework, but the code I'll be writing must be written in .net
2003 (in order for it to be integrated with a big chunk of written code)
Thanks,
Ariel
-
- WinForms/WPF Interop problem
by Martin_Moser
- 14 Replies
- Last post
by Martin_Moser
- I'm currently facing a big problem (for me), while I'm trying to use wpf controls in my winforms application.
My problem is: I wrote a control library with wpf controls. This library should be used by an winforms application, and an wpf application.
This works fine. Now I would like to declare general styles (e.g. all TextBlocks should be Red).
I'm putting this in a separat dll, b
-
- Failure to create WCF client proxy
by Dave Ryan
- 1 Replies
- Last post
by Justin Brown - MSFT
- Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30] Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from 'http://zfuae366574.us.ray.com/TipPlazaServices/plaza.svc wsdl' using WS-Metadata Exchange or D ISCO. Error: Cannot import wsdl ortType Detail: An exception was thrown while running a WS