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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Invalid object name Invalid object name 'dbo.PortalAlias'
Previous
 
Next
New Post
10/30/2007 4:08 PM
 

Once more thing, I missed this before because you said that you had replace 'dbo' in your project with 'EXP0'.  But just double-check your web.config's data provider.  In the data provider section, the database owner is specified:

<data defaultProvider="SqlDataProvider">
     <providers>
          <clear />
          <add name="SqlDataProvider"
               type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
               connectionStringName="SiteSqlServer"
               upgradeConnectionString=""
               providerPath="~\Providers\DataProviders\SqlDataProvider\"
               objectQualifier=""
               databaseOwner="dbo"/>
     </providers>
</data>

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/30/2007 4:44 PM
 

yes, as I told u I replaced all dbo in my whole project with EXP0. (I checked my web.config and it is already changed)

now what I noticed is : in my stored procedure there are dbo and I should replace this also. hopefully it works with this way

I will let u know the result once this process done.

am working with a company and developing an intranet websites and we are dealing with DB hosting group and usually they don not give us dbo schema for security issue :(

am wondering now because this is first project use dotnetnuke what about other projects in my company? should they follow the same steps I followed (it is really headech)

is there any way from the first that I disable this thing?

I mean all my table should not affected by the schema.

 
New Post
10/30/2007 4:52 PM
 

Ahh...  DH hosting... That is a whole new situation.  :)

It sounds like the DNN installation was done using DBO as the schema.  Following your project migration, this changed (obviously).  If you are installing DNN locally and then moving it later, you would be better off creating and using the "EXP0" schema in your local DB instance to prevent these migration headaches when you deploy your project. 

I would also suggest that you consult with your DB host first to ask what their schema naming structure is to be sure that you can safely assume what the schema will be upon migration of the data.  If it will always be a similar naming convention, then emulate that locally to help you deploy easier.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/30/2007 5:11 PM
 

yes that is right, this is what I will do next time..... all my concern now is my current project (is it will work?)

hopefully yes becuase am done with all content.

 
New Post
10/30/2007 5:33 PM
 

Once you find all of the references to DBO, it will indeed work.  Nearly all of your SPs have references to the DBO schema.  The DNN framework uses the GetDataBaseOwner method for all of the code references to schema.  This method pulls directly from the web.config section that you verified.  So, I am guessing that once you get the database views and stored procedures updated with the correct schema references, all should work fine.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Invalid object name Invalid object name 'dbo.PortalAlias'


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