.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Question on Custom Delivery Extension

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :ASP.Net
All, I want to add new File Based report subscriptions option as "Custom CSV Format". I am bit confused about Custom Delivery Extension and Custom Rendering Extension. My question is for this requirement, should I create Custom Delivery Extension or Custom Rendering Extension? Becaue What I see in rsreportserver.config file, the Rendering Extension defined under <Extension></Extension> tag are available for File Based report subscriptions So is there any relationship between them? Please point me to right direction.

View Complete Post

More Related Resource Links

Question on Custom Delivery Extension

All, I want to add new File Based report subscriptions option as "Custom CSV Format". I am bit confused about Custom Delivery Extension and Custom Rendering Extension. My question is for this requirement, should I create Custom Delivery Extension or Custom Rendering Extension? Becaue What I see in rsreportserver.config file, the Rendering Extension defined under <Extension></Extension> tag are available for File Based report subscriptions So is there any relationship between them? Please point me to right direction.

Custom Delivery Extension - SubscriptionID

I am attempting to implement a custom delivery extension for SSRS 2000. The custom delivery extension will deliver the report to a database(table). CreateSubscription WebMethod returns a SubscriptionID once a subscription is created. Is it possible to get this SubscriptionID at run-time i.e when the IDeliveryExtension.Deliver method is called? If so, how? I want to store the SubscriptionID with the report in the database. Thanks for your help.

Custom markup extension or custom binding class?

Hey experts! I'm doing a project where I've encountered an issue I'd love some feedback on. I've created a custom Markup Extension called MyMarkupExtension, with two properties.  I can use it like below: <cc:DialogBorder Title="{local:MyMarkupExtension MyProperty='property value goes here', AnotherProperty='and another value here'}"> It works, and in 99% of the cases, it fits my needs perfectly.  In 1% of the cases, the values of MyProperty and AnotherProperty can not be set at design time, so I'd need some binding there. <cc:DialogBorder Title="{local:MyMarkupExtension MyProperty={Binding Path='SomePropertyOfTheViewModel'}, AnotherProperty='and another value here'}"> This presents my two questions (yes I did make only one post for 2 questions, bad karma...): 1. the binding inside my markup is not legal, after all, a binding can only be set on a DependencyProperty.  Is there any workaround which I could use for this problem at hand? In case there isnt... 2. I'm thinking about dropping the markup extension and creating a custom binding instead.  For this, I'd have to inherit from bindingbase, and so far I've read online that's one ____ of a nightmare.  Does anyone have some good code / examples on where to start? "The improbable we do, the impossible just takes

Printer Delivery Extension Error

I am trying to get the Printer Delivery Sample to work, and I have made all the changes, created the DLL, and changed the config files. It works if I am logged on to the server as the server admin, but if I try to run it from my workstation, I get this error, yet I am an admin on the SSRS system (I get the "Site Settings" link in the upper corner). SSRS is running under a domain account, and the printers are installed on the server under the same domain account. A subscription delivery error has occurred. (rsDeliveryError) One of the extension parameters is not valid for the following reason: Printer \\server\printer is not currently installed (rsInvalidExtensionParameter) Any thoughts why it works on the server, and not remotely? Thanks Rick 

SSRS custom security extension behind a router fire wall not working

