Pitney Bowes MapXtreme User Manual
Page 51

Chapter 2: Getting Started
Building ASP.NET Web Applications Without a Template
MapXtreme v7.1
51
Developer Guide
3. In this situation, you will notice that the MapXtreme web controls and tools will display red X’s in
the Designer, instead of their icons. To display the icons properly, copy the
MapXtremeWebResources folder from one of the MapXtreme sample applications and paste it
into your project where your Web.config and default.aspx files are located. Close and re-open
the web page to see the icons.
4. To run the web application under IIS 7 classic mode or IIS 6, copy the following code into the
Web.config file. To run in integrated pipeline mode, skip to
.
sqlConnectionString="data source=127.0.0.1;userid=sa;password="
cookieless="false" timeout="20" />
Version=7.1.0.90, Culture=neutral, PublicKeyToken=0a9556cc66c0af57" />
5. Save Web.config. Build the project and run the application.
6. To run the web application under IIS 7 integrated pipeline mode, add the following key in bold
text to the
<
appSettings
>
<
add
key
="MapInfo.Engine.Session.PipelineMode"
value
="Integrated"
/>
appSettings
>
Copy the following code into the Web.config file below the
<
system.webServer
>