Solution | Unable to write output file ‘…pdb’; unspecified error

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

Your ads will be inserted here by

Easy Ads Lite.

Please go to the plugin admin page to paste your ad code.

Visual Studio 2005 / 2008

During this weekend, I started having a problem when building a solution in Visual Studio. It would load the following error:

Unable to write to output file Solution_Name.pdb

This Visual Studio solution has 8 projects, and a lot of files and folders. I tried several solutions that I found on the net, which worked for others, but none worked for my case including:

  • Delete the .pdb file from the solution – Didn’t Work
  • Delete the Debug folder – Still Didn’t work
  • Delete the whole obj Folder – Nothing
  • Cleaned the solution
  • Re-Build the solution
  • locate file, or folder, select them, right-click, and turn off the ‘Read only’ attribute – It wasn’t On
  • Reboot Machine (classic) – Still didn’t work

Your ads will be inserted here by

Easy Ads Lite.

Please go to the plugin admin page to paste your ad code.

Someone even recommended to create a new solution and copy and paste each file, but the system I’m working on is being used by other developers and it’s too big to copy and paste each file.

Then I found this post on asp.net forums, which had the same problems as I did, multiple projects and same error. You need to just remove the references of the files which are not in the solution (ie. the files with the warning sign).

When I rebuilt, everything worked again!! Thanks carol123!!

Your ads will be inserted here by

Easy Ads Lite.

Please go to the plugin admin page to paste your ad code.

3 Comments

  • This kind of problem isn’t in my dictionary anymore mate coz im using php :D hahaha

    • Heyy sabihh!! Haha no more .Net… boooo you make me puke!!! :) haha.. Kif sejjer xbin? Issa ibni blog ghal php ;) … filkas uza Project Nine u ghamel blog biha ;) b’xejn ta ghalik!

  • I had the same error message while trying to debug a classic asp project in VS2010.
    I used your advice and it solved the problem.
    thanks !

Leave a comment