I have a instance of SSRS 2008 installed (we are not using IIS) with custom security extension which accepts a application user ID and password and sends back a sql authorization cookie back to client for logging into SSRS.  The (SSRS) server is behind a router,  SSRS is configured on port 81,  Port 81 in router if forwarded to the SSRS server. Here is the problem If I am inside the router firewall (RDP'ed to the machine) I am able to access report server (http://xx.xxx.xxx.xx:81/ReportServer) and reports manager (http://xx.xxx.xxx.xx:81/Reports) without any issues. If  am outside the firewall and try to go to report server page (http://xx.xxx.xxx.xx:81/ReportServer) from browser and try to login it works (I am getting the cookie back and authentication goes through fine).   But if I try to access reports manager (http://xx.xxx.xxx.xx:81/Reports) the login page shows up when I enter user ID and password and hit enter to authenticate it comes back to the login screen (I am not gettint the cookie back from SSRS). Any help is highly appreciated on how to debug /fix this issue. Note : if I first login to Reportserver (which sends the cookie back) and in the same session I login to Reports Manager I am able to get into Reports Manager page since I got the cookie when I logged in to reports server page already.  When I

Custom Authentication migration question

A migration question... sorry if outdatedIn my student times I wrote an application in ASP.NET. Now I wish to upgrade the code to a later Framework versions but want to keep the database structure and old authentication.  Could anyone please send a link to a good article on how to make custom authentication in FrameWork 3.5? And a general question: is it better to move to the built-in authentication functionality? If yes then why? Many thanks

membership provider with custom login form problem / question

Hi all, I am using the .net membership provider, and I can get past the membership.validate user ok and into my secure page.   The problem I have is that when I reach the secured page, I have a login status control which isn't changing from login to logout.   Below is my login code:If Membership.ValidateUser(txtUsername.Text, txtPassword.Text) Then Response.Redirect("/auth/Default.aspx") If chkRememberMe.Checked Then FormsAuthentication.SetAuthCookie(txtUsername.Text, True) Else FormsAuthentication.SetAuthCookie(txtUsername.Text, False) End If Else lblLoginStatus.Text = "Oops! Login not found!" End If    Thanks in advance.

Mapping custom values and columns to destination table **Newb question**



I am copying data from one source to destination SQL CE table using the data flow task. I have two extra requirements which I am not sure how to achieve.

1.)  One source column needs to be mapped to two destination columns. In the column mapping dropdown the column name disappears after mapping it to one destination column.

2) some custom values for columns need to be added, which are not present in source. For e.g. a default value for some destination columns which is not present.

Any pointers would be extremely appreciated. Thanks,

Ganesh Ranganathan
[Please mark the post as answer if it answers your question]

Question about custom routing


Hi all,

I have to admit in advance that I'm quite new to MVC, I've been going through the resources at asp.net/mvc, but I was wondering if you guys could help me with something.

I have been asked to create a ASP.NET version of an existing PHP website, this website has a huge number of existing links to it in a particular format, which I have to replicate in due to the amount of work to change all the existing links would be far too much.

The format of the existing links is;


My attempt at creating a custom route doesn't appear to be working. What I have done is change the RegisterRoutes method in Global.asax.cs file to be;

