Re: Web Applications located on a FileDiskImage not accessable with Internet Informati
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Re: Web Applications located on a FileDiskImage not accessable with Internet Informati




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Web Applications located on a FileDiskImage not accessable with Internet Informati  
Skybuck Flying


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-06 06:25 AM

Here is a piece of code from the filedisk.sys driver:

case IRP_MJ_DEVICE_CONTROL:
switch (io_stack->Parameters.DeviceIoControl.IoControlCode)
{
case IOCTL_FILE_DISK_OPEN_FILE:

SeImpersonateClient(device_extension->security_client_context,
NULL); // *** looks suspicious ***

irp->IoStatus.Status = FileDiskOpenFile(device_object,
irp);

PsRevertToSelf();

break;

case IOCTL_FILE_DISK_CLOSE_FILE:
irp->IoStatus.Status = FileDiskCloseFile(device_object,
irp);
break;

default:
irp->IoStatus.Status = STATUS_DRIVER_INTERNAL_ERROR;
}
break;

default:
irp->IoStatus.Status = STATUS_DRIVER_INTERNAL_ERROR;
}

Maybe impersonating the thread is detected by windows/iis and causing
problems ?

Just a guess

Bye,
Skybuck.


"Skybuck Flying" <spam@hotmail.com> wrote in message
news:eh6l52$chi$1@news3.zwoll1.ov.home.nl...
> Hello,
>
> As a programmer I would like to keep all my source code together on a
> FileDiskImage created with the FileDisk tool.
>
> ( http://www.winimage.com/misc/filedisk64.htm )
>
> However when Internet Information Server tries to read/execute the web
> application a Server Error happens, can this problem be fixed ?
>
> *** Begin of Error ***
>
> Server Error in '/SimpleWebApplicationTest' Application.
> --------------------------------------------------------------------------
------
>
> Server cannot access application directory
>  'Z:\Delphi\Tests\SimpleWebApplicationTes
t'. The directory does not exist
> or is not accessible because of security settings.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.Web.HttpException: Server cannot access
> application directory  'Z:\Delphi\Tests\SimpleWebApplicationTes
t'. The
> directory does not exist or is not accessible because of security
> settings.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current
> web request. Information regarding the origin and location of the
> exception can be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [HttpException (0x80004005): Server cannot access application director
y
>  'Z:\Delphi\Tests\SimpleWebApplicationTes
t'. The directory does not exist
> or is not accessible because of security settings.]
>   System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
>   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263
>
> [HttpException (0x80004005): ASP.NET Initialization Error]
>   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +982
>   System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
 wr) +128
>
>
>
>
> --------------------------------------------------------------------------
------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
> ASP.NET Version:1.1.4322.2032
>
> *** End of Error ***
>
> Bye,
>  Skybuck.
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:07 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register