-
- windows integrated authentication
by singhhome
- 5 Replies
- Last post
by singhhome
- I am not able to host my WCF service as windows integrated authentication with in IIS.
in web.config of service i have enabled it as
<authentication mode=windows />
and for the IIS i have disabled Anonymous and enabled windows integrated.
When i browse the .svc file it shows the authentication dialog to enter domain/password, but even after giving correct credential i
-
- Please Help!! WCF Project created with VS2008b2, local works fine, remote not
by Richard_Wowpicker
- 1 Replies
- Last post
by Richie Weldon
- Hey, everybody, i spent almost 24 hours to figure this out since i really like WCF.
I have found there is some post regarding this question, but nobody have reply.
I have two computers, all same: Win2003 sp2, IIS6.0, .net frame work3.5 Vs2008 installed, IE7.0
now, i use VS2008 to created WCF project, it is ok
referred to WCF readme: removed namespace at web.config at server side
-
- InvalidDataContractSerializationException with MessageContract
by dickP
- 0 Replies
- Last post
by dickP
- Here's a tip that just might save you a bit of time if you get the above error after refactoring a datacontract to a messagecontract. Check out if you included the type in a KnownTypesAttribute somewhere in your service contracts.
That wiped out a fair bit of my morning ...
-
- Linq TO SQL 1 to many relations between Table and view.
by Brian Ilyas
- 2 Replies
- Last post
by Brian Ilyas
- Linq To SQL does not create a code for association (for 1 to many relation) between a table and a view but it creates a code for association between two tables. Am I missing something or this is default behaviour.
What I did created Linq to SQL file, dragged two tables customer and order and a view ordersview on the designer, set the association between customer and order and customer and order
-
- Membership Provider + wsHttpBinding issues
by Seba Gomez
- 14 Replies
- Last post
by Seba Gomez
- There¡¯s one issue really.
I get the following error and couldn¡¯t find any tips online. Does anybody have a clue about it, or a tip or something I could use
The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain processed, but ter
-
- error 2738.Could not access VBScript run time for custom action
by Larae
- 12 Replies
- Last post
by Salnaz
- Im trying to install blackberry 4.2 service pack 1 On my windows vista for my blackberry phone and i keep gettin this message.. Can someone please tell me what i need to do
-
- How to define behavior for a line?
by Pradeep T
- 3 Replies
- Last post
by Rob Relyea
- WPFers,
In my application, I display two list boxes within a canvas. The user can define relationship between one item of the left list box and another item of the right list box. The relationship is displayed as a line.
The relationship line is not always a straight line. It could be any of the following:
1. A straight line
2. A Z line
3. A curved line (spline curve)
If it is a
-
- Attribute "Column"
by Juan Luis
- 5 Replies
- Last post
by jwooley
- Hi,
How can I get the attribute values "Column" from fields of a table through code:
DbType, CanBeNull ...
Example:
<Table(Name:="Articulos")> _ Public Class Articulos <Column(DbType:="INT NOT NULL IDENTITY(1,1)", CanBeNull:=False, IsPrimaryKey:=True)> Public ID As Int32 <Column(DbType:="NVarChar(100) NULL", CanBeNull:=
-
- HttpNamespaceManager.exe
by Will.Rogers
- 1 Replies
- Last post
by Dave Cliffe - MSFT
- I've been using this little program to manage the HTTP permissions for my local WCF services that have HTTP endpoints on Vista. This has made things easier, but it's still a pain in the rear to have to set these permissions up over and over again on my dev machine when all I'm doing is building quick proof of concept examples and running some of the samples I've found on the web.
It would b
-
- Persisting a Message on the Disk / Database
by Kapoochikaya
- 4 Replies
- Last post
by Kapoochikaya
- Hi,
I need to persist a message to the file system or database as might be the case and be able to read it back. The problem I am having is of course the message can only be read once; so I broke up the message meta data and the body into seperate parts and am reconstituting the message using the .Create method. However when trying to call the .GetReaderAtBodyContents() the following Arg
-
- DateTime2 ..
by wgpubs
- 14 Replies
- Last post
by Tim Mallalieu - MSFT
- I've heard conflicting messages from folks in MS and I'm looking for some clarification on the following: 1. When will VS2008 et al be RTM'd 2. What databases will be supported by LinqToSql at that time 3. For ea. supported database, what features will ... and what features will not work Thanks much - wg
-
- Bindings lost when navigating
by Neil Mosafi
- 12 Replies
- Last post
by Neil Mosafi
- I have been experiencing this issue for a while in my application but hadn't yet got round to diagnosing it. The problem is that some bindings on a page are lost when I navigate to and from that page within a Frame. I've finally made a simple sample application which is conveniently posted here: http://blogs.wdevs.com/neil/archive/2007/03/27/19657.aspx The code is all there but unfortunately I co
-
- Out Parameters at Method
by kargenc
- 1 Replies
- Last post
by Marcos Cobeña
- [ OperationBehavior (TransactionScopeRequired = true )]
public ServiceResponse Add( ref LoginUser model)
{
public ServiceResponse LoadAll( ref LoginUser [] modellist)
is ref parameters not well desing for wcf methods
and why ( performance, interoperability etc. etc.)
Method get this model and change some properties return it back.
i can do like (Re
-
- Force render to save image to hard disk
by viggity
- 4 Replies
- Last post
by rocketjockster
- I've noticed that if I call the following code from a window's constructor, the saved image always shows up all black. But if I call the code from a method that gets fired from a button, after the page has already loaded, the image saves correctly. FileStream fs = new FileStream("blah.jpeg", FileMode.Create); RenderTargetBitmap bmp = new RenderTargetBitmap((int)gridToRender.
-
- Getting a Window Handle in the code of a class library(Net 3.5)
by Salvaed
- 5 Replies
- Last post
by Salvaed
- I'm trying to write a ShellExtension (PreviewHandler) for Windows Vista using Net Framework 3.5 (WPF), when I try to get the handle from PreviewWindow, always returns "IntPtr.Zero";
Window1 PreviewWindow = new Window1();
IntPtr ForceCreation = (new WindowInteropHelper( PreviewWindow )).Handle;
it's seem to happen when I compile the project as a class library, the same
-
- MSMQ Admin Tools
by Phil James Skyline Technologie
- 2 Replies
- Last post
by John Breakwell
- Does anyone know of any good MSMQ admin tools, besides the MMC Snap-In
-
- Can't create a project in ORCAS Beta 1
by Ulf Hillig
- 0 Replies
- Last post
by Ulf Hillig
- Hi,
i've done a fresh install of orcas beta 1 on my vista machine. Everything works fine. But now, if i try to create a project, VS points out, that i am not able to create a project because there is no registry access for the requested item.
What to do here
Best regards,
Ulf
-
- The caller was not authenticated by the service
by GinaK
- 8 Replies
- Last post
by Alex Dresko
- WCF is throwing a strange error. I have a server and I created a website for my WCF services. When I set the IP address to be the IP address of the server, everything works well. However, I have to use another IP address so that I can have multiple websites with port 80 on the same server.
So I configured the IP address, port number (80), and host name for my WCF website and used the browser to
-
- Issue with WCF + NetTcpBinding + MessageContract + MemoryStream
by hantana
- 7 Replies
- Last post
by hantana
- Hello Everybody,
Im facing a strange problem with one of my WCF service. It uses TCP/IP binding. Return value and parameter are MessageContracts.
Parameter :
[ MessageContract ]
public class MsgContract1
{
Stream data;
[ MessageBodyMember ]
public Stream Data
{
get { return data;}
set { data = value ;}
}
}
Return Value :
-
- navigating pages in Expression Blend
by JDPeckham
- 4 Replies
- Last post
by Chango V. - MSFT
- from a purely "designer" standpoint. how do i create a project, create multiple pages, and then create navigation between them without writing any code, (but i do need to handle data validation)
for example:
i have a 7 page employment application that i'm developing, i want to completely design the interface, field validation, and navigation flow in xaml using microsoft exp
-
- How to Bind RichTextBox in Listview?
by Seraph.Wang
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- I have a DataBase with a table ,and i save the content in it from a richtextbox in the format of XAML.
Then i need to display these records in a ListView,but how can i show the content in the RichTextBox
i get the follow method ,but how can i use it in the listview
private static void LoadRTF(string rtf, RichTextBox richTextBox) { TextRange textRange = new TextRan
-
- PeerChannel issue - CPU spikes, then goes offline for a full minute
by David Pallmann
- 2 Replies
- Last post
by Ravi Rao
- The following problem was recently observed in an application that uses PeerChannel:
1. CPU suddently spiked and stayed high for 5 minutes, not triggered by any user activity.
2. PeerChannel status went to offline and CPU went back to normal levels.
3. PeerChannel stayed offline for a full minute, then finally went back online.
No condition is known that contributed to this behavior; t
-
- XamlWriter not saving Binding information
by Darren Fieldhouse
- 3 Replies
- Last post
by Darren Fieldhouse
- I'm trying to serialise some objects, including their bindings, using the XamlWriter. This is the code I'm using:
Using _XmlWriter As Xml.XmlWriter = Xml.XmlWriter.Create(_SaveFileDialog.FileName) Dim _SerializationManager As New XamlDesignerSerializationManager(_XmlWriter)
_SerializationManager.XamlWriterMode = Markup.XamlWriterMode.Expression
XamlWriter.Save(Me.DrawingAreaCanvas
-
- Distinct in DataTable or DataView
by rajkumar sharma
- 9 Replies
- Last post
by imran.a
- I have some records in my Datatable. I want to remove all the duplicate records from my datatable.
Is there any way to do this.
I can use DataView also if required.
Mind that I am using .Net 2.0
Thankyou
Rajkumar sharma
-
- Inheriting from inherited user control
by leovernazza
- 5 Replies
- Last post
by Ed Noepel
- I'm having a problem with a user control generated code, when it inherits from other than UserControl. Steps: 1. Add new User control 2. Replace in the inheritance declaration UserControl for MyBaseUserControl 3. Compile The generated class part is still inheriting from UserControl. You can change the ".g.cs" file, and sometimes you can get it succesfully compiled, but the error cames ba