Home All Groups Group Topic Archive Search About

VS 2008 compilation/running over a network

Author
26 Nov 2007 8:24 PM
Carlos Andrés Guaneme Lugo
Hello everyone!

We're trying to compile/run an application in Visual Studio 2008 for Windows
Vista Business. The code of the application is located in a network drive
and we're getting the following error:
Failed to queue test run 'user@machine 2007-11-26 11:56:57': Test Run
deployment issue: The location of the file or directory
'\\pb\development\projects\documentmanagement.tests\bin\debug\documentmanagement.tests.dll'
is not trusted.

We had the same problem in Visual Studio 2005 for Windows XP SP2 but we
solved it by setting the appropriate values in the .Net Framework
configuration utility(Intranet Zone ... Fulltrust). However, we have not
been able to find such an option for Windows Vista and the Framework 3.5.

Any help is greatly appreciated!

Sincerely,

Carlos Guaneme

Author
27 Nov 2007 3:50 AM
Jeff Jarrell
I don't have the VS2008, stuff but here is something we have been using. a
bat file that uses CasPol. Watch the wrapping the last line is
LocalIntranet_Zone FullTruse

----------------------------
@echo off
echo.
echo  Updates CodeAccessSecurity to FullTrust for IntraNetZone
echo.
pause
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -pp off
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -m -cg
LocalIntranet_Zone FullTrust
echo.



----------------------------




Show quote
"Carlos Andrés Guaneme Lugo" <carlos.guan***@programmeringsbolaget.se> wrote
in message news:uslVtsGMIHA.2064@TK2MSFTNGP06.phx.gbl...
> Hello everyone!
>
> We're trying to compile/run an application in Visual Studio 2008 for
> Windows
> Vista Business. The code of the application is located in a network drive
> and we're getting the following error:
> Failed to queue test run 'user@machine 2007-11-26 11:56:57': Test Run
> deployment issue: The location of the file or directory
> '\\pb\development\projects\documentmanagement.tests\bin\debug\documentmanagement.tests.dll'
> is not trusted.
>
> We had the same problem in Visual Studio 2005 for Windows XP SP2 but we
> solved it by setting the appropriate values in the .Net Framework
> configuration utility(Intranet Zone ... Fulltrust). However, we have not
> been able to find such an option for Windows Vista and the Framework 3.5.
>
> Any help is greatly appreciated!
>
> Sincerely,
>
> Carlos Guaneme
>
>
>
Author
27 Nov 2007 2:08 PM
Carlos Andrés Guaneme Lugo
Hi Jeff.

We read the help of the command you sent and adapted it to our environment
and it solved the problem.

Thanks a lot!!!

Show quote
"Jeff Jarrell" <jjarrel_NOSPAM@yahoo.com> wrote in message
news:eZBHtiKMIHA.4740@TK2MSFTNGP02.phx.gbl...
>I don't have the VS2008, stuff but here is something we have been using. a
>bat file that uses CasPol. Watch the wrapping the last line is
>LocalIntranet_Zone FullTruse
>
> ----------------------------
> @echo off
> echo.
> echo  Updates CodeAccessSecurity to FullTrust for IntraNetZone
> echo.
> pause
> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -pp off
> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -m -cg
> LocalIntranet_Zone FullTrust
> echo.
>
>
>
> ----------------------------
>
>
>
>
> "Carlos Andrés Guaneme Lugo" <carlos.guan***@programmeringsbolaget.se>
> wrote in message news:uslVtsGMIHA.2064@TK2MSFTNGP06.phx.gbl...
>> Hello everyone!
>>
>> We're trying to compile/run an application in Visual Studio 2008 for
>> Windows
>> Vista Business. The code of the application is located in a network drive
>> and we're getting the following error:
>> Failed to queue test run 'user@machine 2007-11-26 11:56:57': Test Run
>> deployment issue: The location of the file or directory
>> '\\pb\development\projects\documentmanagement.tests\bin\debug\documentmanagement.tests.dll'
>> is not trusted.
>>
>> We had the same problem in Visual Studio 2005 for Windows XP SP2 but we
>> solved it by setting the appropriate values in the .Net Framework
>> configuration utility(Intranet Zone ... Fulltrust). However, we have not
>> been able to find such an option for Windows Vista and the Framework 3.5.
>>
>> Any help is greatly appreciated!
>>
>> Sincerely,
>>
>> Carlos Guaneme
>>
>>
>>
>
>

AddThis Social Bookmark Button