Solved

ASP .NET Visual Studio Network Server Permissions Error

Posted on 2007-04-02
7
332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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