Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaTrouble with DatabaseTrouble with Database
Previous
 
Next
New Post
10/29/2007 2:44 PM
 

Hello,

I've uninstalled the media module built-in with DotNetNuke 4.62 for an error. Now I've reinstalled it but I get this error saying that it couldn't access with the user 'NT AUTHORITY\NETWORK SERVICE' .... I'm getting mad with this. I've set up the database with all the right authorities but it still give me this error.

I'm using SQL Express 2005 and IIS6 on Win2003Server and this is my connection string:

<add name="SiteSqlServer" connectionString="Server=DATSERVER\SQLExpress;Database=DATABASE;uid=sa;pwd=passw0rd; Trusted_Connection=True;" providerName="System.Data.SqlClient" />

I hope that someone can help!!!

Thanks in advance.

 

 

 
New Post
10/29/2007 7:34 PM
 

the connection string is used to access the database, but Network Service is used for accessing files in the installation directory and needs full access to all files and subfolders


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/30/2007 4:02 AM
Accepted Answer 

Hi and thanks for the answer!

Anyway I couldn't solve my problem. I've checked all my permission on the folders and they seems to be ok. I noticed that the error is that it cannot open the preferred database. It says access failed and then Access failed for user NT AUTHORITY\NETWORK SERVICE.

Sorry If I explain this way but my .NET framework is in Italian. Anyway this is what it returns:

"DotNetNuke.Services.Exceptions.ModuleLoadException: Impossibile aprire il database utente predefinito. Accesso non riuscito. Accesso non riuscito per l'utente 'NT AUTHORITY\SERVIZIO DI RETE'. ---> System.Data.SqlClient.SqlException: Impossibile aprire il database utente predefinito."

Translated should be something like this:

"DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot open the preferred user database. Access failed. Access failed for user 'NT AUTHORITY\NETWORK SERVICE'. ---> System.Data.SqlClient.SqlException: Cannot open the preferred user database."

Please help!!!!

 
New Post
10/30/2007 10:40 AM
 

Ok I've solved my problem!!!

It was just a permission problem on my Database! So I've been setting all permissions to NT AUTHORITY\NETWORK SERVICE making it the dbo.

Now everything works great. Thanks to everyone and I hope this will be useful to everyone will need it.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaTrouble with DatabaseTrouble with Database


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