Forum  General Visual ...  Mobile discussi...  Having some difficulty setting up IIS7.5 for the mobile demo
Previous Previous
 
Next Next
New Post 5/24/2012 9:15 AM
  assurityconsulting
14 posts
No Ranking


Having some difficulty setting up IIS7.5 for the mobile demo 

 Hi,

I am following the instructions in the VWG Mobile Framework, Installation and Deployment manual. When I try and access the URL http://localhost/MobileApp/mobilemainform.mwgx I am getting the following error page appear :

HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.

Detailed Error Information
Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://localhost:80/MobileApp/mobilemainform.mwgx
Physical Path C:\Websites\MobileApp\mobilemainform.mwgx
Logon Method Anonymous
Logon User

 

I am running Windows Server 2008 R2 / IIS 7.5 and are new to IIS7 :)

Could someone provide some help to resolve this ?

 
New Post 5/24/2012 2:53 PM
  palli
14295 posts
1st Level Poster




Re: Having some difficulty setting up IIS7.5 for the mobile demo 

 Hi,

Have you registered the *.mwgx extension on your IIS server ?

More information on our deployment article here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/28/2012 8:05 AM
  assurityconsulting
14 posts
No Ranking


Re: Having some difficulty setting up IIS7.5 for the mobile demo 

 Hi,

I have added the correct mappings as per the deployment document. I have also deleted the web application and built it from scratch again but I still get the same error.

I have also noticed the following message appearing in the right hand pane which says : 

"The application is in an application pool that is running in Classic mode, so you can manage ISAPI extensions and native modules that are mapped to paths. You must manage managed handlers (system.web/httpHandlers) directly in the configuration file".

Is there an additional step that I must carry out in the web.config file ?

 

 
New Post 5/28/2012 4:02 PM
  palli
14295 posts
1st Level Poster




Re: Having some difficulty setting up IIS7.5 for the mobile demo 

 Hi,

This message you see is a warning or information to remind you what IIS7.5 does when you change/add mapping on the application level, as in that case it will update your web.config file with the new/changed mappings. This would mean that if you added the mappings on application level and later copied the web.config from your Visual Studio's project folder, it would overwrite/invalidate the mappings you just added. 

I usually find it more convenient to add my mappings on the website level, as then they are there for applications I decide to create later. 

When you add a new mapping, you will be asked the question if you want to allow this ISAPI extension, in which case you must respond Yes. 

Looking at your original "StaticMapping" error message, it indicates that you may have the mapping active for static files only. Pay attention to the Request Restrictions button when you are adding the mappings and make sure that "Invoke handler only if request is mapped to" checkbox is cleared (unchecked).

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Mobile discussi...  Having some difficulty setting up IIS7.5 for the mobile demo
.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