Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: reading attributes in AssemblyInfo.cs Pin
zuhx8-Aug-03 11:25
zuhx8-Aug-03 11:25 
Generalexplode string Pin
mikemilano8-Aug-03 6:51
mikemilano8-Aug-03 6:51 
GeneralRe: explode string Pin
Radoslav Bielik8-Aug-03 7:34
Radoslav Bielik8-Aug-03 7:34 
GeneralRe: explode string Pin
mikemilano8-Aug-03 11:44
mikemilano8-Aug-03 11:44 
GeneralRe: explode string Pin
Csharp™8-Aug-03 12:43
Csharp™8-Aug-03 12:43 
GeneralRe: explode string Pin
Radoslav Bielik8-Aug-03 12:45
Radoslav Bielik8-Aug-03 12:45 
GeneralRe: explode string Pin
mikemilano8-Aug-03 13:16
mikemilano8-Aug-03 13:16 
General.NET application permissions Pin
Radoslav Bielik8-Aug-03 6:48
Radoslav Bielik8-Aug-03 6:48 
Hi,

I have built a simple applicaton that accesses an XML file located on a remote web server using the XmlTextReader class. The application works flawlessly on all my machines, but throws the following exception when ran on my friend's PC (this is the Message property of the Exception):
Request for the permission of type System.Net.WebPermission, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.


I've been looking for differences between our machines and I've found that when I run the Microsoft .NET Framework 1.1 Configuration from Administrative Tools, and select the "Evaluate Assembly" from the "Runtime Security Policy" node, on my machine the list contains only one item - Unrestricted, whilst on my friends machine it contains a longer list which does not contain "Web access" permission. I guess that this is the reason of the application's inability to access the resource (the remote XML file). I guess his OS is Windows XP, I am using Windows 2000.

And here I am stuck. I didn't find a way how to configure application/assembly permissions using the .NET Framework Configuration on my machine (I was trying to remove the "Web access" permission for this application on my PC) and also I don't know how to add the "Web access" permission on my friend's PC.

Does anyone have a clue how this can be achieved? Thanks a lot in advance.


Rado
GeneralRe: .NET application permissions Pin
Lasse Johansen8-Aug-03 12:12
Lasse Johansen8-Aug-03 12:12 
QuestionCan any solve this????? Pin
Regardt8-Aug-03 3:39
Regardt8-Aug-03 3:39 
AnswerRe: Can any solve this????? Pin
Not Active8-Aug-03 5:10
mentorNot Active8-Aug-03 5:10 
AnswerRe: Can any solve this????? Pin
Ista8-Aug-03 6:10
Ista8-Aug-03 6:10 
AnswerRe: Can any solve this????? Pin
Ista9-Aug-03 12:18
Ista9-Aug-03 12:18 
Generaldetecting current line in a RichTextBox Pin
.gonad8-Aug-03 3:11
.gonad8-Aug-03 3:11 
GeneralRe: detecting current line in a RichTextBox Pin
Ista8-Aug-03 19:13
Ista8-Aug-03 19:13 
GeneralRe: detecting current line in a RichTextBox Pin
.gonad9-Aug-03 2:06
.gonad9-Aug-03 2:06 
GeneralRe: detecting current line in a RichTextBox Pin
Ista9-Aug-03 5:06
Ista9-Aug-03 5:06 
GeneralWinForms Plot Pin
Ikke8-Aug-03 1:51
Ikke8-Aug-03 1:51 
GeneralRe: WinForms Plot Pin
Ista8-Aug-03 6:19
Ista8-Aug-03 6:19 
GeneralRe: WinForms Plot Pin
Ikke8-Aug-03 6:50
Ikke8-Aug-03 6:50 
GeneralRe: WinForms Plot Pin
Ista8-Aug-03 9:32
Ista8-Aug-03 9:32 
Generalversioning problem Pin
devvvy7-Aug-03 22:57
devvvy7-Aug-03 22:57 
GeneralThread doesn't start with VS .NET 2003 Pin
MeisterBiber7-Aug-03 21:52
MeisterBiber7-Aug-03 21:52 
GeneralRe: Thread doesn't start with VS .NET 2003 Pin
Rein Hillmann8-Aug-03 5:38
Rein Hillmann8-Aug-03 5:38 
GeneralMulti-Threaded Programming Pin
monrobot137-Aug-03 17:12
monrobot137-Aug-03 17:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.