Trying to attach db's
-
when i am tryibg to attach my database its showing the following error.. "An error occurred when attaching the database(s). Click the hyperlink in the Message column for details." can any body guide me how to solve this !!!!!!!!!
-
when i am tryibg to attach my database its showing the following error.. "An error occurred when attaching the database(s). Click the hyperlink in the Message column for details." can any body guide me how to solve this !!!!!!!!!
bhattiprolu wrote:
"An error occurred when attaching the database(s). Click the hyperlink in the Message column for details."
what is the details?
Paras Kaneriya
The difference between genius and stupidity is that genius has its limits. -
when i am tryibg to attach my database its showing the following error.. "An error occurred when attaching the database(s). Click the hyperlink in the Message column for details." can any body guide me how to solve this !!!!!!!!!
bhattiprolu wrote:
Click the hyperlink in the Message column for details
Hmmm... seems the IDE is trying to guide you.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
bhattiprolu wrote:
"An error occurred when attaching the database(s). Click the hyperlink in the Message column for details."
what is the details?
Paras Kaneriya
The difference between genius and stupidity is that genius has its limits.these are the details its providing... TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Attach database failed for Server 'Server Name'. (Microsoft.SqlServer.Express.Smo) ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) ------------------------------ Unable to open the physical file "D:\mohan.bhattiprolu\Documents\Visual Studio 2005\WebSites\Prototype\App_Data\tempdb.mdf". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=5120&LinkId=20476
-
these are the details its providing... TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Attach database failed for Server 'Server Name'. (Microsoft.SqlServer.Express.Smo) ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) ------------------------------ Unable to open the physical file "D:\mohan.bhattiprolu\Documents\Visual Studio 2005\WebSites\Prototype\App_Data\tempdb.mdf". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=5120&LinkId=20476
You need to give the ASPNET user access to the file, in the file system.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You need to give the ASPNET user access to the file, in the file system.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
can you explain me in detail..
-
can you explain me in detail..
Right click on the file in the file system. Choose properties. Go to the security tab. If you don't have one, then your general file system probably has the simple security option set, you need to find that and remove it. Now, click Add. Type ASPNET in the text box and click 'check names'. It should find it. Click OK. Now check 'full control'. Click OK.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Right click on the file in the file system. Choose properties. Go to the security tab. If you don't have one, then your general file system probably has the simple security option set, you need to find that and remove it. Now, click Add. Type ASPNET in the text box and click 'check names'. It should find it. Click OK. Now check 'full control'. Click OK.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
i have maded some changes in my connection string and i run my program i am getting this error.. "CREATE DATABASE permission denied in database 'master'. Cannot attach the file 'D:\mohan.bhattiprolu\Documents\Visual Studio 2005\WebSites\Prototype\App_Data\tempdb.mdf' as database 'tempdb.mdf'." wat is this error how to fix this one?