GeminiFang 2015-01-31 06:31 采纳率: 0%
浏览 2229

MVC发布到IIS错误,验证数据库失败

本人弄了一个虚拟机做了MVC4的网站,带数据库发布的时候可以正常浏览,但是。在登录的时候出错了
报错如下:
Invalid value for key 'attachdbfilename'.
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.ArgumentException: Invalid value for key 'attachdbfilename'.

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.

不知道是那里出错了 ,请问大神

  • 写回答

1条回答 默认 最新

  • WorldMobile 2015-02-02 00:52
    关注

    Invalid value for key 'attachdbfilename'.

    看提示应该是 引用的attachdbfilename 不合法了

    评论

报告相同问题?

悬赏问题

  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大