ASP.NET 2.0中连接数据库是出现的问题,大家帮我看看^_^
我用的是VS 2005 Academic Edition,在MSDN下了个MediaShareLibrary的例子,但是当我运行例子后,在页面用户注册时,出现了如下错误:
Unable to open the physical file "C:\inetpub\wwwroot\MediaShareLibrary\App_Data\aspnetdb_log.ldf". Operating system error 5: "5(拒绝访问。)".
Cannot open user default database. Login failed.
Login failed for user 'wh\ASPNET'.
File activation failure. The physical file name "C:\inetpub\wwwroot\MediaShareLibrary\App_Data\aspnetdb_log.ldf" may be incorrect.
而且我对VS 2005中集成的Sql Server 2005 Express 也搞的不是很懂,ASP.NET运行时具体怎么连接sql2005 express希望各位大哥大姐告诉我一下。谢谢!