Solved

ASP .NET Visual Studio Network Server Permissions Error

Posted on 2007-04-02
7
330 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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 …

770 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