A file activation error occurred. The physical file name may be incorrect while creating database

Hi Experts,
   I am trying to create a database in my local system, while creating i am getting error like below can anyone please help me on this.
Msg 5105, Level 16, State 2, Line 1
A file activation error occurred. The physical file name ' C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\NewData\Demo_dynamic.mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
Msg 1802, Level 16, State 1, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors. 
Awaiting for the response......!! 
Niraj Sevalkar

I have created earlier database in 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA'
but now i have created one newdata folder and trying to create in it also i have checked the path what have you suggested above and the NewData folder is existed please check below snapshot
Both folders files and NewData folder which don't have any files 
Niraj Sevalkar

Similar Messages

  • File Compression Error Occurred on Expert Settings

    I finally thought I had a decent set of settings to compress the QT movie for YouTube (and will tweak this now that each ten minute movie can be 1 gig! Hooray!). So I used what had worked on the previous movies and got the error
    File Compression Error Occurred
    The movie could not be properly compressed. The movie may contain some data that is invalid for the type of compression selected.
    The movie itself contains imported footage from my camcorder (DV), as I usually use. And I used only iMovie stock music loops and one Sfx...all aif files.
    I've tried tweaking the settings of Expert Settings here and there. Changed the 15 fps to 30. Made the Key At this point, what do I look at? Something within the movie itself? Or the settings (H.264, qual. Hi but also tried med, Frame rate tried 15 and 30, Key frame rate tried Auto and 10, Encoding multi-pass, Dimen. 640x480, Scale Letterbox. Sound is ACC, 24,000 kHz, stereo, bit rate 48kbps. Prepare for internet streaming is unchecked currently. Think it was that way when I last made a movie.
    Don't know where to continue to troubleshoot this. URmpfff. Help!

    Wow...this is a sticky problem. I could not resave the movie as another name. Frozen program, pinwheel of death, etc. I've had about three frozen attempts since I first wrote...
    Googling phrase from error message got only a few lost souls who never did post the solution. One solution someone had figured the problem was with Flip4Mac...to uninstall it, but they had problems uninstalling it. So did it...frozen computer).
    I did get this solution to work to move my movie along. It saved rather quickly to a 350 meg or so full quality file on Expert settings. Then got a single .dv file. Imported that into a new iMovie project (wonderful....that I titled My Great Movie fer petes sake...Hope I remember to retitle it.
    Along the way were error messages like Error 54, no permission to write to file, no hard drive space, etc. Baloney, I think...or is there any clue in all this?
    Thanks.

  • Error message: "Unable to open the physical file" when trying to attach AdventureWorks database

    I have searched the internet and this forum and have not found an answer...
    I am trying to install the AdventureWorks database into my single instance of MS SQL Server Express 2005.  I am logged into my machine as an administrator and logged into SQL Server 2005 express 'sa'.  I attempt to run the following script:
    exec sp_attach_db @dbname = N'AdventureWorks',
    @filename1 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf',
    @filename2 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_log.ldf'
    The error message I get back is:
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf". Operating system error 5: "5(Access is denied.)".
    The folder "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data" and all the files in it are read-write.  I am 100.0000% certain the files "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf" and "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Log.ldf" exist!  They are the result of running the installation program AdventureWorksDB.msi, which I downloaded from: http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004.
    What do I have to do to install the AdventureWorkds database????

    Hello,
    To try to help you, please, could you give some more informations ?
    - the operating system (XP/Vista), the edition ( Pro/Home...) and the service pack
    - usually, the installer installs the both files in C:\Program Files\Microsoft Sql Server\Samples. Is there any change in the location or have you moved the both files ?
    - could you check with the files explorer , that the 2 files are read-write and not read only( find one file, right-click on it, properties and in the 1st tabpage, you should see a checkbox read-only ( if checked , unchecke it ) ?
    - have you Sql Server Management Studio Express Edition ( at least SP1 ) ?
    If no, download it and use it to attach
    in the object explorer,
    click on your instance to expand it
    right click on databases
    in the contextual menu, click on attach
    in the new form,click on add
    you arrive on a second form : find your file , click on it, and OK
    it's the simplest way to attach ( the sp_-attach_db is complicated to type )
    the error messages are sometimes more clear in SSMSEE than in Sqlcmd
    Try also to attach ( thru SSMSEE or Sqlcmd but in using the windows authentification )
    NB: i hope that you are not trying to attach AdventureWorks on a remote instance and on a remote computer ( it would explain access denied )
    We are waiting for your feedback to try to help you more efficiently
    Have a nice day

  • Why am I getting this message suddenly, when I've done dozens and dozens of projects without trouble at all: The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission)

    Why am I suddenly getting this message after I've been using iMovie for a few years now and have never had any such issue before:  The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission)

    Two things
    I meant search THIS FORUM
    Error minus49 not same as ERROR 49
    Yours Bengt W

  • After attempting to process my movie, I get the following message. "The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission). Any ideas what I'm doing wrong?

    After attempting to process my movie, I get the following message. "The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission). Any ideas what I'm doing wrong?

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occours only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    Yours Bengt W

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • Error: Enter either the physical file name or the logical file name

    Hi Expert,
    I have error: Enter either the physical file name or the logical file name, when upload BP with external data transfer.
    My Step:
    1. Define Sender Structure
    2. Define Transfer Rules
    3. Start Transfer
    When execute step 3, there's displaying error:  Enter either the physical file name or the logical file name
    Can you help my problem?
    Any document/link for upload BP with external data transfer.
    Thanks and Regards,

    Hi,
    See thread: [CO-PA External Data Transfer|CO-PA External Data Transfer]
    Regards
    Leon

  • When I try importing a CD following message comes up: error occurred whilst converting file " name of fist song on CD" You do not have the privilege to make changes.  Any ideas?  thanks  John.

    When I try importing a CD following message comes up: error occurred whilst converting file " name of fist song on CD" You do not have the privilege to make changes.  Any ideas?  thanks  John.

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • There has been a network or file permission error. The network connection..

    hello,
    there has been a network or file permission error. The network connection may be lost.
    this is the error my client gets sometimes when he wants to save a word document.
    when i go in the finder i have no problem accessing that network share, and when i look up the file and check the permissions there is no reason why this error should occure.
    situation :
    1 os 10.3.9 server
    7 os 10.5.5 clients
    1 os 10.3.9 client
    office 2004 for mac (version 11.50)
    there are 2 10.5.5 clients (emacs) with this problem on a regular base (3-5 times a week). One imac 17" 10.5.5 has this once a month.
    it is a wired cat5 network.
    any idea what could cause this problem?
    thanks
    Marco

    I found a logical explanation on the following site : http://www.makemacwork.com/office-2004-wont-save-to-server.htm , I am gonna try the steps they describe and post back the result.
    Marco

  • XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted.

    1.Some web pages give "XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted".
    2.Youtube gives, after pressing start button, message"An error occurred. Please try again later.
    Opening same youtube page with IE, there is no problems.
    3.Scrolling on Mozilla firefox pages works only with sidebar not with mouse wheel.
    Other user accounts on this computer doesn't have these problems.
    BR, Juha

    This can be caused by a recent Flash 11.3 update.
    See:
    *https://support.mozilla.org/kb/flash-113-doesnt-load-video-firefox

  • Error occurred when uploading file (unknown file format) in t.code SFP

    Hi,
    According to SAP Note 1465628 - ESI Limit increased and length of temp. ESI no increased, when we are doing Step 4. PDF form changes (valid for ECC 6.0 and above)....and point (i)...in transaction SFP (From - HR_IN_ESI_005_99), system shows the below message.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Plz guide..

    Hi Anil,
    Refer following links :
    Re: Adobe Form assignment
    Adobe Uploading form error unknown file forma
    Hope this will help.
    Regards,
    Vivek

  • UGH!!! "An error occured when publishing file..." again & again & again!

    I used to have iWeb working just fine. Somewhere, it was either an iWeb update or an OS, I don't know. But ever since, I am unable to publish anything using this application. What the heck happened? Leaving the previous (busted) site alone, I even started from scratch - different theme and all. Still, same result. I get any various file creating a bogus vague error message.
    Is anyone else having this issue - any given file creating an error message "An error occured when publishing file...."?
    FYI:
    I can publish to a local folder with no problem. As a workaround, can I then place that 'site' folder on MobileMe? (Basically doing it manually) Possible?
    Please can anyone help?

    powermixx wrote:
    "An error occured when publishing file...."?
    That error is mentioned in this Apple doc:
    MobileMe: Troubleshooting iWeb publishing issues
    ...Such support docs can be found by searching here:
    http://support.apple.com/kb/index?page=search
    And +"A lot of problems can be solved simply by..."+ Read more in the "Fix iWeb" section here:
    http://www.iwebformusicians.com/WebMusic/iWebTips.html
    If still no luck, MobileMe live chat support is now 24/7 — see this announcement. Other Apple support options are here.

  • "There has been a network or file permission error. The network connection may have been lost

    Hi,
    While trying to save an Excel or (less frequently) Word document, employees at my company have been seeing the error, "There has been a network or
    file permission error. The network connection may have been lost."  This is more common when they are connected through the VPN, but it also occurs locally.
    The employees all have Win 7 Pro laptops and the file server is Win Server 2008 R2.  I have found suggestions that a Windows update is the cause, but the articles on that all limit it to Server 2003.  Others have suggested setting the program to
    save a local copy of remote files; however, while the setting exists in Word, it does not exist in Excel.
    If anybody has any advice, it would be greatly appreciated.
    Thank you

    This is a known issue, might try the workaround is a better chooses .
    http://support.microsoft.com/kb/291156
    KR

  • An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error

    I get the message “Server not responding” whenever trying to add files to my web site via DW. The following message appears: "An FTP error occurred - cannot put [file name.htm]. Dreamweaver encountered an internal data error. Please try the operation again." 
    I called the hosting service provider, and they said they were able to upload a 20 mb document with no problem. I was also able to upload a document using Filezilla.
    Therefore, the problem must be with DW.
    When I go to Manage Sites and choose my site and get to the Test Connection button, the test is successful, which further confuses the issue.
    Any guidance would be greatly appreciated. 

    Does this help?
    http://forums.adobe.com/thread/861606
    Also check the log:
    http://forums.adobe.com/thread/937231
    It is possible it is a host issue but because they use a higher level account to test that they do not see the error.

  • An error occurs that firmware file is corrupt while updating my iphone4 software.what does it mean and how it can be minimized.? plz help

    an error occurs that firmware file is corrupt while updating my iphone4 software.what does it mean and how it can be minimized.? plz help

    https://discussions.apple.com/message/6028012#6028012
    https://discussions.apple.com/message/7909876#7909876

Maybe you are looking for

  • 64-bit vs 32-bit installation

    Hi, I have developed .NET application on 32-bit system with Oracle 10g and works very well. When I have deployed the application on the Client server I am getting the following error "Attempt to load Oracle Cleint libraries threw BandImageFormatExcep

  • Plz help!  superdrive no longer burning DVD's...

    Can't figure this out, but I've been burning DVD's successfully since I got the iMac Core Duo, but recently it's failing on every attempt using Toast 7.1 (the latest universal binary). I've contacted Roxio and they indicate that the particular error

  • How to secure the password to the keystore

    Dear Venerable Sirs, I implemented a few PKI solutions to integrate high profile vendors successfully. Still, there is one sticky point with which I am not quite comfortable. My concern is: How do I secure the password to the keystore? Currently, I a

  • When I delete a File on my Mac is it kept on TM?

    I'm brand new to TM and currently performing my first backups of an iMac and Macbook Pro. I've read everything I can find but I still don't understand one simple concept: If I delete anything on my computer is it removed from previous backups or stil

  • TestStand UI ExecutionV​iew Manager control take no effect when connect ConnectNum​eric to a status panes (C++ using MFC)

    Hello I want to create a simple operator UI for TestStand using C++ with MFC, and i would like to show the execution progress percent in a statusbar. Following the TestStand help and reference manual, do it like, mExecutionViewMgr->ConnectNumeric(pan