"Application has generated an exception that could not be handled", or
"Application has encountered a problem and needs to close".
Recently I was requested to make one application working from Network Drive.
When I tested this application, I’ve found that it requires a .NET Framework installed on the computer. But by default, Microsoft .NET Framework disallows running .NET applications from a network drive/share.
To make everybody "Happy", I was needed to do some Security Policy changes. To do that, I've used a Code Access Security Policy Tool (Caspol.exe). In my case Caspol.exe located into:
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\
So, now let see how we can use Caspol.exe. Let say our application located on SRV-F01 server. SRV-F01 server has a shared folder Apps. Everybody on the network has drive I:\ mapped to the \\SRV-F01\Apps. So, the "magic" command in this case should looks like:
"% WINDIR %\Microsoft.NET\Framework\v2.0.50727\caspol" -q -machine -addgroup 1 -url file://I:/* FullTrust -name "I Drive"
That it. Now everybody (who executed a Caspol.exe as previously mentioned) can run the "problematic" application from drive I:\ or directly from \\SRV-F01\Apps.
If you enjoyed this post consider subscribing via or Email
The ultimate answer must be... Thinapp!
ReplyDeleteGoogle it yourself... :)
Mikmak2000, you are right, Thinapp can could be a solution in many situations (personally i prefer App-V (former SoftGrid)) but sometimes we have no choice and we have to use original application and we can't use Thinapp, App-v (Softhgrid), Portable apps or any other solution like those.
ReplyDeleteBeautiful blog with nice informational content. This is a really interesting and informative post. Good job ! keep it up, hope to read your other updates. Treat your sims to a day of pampering with the sims 4 cheats spa day. Coming to interesting game on Xbox one
ReplyDeletegoyard bags
ReplyDeleteyeezy shoes
golden goose shoes
golden goose outlet
goyard bags
goyard tote
moncler jackets
goyard handbags
yeezy supply
golden goose sneakers
w2y69l5a19 y8s29o6l62 y6c92y1g75 l6v95k1v96 w5d96t3l71 w0o50h7l21
ReplyDelete