I am trying NDoc 1.2.1.x but when I execute it on, one of my projects then I
get this error: Exception: System.Security .SecurityExcept ion Request for the permission of type
System.Security .Permissions.St rongNameIdentit yPermission, mscorlib,
Version=1.0.500 0.0, >Culture=neutra l, PublicKeyToken= b77a5c561934e08 9
failed.
I guess that it is because a lot of classes have these attributes hooked to
the classes, and since NDoc have not been signed with the private key, it
cannot load the assembly to analyze. I use this below on my classes to
protect form 3rd party use.
[StrongNameIdent ityPermission(S ecurityAction.I nheritanceDeman d,PublicKey="0
024...")][StrongNameIdent ityPermission(S ecurityAction.L inkDemand,Publi cKey="0024..."
)]public class STLFile { ... }
Can NDoc somewhere be instructed to use the private key?
-- http://www.skyscan.be 0 939 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James B |
last post by:
OMA (Outlook Mobile Access) under Exchange is giving me a
System.Security.SecurityException error. From what I gather this is a
problem with the security level under which the OMA application is trying to
run. Anyone got some ideas on where I can start in getting this worked out?.
Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required...
|
by: Diego F. |
last post by:
I think I'll never come across that error. It happens when running code from
a DLL that tries to write to disk. I added permissions in the project
folder, the wwwroot and in IIS to NETWORK_SERVICE and Everyone, with Full
Control to see if it's a permissions problem.
The project is hosted in a Windows 2003 Server and developed from PCs in a
domain, developing with Visual Studio 2005 Beta 1.
--
Regards,
|
by: Carl Gilbert |
last post by:
Hi
I am trying to get an online gallery to work (www.ngallery.org). I have
managed to get it all working on my local host but I can not get it to work
on my web space.
The site can be found at www.gallerox.com which should re-direct to
www.gallerox.com/gallerox/default.aspx
I have put the bin directory in the /gallerox folder as I have a re-director
|
by: CyberLotus |
last post by:
Hi,
I've created a web application and through this I want to import Excel data
to database.
Following is the code that I've written,
*******************************************************************
string fileLocation = txtboxFileName.Text.ToString();
string sheetName = "Import";
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data
|
by: Ankit Aneja |
last post by:
This is my problem. I am using Visual 2003, .Net framework 1.1 and the
Application Block
I configured the DAAB using the Enterprise Library Configuration
now this is the error which is coming
Security Exception
Description: The application attempted to perform an operation not allowed
| |
by: wenning |
last post by:
Hello,
I am struggling with a website on a W2K3 server which has the actual
content on a NAS server (also W2K3 based). The servers doesn't run in a
domain and arent intended to.
I did make the web space on the W2K3 IIS Server and pointed it to the
NAS server via an UNC path (no virtual directory).
When I place the content on the IIS, everything works fine, but when I
|
by: KaNos |
last post by:
Hello world,
I've made a webservice (c# v2) to install in a server IIS 6 on a Windows
2000 last SP. We can use the webservice in local, throw the pages wich
present the methods, with a windows mode connection (<authentication
mode="Windows"/>) if impersonate is false (<identity
impersonate="false"/>). Note that i use the administrator user to be
sure. But when I change impersonate element (<identity
impersonate="true"/>) a system...
|
by: alf |
last post by:
I have an app that was running in my local server using full trust, now I
moved it to hosting company wish run in Medium trust.
Then I get a Security exception (details below)
Then I configured my local server to run in Medium level, trying to catch
the problem in the app. The problem is that the behavior is random !!
sometime all pages run succesfully, but some time I get the exception in any
page.
I'm trying to find a way to debug the...
|
by: Mike |
last post by:
Hi
I have problem as folow:
Caught Exception: System.Configuration.ConfigurationErrorsException:
An error occurred loading a configuration file: Request for the
permission of type 'System.Security.Permissions.FileIOPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed. (machine.config) --->
System.Security.SecurityException: Request for the permission of type
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |