georeference.org
Subscribe to this thread
Home - General / All posts - Vista, IIS 7 & IMS
anajera61 post(s)
#17-Dec-07 16:59

Hello All

I am setting up IMS in my laptop for development and testing purposes before sending the information to our soon to arrive server. My PC is a Toshiba notebook with Windows Vista Home Premium that has IIS 7 (with some limitations such as not having FTP set up options). I have followed the Manuals instructions in detail and have a couple of good books on IIS 7. So far I have not been able to display the page in my PC. Normal HTML pages do show and IIS 7 works well.

By reading these books, it is obvious that the Manifold documentation on IMS has not been updated to IIS 7 as there have been significant changes compared to the previous versions. Among them the IUSR_account is no longer used unless an FTP site is being set up. Also, the security requirements seem to have been increased and both IIS 7 books mention that due to this, ASP pages that used to work in previous versons of IIS may not work in 7.

Has anyone been able to set up a Local Host site with Windows Vista, IIS 7 and ASP? If so, can you share the steps to do so?

I will continue researching and testing but any help will be greately appreciated.

Thanks


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

Matevz
364 post(s)
#18-Dec-07 02:50

i tried to export the map in IMS as it says in the users guide also, and it didnt work. I am using Vista and IIS 7 also...

anajera61 post(s)
#18-Dec-07 16:07

Can the Manifold representatives watching this community provide some feedback?

When will the Manifold user's manual be updated for IIS 7? Our main server will also be using IIS 7.

Thank you


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

Dimitri


3,145 post(s)
#19-Dec-07 15:16

Can the Manifold representatives watching this community provide some feedback? Manifold representatives don't watch this forum. See

http://www.manifold.net/doc/help_manifold_on_the_web.htm

For tips on suggestions and comments on what might be in new releases, see

http://www.manifold.net/info/suggestions.shtml

miken
105 post(s)
#19-Dec-07 14:32

I had a problem until i exported the map as ASP.NET. The everything worked fine.

anajera61 post(s)
#20-Dec-07 17:53

Hi

Can you share the steps you follwed both to set up IIS 7 as well as Manifold? I tried to export to ASP.NET but got a 404 error.

Thank you


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

adamw


4,765 post(s)
online
#25-Dec-07 06:28

If it is not too late:

By default, IIS 7 forbids web applications to create files in the temp folder. This breaks a great deal of COM objects including the Manifold's MapServer object, which has to create a temporary file just to start up. Perhaps the easiest way to allow creating files in the temp folder is to run the following commands from the Command Prompt (launched with administrative privileges using the Run as Administrator command):

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X)

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F)

After you do this, restart IIS using IISRESET.

If this will not solve the problem, let us know.

anajera61 post(s)
#07-Jan-08 16:37

Hi

I just got back. Thanks for the reply. I will give it a try and will let you know what I get.


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

anajera61 post(s)
#08-Jan-08 07:21

Adam

In order to make sure I am doing all well, please let me know if the following is correct, considering I have Vista Home Premium:

1. Go to Programs/Accesories/System Symbol and run it using the Run as Administrator option.

2. This opens the command line with the following

C:\Windows\system32>

3. I shall then copy and paste the commands you provided just after the > symbol. Shall a backslash be added?

Please advice

Also, as I am new to IIS, can you explain how is a IISRESET done in IIS 7? Shall it be done in a command prompt as well?

Thanks


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

KlausDE


4,545 post(s)
#08-Jan-08 08:59

1 .. 3 are OK.

- copy, paste and run (<ENTER>) command lines one by one without additions

- type IISRESET in the command prompt > and run the command

anajera61 post(s)
#08-Jan-08 12:40

Thanks

I got the messages shown below (I transalted them to English as my system is in Spanish so the wording may be a bit different to the one you may get directly in an English languaje based system)

After running the first command line:

"Users: No assignment was made among the account names and the security identifiers. Processed correctly 0 files. Errors processing 1 file"

So I guess something did not work properly, any ideas?

After running the second one:

Processed file C:\Windows\serviceprofiles\networkservice\AppData\local\Temp

One file processed correctly, error processing 0 files

This one was processed correctly I guess.


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

adamw


4,765 post(s)
online
#08-Jan-08 21:57

How about:

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Everyone:(CI)(S,WD,AD,X)

Does that work?

What about the web site. Does it work? If not, what is the error message?

One other thing you can do is relax permissions applied by IIS7 to the user account impersonating web connections by opening c:\windows\system32\inetsrv\config\applicationhost.config, locating the section named applicationPoolDefaults, changing the processModel entry in that section from:

