Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error : Creation Feature Not Enabled. 1

Status
Not open for further replies.

laxmita

Programmer
Jun 1, 2001
3
IN
I am migrating from crystal report 8.5 to 9.
I am creating a report at runtime and saving the reports.

I am using the code to create recordsets, connections
and also to add the fields and binding the same.

Set cnadm = New ADODB.Connection
cnadm.ConnectionString = "Provider=MSDAORA; User ID=" & vAdmin & ";Password=" & admpwd & "; Data Source=" & vDB & " ;Persist Security Info=False"
cnadm.Open

Set cnAdoAdm = New ADODB.Connection
cnAdoAdm.ConnectionString = "Provider =MSDAORA; User ID=" & vAdmin & "/" & admpwd & "@" & vDB & " ;Persist Security Info=False"
cnAdoAdm.Open

Set datcmd1 = New ADODB.Command
Set datcmd1.ActiveConnection = cnAdoAdm
datcmd1.CommandText = "select * from " & Trim(vAdmin) & ".tbl_temp_register order by ourref"
datcmd1.CommandType = adCmdText

Set rstest = New ADODB.Recordset
rstest.CursorLocation = adUseClient
rstest.CursorType = adOpenKeyset
rstest.LockType = adLockOptimistic
rstest.Source = "select * from " & Trim(vAdmin) & ".tbl_temp_register order by ourref"
rstest.Open rstest.Source, cnadm, , , adCmdText

reporttest.Database.LogOnServer "pdsora7.dll", vDB, "", Trim(vAdmin), Trim(admpwd)

reporttest.Database.AddADOCommand cnAdoAdm, datcmd1

I am getting the error "Creating Feature Not Enabled" in VB6.0 for the above statement.
I hv registered the Crystal Reports 9.0 .
Please Help..

Thanx
Laxmi.
laxmi_ta@hotmail.com
 
Crystal has a kb article about this: c2012093

"This error message appears because the application uses a Report Creation API (RCAPI) call requiring additional royalty licensing. The Crystal Reports 9 Report Designer Component (RDC) includes more than 750 royalty-free report viewing and modification APIs and over 100 royalty-required RCAPI calls.

To use the RCAPI calls in building thick-client applications, you must purchase a Report Creation API license for each end user you deploy your application to. "

Here's the link to the Crystal Knowledge Base:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top