What does this error mean?
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
...
I have received this error, but don't know what it means:
System.Configuration.ConfigurationErrorsException: Exactly one <siteMapNode> element is required directly inside the <siteMap> element.
Can you help me?
...
I've written a custom serialization routine that does not use ISerializable or the SerialzableAttribute to save my objects to a file.
I also remote these same objects and would like to use the same serialization technique. However, I don't want to implement ISerializable because my serialization method is completely decoupled from my o...
This is really a VB.NET/C# question. Ok, so I essentially have a database layer that is totally isolated from any business logic. This means that whenever I get ready to commit some business data to a database, I have to pass all of the business properties into the data method's parameter. For example:
Public Function Commit(foo as o...
C# code: Resharper suggests changing the accessibility of a public constructor in an abstract class to protected, but it does not state the rationale behind this.
Can you shed some light?
...
I have a XML file that looks like this
<Licence>
<Name>Test company</Name>
<Version>1.1.1.1</Version>
<NumberOfServer>2</NumberOfServer>
</Licence>
I then use a previous generated private key to sign the XML file using the foloowing code
private void SignFile(XmlDocument doc)
{
SignedXml signedXml = new SignedX...
Hello,
Controls are populated with postback data during LoadPostBack data Stage. If dynamic control is not created and added to control tree during OnInit stage, but later, then control won’t get populated with postback data, as evident by the following code, where Label1 will display an empty string:
public partial class _Default ...
I'm brand new to WebSphere MQ. I'm using IBM's .NET classes (IBM.WMQ) to put a request message and then get a response message. The MQMessage object has a number of Writexxx methods for various data types. I need to write a variety of different data elements to the request message. My question is, should I call the appropriate Write meth...
I'm spinning up a ColorDialog component in WinForms to let the user select a particular custom control's chart's background color and foreground color. Both configuration options are on the same page of the configuration dialog, so I want to set the title of the color dialog to "Background Color" when the dialog is brought up to change ...
Does anyone know how to do this?
...
Currently I am trying to implement a system or a way to create types but also get the type name when created.
So say I have actions like these, that can be created by the user of the app:
Blur
Contrast
Sharpen
Diffuse
Invert
...
So how should I extract their name when they are created through the UI. So say you have seperate UI butto...
Can you do a Joined Subclass in the Entity Framework version 1?
How do you approach the issue?
Joined Subclass:
http://www.xylax.net/hibernate/joinedsubclass.html
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/hibernate/Hibernate_Reference_Guide/Mapping_declaration-joined_subclass.html
...
I'm working on a tool that parses files for CSS style declarations. It uses a very complicated regular expression that, besides the expected performance issues and a few minor bugs that aren't affecting me for now, is doing everything I'd like it to do except for one thing.
I have it matching all combinations of element names, classes,...
Is there a way to get a list of roles a Windows authenticated user is in, without explicitly checking by WindowsPrincipal.IsInRole method?
...
I created a console app in c# with a single console.readline statement. Running this app within visual studio and stepping into the debugger shows 7 thread in the thread window (6 worker threads, one is .NET SystemEvents and the other is vshost.RunParkingWindow and the main thread). When I run the app outside visual studio I see a total ...
What's the most well maintained and recommended framework to use with .net when developing mobile web applications?
...
I want to show the hourglass cursor and disable the window while a BackgroundWorker process runs in another thread.
This is what I'm doing:
Private Sub MyButton_Click(...)
Dim box As New AnotherWpfWindow()
box.Owner = Me
...
box.ShowDialog()
If (box.DialogResult.GetValueOrDefault = True) Then
Me.IsEnabled = ...
I am looking for a way to keep track of the number of hits to a particular webpage. When the number of hits reaches a certain number traffic is driven to a different web page. Specifically I could use this to mod the number of hits by different values and drive people to different webpages on this logic. Do free web traffic analytics sof...
(Yes, I'm disgruntled, irritated and argumentative, OK I'm venting a bit here at the top, but my actual question is objective, I promise <g>)
Venting
I've just spent the last 2 weeks touring many aspect of WCF and now ASP.NET web service. This was done via. the Get Error/Google Error/Fix Error (maybe)/Repeat cycle. After hours of that ...
I'm working on a solution to my other question which is reading the data in the 'zTXt' chunks of a PNG. I am as far as locating the chunks in the file, and reading the zTXt's keyword. I'm having trouble reading the compressed portion of zTXt. I've never worked with the DeflateStream object before, and am having some trouble with it. ...