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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."profile" not working on server"profile" not working on server
Previous
 
Next
New Post
2/20/2007 5:48 AM
 
Hello,

I have DNN application running on local machine, when I uploaded it on server, modules witch are working with my custom added profile, not working on server:
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.

part of code in web.config:
<anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />
<profile defaultProvider="AspNetSqlProfileProvider">
      <properties>
        <add name="Cart" serializeAs="Binary" type="HighQTech.Orders.ShoppingCart" allowAnonymous="true" />
    <add name="Proba" type="String" allowAnonymous="true"/>
      </properties>
    </profile>  

I changed trust level to high, and then to full, and it's not working.

The only diference, as I see is MSSQL2000 database on server, and I have MSSQL2005express on local machine. I know that profile is added in ASP.NET 2.0. Could that be the problem, old database?

By the way, app is hosted on godaddy.

Thank you!
 
New Post
2/20/2007 3:21 PM
 
this is not the connections string, there should be one (DNN3) or two (DNN4) entries about line 12

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/20/2007 8:13 PM
 
Thanks for reply.
 I've found when problem occurs. If I add any property in web.conifg, app is working fine. For example:
<profile enabled="true">
      <properties>
                <add name="test" type="String" allowAnonymous="true"/>
      </properties>

But when I try to access it:
Profile.test = "Something"
On Server it gives me 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.

On local machine this is working, and I can not understand why it's not working on server.

Thanks again
 
New Post
2/27/2007 5:06 AM
 
Hi, I've installed application on diferent server with MSSQL2005 and now I get error:
A critical error has occurred.
Unable to connect to SQL Server database.

Can anyone help, please.

Thanks
 
New Post
2/27/2007 3:22 PM
 
Hi, I've solved the problem.
When I installed DNN on local machine I had 2 databases, one was ASPNETDB. Profile was saved in that database, so I change it, and now it's working on server!

<profile enabled="true" defaultProvider="MyProfileProvider">
      <providers>
        <add name="MyProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="SiteSqlServer"/>
      </providers>
      <properties>
                <add name="Cart" serializeAs="Binary" type="HighQTech.Orders.ShoppingCart" allowAnonymous="true"/>
            </properties>
              </profile>
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."profile" not working on server"profile" not working on server


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