.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 23rd, 2004, 05:06 AM
david.imm david.imm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 david.imm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Compilation error stdole.dll: access denied

Hello Gents,

I am trying to deploy my DOTNET application on a new web server. When I run it, it raises the following error:

[Unable to load referenced library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files\myapplication\58c5f523\fbd65c60\assembly\dl2 \9b1179e3\00d53c54_1118c401\stdole.dll': Access is denied]

while all other dll are loaded without running into error.

Does anyone know how to fix that ?

Thank you for your kindness,
David

Reply With Quote
  #2  
Old September 13th, 2004, 11:32 AM
david.imm david.imm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 david.imm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Fixed

Indeed, it looks like a IIS/VS 2003 Debug engine problem. In such a case,

first try to clear all files in the directory:
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files'.
or
Stop and restard IIS
or
Use VStudio 2003 to unbind the reference to the "Access denied" assembly and rebind it.
or
Smoke H, eat fat and drink stark until the end of the day, tomorrow beats today...

Reply With Quote
  #3  
Old October 20th, 2004, 11:00 AM
AndyH AndyH is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 AndyH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: Compilation error stdole.dll: access denied

Hi,

I have come across this error before and it is related to Microsoft Index Server. If you have index server installed on your server and you do not set it to exclude your .net temporaryfiles from it's scanning then the above error can occour. This is because index server puts a lock on the dll files while it is scanning them and so they cannot be accessed by your program.

See the Microsoft Knowlege Base article on this here: http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

I hope this helps
Andy

Reply With Quote
  #4  
Old October 26th, 2004, 11:46 AM
david.imm david.imm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 david.imm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you Andy, the problem was fixed but your explanation will be certainly useful for someone, somewhere.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Compilation error stdole.dll: access denied


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT