Solved

ASP .NET Visual Studio Network Server Permissions Error

Posted on 2007-04-02
7
333 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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