views:

16

answers:

0

Hi All,

I’m currently having a problem getting ASP to run on the Windows Mobile Web Server for Windows Mobile 6.*

I downloaded the redistributable server components for windows Mobile 5.0 and copied over the ttpd.AMD.cab file to my mobile device and then installed it.

If I go into the settings and remove programs I can see the Microsoft Web Server is listed in the programs. If I go into programs I see no icon for the web server however I’m not sure if I should see anything here.

When I browse through my folders I can see there is a folder \windows\www\wwwpub and there is a default.htm page present. If I open this page up in my browser and I get the default message “The Windows CE web Server is enabled on this devices”

I created an empty ASP page called default.asp. I did not add any asp code in the page just the standard html tags; head, body etc. I tried to open this page in my browser and I get the following error:

“There is no application associated with “default”. Run the application first, then open the file from within the application.”

I did a google search and found the following topic:

social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/badd1c7c-117a-478e-82e4-20ba08e30cc8

From this information I downloaded and installed the httpd.ARM.cab file.

I then checked to make sure the asp.dll, jscript.dll and vbscript.dll is present in the \windows folder, which they are present.

I tried my default.asp page again and got the same error.

At this point I’m guessing that I need some registry entries to associate the .asp extension with the Windows Mobile Web Server so I followed the instructions found here:

msdn.microsoft.com/en-us/library/ee499507.aspx

I downloaded a registry tool for my device:

www.wmexperts.com/articles/howto/how_to_edit_the_registry.html

using the above tool I navigated to the:

[HKEY_LOCAL_MACHINE\COMM\HTTPD] I then added a key :

[HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap]

and added the following string value:

“.asp”=”\windows\asp.dll”

Retested my default.asp page and still got the same error.

I’m at a loss on where to go next.

My questions are as follows:

Am I missing out a stage in the process to get this to work?

Does anyone know what else I can try to get an asp page to work with the windows mobile web server?

Any help with this would be much appreciated.

Regards

David