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.0Using Roles.CreateRole in Medium TrustUsing Roles.CreateRole in Medium Trust
Previous
 
Next
New Post
7/24/2008 7:18 AM
 

Role1 = stateRole & schoolRole & sportRole & leagueRole
            errorLabel.Text =  Role1
If Not Roles.RoleExists(Role1) Then
                Roles.CreateRole(Role1)
            End If

When I add the adobe code to my page, I get the error: "A critical error has occurred.
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file."

I beleve this is probibly due to my site being hosted on a shared server, running Medium Trust. Is there a way to make this work in Medium Trust?

 
New Post
7/24/2008 4:36 PM
 

Ensure that you have proper connection strings in both the COnnectionStrings and AppSettings sections.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/24/2008 10:07 PM
 

Thank you Mitch. I am using the DNN Package provided by my hosting company that is automatically set with the connection string in both places in the web.config, althow it is not the say as what they tell me my connection string should be. I am pretty sure It is connecting to the DB fine as I am able to store value in the settings.ascx and recall them in the view.ascx. Am I right in assuming that means it is reaching the DB or are there different DB's? My hosting account only shows 1 SQL being used.

 
New Post
7/26/2008 2:37 PM
 

Anyone have any idea how to fix this error?

 
New Post
7/31/2008 11:30 AM
 

RDO wrote

Role1 = stateRole & schoolRole & sportRole & leagueRole
            errorLabel.Text =  Role1
If Not Roles.RoleExists(Role1) Then
                Roles.CreateRole(Role1)
            End If

When I add the adobe code to my page, I get the error: "A critical error has occurred.
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file."

I beleve this is probibly due to my site being hosted on a shared server, running Medium Trust. Is there a way to make this work in Medium Trust?

 

Roles.RoleExists is a method in dnn?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using Roles.CreateRole in Medium TrustUsing Roles.CreateRole in Medium Trust


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