使用过aspspider免费空间的能帮帮我吗?

来源:百度知道 编辑:UC知道 时间:2024/05/14 23:46:31
空间给出的连接字符串是
"Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;Initial Catalog=YourUserId_DatabaseName"
我的用户名是momo198777 数据库是shop
所以我改为
"Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;Initial Catalog=momo198777_shop"
可是还是不行,提示我错误
Cannot open database "momo198777_shop" requested by the login. The login failed.
Login failed for user 'DOTNETSPIDER1\momo198777'.

有用过的人帮帮我吗 谢谢了
我使用的数据库就是SQL2005
aspspider免费空间是支持SQL2000/2005的

在管理里面上传你数据库的MDF文件上去就是了,没有权限建库的, 系统自动为你创建,新库名好象是你的注册名_数据库名.也就是说你要先把库上传上去。

你安装的是什么?有可能是数据库版本不支持或者是程序语法错误