Solved

Permission Denied: GetObject

Posted on 2007-04-07
5
1,690 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

820 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