Solved

ASP .NET Visual Studio Network Server Permissions Error

Posted on 2007-04-02
7
329 Views
Last Modified: 2008-01-09
ASP .NET: Visual Studio 2005 Generating Error:

"Error      1      Could not load file or assembly 'RichChart.RichChart, Version=1.0.128.0, Culture=neutral, PublicKeyToken=9de888868d1712bc' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)            
"

Note:
1) Visual Studio is running on an XP Workstation which logs onto a local Win 2003 Server (Workgroup setup) in the same network.
2) All aspx files, as well as Assembilies, are located on a 'Z' drive which is basically a mapped drive from the Server in the XP machine.
3) The Server has a Virtual Directory setup and there is no errors if I go through a browser like myserver.com/myvirtualdirectory/myfile.aspx
4) I have manually given all users, all Full Permissions (even to 'Everyone') on the BIN file for the Application.
5) Tweaking the Web.config file has not helped though there is something that can still be done.

It looks to me that Visual Studio is enable to meet some authentication criteria to launch pages.

Please help.
Thanks.

0
Comment
Question by:irfantak
  • 5
  • 2
7 Comments
 
LVL 2

Expert Comment

by:zlaty
ID: 18839487
did you make the virtual directory an application?
0
 

Author Comment

by:irfantak
ID: 18839512
Hmmm. I thought it automatically does otherwise I cannot access it by http://myserver.com/myvirtualdirectory where 'myvirtualdirectory' does not have to be in the root of the server.
So, yes, just double checked, it is Applcation in IIS and I can 'Remove' it in IIS, if needed.
Thanks.
0
 

Author Comment

by:irfantak
ID: 18840046
Hello! Anyone?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 2

Accepted Solution

by:
zlaty earned 500 total points
ID: 18841240
Not exactly sure on how everything is setup.
First make sure that the virtual directory is an application by
right clicking virtual directory and select properties
on virtual directory tab make sure application is not grayed out if so create application

Second is the folder that contains the source not actually on the server? Is it on the xp workstation if so take a look at this article on creating a code trust between the server and the workstation.
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q320268

Hope this helps
0
 

Author Comment

by:irfantak
ID: 18842969
Thank you again.
Yes, certainly, the application is not greyed out in IIS.

Also, the server hosts the source files. The XP machine has a local mapped drive (Z:\)  to the c:\inetpub\wwwroot folder and the mapped drive also 'reconnects' after I login to the XP workstation because there is a similar uid/pw account on both XP and server machines.

0
 

Author Comment

by:irfantak
ID: 18847688
Okay, it seems like:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102176

May have a solution. When I choose 'Custom Web Server' under Website-> Starup Option then I get the error of:
""Unable to start debugging on the web server. You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again."
"

Solving this should help me solve my problem using VStudio to launch remote/network server's applications?
Thanks.
0
 

Author Comment

by:irfantak
ID: 18892890
Well, I fixed the problem by following ScottGu's blog from the ASP.NET site. Basically, on the XP machine I changed some settings in the.NET framework to allow 'Full Trust' and then launched the remote application in VStudio's default web server.
Thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now