I have a virtual directory te.testing.com
I need to access a page at http/te.testing.com/receivedata/receice.aspx
That page saves the data sent to this URL in a database (this is in
another class file)
When I try to access that page I get an error:
"It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtua directory not being configured as an
application in IIS."
It works fine locally, and I can make it work if I use my workstation to
connect to (not a virtual directory), but when I try conecting to the
test-server, then it won't work.
i've also tried to remove the program name in the IIS-config tool, and
then add it again (and removing the given name). but nothing helps, I
keep getting this error.
Do I need to edit something in the web.config?
I hope there's someone smarter then me, who knows what's wrong.
Kristoffer
Open IIS Manager.
Right click the root folder of the web application (probably the virtual
folder), and click Properties.
Click the Create button.
--
Regards,
Kristofer Gafvert
www.gafvert.info - My articles and help
www.ilopia.com
I just can't get it to work right.
Kristoffer
Grant access in what way? This does not change any security
configurations, so if you are denied access due to security, then this is
not the solution.
--
Regards,
Kristofer Gafvert
www.gafvert.info - My articles and help
www.ilopia.com