public static void RegisterRoutes(RouteCollection routes)

        new {controller="ExistingLinkController", action="Index"},
        new {LinkId = @"([A-Za-z0-9]{14})", Title = @"([A-Za-z0-9_-]*)

WCF Custom BehaviorExtension Error: An extension "silverlightFaults" already appears in extension co


WCF Custom BehaviorExtension Error: An extension "silverlightFaults" already appears in extension collection. Extension names must be unique.

I have a custom behaviorExtension for a silverlight project which helps in communicating faultcontract messages to client. This error occurs when the service is called. Works good in Dev and QA boxes but not in PROD test server. Any ideas of where to start and how to debug ?

Platform: .NET 3.5, Silverlight, WCF, Win2003 x64

Any help is appreciated.

web.config section:

        <add name="silverlightFaults"
            type="Mrr.Srsa.Services.SilverlightFaultBehavior, Mrr.Srsa.Services, Version=, Culture=neutral, PublicKeyToken=9e9f5a95ab06f177"/>
        <behavior name="SilverlightFaultBehavior">
            <silverlightFaults />

How to add the "expire" header in wcf rest custom service behavior extension.



I'm using WCF REST with custom service behavior extension. I'd like to add the "expired" header.

I tried this

object IClientMessageInspector . BeforeSendRequest (ref Message request , IClientChannel channel ) 
    var expireHeader = MessageHeader.CreateHeader 
            ( "Expire" ,"ns" , DateTime.Now.ToString
            ("ddd, dd MMM yyyy HH':'mm':'ss 'GMT' " ) , false ); 
    request.Headers.Add(expireHeader) ; 
    return null ; 

But then I get the following exception:
System.InvalidOperationException: Envelope Version 'EnvelopeNone
(http://schemas.microsoft.com/ws/2005/05/envelope/none)' does not support adding Message Headers.

Please help!


Custom Error Page question


I create my own customize error page. The code fragement for catch the eroor as following:

HttpCompileException _ccExp = null;
string _expType = "RunTime Error...";
Exception _lastError = Server.GetLastError();

// Get the Stack Frame
if (_lastError is HttpUnhandledException && _lastError.InnerException != null) _lastError = _lastError.InnerException;
//StackTrace stack = new StackTrace(_lastError.GetBaseException(), true);
StackTrace stack = new StackTrace(_lastError, true);
for (int i = 0; i < stack.FrameCount; i++)
	if (!String.IsNullOrEmpty(stack.GetFrame(i).GetFileName())) {
		_frame = stack.GetFrame(i);
if (_frame == null) _frame = stack.GetFrame(0);

// Get file name
string _fileName = _frame.GetFileName();

I try get the .aspx file in the last line, "string _fileName = _frame.GetFileName();".
Why I got a url-formed file name such as "http://server/Work/SomeOne.aspx", sometimes,
and other time, I got a physical path such as "D:\websites\MySite\wwwroot\Work\SomeOne.aspx" ?


Newbie custom web control question


I'm trying to create an .ascx control from scratch for the first time, and running into issues.  I get the following error when I run my code.  Many thanks for any guidance!


Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Content ('</MyCustomControls:TestUserControl>
</asp:Content>') does not match any properties within a 'CustomUserControl.TestUserControl', make sure it is well-formed.

Source Error:

Line 7:  <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Line 8:      <p>
Line 9:      <CustomControls:TestUserControl Name="MyControl" runat=server></MyCustomControls:TestUserControl>
Line 10:     </p>
Line 11: </asp:Content>

Source File: /default.aspx    Li

Custom Data Processing Extension doesn't show but should be registered correctly.



I have a custom data processing extension that i can't see to get to work. I followed the steps like in :http://msdn.microsoft.com/en-us/library/ms155086.aspx to register the extension. Yet the extension does not show up in the data source list.

It's an extension made for ssrs 2008 and I want to use it on a SSRS 2008R2 instance. I don't have any reasons to believe that I did not configure the extension correctly, it's the same as the article and and the same on my 2008 instance.

I am using Reporting Services standard edition 2008 R2 with cumulative fix patch 4 so that should support extensibility.

The data sources that I migrated from 2008 that still refer to the extension give a message saying that the extension is not registered or configured correctly. But i swear I did it right.

Any other extension that I use did register fine, none of them are DPE's though.


My config:


  <Extension Name="SecurityDataProce

Question about a custom InfoPath 2003 Query


I have searched the web and youtube but cannot find anything. I have published a InfoPath form to a SharePoint list, and created a "Receive" connection. I need help creating the search to pull data using 2 dropdown boxes and a Query button. Here are the steps. (this is NOT a web form, just a standard form)

1. The user will choose Q1, Q2, Q3 or Q4 from the 1st dropdown box.

2. Then choose Submitted, Review, or Stage3 from the 2nd dropdown box. 

3. Then click the Query button. 

4. Then I want the results to be displayed in a repeating table with controls. (which I already have setup)

Any help to build the query logic would be greatly appreciated! 

Thank you for your time!''


Access report server database connection information from custom security extension



Is there any way from my custom security extension that I can get to and unencrypt the database connection information held within the RSReportServer.config file?



The Decorator Pattern & Extension Methods

The decorator pattern provides a formal way to add new functionality to an existing type, without sub-classing. First question: What is wrong with classical inheritance? In and of itself, nothing is wrong with the good old Is-A relationship. It is very common to derive a new class from an existing base class in order to override a few virtual members, and add a pinch of new functionality.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend