Solved

Permission Denied: GetObject

Posted on 2007-04-07
5
1,694 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS for Popup in ASP.NET 4 48
CSS question 16 62
Locally Hosted Website DNS cannot be found 7 64
sql connection error null reference exception 9 29
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.

732 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