473,698 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

project location is not fully trusted by the .NET runtime

Hello all,

I'm working with the DotNetNuke project, and am getting the above error when
trying to open it in Visual Studio 2003. The Zip file was extracted to a
local hard drive - other than C: in a folder called E:/PortalClient. I have
the web site built, and it runs fine on the local host. The application in
IIS is called NFBCPortal. I've been trying to solve it for some time - here
is what I've done:

Changed the .sln file URL to http://localhost/NFBCPortal/DotNetNuke.vbproj

Changed the DotNetNuke.vbpr oj.webinfo like so:

<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/NFBCPortal/DotNetNuke.vbpr oj" />
</VisualStudioUNC Web>

Tried to give permission to the solution by going to Control Panel,
Administrative
Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runt ime
Security Policy\Machine\ Code Groups\All_Code \LocalIntranet_ Zone, right-click
New... and create a zone, give a name, select
URL type for the code group and type as URL, giving URL of
file://MyServer/NFBCPortal/*

also tried file://Mserver/NFBCPortal/E:/PortalClient/* as directed by a post
in this forum - turned out to be invalid.

Posted and searched the DNN forum - no help.

Started from scratch by right clicking on the DNN zip file, properties, and
clicking on Unblock. I then created another sub folder called Test in
PortalClient, made the URL changes in the two files, and opened the project
successfully in VS 2003 without getting the not trusted warning.

As I said before, The web site has been completed, and I really don't want
to start from scratch. Unblocking the zip file did the trick when starting
fresh with the test folder - there should be a way to give trust to the
location the project is in.

BTW, I'm using XP professional, SP2, VS2003 SQL server 2000. My project is
not in Visual Source Safe - this is not even installed.

Can anyone help me out?

Thanks
--
Brian Williams
Nov 19 '05 #1
3 3473
You can remove the problem by unblocking the individual files previously
extracted from the original zip file. If there are too many files to do
this via the UI, a programmatic approach is possible. See
http://www.jameskovacs.com/blog/Perm...8-5f9efe2a79c7
for a relevant utility with source code.
"BWilliams" <BW*******@disc ussions.microso ft.com> wrote in message
news:90******** *************** ***********@mic rosoft.com...
Hello all,

I'm working with the DotNetNuke project, and am getting the above error
when
trying to open it in Visual Studio 2003. The Zip file was extracted to a
local hard drive - other than C: in a folder called E:/PortalClient. I
have
the web site built, and it runs fine on the local host. The application
in
IIS is called NFBCPortal. I've been trying to solve it for some time -
here
is what I've done:

Changed the .sln file URL to http://localhost/NFBCPortal/DotNetNuke.vbproj

Changed the DotNetNuke.vbpr oj.webinfo like so:

<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/NFBCPortal/DotNetNuke.vbpr oj" />
</VisualStudioUNC Web>

Tried to give permission to the solution by going to Control Panel,
Administrative
Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runt ime
Security Policy\Machine\ Code Groups\All_Code \LocalIntranet_ Zone,
right-click
New... and create a zone, give a name, select
URL type for the code group and type as URL, giving URL of
file://MyServer/NFBCPortal/*

also tried file://Mserver/NFBCPortal/E:/PortalClient/* as directed by a
post
in this forum - turned out to be invalid.

Posted and searched the DNN forum - no help.

Started from scratch by right clicking on the DNN zip file, properties,
and
clicking on Unblock. I then created another sub folder called Test in
PortalClient, made the URL changes in the two files, and opened the
project
successfully in VS 2003 without getting the not trusted warning.

As I said before, The web site has been completed, and I really don't want
to start from scratch. Unblocking the zip file did the trick when
starting
fresh with the test folder - there should be a way to give trust to the
location the project is in.

BTW, I'm using XP professional, SP2, VS2003 SQL server 2000. My project
is
not in Visual Source Safe - this is not even installed.

Can anyone help me out?

