Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 CreateSubscription

Author  Topic 

White Eagle
Starting Member

1 Post

Posted - 2012-02-23 : 05:07:21
I had a problem using SSRS2008 CreateSubscription Method in my VB code in that I was getting the following error:

'An attempt has been made to use a delivery extension that is not registered for this report server'.

For others who get this error, this refers to the value given to the extension parameter of the ExtensionSettings object.
This value must match an entry in the rsreportserver.config file. Don't worry if you do not have access to the server as you can get a list of valid extensions using the ListExtensions method of the server as in the following example:

Dim oExts() As wsReportService2005.Extension = rs.ListExtensions(wsReportService2005.ExtensionTypeEnum.Delivery)

The value you supply as the extension in your ExtensionSettings object must match the Name property of one of the extension objects returned by this routine.

I received this error message because I had entered "ReportServer FileShare" instead of "Report Server FileShare"

Hope this helps somebody as I wasted some time trying to sort this out!
   

- Advertisement -