Forum  Commercial Foru...  Commercial Foru...  Application Pool: Classic .NET AppPool or DefaultAppPool
Previous Previous
 
Next Next
New Post 3/11/2009 9:01 AM
Resolved
  hcduan
97 posts
No Ranking


Application Pool: Classic .NET AppPool or DefaultAppPool 

Dear All,

IIS7 allows setting Application Pool as Classic .NET AppPool or DefaultAppPool.
My experience shows that VWG application can only run in Classic .NET AppPool.
When choosing DefaultAppPool, I found the following error occurred:

Server Error in '/theApp' Application.
The resouce cannot be found.
Description: HTTP 404. ***
Requested URL: /theApp/MainForm.wgx

Browsing through the forums, I have found two relevant threads favors my experience:

Palli( 12/21/2007): Anyway, moving the app to the "Classic .NET application pool", via Advanced settins on the app seem to have solved that one.
Pateal(9/7/2008): Change the application pool to classic.net apppool at basicsettings tab in under Actions menu.

It seems Tyson(6/9/2008, 6/19/2008)  had successful experience in configuring VWG application to run in the new managed integrated pipeline mode, i.e. the DefaultAppPool.

So I wonder if VWG application can run in the new managed integrated pipeline mode, i.e. the DefaultAppPool.
If so, how to configure?
If not, does it imply that VWG application cannot make use of the authentication facilities the new managed integrated pipeline mode provides?

BR
River

 
New Post 3/11/2009 1:30 PM
  palli
14323 posts
1st Level Poster




Re: Application Pool: Classic .NET AppPool or DefaultAppPool 
Modified By palli  on 3/11/2009 4:31:21 PM)

Hi River,

Yes, it is possible to run VWG on IIS7 in the DefaultAppPool.

If you set your VWG app to the DefaultAppPool and you are running it on your local machine, i.e. via localhost, then beware that there might be mixed results from different browsers. FF3 gave me the 404 error, while IE7 did differently. By using the ip address, instead of localhost, you should be ok.

When you first deploy your app and set it to the DefaultAppPool on IIS7 and try accessing it via browser, you get a really descriptive error page that actually says it all! What needs to be done is migrate your httphandlers section and you are even told what you need to do to do it!

First make sure you have backup of your web.config file. Then open a command window and change to the directory of your application (where your web.config file resides) and give this command:

%SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/"

What this does is adding a new section to your web.config file that looks something like this:

   <system.webServer>
        <handlers>
            <add name="*.wgx_*" path="*.wgx" verb="*" type="Gizmox.WebGUI.Server.Router,
        Gizmox.WebGUI.Server,Version=3.0.5701.0,Culture=neutral,PublicKeyToken=3de6eb684226c24d"
        preCondition="integratedMode,runtimeVersionv2.0" />
        </handlers>
    </system.webServer>

And this section comes below and outside of your <system.web> section.

After this, there's only left to rock and roll :-)

P.S. Note that if copying web.config (overwriting) is a part of your deployment procedure, then you would have to do this every time you deploy, or you could do this once, and then copy the new web.config over your dev app web.config and then it should deploy with your application.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/11/2009 8:12 PM
  hcduan
97 posts
No Ranking


Re: Application Pool: Classic .NET AppPool or DefaultAppPool 

Hi, Palli,

You are great!
It really works.
Thanks.

River

 
New Post 3/12/2009 1:52 AM
  ori.cohen
4401 posts
1st Level Poster




Re: Application Pool: Classic .NET AppPool or DefaultAppPool 

Hello River,

Thanks for telling us.

Please reply if you need any further assistance on the subject.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Application Pool: Classic .NET AppPool or DefaultAppPool
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS