首先删除一个用户~ado.net报错

对象名  'dnt_spaceposts' 无效。

对象名  'dnt_spaceconfigs' 无效。

对象名  'dnt_photocomments' 无效。

对象名  'dnt_photos' 无效。

对象名  'dnt_albums' 无效。

各种错误!!!我是利用向导安装的居然还来这么一出!!!!fuck !shit!

好吧手动添加建表脚本如下:

create table [dnt_spaceposts] ([postid] [int] identity (1, 1) not null ,[author] [nvarchar] (40)  not null ,[uid] [int] not null ,[postdatetime] [datetime] not null ,[content] [ntext]  not null ,[title] [nvarchar] (120)  not null ,[category] [varchar] (255)  not null ,[poststatus] [tinyint] not null ,[commentstatus] [tinyint] not null ,[postupdatetime] [datetime] not null ,[commentcount] [int] not null ,[views] [int] not null constraint [df_dnt_spaceposts_views] default (0),constraint [pk_dnt_spaceposts] primary key  clustered ([postid])  on [primary]
) on [primary] textimage_on [primary]
gocreate table [dnt_spaceconfigs] ([spaceid] [int] identity (1, 1) not null ,[userid] [int] not null ,[spacetitle] [nchar] (100)  not null constraint [df_dnt_spaceconfig_spacetitle] default (''),[description] [nchar] (200)  not null constraint [df_dnt_spaceconfig_description] default (''),[blogdispmode] [tinyint] not null constraint [df_dnt_spaceconfig_blogdispmode] default (0),[bpp] [int] not null constraint [df_dnt_spaceconfig_bpp] default (16),[commentpref] [tinyint] not null constraint [df_dnt_spaceconfig_commentpref] default (0),[messagepref] [tinyint] not null constraint [df_dnt_spaceconfig_messagepref] default (0),[rewritename] [char] (100)  not null constraint [df_dnt_spaceconfig_rewritename] default (''),[themeid] [int] not null constraint [df_dnt_spaceconfig_theme] default (0),[themepath] [nchar] (50)  not null constraint [df_dnt_spaceconfig_template] default (''),[postcount] [int] not null constraint [df_dnt_spaceconfigs_postcount] default (0),[commentcount] [int] not null constraint [df_dnt_spaceconfigs_commentcount] default (0),[visitedtimes] [int] not null constraint [df_dnt_spaceconfigs_visitedtimes] default (0),[createdatetime] [smalldatetime] not null constraint [df_dnt_spaceconfigs_createdatetime] default (getdate()),[updatedatetime] [smalldatetime] not null constraint [df_dnt_spaceconfigs_updatedatetime] default (getdate()),[defaulttab] [int] not null constraint [df_dnt_spaceconfigs_defaulttab] default (0),[status] [int] not null constraint [df_dnt_spaceconfigs_status] default (0),constraint [pk_dnt_spaceconfig] primary key  clustered ([spaceid])  on [primary]
) on [primary]
gocreate table [dnt_photocomments] ([commentid] [int] identity (1, 1) not null ,[photoid] [int] not null ,[username] [nvarchar] (20)  not null ,[userid] [int] not null ,[ip] [varchar] (100)  not null constraint [df_dnt_photocomments_ip] default (''),[postdatetime] [smalldatetime] not null ,[content] [nvarchar] (2000)  not null
) on [primary]
gocreate table [dnt_photos] ([photoid] [int] identity (1, 1) not null ,[filename] [char] (255)  not null ,[attachment] [nchar] (255)  not null ,[filesize] [int] not null ,[title] [nchar] (20)  not null ,[description] [nchar] (200)  not null constraint [df_dnt_spacephoto_description] default (''),[postdate] [datetime] not null constraint [df_dnt_spacephoto_postdate] default (getdate()),[albumid] [int] not null ,[userid] [int] not null ,[username] [nchar] (20)  not null constraint [df_dnt_photos_username] default (''),[views] [int] not null constraint [df_dnt_photos_viewcount] default (0),[commentstatus] [tinyint] not null constraint [df_dnt_photos_commentstatus] default (0),[tagstatus] [tinyint] not null constraint [df_dnt_photos_tagstatus] default (0),[comments] [int] not null constraint [df_dnt_photos_comments] default (0),[isattachment] [int] not null constraint [df_dnt_photos_isattachment] default (0),[width] [int] null ,[height] [int] null ,constraint [pk_dnt_spacephoto] primary key  clustered ([photoid])  on [primary]
) on [primary]
gocreate table [dnt_albums] ([albumid] [int] identity (1, 1) not null ,[albumcateid] [int] not null ,[userid] [int] not null constraint [df_dnt_spacealbums_userid] default ((-1)),[username] [nchar] (20)  not null constraint [df_dnt_albums_username] default (''),[title] [nchar] (50)  not null constraint [df_dnt_spacealbums_title] default (''),[description] [nchar] (200)  not null constraint [df_dnt_spacealbums_description] default (''),[logo] [nchar] (255)  not null constraint [df_dnt_spacealbums_logo] default (''),[password] [nchar] (50)  not null constraint [df_dnt_spacealbums_password] default (''),[imgcount] [int] not null constraint [df_dnt_spacealbums_imgcount] default (0),[views] [int] not null constraint [df_dnt_spacealbums_views] default (0),[type] [int] not null constraint [df_dnt_spacealbums_type] default (0),[createdatetime] [datetime] not null constraint [df_dnt_spacealbums_createdatetime] default (getdate()),constraint [pk_dnt_spacealbums] primary key  clustered ([albumid])  on [primary]
) on [primary]
gocreate  unique  index [userid] on [dnt_spaceconfigs]([userid]) on [primary]
gocreate  index [postiduid] on [dnt_spaceposts]([postid], [uid]) on [primary]
gocreate  index [postidcommentcount] on [dnt_spaceposts]([postid], [commentcount]) on [primary]
gocreate  index [albumid] on [dnt_photos]([albumid]) on [primary]
gocreate  index [photoiduserid] on [dnt_photos]([photoid], [userid]) on [primary]
gocreate  index [userid] on [dnt_photos]([userid]) on [primary]
gocreate index [list_albumcateid] on [dnt_albums]([imgcount], [albumcateid], [albumid]) on [primary]
gocreate index [list_userid] on [dnt_albums]([type], [imgcount], [userid], [albumid]) on [primary]

  然后就解决了!注意好dz!nt版本~~我这是3.6.711

