ivs1999 - 2019/11/25 14:55:27
@xiyou 大神,换域名服务器,重装后不能使用,后台可以进去,但是没内容
修改不了任何东西,一点就提示:sql:select [tagId] from [pa_tag_data] where tableId=@tableId and tableDataId=@tableDataId,error:对象名 'pa_tag_data' 无效。!
前台打开提示:
The view 'index' or its master was not found or no view engine supports the searched locations. The following locations were searched: ~/Templates/Blog/Views/首页/index.cshtml ~/Views/Shared/index.cshtml!
xiyou - 2019/11/25 16:01:00
换了服务器,数据库没有迁移过去吧
ivs1999 - 2019/11/25 16:02:52
xiyou - 2019/11/25 16:24:20
可以试试清除数据库重装,这种一般都是因为数据库没有导入成功导致的,也就是数据库中的pa_tag_data这个表丢失了
ivs1999 - 2019/11/25 17:37:43
回复 4楼xiyou的帖子清空数据库重新安装时提示:
sql:CREATE TABLE [ivsoil].[cases_url_set]( [id] [int] IDENTITY(1,1) NOT NULL, [detailId] [int] NULL, [columnId] [int] NULL, [zdyPath] [varchar](50) NULL, [zdyUrl] [nvarchar](150) NULL, CONSTRAINT [PK_Cases_url_set_id] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY],error:指定的架构名称 "ivsoil" 不存在,或者您没有使用该名称的权限。

ivs1999 - 2019/11/25 17:51:41
解决了,把数据库文件里面的数据库名称改成现在数据库的名称就可以了