473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access Denied ... <add assembly="*">

I installed a control that i got rid of. Now when i try and run another
project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not
look for that control anymore? Please help!
Nov 18 '05 #1
7 3368
I had one of those the other day and it was really annoying. You may have
to reboot.

The first thing to try is from the Run box:

net stop iisadmin /y

iisreset

In my case, it took a reboot. I wish I could produce a repro scenario for MS
'cause it is dangerous to have a DLL go bad and lock up like that on a
production machine. I didn't think it was supposed to happen at all in .NET.

Ken

"Randy Paez" <ra********@concentra.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
I installed a control that i got rid of. Now when i try and run another
project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not
look for that control anymore? Please help!

Nov 18 '05 #2
Thanks for your reply.

I agree, seeing something like makes me wary of getting to fancy with the
still relatively young ASP.NET. Soon after i wrote my message i fixed my
problem: .Net keeps referenced DLLs and contros in the applications bin
directory. If you remove the DLL/control from the references, .NET does not
remove it from that directory. My problem went away once i removed the DLL
from which i was receiving the Access Violation. Knowing that, the highlited
line in the machine.config made sense: <add assembly="*"> is telling .NET
to bind all the reference assemblies in the bin directory. I still don't
know why i got an Access Violation to that DLL, but i can worry about that
later.

Think this makes any sense? Does MS read these newsgroups? Think I should
send this to them?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:Oa**************@tk2msftngp13.phx.gbl...
I had one of those the other day and it was really annoying. You may have
to reboot.

The first thing to try is from the Run box:

net stop iisadmin /y

iisreset

In my case, it took a reboot. I wish I could produce a repro scenario for MS 'cause it is dangerous to have a DLL go bad and lock up like that on a
production machine. I didn't think it was supposed to happen at all in ..NET.
Ken

"Randy Paez" <ra********@concentra.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
I installed a control that i got rid of. Now when i try and run another
project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not
look for that control anymore? Please help!


Nov 18 '05 #3
Hi Randy,

This is a problem that has plauged many-a-developers. It has something to do
with Index services or antivirus software locking a file, or something like
that. While I haven't been able to fix it myself, a simple "Rebuild
Solution" does.

Alex Papadimoulis

"Randy Paez" <ra********@concentra.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
I installed a control that i got rid of. Now when i try and run another
project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not
look for that control anymore? Please help!

Nov 18 '05 #4
Hi Randy,
Think this makes any sense? Does MS read these newsgroups? Think I should
send this to them?
Yes, I would send the whole issue to MS. If there are many reports, it will
move up in the queue for investigation:

http://register.microsoft.com/mswish/suggestion.asp

"Randy Paez" <ra********@concentra.com> wrote in message
news:eL**************@TK2MSFTNGP12.phx.gbl... Thanks for your reply.

I agree, seeing something like makes me wary of getting to fancy with the
still relatively young ASP.NET. Soon after i wrote my message i fixed my
problem: .Net keeps referenced DLLs and contros in the applications bin
directory. If you remove the DLL/control from the references, .NET does not remove it from that directory. My problem went away once i removed the DLL
from which i was receiving the Access Violation. Knowing that, the highlited line in the machine.config made sense: <add assembly="*"> is telling .NET
to bind all the reference assemblies in the bin directory. I still don't
know why i got an Access Violation to that DLL, but i can worry about that
later.

Think this makes any sense? Does MS read these newsgroups? Think I should
send this to them?

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:Oa**************@tk2msftngp13.phx.gbl...
I had one of those the other day and it was really annoying. You may have to reboot.

The first thing to try is from the Run box:

net stop iisadmin /y

iisreset

In my case, it took a reboot. I wish I could produce a repro scenario
for MS
'cause it is dangerous to have a DLL go bad and lock up like that on a
production machine. I didn't think it was supposed to happen at all in

.NET.

Ken

"Randy Paez" <ra********@concentra.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
I installed a control that i got rid of. Now when i try and run another project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not look for that control anymore? Please help!



Nov 18 '05 #6
On the box where I had the problem, we don't run Index server... or
anti-virus software. It still baffles me.
"Alex Papadimoulis" <alexp-at-halogenstudios.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Hi Randy,

This is a problem that has plauged many-a-developers. It has something to do with Index services or antivirus software locking a file, or something like that. While I haven't been able to fix it myself, a simple "Rebuild
Solution" does.

Alex Papadimoulis

"Randy Paez" <ra********@concentra.com> wrote in message
news:OU**************@TK2MSFTNGP11.phx.gbl...
I installed a control that i got rid of. Now when i try and run another
project i get an Access is Denied {to that control}. It highlites <add
assembly="*"> from the machine.config file. How can i get asp.net to not
look for that control anymore? Please help!


Nov 18 '05 #7
Hi Randy,

Firstly I want to think Ken and Alex for their great help in this issue.

Based on my research and experience, this problem is because that the
Temporary ASP.NET Files directory was locked, for example, one of the
Temporary ASP.NET Files directories on my box is
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\MyWebApp\6388c6b0\ce9860c7\assembly\dl2\ea01 f56c\244a7780_fab0c301.
here the "MyWebApp" denotes a web application on my box.

There are many reasons that cause the lock on a Temporary ASP.NET Files
directory, for example, the Index Server
(http://support.microsoft.com/default...b;en-us;329065 )

Please recycle the appropriate aspnet_wp.exe process and delete the
assembly under the appropriate Temporary ASP.NET Files directory.

I hope it helpls.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eric A. Forgy | last post by:
Hello, I am just learning Java and am trying to write a method that does something like //=========================================== public Static List find(double array,double val,String...
0
by: Tom Vogel | last post by:
This problem happens like every half our. I can build or rebuild a project and start the debugger just fine. But every now and then, a Confgiration Error, "Access is denied: 'myproject' is shown,...
0
by: DotNetJunkies User | last post by:
Hello all, Once in a while for no reason I receive the foll. error - Server Error in '/rainbow' Application : <add assembly="*"/> Its an ASP.NET application Can any one tell me the exact reason...
2
by: Laermans_k | last post by:
Hi, Does anyone have a solution to use the <input type="file" id="filechooser"> and the <input type="submit" id="submitbutton"> in 1 button click? I've already tried to create a javascript...
1
by: su | last post by:
Any tag available in asp.net that is same as <%@Assembly Src="XXX.cs" %> directive available in webservices to load the assembly from source code files ?
1
by: Michael Stock | last post by:
Hi all, hopefully someone can tell me how to do this for a web server in C#: We have images in a folder you can't access over the net. So everytime we need to display an image from this folder,...
2
by: franzhe | last post by:
Hi all, in a simple ASP.Net application with resources in satellite assemblies I have the following problem: If I set <identity impersonate="true"/>, accessing a culture specific resource...
7
by: Jim in Arizona | last post by:
Using this: <asp:ListItem Value="0"</asp:ListItem> as long as I have a value listed and leave the area between the tags blank, when viewed the DropDownList will show a 0 as a choice. I want it...
36
by: Roedy Green | last post by:
The only browser I have encountered that supports <colgroup><col class="behold"></colgroup> to apply a CSS style to a whole column, is Microsoft Internet Explorer. I have been told it SHOULD NOT...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.