473,466 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with .NET Security Settings

Hello,

I have a problem with security-settings in a .NET Application.

The application has a strong name and is full trusted ("Trust an
assembly" - Full Trust),
..NET Security is set "Local Intranet - medium trust".

The application ist installed on a network-drive.

Working-Directory and Configuration-Files are also on different
network-shares.

The application uses intensively XSLT and XML.

The following XSL-Transformation-process fails (without errors !):

Base-Document XML X is stored on network-folder A.

Transformation-Stylesheet XSL Z is stored on Networkfolder B

Additional datas comes from Lookupfiles XML A and XML B.
There is a special Stylesheet XSL A for deriving of values from XML A,
and special Stylesheet XSL B for deriving of values from XML B.
Both XSL A and XSL B will be imported from Stylesheet XSL Z.

The stylesheet XSL Z gets also 2 Parameter (Path and File of additional

XML A and XML B).
The Path and name of these XML-Files will be stored in variables for
further use in the imported Stylesheets XSL A and XSL B.
The imported stylesheets are in the same folder like Stylesheet Z.

XML A and XML B are stored in Network-Directory A.

If the transformation runs, the deriving of values in XSL B fails.
No values will be found in XML B.

If I set the .NET-Security to "Local Intranet" - Full Trust,
the transformation works fine.

After spending some time for error-detecting and reading documentation,

I wrote
a little Test-Application only with the functionality, desribed above.

I installed this on a Network-Folder and put all Stylesheets and XML on

a subfolder under the installation Folder.

It works fine !!!

But if I move the stylesheet XSL Z to a other Networkfolder (origin
Network-Folder B) - it fails.

If I set the "Local Intranet" to "Full trust" - it works fine !!

It seems, that it works only, if all XML and XSLT are located in one
folder.
(XSL Z , XSL A and XSL B must be in one folder, but the LookUp-XML are
normally in a other folder).
If I set to "Local Intranet - Full Trust" it works also, if XML A and
B are in a other folder.

If you have any ideas or hints - many, many thanks for your feedback.

many thanks
Thomas

Jan 23 '06 #1
0 1192

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

Similar topics

12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
2
by: rawCoder | last post by:
Hi, I have a case where my application built in Visual STudio .NET 2003 and ASP.NET ( VB/C# ) is installed on IIS 6.0, windows server 2003. Problem is that when I reach the site( using IE)...
5
by: Robbert van Geldrop | last post by:
Hello, I have a problem consuming a WebService which appears to be dependent of the type of network I am on: The following SOAP response is not processed when I am connected over the internet...
2
by: Jeff | last post by:
Hey asp.net 2.0 My asp.net 2.0 project has got a assembly load problem: Some of my web.config settings: <membership defaultProvider="AH_MembershipProvider" userIsOnlineTimeWindow="15">
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
3
by: Jeff | last post by:
ASP.NET 2.0 These settings below (see PROBLEM SETTINGS) are causing my webproject to NOT connect with ASPNETDB.MDF. In this webproject have I created 3 users. I can see 3 users in the "ASP.NET...
0
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the...
3
by: Harry Strybos | last post by:
Hi All I have a really strange problem occurring in my application. When I read in the application settings for connection strings the following happens: Here are my connection string settings...
2
by: Sarahbelle | last post by:
New user here... I'm a mac user trying to help out a friend with Win XP. Everytime that I change the Custom Security Level Settings in his Internet Connections, they keep returning to the...
5
by: =?Utf-8?B?cnZhbmdlbGRyb3A=?= | last post by:
Hello, I have a problem with our OnlineBackupService.exe. This is a Windows Service which is built in .Net 1.1 and basically grabs files from the file system and will try to upload them using...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.