Currently I am looking for a good solid xsl:fo processor to use within a .net application.
I have seen a few but alot of them use the java virtual machine, which is something I do want to have running on the web server. I must have a .net implementation, one I have found so far which is open source is fo.net on codeplex, although it does...
Hi, is it possible to get this stuff working(some way to force Objectfactory create instances like Activator)
in the below example everything is placed in a sigle assembly
public interface IUnitOfWorkFactory
{
IUnitOfWork Create();
}
internal class NHUnitOfWorkFactory : IUnitOfWorkFactory
{
public IUnitOfWork Create()
{
...
I'm new in ODP.Net and trying to implement it to our existing system. Currently, we are using OLEDB and using IDataReader interface to read a record from DataReader. However, when we use ODP.Net using the same code logic, no records selected. So, my question is, does Oracle.DataAccess.Client.OracleDataReader (ODP.Net) implements IDataRe...
I have always been wondering about why in the following example it is OK to not initialize the instance field (relying that it will have its default value) and accessing it, while local variables apparently must be initialized, even if I initialize it to default value it would get anyway...
public class TestClass
{
private bool ...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + IIS 7.0 to develop a console application at client side to upload a file, and at server side I receive this file using an aspx file.
From client side, I always notice (from console output) the upload percetage of the file increase from 1% to 50%, then to 100% suddenly. An...
Hi,
I want to repeat a random number sequence generated by a legacy software using the VBMath.Rnd and VBMath.Randomize functions in VB .NET
Reading on the documentation for those functions on MSDN i found that you are supposed to "reset" the generator calling Rnd with a negative value if you want the same seed to give you the same res...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + IIS 7.0 to develop a Windows Forms application at client side to upload a file, and at server side I receive this file using an aspx file.
I find my client side application will hang after click the button to trigger upload event. Any ideas what is wrong and how to solve?...
We are occasionally seeing this error:
Cannot open database ''. It may not
be a database that your application
recognizes, or the file may be
corrupt.
This is a Winforms .NET 2.0 product on a Jet/Access DB using Oledb connections.
This error occurs only intermittently. Make the same request a couple of minutes before/after ...
I have added the following to the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion:
EnableLog DWORD 1
LogFailures DWORD 1
If I start an ASP.NET web site from Visual Studio it throws a Parser Error:
Could not load file or assembly
'CMS.Controls, Version=4.1.3518.21577,
Culture=neutral,
PublicKeyToken=834b1...
hi all,
i have implemented Intelligencia.UrlRewriter im my masterpage site.
I am successfully able to redirect the page.
but on the virtual path its not able to find the CSS/javascript file.
Also its not able to find when i user url like http://localhost/mywebsite/test/ but it works when i use http://localhost/mywebsite/test
my rul...
I have a web site project that I run from Visual Studio using the built in development web server. The virtual path of the web site is set to /
The web.config contains a runtime element with
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CMS.Controls" public...
I have a WCF service which works perfectly when deployed in our dev and test environments, but which falls over in the production environment.
When attempting to browse to the service, the following exception is thrown (inner exception type is InvalidDataContractException):
[ServiceActivationException: The service '/IL.Party.WS/Party.s...
Hi,
how I can access controls of Form class from another simple class
Lets say
I have create new clr (c++ .net 2008) windows application, & add a lable1 on it, (Form1.cpp & Form1.h created by default having namaspace tmp_beginInvoke_c)
then I create a new b.h file & add a simple reference class b. like code below,
#include "Form...
My combobox reverts to unselected, some time later thanks to the currencyManager. The databinding for the SelectedValue does not fire its parse event, the setter for the current object's bound property never fires. There are several other properties bound to the same bindingSource for their value that work.
The comboBox below it, which...
I have created a CLR in a SQL server 2005 database. It is a simple regular expression user defined function that will check if a pattern exists in the string I pass into the function.
The dot net code I use in the CLR is shown below:
Return System.Text.RegularExpressions.Regex.IsMatch("Input", "pattern")
This returns a bit value of ...
I have a Linq query that orders by a datetimeoffest. The goal is to have the one that is NULL at the top, followed by most recent, 2nd recent, and so on. I started with this.
orderby item.Date descending
Doing it this way the NULLs go to the bottom. So I changed it to this.
orderby (item.Date.HasValue ? item.Date.Value.Ticks : long.M...
Under Vista when you call GetTempFilePath files get created in: C:\Users\User\AppData\Local\Temp\
Does anyone know where they get created under XP?
...
I have a process which is running within the security context of the local system account. From C#, how can I start (using System.Diagnostics.Process.Start) a process that will run within the security context of the currently logged-on user, not the system account?
...
Are there any document databases and/or key-value stores (something like Project Voldemort, MongoDB, etc.) that work well with .Net projects? Most of the options I've looked at so far seem to be more geared towards the non-Microsoft/Java/open-source technologies and I was wondering if anyone had any experience/recommendations with such ...
I'm working on a project that has the ultimate vaguely-defined requirement: "Site should be 'skinnable' for other clients."
As we all know, there are almost always UI, logic and model changes that have to be made.
I've explained that work will be required to add another client to the site, and that it won't be as simple as creating a n...