PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

登陆安装页面,服务器地址写数据库地址后,弹出下列代码,何觖? [复制链接]

1#
sql:CREATE TABLE [mdm].[tblAttribute]( [ID] [int] IDENTITY(1,1) NOT NULL, [MUID] [uniqueidentifier] NOT NULL, [Source_ID] [int] NULL, [Source_LastChgTS] [varbinary](8) NULL, [Entity_ID] [int] NOT NULL, [MemberType_ID] [tinyint] NOT NULL, [DisplayName] [nvarchar](250) NOT NULL, [Name] [nvarchar](100) NOT NULL, [Description] [nvarchar](500) NULL, [TableColumn] [sysname] NOT NULL, [AttributeType_ID] [tinyint] NOT NULL, [DataType_ID] [tinyint] NOT NULL, [DataTypeInformation] [int] NULL, [InputMask_ID] [int] NOT NULL, [DisplayWidth] [int] NOT NULL, [SortOrder] [int] NOT NULL, [DomainEntity_ID] [int] NULL, [ChangeTrackingGroup] [int] NOT NULL, [FilterParentAttribute_ID] [int] NULL, [FilterHierarchyDetail_ID] [int] NULL, [IsCode] [bit] NOT NULL, [IsName] [bit] NOT NULL, [IsSystem] [bit] NOT NULL, [IsReadOnly] [bit] NOT NULL, [IsRequired] [bit] NOT NULL, [EnterDTM] [datetime2](3) NOT NULL, [EnterUserID] [int] NOT NULL, [EnterVersionID] [int] NOT NULL, [LastChgDTM] [datetime2](3) NOT NULL, [LastChgUserID] [int] NOT NULL, [LastChgVersionID] [int] NOT NULL, [LastChgTS] [timestamp] NOT NULL, CONSTRAINT [pk_tblAttribute] 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:The specified schema name "mdm" either does not exist or you do not have permission to use it.
分享 转发
TOP
2#

导出的sql文件包含了架构: [mdm]
导出选项有一个是否包含架构,选择否
TOP
3#

厉害了,admin ,我搞好几天了,qqq,没找到门路。。。。
TOP
4#

进是进来了,打不首页,这是什么情况啊?
Server Error in '/' Application.
The view 'index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Templates/CompanyDefault/Views/首页/index.cshtml
~/Views/Shared/index.cshtml
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The view 'index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Templates/CompanyDefault/Views/首页/index.cshtml
~/Views/Shared/index.cshtml

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The view 'index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Templates/CompanyDefault/Views/首页/index.cshtml
~/Views/Shared/index.cshtml]
TOP
5#

是不是文件名不能使用中文的?要全都改成英文的吗?(那代码中是不是也要改,不更麻烦,工程量不更大啊。要又得一个月了)
TOP
6#

是路径不对,~/Templates/CompanyDefault/Views/首页/index.cshtml把这个复制到下面这个路径上就能打开网站了,为什么啊?怎么搞?
TOP
7#

出现这个问题可能是你数据库中有老数据,导入新数据时候因为有老数据存在,所以没有导入成功,清空一下数据库再重新导入试试
TOP
发新话题 回复该主题