all groups > asp.net > april 2006 >
You're in the

asp.net

group:

"Unable to open the physical file" error



"Unable to open the physical file" error phil
4/30/2006 6:56:30 PM
asp.net: Hi,

I use aspnet 2.0 and i'm learning about data-bound controls. Sometimes, i
get this error below, but the code of the aspx page is ok because i ran it
several times.
I use indeed a .mdf file located at that place.

What's the problem and how to solve it?
Thanks
Phil

Unable to open the physical file
"D:\Inetpub\wwwroot\aspnet\Begin\Chapter07\App_Data\WroxUnited.mdf".
Operating system error 32: "32(error not found)".
An attempt to attach an auto-named database for file
D:\Inetpub\wwwroot\aspnet\Begin\Chapter07\App_Data\WroxUnited.mdf failed. A
database with the same name exists, or specified file cannot be opened, or
it is located on UNC share.

Re: "Unable to open the physical file" error Christopher Reed
4/30/2006 7:22:39 PM
Have verified which users have rights? I believe that the ASPNET user will
need to have Modify rights. If you're not logged in as an admin, you will
need specific Modify rights as well when using the built-in VS web server.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

[quoted text, click to view]

AddThis Social Bookmark Button