-
- Cannot connect to Northwind with Database Explorer
by stratoblue
- 7 Replies
- Last post
by stratoblue
- This is my first time to open a database with Database Explorer. When I try to connect to Northwind, I get this error message
Unable to open the physical file "C:\SQL Server 2000 Sample Databases\NORTHWIND.MDF". Operating System error 5: "5(Access is denied.)"
An attemp to attach an auto-named database for the file C:\SQL Server 2000 Sample Databases\NORTHWIND.MDF fai
-
- XAML debugging strategy
by Ed Noepel
- 1 Replies
- Last post
by Rob Relyea
- Recommendations on Josh Smith's blog are not helpful, because they assume either the application can start up, or the InnerException is meaningful. Snoop is useless unless the app runs. I've read other posts in this forum with respect to this topic, but the discussion always shifts towards resolving a particular parsing problem. In general, how is one supposed to debug fatal runtime XAML exceptio
-
- The project type is not supported by this installation?
by ReneeC
- 14 Replies
- Last post
by jlcard
- VS2005 Team Suite RTM with SP1 Beta - XP SP2 - latest patches
Hi,
I have been learning XAML at the intro level. I had an old version of dotnetfx3 and wpf templates and I could create a project and run it.
Yesterday I removed the old templates and the old framework with a removal tool and installed the RTM framework and new templates.
However now I cannot open create a new project.
T
-
- ListView GridLines?
by EricMal
- 2 Replies
- Last post
by leBasson
- Does anyone know how to get grid lines in a ListView in WPF I know I can fill the background of each ListViewItem and I can also place an image in the background of each listview item but that doesn't really help me any Do you really have to draw a vector graphic around your ListViewItem to get a gridline in WPF I think I might be missing something.... WinForms supported this natively by just se
-
- Family.Show
by reyntjesr
- 4 Replies
- Last post
by Pards
- Hello, I downloaded this wpf reference application called family.show. I could build and run the program without any warnings or errors. The problem is that I can't seem to view any of the xaml controls in designer I get the error: Error 1 Value 'Resources\AppStyles.xaml' cannot be assigned to property 'Source'. Missing XmlNamespace, Assembly, or ClrNamespace in Mapping instruction. Line '10' P
-
- UI Thread switching and other complexities
by Duncan Stewart
- 3 Replies
- Last post
by Duncan Stewart
- Hi
I have just most of my day trying to convert an asmx web service to wcf service. This was not easy! (for me) Getting windows authentication working and impersonation going requires many configurations and it almost broke me! This was much easier with asmx...
My next issue is on the ui threading on my winforms client. asmx web service proxies switched to the ui thread for me when r
-
- frame element border
by IdoMC
- 2 Replies
- Last post
by Luke R
- I am using a frame element to display html content.
The frame has a border around it (with a 3D look). How can I remove the border
I tried: BorderBrush = " {x:Null} " BorderThickness = " 0 ", But it does not help!
-
- static variables
by LPDadigama
- 4 Replies
- Last post
by Martin Petersen-Frey - MSFT
- Hi, I am new to WCF.Can any one tell me how to use static varible in WCF,when InstanceContextMode.PerSession and basicHttpBinding. Thanks, pradeep
-
- How can work with Image class with graphice statements?
by RadObject
- 2 Replies
- Last post
by RadObject
- Hi,
I have 2 Question:
1) I want to drawing in my Image class with DrawRectangle and another graphic statements.
2) I want to copy a rectangle of my image class to another Image class.
How can I do ANybody has solutions with C# code
Thanks
-
- WCF streaming
by ccshane
- 8 Replies
- Last post
by BenK
- Ok I'm pretty stumped on this one... I've been at it for hours.
Where's what I have
Code Snippet
[ServiceContract]
public class ICustomerService
{
public Stream GetCustomerById(int id);
}
[DataContract]
public class Customer
{
...
}
Ok now the problem is that when I generate the client proxies, the Customer class does not
-
- Problem accessing WCF service from remote machine from WPF user control.
by Swapnesh
- 3 Replies
- Last post
by John Lambert - MSFT
- Hi,
I am trying to create an application which has different controls created in WPF. The components use a WCF service.
When I try to access it by creating an exe by integrating the components on a remote machine the service cannot be accessed. Is there a specific way to do this, or are there any changes that need to be made on the remote machine
Swapnesh
-
- 1..1 Relations: Auto-instantiations
by MichaelD!
- 2 Replies
- Last post
by MichaelD!
- Alrighty,
I have a Country entity:
< EntityType Name = " Country " BaseType = " Self.NamedEntityBase " >
< Property Name = " Preferred " Type = " Boolean " Nullable = " false " />
< NavigationProperty Name = " Internal_Settings " Relationship = " Self.CountrySettings_Country "
-
- DataContract works only with String Datatypes
by Marc123abc
- 9 Replies
- Last post
by Jon Baekken
- Hello,
I'm working with a simple DataContract that is declared in a separate fie. The problem is, that I can ONLY use "Strings" as Datatype because if i use a numeric type like long or integer the value is always set to zero when I call the servive
My DataContract with ID/m_ID as String:
Imports System
Imports System.ServiceModel
Imports System.Runtime.Ser
-
- HRESULT:0x8004D6DF_VB Express 2008 Beta-2
by SkyKnight
- 1 Replies
- Last post
by Saaid Khan MSFT
- Hi,
I just downloaded and installed the VB Express 2008 Beta 2 version on my XP Pro SP2 Laptop.
However as soon as I try to create a new project, I get an "Exception from HRESULT:0x8004D6DF" error.
I have uninstalled and reinstalled the entire application, with the same end result. Can someone please help me!
Thanks
-
- Text Wrapping in a TextBlock in a ListBox
by standgale
- 3 Replies
- Last post
by standgale
- Hi, I cannot get the text in my TextBlocks (or TextBoxes) to wrap when placed inside a listbox. So, I have a data template that has the textblock in it, then I add data to my list box, but the text refuses to wrap. I have disabled horizontal scroll bars wherever I can and told it to "wrap". I have tried surrounding the textblock with a wrap panel, and tried defining a control template fo
-
- Checkbox : 'Checked' event firing on data bind
by George F DArcy
- 1 Replies
- Last post
by Adam Smith - MSFT
- I have a problem with the Checked event firing on databinding. Here is the checkbox;
< CheckBox IsChecked = " {Binding Path=IsSpecial, Mode=TwoWay} " Checked = " DoStuff " />
If the property IsSpecial is true, databinding sets IsChecked to true. This in turn fires the Checked event. Is there away to suppress this event during databinding
thanks
-
- IIS-hosted WCF - no streaming?
by Kawatana
- 6 Replies
- Last post
by Kawatana
- I can't get streaming working when IIS hosting my services but everything works fine when console-hosted.
I found an old post here that says it can't be done with IIS 5/6.
Is this still true, streaming won't work with WCF and IIS
Thanks,
Andriy
-
- System.AddIn hosting a frame that uses a web page as it's source
by Mike Barry
- 3 Replies
- Last post
by Andre N. - MSFT
- I am trying to write an adding that hosts a frame in it. When a certain event occurs I want to update the frame source to point to a new web page. When I do I get: A first chance exception of type 'System.Deployment.Application.InvalidDeploymentException' occurred in System.Deployment.dll Additional information: Application identity is not set. Then my frame disappers. I have modified the calculat
-
- Performance issues (HTTP vs TCP bindings)
by Savvkin
- 3 Replies
- Last post
by Scott Seely
- Im trying to solve performance issues with simple console-app-hosted wcf-service. With WSDualHttpBinding/WSHttpBinding/BasicHttpBinding, maximum I can get is only 15-30 (!!!) calls in 10 seconds (its about 350-750ms per call) When using NetTcpBinding/NetNamedPipeBinding I get 18000/24000 calls in 10 seconds I know, HTTP binding should work slower than TCP, because requires XML-serialization, but n
-
- Media Player in a grid..
by gbshaw
- 3 Replies
- Last post
by LesterLobo - MSFT
- Hi, I am making an application which requires audio play and maybe video in future. I know it is possible to play audio by In XAML
<Window x:Class="WindowsApplication3.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication3" Height="600&quo
-
- Enumerating client connections on WCF server
by ceilidhboy
- 1 Replies
- Last post
by Brian McNamara - MSFT
- Is there a way to enumerate connections on a WCF server
I have a scenario where I'd like some code on the server to be able to get a list of all the connected clients, e.g. to display which clients are connected. But more than that, I'd like to be able to add custom state information to connected client channels and have a service method then have access to all the other client channels which a
-
- Routed Commands (bis)
by pfongkye
- 7 Replies
- Last post
by pfongkye
- 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
-
- WPF App will not run outside Visual Studio
by Joel Conner
- 3 Replies
- Last post
by Matt Galbraith
- VS 2005, .NET 3.0, C# / WPF Application
The app runs fine under VS 2005 in both debug and release modes, but when I try to run it by double clicking on the exe file in either the debug or release directory nothing happens. No app, no error messages, no events in the system log, nada.
Other VS 2005, .NET 3.0, C# / WPF apps run fine... as a matter of fact, the app with the problem was clon
-
- First call to service (per client) is slow??
by dferraro
- 8 Replies
- Last post
by dferraro
- Hello, I have a simple WinForms client talking to a simple WCF service. The winforms client has a 'submit' button they push and it instantiates a new proxy object and calls the method I want. For some reason, the first time the user pushes 'Submit' the client will freeze for about 5-8 seconds... Any time after that, the 'Submit' button will return instantly (sending the same parameters and such ea
-
- Map Stored Proc XML output/input parms to EDM entities?
by terryc_ms
- 7 Replies
- Last post
by galloc76
- Hello,
I have an existing database which exposes objects in XML form to the existing middle tier. I'd like to know if there is any way to take advantage of the EDM mapping using xml return from a proc
Also, in many cases we package parent/child objects together in xml and send this xml to a proc, so that the transaction is handled efficiently (one trip to the DB and the DB is able