Thanks
--
Brian Williams

Nov 19 '05 #2
This sounds like the answer to my problem! I'll let you know - thank you!
--
Brian Williams
"Nicole Calinoiu" wrote:
You can remove the problem by unblocking the individual files previously
extracted from the original zip file. If there are too many files to do
this via the UI, a programmatic approach is possible. See
http://www.jameskovacs.com/blog/Perm...8-5f9efe2a79c7
for a relevant utility with source code.
"BWilliams" <BW*******@disc ussions.microso ft.com> wrote in message
news:90******** *************** ***********@mic rosoft.com...
Hello all,

I'm working with the DotNetNuke project, and am getting the above error
when
trying to open it in Visual Studio 2003. The Zip file was extracted to a
local hard drive - other than C: in a folder called E:/PortalClient. I
have
the web site built, and it runs fine on the local host. The application
in
IIS is called NFBCPortal. I've been trying to solve it for some time -
here
is what I've done:

Changed the .sln file URL to http://localhost/NFBCPortal/DotNetNuke.vbproj

Changed the DotNetNuke.vbpr oj.webinfo like so:

<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/NFBCPortal/DotNetNuke.vbpr oj" />
</VisualStudioUNC Web>

Tried to give permission to the solution by going to Control Panel,
Administrative
Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runt ime
Security Policy\Machine\ Code Groups\All_Code \LocalIntranet_ Zone,
right-click
New... and create a zone, give a name, select
URL type for the code group and type as URL, giving URL of
file://MyServer/NFBCPortal/*

also tried file://Mserver/NFBCPortal/E:/PortalClient/* as directed by a
post
in this forum - turned out to be invalid.

Posted and searched the DNN forum - no help.

Started from scratch by right clicking on the DNN zip file, properties,
and
clicking on Unblock. I then created another sub folder called Test in
PortalClient, made the URL changes in the two files, and opened the
project
successfully in VS 2003 without getting the not trusted warning.

As I said before, The web site has been completed, and I really don't want
to start from scratch. Unblocking the zip file did the trick when
starting
fresh with the test folder - there should be a way to give trust to the
location the project is in.

BTW, I'm using XP professional, SP2, VS2003 SQL server 2000. My project
is
not in Visual Source Safe - this is not even installed.

Can anyone help me out?

Thanks
--
Brian Williams


Nov 19 '05 #3
That did the trick!
--
Brian Williams
"BWilliams" wrote:
This sounds like the answer to my problem! I'll let you know - thank you!
--
Brian Williams
"Nicole Calinoiu" wrote:
You can remove the problem by unblocking the individual files previously
extracted from the original zip file. If there are too many files to do
this via the UI, a programmatic approach is possible. See
http://www.jameskovacs.com/blog/Perm...8-5f9efe2a79c7
for a relevant utility with source code.
"BWilliams" <BW*******@disc ussions.microso ft.com> wrote in message
news:90******** *************** ***********@mic rosoft.com...
Hello all,

I'm working with the DotNetNuke project, and am getting the above error
when
trying to open it in Visual Studio 2003. The Zip file was extracted to a
local hard drive - other than C: in a folder called E:/PortalClient. I
have
the web site built, and it runs fine on the local host. The application
in
IIS is called NFBCPortal. I've been trying to solve it for some time -
here
is what I've done:

Changed the .sln file URL to http://localhost/NFBCPortal/DotNetNuke.vbproj

Changed the DotNetNuke.vbpr oj.webinfo like so:

<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/NFBCPortal/DotNetNuke.vbpr oj" />
</VisualStudioUNC Web>

Tried to give permission to the solution by going to Control Panel,
Administrative
Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runt ime
Security Policy\Machine\ Code Groups\All_Code \LocalIntranet_ Zone,
right-click
New... and create a zone, give a name, select
URL type for the code group and type as URL, giving URL of
file://MyServer/NFBCPortal/*

