You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Umbraco7.7.7拉取项目后报‘umbracoUser’无效对象名问题求助

Hey there, let's work through this Umbraco + uSync issue you're facing—this is a super common pain point when setting up a team workflow, so I’ve got you covered!

Fixing the "Invalid object name 'umbracoUser'" Error

That error pops up because your teammate’s local database doesn’t have the core Umbraco table structure yet. You created your project with a fresh Umbraco install, so your database has all the default Umbraco tables plus your custom document types—but your teammate just pulled the code and pointed to an empty database. Here’s how to fix it:

  • First, make sure your teammate has an empty local database created, then update the connection string in Web.Config to point to this empty DB.
  • Next, have them start the project. Umbraco will automatically launch its database setup wizard (just like the one you used when you first created the project). Let them walk through that—it’ll create all the core Umbraco tables (including umbracoUser) that are missing.
  • Once the setup wizard is done, uSync will kick in (if it’s configured to auto-sync) or they can manually trigger a sync from the Umbraco backoffice. uSync will read the XML config files you committed to Bitbucket and push all your custom document types, data types, and other structure to their local database.
Do You Need to Share a Database?

Absolutely not! Sharing a single database across a team is a recipe for disaster—you’ll run into conflicts, accidental data overwrites, and it ties everyone to the same environment. The whole point of using uSync is to let everyone work with their own local database while keeping the Umbraco structure consistent.

What Exactly Does uSync Do?

uSync acts as a bridge between your code repository and your Umbraco database for structural configuration (not dynamic content). It converts things like:

  • Document types and data types
  • Templates and partial views
  • Media types and member types
  • Dictionary items and language settings

into XML files that you commit to Bitbucket. When your teammates pull the code, uSync syncs those XML files into their local databases, so everyone has the exact same Umbraco structure without having to manually recreate everything or share a database.

A quick heads-up: uSync isn’t meant for syncing dynamic content like test pages or uploaded media. That kind of content should stay local to each developer’s database unless you need to migrate specific content to staging/production.

内容的提问来源于stack exchange,提问作者user3857731

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 07:41:04