Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application does not start from network folder
Message
From
04/08/2008 06:17:41
 
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows XP
Miscellaneous
Thread ID:
01335198
Message ID:
01336209
Views:
13
>I don't think you can trust *, you need to trust a specific executable and it need to be strongly signed.

According to

http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx

this line should work: it is possible to trust whole share.

> Try to trust your intranet for the test.

How to trust intranet for .NET code?

>It would also help to know exactly what exception you get.

Vista only shows MyApp.exe stops working.

How to get more information about exception occured ?

Andrus.

>
>>>You need to adjust the security settings to allow an application to run from a network share. see http://home.hot.rr.com/graye/Articles/CodeAccessSecurity.htm
>>
>>I ran with adminstrator rights in Vista
>>
>>CasPol.exe -m -ag 1.2 -url file://z:/myapp/* FullTrust
>>
>>
>>C:\...crosoft.NET\Framework\v2.0.50727>g 1.2 -url file://z:/myapp/* FullTrustMicrosoft (R) .NET Framework CasPol 2.0.50727.1434Copyright (c) Microsoft Corporation. All rights reserved.The operation you are performing will alter security policy.Are you sure you want to perform this operation? (yes/no)yAdded union code group with "-url" membership condition to the Machine level.Success
>>
>>
>>However
>>
>>z:\myapp\myapp.exe
>>
>>still shows immediately
>>
>>Myapp as stopped working
>>
>>
>>
>>
>>I have Visual C# Express 2008 Installed.
>>
>>I found "Windows SDK for Windows Server 2008 and .NET Framework 3.5" in
>>
>>http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en[^]
>>
>>I installed "SDK Tools" from this link but Control Panel does not show this utility.
>>
>>Installer created 2 directories, Directory of C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin
>>and also v6.0a containing files with same names.
>>
>>How to install this configurator ?
>>
>>Also I'm getting unamaged exception, not .NET unhandled exception dialog so something other must be wrong.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform