Solved

Permission Denied: GetObject

Posted on 2007-04-07
5
1,682 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
ID: 18869529
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
ID: 18882483
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
ID: 18882556
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
ID: 18883709
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
ID: 18918373
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A short film showing how OnPage and Connectwise integration works.

914 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

13 Experts available now in Live!

Get 1:1 Help Now