CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 5/10/2007 1:58:55 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 335 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"DonBrown199" <
NewsGroup User
Unable to write to output file 'blah.pdb': System Error &H80004005&5/10/2007 1:58:55 PM

0

I'm at a road block.  I'm writing a VS 2005 class library with a class that extends an APS.NET control.

When I do a 'Rebuild', I get a the following exact error message:
Unable to write to output file 'C:\Visual Studio 2005\Projects\CLICWebControls\obj\Debug\ClicWebControls.pdb': System Error &H80004005&

So far, I've:
- Did a Clean, first (the file doesn't exist), followed by a 'Rebuild' (the file exists after the Rebuild fails with the error).  Still nothing.
- ensured that the system service "Indexing Service" is not running (it's stopped and "manual")
- Rebooted the machine

Any ideas or suggestions would be greatly appreciated!

Humbly yours,

Don B

"ps2goat" <>
NewsGroup User
Re: Unable to write to output file 'blah.pdb': System Error &amp;H80004005&amp;5/10/2007 3:17:27 PM

0

Are you testing/debuggin your class when you try to rebuild?  I.e., if you have another project that has a reference to the location where this class is building itself ('C:\Visual Studio 2005\Projects\CLICWebControls\obj\Debug\'), and you run that project, then that project will put a lock on the pdb file.

To resolve this, you can a) add an 'existing item' (this class DLL) to the other project's bin folder instead of an updating reference, b) shut down the other project everytime you want to rebuild this class, or c) whenever you create a lock on the file that won't go away (the problem you mentioned), simply shut down the other project, navigate to where the pdb file is, and delete it.  This will allow the class to regenerate the pdb file.

I don't like option a very much because you have to re-add the DLL to the other project after every build. 

If this doesn't work, try creating a new project and porting all your code over to it.


---------------------------------------
MCP - Web Based Client Development .NET 2.0
"DonBrown199" <
NewsGroup User
Re: Unable to write to output file 'blah.pdb': System Error &H80004005&5/10/2007 5:08:47 PM

1

Are you testing/debuggin your class when you try to rebuild?  I.e., if you have another project that has a reference to the location where this class is building itself ('C:\Visual Studio 2005\Projects\CLICWebControls\obj\Debug\'), and you run that project, then that project will put a lock on the pdb file.

No, I can't test it because I can't build it.  It was the only Visual Studio project open at the time, so option A and B don't apply.
I didn't try option C, because "Clean" deleted the file for me.

 I started a new project, pulling in only what I needed (it was a very small project), and it works now. 

I don't know exactly what the problem was, not a fix, but this works for me.

 Thanks for the pointers ps2goat.

Don

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













looking for virtualpathprovider implementation to get master page

sitemap per user problem, sitemapprovider problems

get rid of triangle image on menu control

cant remove formating on hyperlink text

masterpage, findcontrol - access control (placeholder) on masterpage from masterpage

treeview - how to find the checked items

better css menu that supports postback?

forms processing

problem with masterpage

change master page control's value from a vb class in app_code

embed flash into master page

the name of a textbox when it is goes to the client when using master pages

user control data transfer

applying a skin to loginview control

enable/disable control on the masterpage with the user control

can you catch a .master compile error?

contentplaceholder in nested pages

finding control on masterpage

controlling access to treeview nodes based on permission level

scroll position to the center of the screen when user clicks the new button in a formview control in asp.net 2.0

responding to the check box being clicked in the treenode of the treeview control

circular file references are not allowed

treeview populated by a oracle database

multiple site maps error

treeview control. how would you do this...

colour theme

masterpage and themes problem working together

call a function in a master page from a content page

treeview looses focus

masterpage and user.identity

problem in treeview

how do i link two different sitemap with the use of menu control in one .aspx file to two different hyperlink in the master page?

membership.getuser returns null in loggedin event

css menu to bind to sitemapdatasource

masterpage.master.cs is missing

how to get node value on mouseover

select master page at run time

sitemapprovider and multiple sitemaps

wizard button

heme 'xxx' cannot be found in the application or global theme directories. iis

how to remove a meta tag

put skins on a centrarl location for all projects?

javascript not executing when i include a masterpage

menu

multilanguages with menu control

page title

masterpages and findcontrol issue

how/were to add meta tag in child page

menu not in correct positon (site.map)

sitemap show 3 x secondary level pages rather than 1 x home page

   
  Privacy | Contact Us
All Times Are GMT