Last post Aug 28, 2007 09:08 PM by Benson Yu - MSFT
Aug 23, 2007 02:25 AM|ChingB|LINK
I want to write a VB.net page to display an embedded video. When I search the sample codes from web I find a solution using a web custom control.
Step 1: I've followed the coding and created a solution/project, created a web control library (WebControlLibrary1), created a class (WebVideo.vb)
Step 2: Compiled the library into WebControlLibrary1.DLL
Step 3: Open the Web Project which intend to use this control. Right click the Toolbox and add Items. Select the WebControlLibrary1.DLL. Below error is shown
Can anyone tell me what's wrong to my project setting?
Embed Video in .net page
Web Custom Control
Aug 24, 2007 12:39 PM|Mikhail Arkhipov (MSFT)|LINK
Does Y: drive point to a network share by any chance? Network shares are not considered trusted and hence accembly will fail to load. This can be changed in .NET security policy (CASPol.exe).
Aug 26, 2007 09:53 PM|ChingB|LINK
Aug 28, 2007 09:08 PM|Benson Yu - MSFT|LINK
I've tried caspol/? to check the details but no idea on which parameter I should use. Can you give more details or sample commands?
Please refer to the following link:
Using CasPol to Fully Trust a Share