Solved

ASP .NET Visual Studio Network Server Permissions Error

Posted on 2007-04-02
7
327 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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