I am writing something to get a report back and email it using SSRS' url interface.
The code is simple:
var string reportURI =
"http://ReportServer/Pages/ReportViewer.aspx?/ReportNsmrs&rs:Command=Render&rs:Format=PDF";
var webRequest = HttpWebRequest.Create(reportURI);
...
Strange exception occurred, when I tried to call the action in my proxy class
exception message: The message could not be processed because the action 'http://testservice//reports/IReportService//Report' is invalid or unrecognized.
...
How can I do Image map for HTML document to assign different links in visual studio design mode?
...
I am already using Log4net to log errors to a file, however because of the way it works with try/catch blocks I am loosing the original context of the error.
Is there a good opensource error logging platform for .net that you can add to your solutions to make it much easier to detect where errors are occuring in your code?
Thanks in a...
Hi,
I have a database containing users and roles. The table Users has a reference to the table roles as each user is bind to a role (one and only one).
When I use linq to retrieve the users, the field "role" shows in a datagrid as an integer (which is the primary key of the table Roles). However, I'd like to replace the field Role of the...
Hi all,
Is there a non-toyish tool that can create a call graph of the whole application? I don't mean just getting a picture or drawing call graph by means of pointing method-by-method.
I need a call graph, which is accessible programmatically, i.e. the tool should flush it to a file in text mode (e.g. XML) or build the call graph in ...
Can I use a Mono GTK# component inside a WinForms form?
Especially, I want to use the Mono.Texteditor.
...
I remember when I switched from Classic ASP to PHP many years ago, and I came accross an awesome document on the net showing how the VBscript differed to PHP. It really helped me when I ported an old photo album software I made to PHP.
I was wondering if anyone knows a similar guide, from PHP to .net? If not, what are the best resources...
While trying to reduce my Viewstate's size, I found that there are a lot of System.Web.UI.IndexedStrings (~10KB) in it. I'm not sure if I fully understand the mechanism but is it a good idea to keep those instances and if yes, why?
And which approach would you take to remove them?
...
Hello all.
I'm a computer scientist and i've been working with Java mostly to develop applications.
I just been hired in a company that makes projects with ArcGIS.
The company has hired na electrical engineer to develop the arcGIS projects.
This engineer used to customize ArcMap with VBA and lately extensions with .NET and C#.
I want to...
I want to create an application that can give me a description of all the softwares and hardware installed on a computer that is connected through a Local Network.
In Hardware Description - I want something like the list shown in Device manager and in software description i want a list of all the softwares installed in remote pc as show...
I have two GridViews, the first works fine as I defined the datasource when I dropped it onto the asp page via visual studio and I specified the table to use.
The other GridView (dgvParams below) has just been dropped onto the asp page and I want to use it at run time:
Imports System.Data
Imports System.Data.SqlClient
Imports myDataBas...
I have a pdf that is around 4MB in size. When I open it in Adobe Acrobat (version 8) and go to File -> Save as the resulting pdf is only 137KB.
This pdf is 67 pages big, each page looking very similar to the other, with only some numbers changed: same background, same fonts, almost same text, ...
It has been created using Cete DynamicPD...
I cannot get the .NET XML reader to cooperate for anything. Here is my code:
public void downloadfile(string reqURL)
{
HttpWebRequest webreq = (HttpWebRequest)WebRequest.Create(reqURL);
// Set some reasonable limits on resources used by this request
webreq.MaximumAutomaticRedirections = 4;
webreq.MaximumResponseHeadersLe...
My problem is that when I get a SQL exception from the entity framework (say for example, because of a null value that isn't allowed to be null), it's sometimes hard to figure out which property is being referred to, and why it is null.
Now I know I can set up a SQL trace and log it which will give me the information I need, but this me...
I'm using the Unity IoC container for resolving my objects. However, I've run into an issue. When I have more than one constructor - how does Unity know which one to use? It seems to use the one with parameters when I have one with and one without. Can I explicitly tell it which constructor to use?
Specifically I had a case similar to ...
Let's say I have a file name defined as "..............\bin\prices.xls", is there a simple way to convert that to a fully qualified path (one that includes the Drive letter, colon and all folders to the file)?
...
Hello,
I am trying to learn some WCF principles by following an example of a WCF application (from Sacha Barber).
Now I would like to convert the following function into VB.NET
private void BroadcastMessage(ChatEventArgs e)
{
ChatEventHandler temp = ChatEvent;
if (temp != null)
{
foreach (ChatEventHandler handl...
Can anyone provide a better example on using ITypeDescriptorFilterService interface than the MSDN ColorCycleButton ??
http://msdn.microsoft.com/en-us/library/system.componentmodel.design.itypedescriptorfilterservice.aspx
...
Somebody please shed some light on how Add method is implemented for
(how Add method is implemented for List in c#)
listobject.Add();
where List<User> listobject= new List<User>() is the declaration for the object.
I know that using List we can perform many operations on a fly and that too with type safety, but what I wonder is how ...