Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Forum Module [L...  Problems: Invalid object name
Previous Previous
 
Next Next
New Post 5/4/2005 7:43 AM
User is offline Patrick Timmons
14 posts
10th Ranked


Problems: Invalid object name 

Fresh install of DNN3.0.13

Installed previous release ForumBlog_03[1].00.11, crash & burn, uninstalled it (no references in database)

Installed new version ForumBlogPA_03[1].00.13, crash & burn again.. annoyed

Here is the scoop

added a new page, added Forum module, created a group & a forum, went back to forum home, and...

A critical error has occurred.
Invalid object name 'Forum_Posts'.
Invalid object name 'Forum_Threads'.
Invalid object name 'Forum_Forums'.
Invalid object name 'Forum_Groups'.
Invalid object name 'Forum_PrivateForums'.
Invalid object name 'Forum_PrivateForums'.
Invalid object name 'UserRoles'.

added a new page, added Forum module, turned off whats new, stats, etc (just a basic forum), added some groups and forums, clicked on a new forum and.....

Invalid object name 'Forum_Threads'. Invalid object name 'Forum_Posts'. 0 11

I checked the database, everything is there, all 4 scripts have run

 
New Post 5/4/2005 11:34 AM
User is offline Crispy
3433 posts
www.apptheory.com
4th Ranked










Re: Problems: Invalid object name 

I have not heard of any reports of this error in previous version nor in this new one yet.  My initial guess is it involves your database owner or object qualifier. 

Are you using an object qualifier?  What are you using for your database owner?

Is the user account in the connection string matching for the owner?(ie. dbo and account name are different than dbo and sa account)

 



 
New Post 5/4/2005 11:52 AM
User is offline Patrick Timmons
14 posts
10th Ranked


Re: Problems: Invalid object name 

no object qualifier, but i am using a database owner

dnn_admin is the database owner
dnn_user is the "normal" user

From web.config

<add key="SiteSqlServer" value="Server=SQLSERVER;Database=DNN313;uid=DNNUser;pwd=1111;" />
...
<data defaultProvider="SqlDataProvider">
 <providers>
  <clear />
  <add name="SqlDataProvider"
 type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
 connectionStringName="SiteSqlServer"
 upgradeConnectionString="Server=SQLSERVER;Database=DNN313;uid=DNNAdmin;pwd=9999;"
 providerPath="~\Providers\DataProviders\SqlDataProvider\"
 objectQualifier=""
 databaseOwner="DNNAdmin" />
 </providers>
 

No problems with the installation of DNN313, or with installation of the Forums Module. ASPNET account has all the correct permissions. The databaseOwner (DNNAdmin) has all the correct permissions.  DNNUser has access to the database, and everything else works.

 
New Post 5/4/2005 12:00 PM
User is offline Crispy
3433 posts
www.apptheory.com
4th Ranked










Re: Problems: Invalid object name 

Why are you using seperate connection strings?

 



 
New Post 5/4/2005 12:04 PM
User is offline Patrick Timmons
14 posts
10th Ranked


Re: Problems: Invalid object name 

Because I can

I am a strong believer in only giving out the minimal amount of permissions. I have worked in a few high security areas, as well as low security.  I know exactly what can and will happen.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Forum Module [L...  Problems: Invalid object name
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP