[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Permission Denied: GetObject

Posted on 2007-04-07
5
Medium Priority
?
1,711 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
[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:Christian de Bellefeuille
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 1000 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:Christian de Bellefeuille
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:Christian de Bellefeuille
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

656 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