<processModel identityType="..." />

to

<processModel identityType="..." loadUserProfile="false" />

and then restarting IIS by using IISRESET.

anajera61 post(s)
#09-Jan-08 16:12

If I use this new icacls command line I get the same error message as with the previous one indicating it could not be processed. The website does not work and the error I get is:

Http 500 Internal Server Error

Which would be the user account impersonating web connections? As far as I have read in the IIS7 books I have and the IIS7 website, the IUSR_Account is not longer used unless and FTP site. If this account is not used any more, which one should be used in IIS7?


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

adamw


4,765 post(s)
online
#09-Jan-08 22:24

On your system, the user account impersonating web connections should by default be set to NETWORK SERVICE. You can find out for sure by monitoring access to the MAP file using the Process Monitor program available from the Microsoft, doing an IISRESET and attempting to navigate to the web site.

Since you say you get HTTP 500: Have you installed support for ASP pages (Control Panel - Programs and Features - ...)? What happens if you run one of the simple ASP pages provided in the Problems with the Internet Map Server topic in the online manual?

tib00r3 post(s)
#01-Mar-08 16:33

Hi,

I had no problem running the ASP.NET version out of the box on Windows Vista Business 64 bit. I think I didn't do any changes in IIS Authentication settings or %windir%\serviceprofiles\networkservice\AppData\Local\Temp user rights.

However I couldn't get the ASP version running (wms.asp).

Granting full permission on %windir%\serviceprofiles\networkservice\AppData\Local\Temp to the IUSR user solved the problem! Thanks for pointers.

Tibor

ghelobytes
145 post(s)
#10-Jan-08 02:45

Hi anajera!

Apparently, we have the same problem. My system is as follows: HP Pavilion dv2000 Microsoft Windows Vista Home Premium IIS7

Some questions...

Are you using Internet Explorer 7? If so, did you disable "Show friendly HTTP error messages" under Tools > Options >Advanced?

Disabling this option will show you what line number the error is. I hope its not Line 125... =)


namria, philippines

ghelobytes@yahoo.com

anajera61 post(s)
#24-Jan-08 11:35

Hi all

It is working finally. This is a summary of what I found would make it work:

1. I am using a folder named "test" within the wwwroot folder to make my testing. I was saving the Map file to the wwwroot/test folder directly from Manifold using Save as. I learnt that by doing it this way, the Users accounts will not be available for this file thus there was not a way to grant permissions. I then saved the map file somewhere else and then copied and pasted it in the wwwroot/test. Doing it this way, the Users accounts show and permissions can be granted. Furthermore as the Iusers account mentioned in the Manifold Manual is no longer available in IIS7 there is really nothing to modify, permissions wise for the Map file.

2. I was not able to make the Manifold generated ASP files to run. Altough simple ASP pages resolve well, no matter what settings I made, the ASP pages will not show. Yes, I made sure that IIS7 was enabled to show ASP pages.

3. When exporting to ASP.NET, the IMS will show and work well after doing step 1 above. The way I am calling the site is using:

http://Localhost/test/

I have even made some customization using Microsoft's Expression Web (the web page developing program that replaces frontpage) and all the changes and modifications show and work well.

I noticed a couple of performance issues you may want to be aware of. I created a test sample in ASP.NET. I noticed an error in a query so I closed the IMS and ran Manifold in interactive form. I fixed the error and exported the site in ASP.NET again to the same Test folder. After doing the IIS7 reset, and calling the IMS again, it will not run. I went to my test folder and noticed 2 files called default, one with asp extension and another one with aspx extension. By erasing the asp one, the IMS would show again. I thought I may have done something wrong in the second export process so I repeaded it a couple of times and the same perfomance was observed. Every time I had a previously exported website in Net format, and doing another export to the same folder would create this default.asp file besides the default.aspx one, causing the IMS not to work

The other issue I found is that if I called the site using

http://Localhost/test/default.aspx the site would show but the map window will never get the map information loaded.

I hope this can help to others who had the same issues I did to have IMS running with Vista and IIS7.

The next step is testing the final server which we will have installed by next week. It will have Vista Business with IIS7.

Thanks to all who provided their help.

Alberto


BiciMapas Mexico GPS Maps & GIS Data www.bicimapas.com.mx

P.Durrant2 post(s)
#28-Apr-08 06:24

after much random clicking i found that in the IIS settings under ASP --> services --> COM+ properties

Execute In MTA was set to false, i set this to true and everything lept into life

hope this helps

2 msec Copyright (C) 2007-2008 Manifold.net. All rights reserved.