Is there any way to see who consumes my web service and how he uses it? Is there a logging system for that?
My consumer is not sure whether he is connected to my web service or not, and I cannot see that either.
...
A .NET application running in one of our systems 24/7 suddenly crashed without logging any errors.
The only error information we were able to retrieve is in the windows events log, with this codes:
faulting module msvcr80.dll,
version 8.0.50727.3053,
stamp 4889d619,
debug? 0,
fault address 0x000144dc.
Has anyone experienced an i...
Hi,
So I'm doing a postcode lookup provided by an outside data provider on a database that we're controlling with nHibernate. This involves calling a stored procedure and supplying a postcode. In return I get a number of rows each one of which contains multiple columns that make up the parts of the address.
We have an address DTO. But ...
Hello everybody,
imagine the following scenario:
Assembly "Foo.dll" references the ADOX-Library (Microsoft ADO Ext. 2.8 for DDL and Security) which was added as Interop.ADOX.dll in the bin-directory by VS 2010. "Local copy" of this reference was set to true, too.
Assembly "Bar.exe" references both Foo.dll and additionally the ADOX-Lib...
I'm working on an application in which a list view is used to select what set of data to display. When the user clicks a list item, the main view updates with the data associated with the selected item, and the ListView control loses focus. Upon losing focus, the control stops highlighting the selected item even though I've explicitly se...
All I have is a Tibco.EMS.dll version 5.1.4.0 for .NET, what else do I need?
Anyone know where I can download a manual?
Do I need anything else like like other DLLs or config files?
Any help would be appreciated.
Thanks
...
I have experienced some unexpected behaviour in Visual Studio 2008 when I do the following.
In a base class (for example called A), I create a property called MyProperty that holds an int. I declare this property as virtual with public get and set methods.
Then I create a class B that inhetits from A, and here I override just the sette...
Hello,
I've written custom role provider, which internally uses web service methods for getting roles or usernames. This provider inherits from System.Web.Security.RoleProvider. In the web.config file I switched on .NET provided caching feature which uses cookies.
Here is how looks web.config section for this provider:
<system.web> ...
Right i'm new to this and i've just been asked to add a Banner to our default installation of Sharepoint 2010.
I'm using the 2010 Sharepoint designer, I opened v4.Master and added a
I stuck this at the top of the master page directly under:
This seems to work fine, but the header is now being displayed in popup windows which I don'...
I'm writing a Visual Studio Add-In, nothing serious, just to experiment.
I need to evaluate a piece of code when the debugger is running, and It's being very hard for me to google / search in SO for it.
Let's say that hovering Person1.Name it will display "JustAName". I want from my add-in code, when a command is executed, evaluate the...
Hi,
I've got DateTime variable and i want to convert it to string "DD.MM.YYYY"
Please note, the values must be separated by "dot" sign.
Of course I can do manual string composition. But I wonder if I can use DateTime.ToString()
to do required conversion.
...
Hey,
I'm trying to make a LINQ to SQL statement which filters results where the ID is not in some list of integers. I realise the .contains() method cannot be used in Linq to SQL but for the purposes of explaining what I'd like to do, here's what I'd like to do:
nextInvention = (from inv in iContext.Inventions
where...
Dynamic row generation in GridView.
I have one button called 'Add New Row' and database Fields: First name, Last Name, Location, Status
status --- Working, Suspended, Resigned
If i click the 'Add NewRow' button then i should get new row in gridview and All fields(First Name, Last Name, Location) should be text fields. Status field s...
Hello.
I'm making a winform .NET app. It must show a graphic in bars format. I'm using a picturebox because it's the only way I know how to do it (if someone knows a better way, please tell me).
I'm adding dynamically the lines (the bars of the graphic) with this code:
int currentX = this.lineAmmount * (lineWidth + lineMargin);
pictur...
I have a (fictional) class with Fluent-mapping:
public class Customer
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual Employee Responsible { get; set; }
public virtual IList<Order> Orders { get; set; }
}
public class CustomerMapping : ClassMap<Customer
{
public Cus...
I am trying to move databases from one SQL server to another.I am doing this through a Console written in C#. The methodology is a follows. I first detach the database, move the data and log files to the new location and then attach the files from there.
However after I detach the file, I am not able to copy the data and log files. The e...
Hi,
I'm trying to understand why it apeared in desktop application (C# .Net 3.5) and how to reproduce it to debug:
System.InvalidOperationException: This access control list is not in canonical form and therefore cannot be modified.
at System.Security.AccessControl.CommonAcl.ThrowIfNotCanonical()
at
System.Security.AccessControl....
i'm thinking of building a code base for my company - to hold libraries, classes, etc. developed by employees internally and used in different applications in time. The purpose would be code reusability in time. The platform I target is .NET only - winForms, WPF, WEB, Silverlight, and others.
I was thinking of building a solution that wo...
I have IE8 installed on my computer and have been working on automating some tasks in a simple c# application with WebBrowser. Supposedly WebBrowser and IE have to render web pages in the similar way, while in reality I'm stuck with bugs in my application.
To trace the problem I've created small winforms project with single WebBrowser ...
Hi,
I use PostPaint event of Chart control to embellish my chart. Along with other stuff I draw custom labels. For drawing text I use the same font as axes has, the default one:
Graphics g = e.ChartGraphics.Graphics;
SizeF textSize = g.MeasureString(label, chart.ChartAreas[0].AxisX.LabelStyle.Font);
g.DrawString(label, chart.ChartAr...