I'm receiving the error message shown below when I try to load an aspx file
(C# web application) on our server. The web application works fine if I
remove the reference to the dll so I know the application and IIS are both
ok. I ran depends on the dll and all referenced dlls are either in system32
or in the bin directory of the web application. I suspect it is some kind of
security issue.
Any help will be greatly appreciated.
Jon Lea
Parser Error Message: File or assembly name LeapSoft.Engr.Utils, or one of
its dependencies, was not found.
=== Pre-bind state information ===
LOG: DisplayName = LeapSoft.Engr.Utils
(Partial)
LOG: Appbase = file:///E:/Pub/JL/TestWebApplication1
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: LeapSoft.Engr.Utils
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils/LeapSoft.Engr.Uti
ls.DLL.
LOG: Attempting download of new URL
file:///E:/Pub/JL/TestWebApplication1/bin/LeapSoft.Engr.Utils.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: LeapSoft.Engr.Utils, Version=1.0.1733.19648,
Culture=neutral, PublicKeyToken=null 3 1947
The error you are getting is a code access security exception. This means the
assembly you are working with (your project) cannot access the other assembly
or the other assembly cannot access some software it needs to work.
You can edit the machine.config to open security policy (there is also a
tool for this). Better yet, you can adjust the security for your particular
project (noting that an executable that is distributed to clients needs to
have the same security).
For your global assemblies, you can put them in the Global Assembly cache
and erase most exceptions. Most likely the issue is the assemblies in
System32.
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"jlea" wrote: I'm receiving the error message shown below when I try to load an aspx file (C# web application) on our server. The web application works fine if I remove the reference to the dll so I know the application and IIS are both ok. I ran depends on the dll and all referenced dlls are either in system32 or in the bin directory of the web application. I suspect it is some kind of security issue.
Any help will be greatly appreciated.
Jon Lea
Parser Error Message: File or assembly name LeapSoft.Engr.Utils, or one of its dependencies, was not found.
=== Pre-bind state information === LOG: DisplayName = LeapSoft.Engr.Utils (Partial) LOG: Appbase = file:///E:/Pub/JL/TestWebApplication1 LOG: Initial PrivatePath = bin Calling assembly : (Unknown). ===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils/LeapSoft.Engr.Uti ls.DLL. LOG: Attempting download of new URL file:///E:/Pub/JL/TestWebApplication1/bin/LeapSoft.Engr.Utils.DLL. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils, Version=1.0.1733.19648, Culture=neutral, PublicKeyToken=null
Thanks for the good info. Where in the .NET IDE or IIS do I adjust the
security for the project? Jon.
"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote
in message news:1B**********************************@microsof t.com... The error you are getting is a code access security exception. This means
the assembly you are working with (your project) cannot access the other
assembly or the other assembly cannot access some software it needs to work.
You can edit the machine.config to open security policy (there is also a tool for this). Better yet, you can adjust the security for your
particular project (noting that an executable that is distributed to clients needs to have the same security).
For your global assemblies, you can put them in the Global Assembly cache and erase most exceptions. Most likely the issue is the assemblies in System32.
---
Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA
*************************** Think Outside the Box! ***************************
"jlea" wrote:
I'm receiving the error message shown below when I try to load an aspx
file (C# web application) on our server. The web application works fine if I remove the reference to the dll so I know the application and IIS are
both ok. I ran depends on the dll and all referenced dlls are either in
system32 or in the bin directory of the web application. I suspect it is some
kind of security issue.
Any help will be greatly appreciated.
Jon Lea
Parser Error Message: File or assembly name LeapSoft.Engr.Utils, or one
of its dependencies, was not found.
=== Pre-bind state information === LOG: DisplayName = LeapSoft.Engr.Utils (Partial) LOG: Appbase = file:///E:/Pub/JL/TestWebApplication1 LOG: Initial PrivatePath = bin Calling assembly : (Unknown). ===
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils/LeapSoft.Engr.Uti ls.DLL. LOG: Attempting download of new URL file:///E:/Pub/JL/TestWebApplication1/bin/LeapSoft.Engr.Utils.DLL. LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils, Version=1.0.1733.19648, Culture=neutral, PublicKeyToken=null
I forgot to mention that the server is Win2000. When I run the same web
application from an NT machine (using IE) to my XP-Pro machine (running IIS)
within the intranet, all is good.
"jlea" <jo*@leapsoft.com> wrote in message
news:uq****************@tk2msftngp13.phx.gbl... Thanks for the good info. Where in the .NET IDE or IIS do I adjust the security for the project? Jon.
"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM>
wrote in message news:1B**********************************@microsof t.com... The error you are getting is a code access security exception. This
means the assembly you are working with (your project) cannot access the other assembly or the other assembly cannot access some software it needs to work.
You can edit the machine.config to open security policy (there is also a tool for this). Better yet, you can adjust the security for your particular project (noting that an executable that is distributed to clients needs
to have the same security).
For your global assemblies, you can put them in the Global Assembly
cache and erase most exceptions. Most likely the issue is the assemblies in System32.
---
Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA
*************************** Think Outside the Box! ***************************
"jlea" wrote:
I'm receiving the error message shown below when I try to load an aspx file (C# web application) on our server. The web application works fine if
I remove the reference to the dll so I know the application and IIS are both ok. I ran depends on the dll and all referenced dlls are either in system32 or in the bin directory of the web application. I suspect it is some kind of security issue.
Any help will be greatly appreciated.
Jon Lea
Parser Error Message: File or assembly name LeapSoft.Engr.Utils, or on
e of its dependencies, was not found.
=== Pre-bind state information === LOG: DisplayName = LeapSoft.Engr.Utils (Partial) LOG: Appbase = file:///E:/Pub/JL/TestWebApplication1 LOG: Initial PrivatePath = bin Calling assembly : (Unknown). ===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jltestwebsite1/3b1b703f/74d67837/LeapSoft.Engr.Utils/LeapSoft.Engr.Uti ls.DLL. LOG: Attempting download of new URL file:///E:/Pub/JL/TestWebApplication1/bin/LeapSoft.Engr.Utils.DLL. LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind). LOG: Post-policy reference: LeapSoft.Engr.Utils,
Version=1.0.1733.19648, Culture=neutral, PublicKeyToken=null
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: karunakar |
last post by:
Hi All
I am not able to read the class name I want read the particular class name
string path =
System.Configuration.ConfigurationSettings.AppSettings;
string className = path + ".User";...
|
by: Michael Břcker-Larsen |
last post by:
Hi
I'v been stuck on this problem for ages now. I have found that I'm not
the only one with this problem, by looking through the different
newsgroups.
Hope you can help me! I know there is a...
|
by: aallee83 |
last post by:
i'm new in asp.net after develop my solution i copied it on the server
where I want it to run but something cares... WHAT?!?!
thank you in advance
File or assembly name System, or one of its...
|
by: Martinh |
last post by:
Hi
After invoking RetrieveData in a WebService I recieve the following
response in a new window...
I am running Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573 ...
|
by: Olav Tollefsen |
last post by:
I get the included error message when trying to run my ASP.NET application
under Windows Server 2003 (with all updates installed).
How can I troubleshoot this?
Olav
File or assembly name...
|
by: Federico Hernández Arce |
last post by:
Hi group, first sorry for my poor english
We have a vb.net app, run whit any problem in our pcs (whit vs.net 2003
installed).
The app have a ocx that draw a binary tree (the only external...
|
by: Tiraman |
last post by:
Hi,
i have some problem to run my dll's (assemblies) on the production server.
I have 3 dll's which use each other.
Every thing is ok on my local machine where i developed them
but when i...
|
by: Andrew Jocelyn |
last post by:
Hi
I get this error when I change something in the web.config file. When I
build the VS projects and load the first web page the application runs fine.
If I then make a save the web.config file...
|
by: James |
last post by:
Hi guys
Do you ever get the exception in Managed C++? How can I know which file or
dll is missed?
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| | |