Previous Next

Thread: regarding vwg project deployment on windows server 2008 box

Last post 09-08-2008 1:53 AM by pateal. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 09-06-2008, 9:35 AM

    • pateal
    • Not Ranked
    • Joined on 09-06-2008, 9:16 AM
    • Posts 5

    regarding vwg project deployment on windows server 2008 box

    Hi all,

    I had created a new sample visual webgui project and placed in iis 7.0 which is running with windows server 2008. In that vwg project I choosen form1.wgx as default page.  But i am getting problem while browsing that site from iis as follows . I had done some resolutions also like giving read permissions for iis_users for web.config of my project .

    The error is as follows

    Internet Information Services 7.0

    Error Summary

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070005
    Config Error Cannot read configuration file due to insufficient permissions
    Config File \\?\C:\Users\Administrator\Desktop\WebGUIApplication1\WebGUIApplication1\web.config
    Requested URL http://localhost:80/visualwebgui/form1.wgx
    Physical Path C:\Users\Administrator\Desktop\WebGUIApplication1\WebGUIApplication1\form1.wgx
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
       -1: 
        0: 
    
    Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    View more information ยป

     

     

    So please can you any body help me out.

  • 09-06-2008, 2:50 PM In reply to

    Re: regarding vwg project deployment on windows server 2008 box

    The problem seems to be the fact that you placed the files in the Desktop of the Administrator, this means that no one else but Administrator can read the files in there including IIS. You need to grant read permissions for the worker process to be able to read the file. You can do this by running the following command line:

    icacls C:\Users\Administrator\Desktop\WebGUIApplication1\ /grant "BUILTIN\IIS_IUSRS":(OI)(CI)(RX)

    If you want to be even more explicit you can only allow the particular AppPool that will be running the requests to read it by doing (assuming its running in the DefaultAppPool):

    icacls C:\Users\Administrator\Desktop\WebGUIApplication1\ /grant "IIS AppPool\DefaultAppPool":(OI)(CI)(RX)

  • 09-07-2008, 2:44 AM In reply to

    • pateal
    • Not Ranked
    • Joined on 09-06-2008, 9:16 AM
    • Posts 5

    Re: regarding vwg project deployment on windows server 2008 box

    Thaks Mr.CarlosAg ,

      I had done as you said by entering those commands .but i am getting a different error this time while browsing . And also can you give some description of the above 2 commands why we have to enter those commands . Because literally I am at zero position regarding this iis configurations . so please could you solve my problem

    The new error is as follows

    .

    Error Summary

    HTTP Error 500.23 - Internal Server Error

    An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

    Detailed Error Information
    Module ConfigurationValidationModule
    Notification BeginRequest
    Handler StaticFile
    Error Code 0x80070032
    Requested URL http://localhost:80/VisualWebgui
    Physical Path C:\Users\Administrator\Desktop\WebGUIApplication1\WebGUIApplication1
    Logon Method Not yet determined
    Logon User Not yet determined
    Most likely causes:
    • This application defines configuration in the system.web/httpHandlers section.
    Things you can try:
    • Migrate the configuration to the system.webServer/handlers section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using appcmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS.
    • If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.
    • Alternatively, switch the application to a Classic mode application pool - for example, appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application.
    (Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)
  • 09-07-2008, 7:48 AM In reply to

    • pateal
    • Not Ranked
    • Joined on 09-06-2008, 9:16 AM
    • Posts 5

    Re: regarding vwg project deployment on windows server 2008 box

    ok i got it by changing the app pool to classic .net pool

  • 09-07-2008, 7:52 AM In reply to

    • pateal
    • Not Ranked
    • Joined on 09-06-2008, 9:16 AM
    • Posts 5

    Re: regarding vwg project deployment on windows server 2008 box

    Can you any body help me information regarding apppool . I got solutin by changing from default apppool to calssic.net app pool but I want to know what will happen behind the screen by this change of app pool

    plz

  • 09-07-2008, 12:43 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 561

    Re: regarding vwg project deployment on windows server 2008 box

  • 09-08-2008, 1:53 AM In reply to

    • pateal
    • Not Ranked
    • Joined on 09-06-2008, 9:16 AM
    • Posts 5

    Re: regarding vwg project deployment on windows server 2008 box

    Thankyou Mr.Ksingla,

    It's really good articles regarding apppools. Now I got a clear image or idea about the apppoll and migration between apppool.

     

Page 1 of 1 (7 items)
Page view counter