Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2008

Tip: Looking for answers? Try searching our database.

Newbie security problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Remo Aschwanden - 06 Feb 2008 18:55 GMT
Hi

I tried to write a webservice for test purposes. I have some PHP
experience but am a newbie in C# ASP.NET web development.

On the development machine (VS 2005) I create an empty ASP.NET web
service project and added the [WebMethod] "HelloWorld" to it. When the
service is run from the IDE by the development server, everything seems
to be fine.

Now I copied the files to an IIS virtual directory and tried to call the
method. Now I get the error message "Server application not available"
(this is my english translation of the german text). When I take a look
into the application event log I see a warning (source: ASP.NET
2.0.50727.0)

  System.IO.FileLoad Exeption
  The file or assembly System.Web ... has not been found. Access    
  denied. ...

followed by an error message (source: ASP.NET 2.0.50727.0)

  The request could not be processed because the ASP.NET process
  identity has no read access to the global assembly cache.

In the IIS virtual directory I have enabled anonymous access by the
default IUSR_... user, i.e. I did not change the default settings.

Ì am totally unexperienced in .NET-Security in general and ASP.NET
security in particular.

Do I have to grant more rights to this user? Which rights? Where do I do
that?

The development machine is a virtual machine (Virtual PC, XP Prof). I
originally installed the development environment, copied the virtual
machine and changed the computer name afterwards. Does this procedure
have any unwanted side effects?

Thanks you in advance for all helpful contributions.

Remo A.
Tomar - 04 Mar 2008 22:41 GMT
Go to inetmgr
Select your project
right click -->properties-->Directory tab
Application Name --> Remove and create application again.

Also check for local path permission  on top

> Hi
>
[quoted text clipped - 38 lines]
>
> Remo A.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.