also tried file://Mserver/NFBCPortal/E:/PortalClient/* as directed by a
post
in this forum - turned out to be invalid.

Posted and searched the DNN forum - no help.

Started from scratch by right clicking on the DNN zip file, properties,
and
clicking on Unblock. I then created another sub folder called Test in
PortalClient, made the URL changes in the two files, and opened the
project
successfully in VS 2003 without getting the not trusted warning.

As I said before, The web site has been completed, and I really don't want
to start from scratch. Unblocking the zip file did the trick when
starting
fresh with the test folder - there should be a way to give trust to the
location the project is in.

BTW, I'm using XP professional, SP2, VS2003 SQL server 2000. My project
is
not in Visual Source Safe - this is not even installed.

Can anyone help me out?

Thanks
--
Brian Williams


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2333
by: Chris Gilbert | last post by:
I spent nearly a day trying to fix this so this is a helper post as I'm sure this is a bug. I created a new solution containing two projects on a network share *before* I had set up full trust on the share. I did get a message explaining I would get problems which I ingored. When I went into the solution from then on I would get the above error and then various spurious security errors when I ran it. I checked the help file but that...
2
1201
by: mkomasi | last post by:
Hi, I have a VS.Net project that works correctly. When I open it from remote, a message will be appeared "The project location is not fully trusted by the ..NET runtime. This is usually because it is either a network share or mapped to a network share not on the local machine. If the output path is under the project location, your code will not execute as fully trusted and you may receive unexpected security exceptions." How can I...
0
1184
by: Eric Mamet | last post by:
I am getting this message when trying to open a VB Web Service running on my local C Drive... It started happening when I copied all my VB Solution (including the Web Service Project) from My laptop to a desktop. If I remove the project from the solution and re-add it from the Local Drive location, everything seems fine until I close .Net studio and try to reload the solution.
0
1054
by: George Durzi | last post by:
I'm attempting to pull down a VS .NET solution from VSS onto a new PC. The solution contains a web application and several class library projects. I get the "Project location is not fully trusted" error when VS.NET tries to load the web application. The application is not on a network share. I've used the .NET configuration module as suggested by numerous posting, but I still get that error. I have a local copy of the application...
1
265
by: Neil Robbins | last post by:
I am getting the following message when attempting to open a solution from another computer on my network: "The project location is not fully trusted by the .NET runtime. This is usually because it is either a network share or mapped to a network share not on the local machine. If the output path is under the project location, your code will not execute as fully trusted and you may recieve unexpected security exceptions." Could anyone...
4
2626
by: Quan | last post by:
I have a solution with several vb.net projects in it. I developed the code in one machine then copied all the files in the other machine to continue the development. The projects are on the local drivers (E driver on the first machine and C driver on the second). When I try to open the projects on the second machine, I got: The project location is not fully trusted by .net runtime. This is usually because it it either a network share or...
4
1940
by: Hardik Shah | last post by:
Hi, I have a project, that requires to be developed through more than one computer. Is there any hints/articles for multiple user development. (The main PC for development is Win Server 2003, and others are Win XP) When I open the project on other machine following message I found, The project location is not fully trusted by the .net run time. This is usally because it is either a network share or mapped to network
9
2889
by: gzinger | last post by:
I have an assembly with some internal methods that I have to access from my web service. I learned that I can use “InternalsVisibleTo” to enable such access. Since I have control over both the class library project (with the internal stuff) and the web project it seems that the scenario is possible. However, the problem seems to be with the web service project being a web project. I followed all possible documentation and postings to...
2
1892
by: JohnGoogle | last post by:
Hi, This is a novists question so please bear with me! I downloaded a test C# project from 'The Code Project' internet site. Unzipped the project to my local folder 'C:\Test'. When I open the project (SingleInstanceApp.csproj file) from within Visual C# I get the following error dialog: The project location is not trusted.
0
8672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8860
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3038
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.