home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / rds.cab / readme.txt2 < prev    next >
Text File  |  1997-10-02  |  19KB  |  255 lines

  1.                  ---------------------------------------------------------
  2.                    Microsoft Remote Data Service version 1.5 Readme File
  3.                                            1997
  4.                  ---------------------------------------------------------
  5.  
  6.                       (c) Microsoft Corporation, 1997
  7.  
  8. This document provides late-breaking or other information that supplements the Microsoft Remote Data Service 1.5 documentation.
  9.  
  10. --------
  11. CONTENTS
  12. --------
  13.  
  14. 1. PRODUCT DESCRIPTION
  15.    1.1 Change in Product Name
  16.  
  17. 2. NEW FEATURES
  18.  
  19. 3. INSTALLATION NOTES
  20.    3.1 Before You Run Setup
  21.        3.1.1 Hardware Requirements
  22.        3.1.2 Software Requirements
  23.    3.2 Installing Microsoft Remote Data Service
  24.        3.2.1 Installing RDS Server Components on Your Web Servers
  25.        3.2.2 Installing RDS Client Components on Your Client Computers
  26.    3.3 Validating Setup
  27.  
  28. 4. TECHNICAL SUPPORT
  29.    4.1 Contacting Microsoft Technical Support
  30.    4.2 Visiting the Microsoft Remote Data Service Web Site
  31.    4.3 Joining the Remote Data Service Public Newsgroup
  32.  
  33. 5. TECHNICAL NOTES
  34.  
  35. 6. KNOWN ISSUES
  36.  
  37. ----------------------
  38. 1. PRODUCT DESCRIPTION
  39. ----------------------
  40.  
  41. Microsoft Remote Data Service (RDS) is a fast and efficient data connectivity and data publishing framework for applications hosted in Internet Explorer. It is based on a client/server, distributed technology that works over HTTP, HTTPS (HTTP over Secure Sockets layer), and DCOM application protocols. Using data-aware ActiveX controls, RDS provides data access programming in the style of Microsoft Visual Basic to Web developers who need to build distributed, data-intensive applications for use over corporate intranets and the Internet.
  42.  
  43. 1.1 Change in Product Name
  44.  
  45. The name, Microsoft Advanced Data Connector (ADC) is changing to Microsoft Remote Data Service (RDS), a feature of Microsoft ActiveX Data Objects (ADO). ADC has always relied on ADO and this change represents a move to more closely integrate and clarify the relationship between these two components. ADO is a programming interface which allows easy and flexible access to OLE DB and ODBC data sources. Remote Data Service builds on ADO to provide an easy, disconnected recordset, and remoting service. The functionality of Advanced Data Connector has not been affected by this change, and you will see a number of great new features with the release of version 1.5.
  46.  
  47. ---------------
  48. 2. NEW FEATURES
  49. ---------------
  50.  
  51. The following are new features in Remote Data Service 1.5. For more information on these features, refer to the documentation.
  52.  
  53. ╖ Expanded updatability. You can now update data to all ODBC compliant data sources, and no longer need to use the "for browse" clause.
  54.  
  55. ╖ ActiveX Data Objects (ADO) methods now also provide RDS remoting functionality from within ADO objects. This addition in programming model seamlessly integrates RDS into ADO.
  56.  
  57. ╖ Sorting and filtering on Recordset objects.
  58.  
  59. ╖ Added support for asynchronous execution and result set fetching. This allows the control to be handed back to the programmer or user without having to wait for a query to finish.
  60.  
  61. ╖ Multiple output parameter support for business objects.
  62.  
  63. ╖ The CreateRecordset method on the RDS.DataControl object, so custom Recordset objects can be created on the client as well as on the RDSServer.DataFactory now.
  64.  
  65. ╖ The ConvertToString method on the RDSServer.DataFactory object.
  66.  
  67. ╖ Safe array marshaling provides support for the Safe Array data type. 
  68.  
  69. ╖ Client impersonation provides support for IIS' NT Challenge/Response password authentication feature. 
  70.  
  71. ---------------------
  72. 3. INSTALLATION NOTES
  73. ---------------------
  74.  
  75. 3.1 Before You Run Setup
  76.  
  77. Before you install Microsoft Remote Data Service, make sure that your client and server computers meet the minimum hardware and software requirements.
  78.  
  79. 3.1.1 Hardware Requirements
  80.  
  81. To install Remote Data Service, you must meet certain hardware requirements, which include the following:
  82.  
  83. ╖ Any Windows NT or Windows 95 x86-compatible computer, or a Digital Equipment Computer Alpha processor machine.
  84. ╖ A hard disk with a minimum of 8 megabytes (MB) available space for a full installation of all the updated components required for RDS to run. 
  85. ╖ A minimum of 12 MB of RAM for client computers. 
  86. ╖ A minimum of 24 MB of RAM for server computers (32 MB of RAM recommended). 
  87.  
  88. 3.1.2 Software Requirements
  89.  
  90. Before you install Remote Data Service on a server computer, your server computer must meet the following software requirements:
  91.  
  92. ╖ Any of the following operating system platforms: Windows NT Server 4.0 or Workstation (with Service Pack 3) or later. Remote Data Service currently supports the x86/Intel and Alpha platforms. For production data environments, the NT Server platform is strongly recommended.
  93. ╖ Microsoft Internet Information Server (IIS) 3.0 or 4.0, with Microsoft Active Server Pages.
  94. ╖ Microsoft SQL Server 6.5 with Service Pack 2, or other ODBC 2.0 or greater (Level 1 compliant) data source.
  95.  
  96. To access Remote Data Service applications from client computers, client computers must meet the following software requirements:
  97.  
  98. ╖ Any of the following operating system platforms: Windows 95, Windows NT Server 4.0 or later, or Windows NT Workstation 4.0 or later. 
  99. ╖ Microsoft Internet Explorer version 4.0 or later.
  100.  
  101. Note: Remote Data Service has not been tested with the Netscape browser technology.
  102.  
  103. To build client Web pages, you can use typical HTML authoring tools, such as Notepad or the more fully featured Microsoft ActiveX Control Pad.
  104.  
  105. To program server-side business objects, you can use any ActiveX/COM DLL-compatible tool, such as Microsoft Visual Basic 4.0 or later or Microsoft Visual C++. 
  106.  
  107. 3.2 Installing Microsoft Remote Data Service
  108.  
  109. For Remote Data Service to work correctly, you should ensure that the Remote Data Service server and client components are installed correctly. The server component is installed via the setup program (mdac_nts.exe for Windows NT Server; mdac_ntw.exe for Windows NT Workstation; mdac_95.exe for Windows 95; mdac_as for Alpha server; mdac_aw.exe for Alpha workstation) or with the IIS 4.0 integrated setup. The client files required are provided with Internet Explorer 4.0, so no .cab file or setup program is required.
  110.  
  111. 3.2.1 Installing RDS Server Components on Your Web Servers
  112.  
  113. You will install the Microsoft Remote Data Service server components on your Web server computer, which should have Windows NT Server version 4.0 SP3 or later. Setup assumes that your computer meets all of the software requirements. 
  114.  
  115. >>>To install Remote Data Service server components:
  116. 1) From your Web server computer, connect to the Remote Data Service World Wide Web site at http://www.microsoft.com/data/rds/.
  117. 2) Click Free Downloads in the left frame.
  118. 3) Click the link for the installation you want (mdac_nts.exe for Windows NT Server; mdac_ntw.exe for Windows NT Workstation; mdac_95.exe for Windows 95; mdac_as.exe for Alpha server; mdac_aw.exe for Alpha workstation) to install the software and documentation.
  119. 4) Close other programs which may be running.
  120. 5) Follow the Setup instructions on the screen. 
  121.  
  122. The Setup program installs the program files to the <device>:\Program Files\Common Files\System\MSADC directory. (This location is adjacent to other complementary Microsoft technologies such as ActiveX Data Objects and OLE DB.) The following subdirectories are created under the \MSADC directory with the setup program.
  123.  
  124. Subdirectory        Description
  125. ------------        -----------
  126. ..\MSADC\Docs         Contains the documentation.
  127. ..\MSADC\Samples    Contains the sample files. 
  128. ..\MSADC\Samples11    Contains the sample files for the RDS 1.1 client, if this was installed. 
  129.  
  130. The server installation program (mdac_nts.exe) also creates a Microsoft Internet Information Server virtual root on your Web server computer. The root is designated http://<servername>/msadc and you can use it to reference the files in that directory tree from the browser.
  131.  
  132. Once you have followed this procedure to set up Microsoft Remote Data Service on your Web server computer, you can validate your installation (see Section 3.3).
  133.  
  134. 3.2.2 Installing RDS Client Components on Your Client Computers
  135.  
  136. Microsoft Internet Explorer 4.0 already includes the necessary Remote Data Service (RDS) client components. Therefore, you don't need to include a .cab file on your Web page because client computers will already have the RDS client component DLLs. See the section, Technical Notes for a list of client files if your application needs to provide the client files.
  137.  
  138. 3.3 Validating Setup
  139.  
  140. You can use the ADCTest.asp sample application to validate your Microsoft Remote Data Service installation. 
  141.  
  142. >>>To validate setup with ADCTest:
  143. 1) Start Internet Explorer, and enter the following address: 
  144.  
  145.   http://<servername>/MSADC/Samples/adctest.asp 
  146.  
  147.   where <servername> is the name of your Web server.
  148.   This should display the Remote Data Service Query Page. You'll notice that the server, connection, and query information is already provided for you.
  149. 2) Click Run to execute the query. 
  150.   If the grid displays a result set, your installation is correct. 
  151.  
  152. If you run into any problems, review the setup instructions and see "Troubleshooting Remote Data Service" and "Other RDS Configuration Information" in online Help. Help can be accessed by running default.htm from the \docs directory.
  153.  
  154. --------------------
  155. 4. TECHNICAL SUPPORT
  156. --------------------
  157.  
  158. 4.1 Contacting Microsoft Technical Support
  159.  
  160. If you have a technical question about Remote Data Service, please visit the Microsoft Data Access Web Site at http://www.microsoft.com/data/ for information about support available from Microsoft Technical Support.
  161.  
  162. 4.2 Visiting the Microsoft Remote Data Service Web Site
  163.  
  164. You can visit the Microsoft Remote Data Service Home Page on the World Wide Web for documentation updates and information about other related technologies. The address is http://www.microsoft.com/data/rds/.
  165.  
  166. 4.3 Joining the Remote Data Service Public Newsgroup
  167.  
  168. To facilitate discussion and information sharing, Microsoft has set up a public newsgroup: microsoft.public.ado.rds. You are welcome to post articles and messages to this unmoderated, unsupported newsgroup. Microsoft does not guarantee responses or direct support. For more information, visit the Remote Data Service Web site, http://www.microsoft.com/data/rds/.
  169.  
  170. ------------------
  171. 5. TECHNICAL NOTES
  172. ------------------
  173.  
  174. ╖ RDS (ADC) Beta 1 and Beta 2 clients and servers are not intended to be mixed with final release RDS clients and servers. You should uninstall, and upgrade to the release version of the software to gain the benefit of product fixes and new features. The client files for RDS 1.5 are provided with Internet Explorer 4.0, so no .cab file or separate installation is required.
  175.  
  176. ╖ Using FoxPro Databases
  177. If you access Visual FoxPro data, you must use the latest Visual FoxPro ODBC driver (version 5.0.0.402 or later), which is available from http://www.microsoft.com/vfoxpro/vfdownload. If you don't use the latest driver, you may not be able to execute queries correctly.
  178.  
  179. ╖ Sample Applications
  180. To load the grid in the RDS sample applications, you need to be able to access the Internet (as opposed to your intranet). If you try to load the samples that use the Sheridan grid, the Sheridan .cab file referenced in the CODEBASE line attempts to download the mfc42.dll file patch from the Microsoft general fixes Web site. If it is unable to access this patch, the grid will not load. If the ActiveX control for the grid (ssdatb32.ocx) already resides on the client computer, the CODEBASE line will not need to unpack the .cab file, and the patch download prompt will not be encountered.
  181.  
  182. ╖ When you install the sample applications, an attempt is made to create a user account ("adcdemo") within Microsoft SQL Server. If this account already exists, the installation will succeed, however, when you run the sample application you may receive a "login failed" message. You can edit the sample files to set the username and password to the actual test account information.
  183.  
  184. ╖ "System error: Out of Virtual Memory" Error
  185. If you receive the error "System error: out of virtual memory error" from the Web server requiring a reboot, the following may address the error. Your Web server machine may be out of virtual memory, or the SQL data source server may require more TempDB space to handle the size of the query you are attempting to run. Virtual memory can be adjusted from Control Panel (click the System icon, select the Performance tab, and click Virtual Memory to see if there is extra hard disk space available). More information on how to adjust the TempDB space can be found in the the "Performance" Help topic's subtopic, "Ensuring Sufficient TempDB Space."
  186.  
  187. ╖ MDAC Client Files Provided with Internet Explorer 4.0
  188. For Web client convenience, the Microsoft Data Access Components client files are included with Internet Explorer version 4.0. Provided below is a list of files and their install locations if you wish to make these files available to your non-Internet Explorer client components using the MDAC server.
  189.  
  190. Files marked with an asterisk (*) should be self-registered with regsvr32.dll which can be found in the \system (or \system32) directory of your machine. The notation for \system below refers to \winnt\system32 directory on Windows NT machines, or \win95\system on Windows 95 machines. It is important that these files are consistently installed to these locations, to ensure that all programs which rely on them will continue to function correctly in this and later versions.
  191.  
  192. msadce.dll* - installed to \Program Files\Common Files\system\msadc
  193. msadcer.dll - installed to \Program Files\Common Files\system\msadc
  194. msadco.dll* - installed to \Program Files\Common Files\system\msadc
  195. msadcor.dll - installed to \Program Files\Common Files\system\msadc
  196. msader15.dll - installed to \Program Files\Common Files\system\ado
  197. msador15.dll* - installed to \Program Files\Common Files\system\ado
  198. msdadc.dll* - installed to \Program Files\Common Files\system\ole db
  199. msdaps.dll* - installed to \Program Files\Common Files\system\ole db
  200. msdaer.dll* - (Optional, for ADO error messages) installed to \Program Files\Common Files\system\ole db
  201. msdaerr.dll* - (Optional, for ADO error messages) installed to \Program Files\Common Files\system\ole db
  202. msr2c.dll* - installed to \system by Internet Explorer
  203. msr2cenu.dll - installed to \system by Internet Explorer
  204. wininet.dll* installed to \system by Internet Explorer
  205. msdatsrc.tlb - installed to \system
  206.  
  207. ╖ If the install location name must be changed, the IIS vroot of /MSADC must remain. The file MSADCS.DLL requires it be located in the root directory of the /MSADC vroot.
  208.  
  209. ╖ Cannot filter for NULL
  210. The Filter property is not currently able to search for Null values. The setting might be set as follows 'zipcode', '=', '<null>' (which gets converted to NULL by the VBScript code), followed by the Reset method to run the filter action. You will get a type mismatch error.
  211.  
  212. ╖ The RDS.DataControl features three events that are not mentioned in the documentation. These events are associated with asynchronous recordset population.
  213.  
  214. OnReadyStateChange - Fires whenever the ReadyState property changes. This event is not available in JScript.
  215. OnDataSetComplete - Fires when all data is fetched.
  216. OnDataSetChanged - Fires when a new Recordset is returned but not yet fully populated.
  217.  
  218. During an async fetch, the following sequence of events occurs:
  219.  
  220. OnReadyStateChange - The ReadyState property is set to adcReadyStateInteractive while data is being fetched.
  221. OnDataSetComplete - All data is fetched, but ReadyState is still set to adcReadyStateInteractive.
  222. OnReadyStateChange - The ReadyState property changes to adcReadyStateComplete.
  223.  
  224. ╖ The connection string for Remote Data Service typically references System DSNs with a syntax like "DSN=MyDSN;UID=SalesMgr;PWD=Secret;". The syntax for using a File DSN would be "FileDSN=c:\MySQL.dsn;".
  225.  
  226. To get a disconnected recordset via ADO, you can use the following syntax.
  227. Rather than: cnn.Connectionstring = "provider=msdasql;dsn=MySQL;uid=SalesMgr;pwd=Secret" 
  228. you can use: cnn.Connectionstring = "provider=MS Remote;Remote Server=http://MyServer;Remote Provider=msdasql;dsn=MySQL;uid=sa;pwd="
  229.  
  230. -----------------
  231. 6. KNOWN ISSUES
  232. -----------------
  233.  
  234. The following is a list of Remote Data Service 1.5 known issues.
  235.  
  236. ╖ The OnReadyStateChange async event is not issued. To work around this, you can test the following events and property for equivalent state:
  237.  -OnDataSetChanged event will be issued when the Recordset exists, the query execution is complete, but not all rows are present. Immediately after the OnDataSetChanged event is issued, the ReadyState property is a value of 3.
  238.  -OnDataSetComplete event will be issued when the Recordset exists, and all rows are present. Immediately after the OnDataSetComplete event is issued the ReadyState property a value of 4.
  239.  
  240. ╖ If you receive an error in Setup about the MTXOCI.DLL, your machine may have an older version of Microsoft Transaction Server (MTS). To resolve this issue, upgrade to the newest version of MTS, which provides this necessary file.
  241.  
  242. ╖ Version 1.0.0.806 of the Visual Basic Script DLL (vbscript.dll) contains a memory leak. An updated version of the DLL (2.0.0.1114 or later) resolves the issue. It is available with Internet Information Server 3.0, and can be downloaded from http://www.microsoft.com/vbscript.
  243.  
  244. ╖ The file msdaps.dll will register and work correctly. Currently it is unable to unregister, however. This will only affect uninstall, and not the functionality of the product. This may be resolved in NT Service Pack 4.
  245.  
  246. ╖ When using Microsoft SQL Server 6.5 with SQL Server Service Pack 3 installed, an UPDATE, INSERT, or DELETE will fail if attempted against a self-join. An error will occur on the line of code containing the SubmitChanges method.
  247.  
  248. ╖ The adctest.asp sample will silently fail unless the machine it is running on has access to the external internet (as opposed to an intranet). The application needs to load some dll's from microsoft.com.
  249.  
  250. ╖ The language reference topics for the Reset method and the SortColumn, SortDirection, FilterValue, FilterCriterion, and FilterColumn properties all state that execution of the Reset method replaces the existing RDS.DataControl object's Recordset with a read-only Recordset. This is incorrect; the new Recordset is updatable.
  251.  
  252. ╖ When using an ORDER BY clause in a query against Microsoft SQL server with Microsoft SQL Server Sevice Pack 3 installed, and returning an updatable client-side cursor, columns referenced in the ORDER BY clause must also be referenced in the SELECT clause.
  253.  
  254. ╖ The ODBC driver for Informix databases does not support transactions (being able to roll back a change to the data). RDS does not support updating to drivers without transactions support. Attempting to call SubmitChanges will give the following error, "The operation requested by the application is not supported by the provider."
  255.