DZNT论坛 3.6.711删除用户各种错解决方案相关推荐

  1. MySQL删除用户报错:ERROR 1396 (HY000): Operation DROP USER failed for ‘tsjt‘@‘127.0.0.1‘

    背景: 本地安装的MySQL的MariaDB,期间创建了两个名为tsjt的不同登录ip的用户,一个为127.0.0.1,另一个为localhost.测试完毕后准备删除. 此时却发现创建的tsjt@12 ...

  2. oracle 删除用户 报错:ora-01940 无法删除当前连接的用户

    1 以sysdba身份登录 >sqlplus /nolog; >conn sys as sysdba; >输入密码 2 查看要删除用户的连接情况 >select usernam ...

  3. Linux添加/删除用户和用户组

    本文总结了Linux添加或者删除用户和用户组时常用的一些命令和参数. 1.建用户: adduser phpq                             //新建phpq用户 passwd ...

  4. Linux学习笔记之Linux添加/删除用户和用户组

    本文总结了Linux添加或者删除用户和用户组时常用的一些命令和参数. 1.建用户: adduser phpq //新建phpq用户 passwd phpq //给phpq用户设置密码 2.建工作组 g ...

  5. Linux工作笔记037---Centos下Linux创建用户_用户组_删除用户

    JAVA技术交流QQ群:170933152 这里主要是生成环境的机器中病毒了,病毒会自动创建一个免密登录的账户,所以才查了查,这个... 唉,平时用内网,后来用云服务器,云服务器,有些厂商是提供安全框 ...

  6. 华为副总裁回应应用删除用户图片;美国拟允许华为参与 5G 标准建设;Firefox 76.0 发布​ | 极客头条...

    整理 | 屠敏 头图 | CSDN 下载自东方 IC 快来收听极客头条音频版吧,智能播报由标贝科技提供技术支持. 「极客头条」-- 技术人员的新闻圈! CSDN 的读者朋友们早上好哇,「极客头条」来啦 ...

  7. Linux添加/删除用户和用户组(linux中,添加cvs用户,实质就是添加linux用户。)

    来源:http://www.cnblogs.com/xd502djj/archive/2011/11/23/2260094.html 本文总结了Linux添加或者删除用户和用户组时常用的一些命令和参数 ...

  8. domino服务器注册用户,Domino服务器删除用户流程

    Domino服务器删除用户流程(图解) 长颈叔叔在论坛里给出过删除用户的详细流程不过是英文的,经过实践给个中文的解释方便大家查阅! 一.删除用户需要的权限 对 Domino 目录拥有带"删除 ...

  9. Linux添加、删除用户和用户组

    本文总结了Linux添加或者删除用户和用户组时常用的一些命令和参数. 1.建用户: adduser phpq //新建phpq用户 passwd phpq //给phpq用户设置密码 2.建工作组 g ...

最新文章

  1. iOS - OC Foundation 框架
  2. windbg-奔溃生成的dump文件
  3. boost::mpl::times相关的测试程序
  4. QT的QJSValue类的使用
  5. javaone_JavaOne 2012:Lambda之路
  6. php面向对象之单表操作类
  7. mybatis学习(5):安装 SQL Server installsharewowdir命令值无效的问题
  8. MongoDB BI Connector 实战指南
  9. 面试官是如何发掘有潜力的产品经理的?
  10. 转:一个网页图表的demon网站
  11. git学习指南_GIT 学习指南
  12. python 爬电影名网址评分及导演代码和运行结果
  13. 吴恩达深度学习第一周课程学习笔记
  14. 办公必备:4个在线文档格式转换网站
  15. Xshell超250+配色方案(主题) 及其推荐
  16. 给大家推荐几个程序员必备网站
  17. 中国再生聚酯纤维市场运营现状及投资战略分析报告2022-2028年
  18. 【机器学习】【降维】稀疏保持投影(SPP)
  19. 图灵机器人SDK接入指南
  20. 电商系统中的商品模型的分析与设计

热门文章

  1. 解决某个程序、游戏无声音
  2. asu计算机科学排名,美本ASU计算机专业申硕圆梦Top前30名校
  3. Linux学习笔记1—环境搭建
  4. java前后端加密解密crypto-js
  5. 字幕下载下来是php文件,剪映字幕导出为SRT文件网页版
  6. struct 基本应用方法 及 题目常用使用形式详解
  7. javascript 一些常用的正则表达式(手机号码,邮箱,整数,身份证号码,车牌号,中文,只能是字母或者数字)
  8. 【Python Matplotlib】设置横纵单位长度相同
  9. 题解 UVA12206 【Stammering Aliens】
  10. 10 探索其他Excel对象