Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0clr stored procedure problemclr stored procedure problem
Previous
 
Next
New Post
6/14/2007 8:58 AM
 

Hello!

Has anyone some experience with clr stored procedures and dnn?

My problem:
I wrote a clr stored procedure. I am able to execute this clr stored procedure with Sql server management studio, I am able to execute this clr stored procedure with dnns sql area in the host menu.
But when I want to execute it in my c# code with SqlHelper.ExecuteReader following message appears:

DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.STAGE4US_CD_Tags_Search' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.STAGE4US_CD_Tags_Search' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[]

I am helpless! What could be the reason????

 

Thanks in advance

Torres

 

 
New Post
6/14/2007 5:47 PM
 

Does exactly dbo.STAGE4US_CD_Tags_Search exist? does the account used by DNN has execute permission for it?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/15/2007 2:11 AM
 

I think so - but I am not very experienced with SQL Server.

I can execute the script in the sql menu this way:

exec dbo.procedurename.....

And it works. So I think DNN has the permissions!? If I am wrong, could you please tell me, what permission I have to grant? I am using "Integrated security".

 

Thank you very much

Martin

 
New Post
6/15/2007 3:42 AM
 
Hi, try taking dbo. off e.g. exec procedurename.....

Lee


Lee B
Owner
S@W Designs
Outsourcing partner
Developer forums and Help.
 
New Post
6/15/2007 7:53 AM
 

Nevertheless. It doesn't work.

Withoud dbo the error message is:

The stored procedure 'STAGE4US_CD_Tags_Search' doesn't exist.

 

:-( Why???

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0clr stored procedure problemclr stored procedure problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out