Solved

Permission Denied: GetObject

Posted on 2007-04-07
5
1,681 Views
Last Modified: 2013-11-07
I've just installed several things to test my web page locally before putting it on my host provider.
(IIS, MS Visual Studio 2005 Std, SQL Server Express 2005, .Net Framework 3).  I'm running IIS on Win XP Pro SP2

I've setuped the directory security in IIS (anonymous access is checked, integrated windows authentication is unchecked, and it use the user IUSR_MyMachine).

Each time i access the localhost or 127.0.0.1, i get this error:
"an unhandled exception ('Permission denied: 'Get Object'') occured in inetinfo.exe [12308]"
and the Studio JIT debugger ask me if i want to start  a debugger.

the error code is not always the same.

I've checked the Event Viewer and there's nothing about this error.

Any idea?  

Thanks
0
Comment
Question by:cdebel
  • 3
  • 2
5 Comments
 
LVL 10

Author Comment

by:cdebel
Comment Utility
I've did a search on MS Support web site, and found this: http://support.microsoft.com/kb/255650/en-us.
So according to that document, i should NOT change the permission for the localstart.asp file.  So i've placed it back as it was setuped after installation of IIS and restarted it.

Typing 127.0.0.1 was constantly bugging me with credential, so i typed "mymachine\myuser" then my password... but even if my user have the admin rights, it was not working.

So i tried typing localhost instead of 127.0.0.1, and bingo, i see the IIS default page.

But i don't understand why i'm getting this problem because 127.0.0.1 figure in my hosts file.

Anyone have an idea why it's doing this?

Thanks
0
 
LVL 3

Expert Comment

by:mickdoc
Comment Utility
I am assuming you are using ASP or some other server side code? If so, this seems to be an issue with the IIS Anonymous account trying to call an object when the code runs... it can't as the anon account isn't allowed.

This could be a FileSystemObject or something similar. Check the code for object creation and start looking there.
0
 
LVL 3

Accepted Solution

by:
mickdoc earned 500 total points
Comment Utility
Another thing... ensure that the object it is calling actually exists on the machine. It could be looking for something like CDONTS which you probably wont have on there... I say CDONTS but it could be something else (you get the idea)
0
 
LVL 10

Author Comment

by:cdebel
Comment Utility
As i said, i have no idea.  It's a fresh install of IIS... so it's the default page of IIS (localstart.asp).
I didn't checked in it to see what kind of code it is.. server or not.  I'm quite new with ASP & .NET.

0
 
LVL 10

Author Comment

by:cdebel
Comment Utility
Well, it seems that no one have an answer for this, and it's not a major issue, so i'll give you the points.
Thanks for participating
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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.…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

12 Experts available now in Live!

Get 1:1 Help Now