|
Windows NT Common Problems The most common problem by far is the proper configuration of Windows NT so that the database can be both read and written. In 99% of all cases we have analyzed for our customers, the problem has been the permissions of the anonymous user IUSR. We have listed below most of these problems and point back to Microsoft Knowledgebase to help you get more information.
Personal Web Server The second most common problem is that PWS is not told where you installed the VP-ASP software. |
|
Microsoft is not supporting Personal Web Server on Windows XP Home You must using Windows XP Professional. XP Professional requires IIS which not installed by default See http://www.microsoft.com/windowsxp/home/using/howto/gettingstarted/guide/setupqanda.asp |
|
The most common problem for Microsoft Access database is setting correct database permissions for Access database. Using a Web Hosting Company On your own PC
|
Windows Millennium Edition
Microsoft is not supporting Personal Web Server on Windows Me but see below for hints on using PWS and Windows Me..
See Knowledge Base article
http://support.microsoft.com/support/kb/articles/Q266/4/56.ASP?LN=EN-US
Installing PWS on Windows ME
This information was taken verbatim from http://www.aspmessageboard.com/forum/showMessage.asp?F=30&M=290061&P=1
and we have not tested it ourselves and therefore cannot assure you that it is perfectly safe.
For installing PWS on Win ME
1) Download the newest version of PWS from
http://download.microsoft.com/msdownload/ntoptionpack/en/x86/win.95/download.exe.
Yes, this is the NT 4.0 Option Pack, but it includes the version of PWS for
Win95 which can be used on WinMe with the following tweaks. After
downloading Download.exe, run it and select the option to download PWS for
Win95.
2) See http://support.microsoft.com/support/kb/articles/q246/0/81.asp.
Download the patch and implement per the instruction in this KB article.
3) Important! Do a Custom install of PWS, installing only the Transaction
Server component. To do this, uncheck all the options, then check
Transaction Server - it will add checks to the other components needed for
it, but not the Personal Web Server option.
4) After Setup completes and a reboot, re-run Setup and add PWS. Reboot after
Setup completes.
5) PWS should now work. Easiest way to implement using it for local copies of
your web pages is to copy the contents of the entire local folder structure
of your web site to C:\Inetpub\wwwroot (or the folder you selected during
PWS setup). To clarify, if the local copy of your web site is in
D:\MyWebSite, with the default start page and all sub-folders located
there, you copy all the files and sub-folders, but not the D:\MyWebSite
folder itself.
6) If you are using ASP and your start page is default.asp, allow your file to
overwrite the default.asp file already in C:\Inetpub\wwwroot. If you are
using index.htm or some other start page, you need to rename the PWS
default.asp file so it is not the default page for the local site.
7) In your web browser address bar, type...
Http://127.0.0.1/
...to bring up your start page.
Error Message:[Microsoft][ODBC Driver Manager] Invalid string or buffer length when writing to the database
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Invalid string or buffer length
/shop/shopa_addproduct.asp, line 2054
Solution: This error message is rare, but can occur on some installations running a mySQL database.
It is is caused by a restriction imposed by the webserver and mySQL.
The following code can be added to shop$db.asp to solve this issue.
Open shop$db.asp in any text/html editor, and locate the sub processmysqlserver.Change the connection string to:
mysqlconn=mysqlconn & " Server=" & varServerIP & "; Database=" & varDataBaseName & "; UID=" & varUserName & "; PWD=" & varPassword & "; OPTION=3"
Option=3 tells myODBC that the client is not 100% compliant so it should not optimize column widths, and also to return "found rows" instead of the true value of affected rows.
Error:
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
Solution: Windows 2003 servers running IIS6.0 prevent the upload of files more than +200Kb.
If you are running VP-ASP on a web host, please contact the host and ask them to increase the file size limit in IIS.
If you are running your own server, you will need to make some changes in IIS.
1: Stop the IIS service.
2: Open the file metabase.xml in the c:\Windows\System32\Inetsrv folder.
3. Find the line " AspMaxRequestEntityAllowed "
4. Change it to whatever size you need in bytes (eg. "1073741824" is 1GB).
5. Save the file.
6. Restart IIS.
|
Introduction
Microsoft Personal Web Server can be configured very simply. The first step is to start Personal Web Manager. It can be be started by clicking the icon on the task base or using start/programs/Personal Web Server/Personal Web Manager. The following dialog should appear. If you do not see this, dialog, you do not have Personal Web Server installed. Now click the advanced icon on the lower left Advanced Screen
This screen tells you what web directories have already been defined for PWS. The only thing you need to do here is click the Add Button at the top right Now click the ADD button
Two fields need to be filled in. DirectoryThe directory is the location that you unzipped the VP-ASP files. Let us assume that you unzipped VP-ASP files into a directory called c:\webs\vpasp AliasThe alias is the name you want to give to your Internet Explorer or Netscape browser when you start VP-ASP. In our example it is vpasptest Ending Personal Web ManagerYou have actually finished Now Click OK and click Ok to all the other pages to leave Personal Web Manager
Running VP-ASP You are totally finished with Personal Web Manager. Now it is time to start your favorite Internet Browser such Microsoft Internet Explorer or Netscape or any other browser. Type 127.0.0.1/vpasptest The 127.0.0.1 is Microsoft's Magic number for your own PC VPASPTEST is the alias name you gave to VP-ASP in the previous page. We recommend that you run the diagnostic tool "database test" at the lower left to verify that the database can be read and written. |
|
1.1 Creating Web Site's Directories For this example we will look at setting up a site called webwizard.com.au which has a customer number 100 allocated to it. This site will have FTP access with NO Front Page Ext's. I use FTP-Servu as the FTP Daemon due to the added security and functions it has over the standard Microsoft FTP Server. The following directories are created using windows explorer. e:\domains\100\webwizard.com.au\wwwroot The directory wwwroot is to be set as the root directory for the web site. The databases directory is a secure directory only accessible by FTP where you place all the databases for the site and the logs directory is where a compressed copy of the sites logs are placed at the end of the month. A FTP user name and password is created in FTP Serv-U allowing the user to log into the directory e:\domains\100 The following permission's need to be set for the wwwroot directory. In Windows Explorer right click on the directory wwwroot and select Properties. When the Properties window pops up check to make sure that the Read-Only box is NOT ticked. After checking that select the Security Tab and check to see the settings. You need to make sure that the IUSR_COMPUTERNAME user (Internet Guest Account) has the following settings. The Administrator account has all the Permission's enabled. Click Apply then Ok.
With the directory databases open the Properties window and check to make sure that the Read-Only box is NOT ticked. Select the Security Tab and set it to the image below. This directory is secure and can not be directly accessed using a web browser.
1.2 IIS Setup Open up the IIS MMC and start to setup the website. Make sure that you set the Home Directory path for this site to e:\domains\100\webwizard.com.au\wwwroot . The next screen make sure you have Read and Run scripts (such as ASP) ticked. Proceed through the next couple of screens and click Finished. In the IIS MMC right click on the domain name webwizard.com.au and select Properties. Select the Home Directory Tab and check to see that Execute Permission's is set to Scripts Only and Application Protection is set to Medium. Click on OK and then you are done 1.3 Database Link. For the user to access the VPASP database they can either access it with a DSN (Which you will need to create) or they can edit the file shop$config.asp to look like this. const xDatabase="shopping" (if the database file is called shopping.mdb then leave this as is, else it needs to be changed to the name of the DB file)
This set-up above is based on a Windows 2000 Advance Server running IIS5 and using FTP Serv-U as the FTP server Software. Front Page Ext's are not used on the above example. |
|
PROBLEM: Microsoft VBScript runtime error '800a0046' SOLUTION: If using a web host like CrystalTech who provide a Control Panel where you can set your own permissions you will be able to set the Editor folder to have read/write permissions yourself. If not contact your web host and request they set read/write on the Editor folder. At the same time you can also request they set this for the following folders:
This will allow you access to all of VPASP's functionality. Also ask your host to ensure that the database folder is fully protected and has had http access blocked so your database cannot be accessed. |
ISSUE:
I receive the following error on our Win2003 64 bit and SQL Server 2005 64 bit system:
ADODB.Connection error '800a0ea9'
"Provider not specified and there is no designated default provider"
CAUSE:
This occurs because there is no 64 bit version of MSDASQL.DLL which is the OLEDB provider for ODBC drivers. If you want to to connect using a 64 bit system you need to use an OLEDB provider, in SQL server case it will be SQLOLEDB.
SOLUTION:
You will need to modify shop$db.asp.
Around line 20 locate:
const xsqloledb="No" ' use SQL Server standard
Change this to:
const xsqloledb="Yes" ' use SQL Server standard
Note: "Yes" must appear in that exact case fashion with the first letter capitalized.
ALSO:
If the above does not work, it is possible to run IIS in 32 bit mode. So it can use all the database drivers
Please see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;894435
says to execute:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
%Response.buffer=TRUE%>
%
Response.buffer=TRUE
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html xmlns="http://www.w3.org/1999/xhtml" dir="RTL">
Here are pointers to some articles on configuring Microsoft Internet Information Server
http://www.win2000mag.com/Articles/Index.cfm?ArticleID=3681
http://msdn.microsoft.com/en-us/library/aa737439.aspx
If you notice the following issues on your shopping cart:
There are 2 possibilities that may cause these issues. Below are the explanation and also the workaround.
1) Shared SSL
The easy way to see if you are running shared SSL is to check the domain name of the HTTPS page. If the full domain name is different from your shopping cart domain, your are almost certainly running on Shared SSL certificate.
For example : :
http://www.myshoppingcart.com -> https://secure.mywebhost.com/myaccount (This is SHARED SSL)
http://www.myshoppingcart.com -> https://www.myshoppingcart.com (This is DEDICATED SSL)
VP-ASP does not support shared SSL and will not work properly with it. When the customer is being transferred to the secure area, the web browser will use a new session ID due to the different domain name and thus the references to the previous session will be lost.
If you do require an SSL certificate, we highly recommend you to use a dedicated SSL certificate. You may need to check with your hosting to provider to ensure they allow dedicated SSL on your account.
2) IIS setting "New ID on Secure Connection (keepSessionIdSecure)" is enabled.
If you have a dedicated SSL installed but still having the same issue, your sever may have the IIS option "New ID on Secure Connection (keepSessionIdSecure)" enabled.
If this is the case, a separate session ID will be used for the HTTPS page and the cart will not be able to access the old session that hold the content and the cart and thus you will experience "Cart is empty" issue.
To resolve this, you will need to disable the option "New ID on Secure Connection (keepSessionIdSecure)" which can be found on IIS -> ASP -> Session State configuration folder.
|
If you try to run VP-ASP on your system and get a pop-op requiring userid/password, then the authentication setup is wrong but easily fixed. When you are attempting to browse a Web page, the following error is displayed: You are not authorized to view this page HTTP 401.2 - Unauthorized: Logon failed due to server configuration Solution The Solution is to start Internet Information Services, select the directory and allow anonymous access. Use Start/control Panel/Performance and Maintenance/Administrative Tools/Internet Information Services. Then click to you see webs structure Right Click on the Directory in this case VPASP, select Properties Click Edit Check Anonymous Access |
|
There are two steps in setting up Windows XP Professional after you have unzipped VP-ASP software into some directory.
Setting Up Folder Permission 2. Click on 'Properties'. 3. Choose the 'Security' tab in the dialog box window. If you're running XP Home, Simple File Sharing is enforced by default and cannot be disabled. You must boot the computer into Safe Mode and log in with the Administrator account, in order to see the Security tab. 4. Uncheck the 'Allow inheritable permissions from parent to propagate to this object' from the bottom of the dialog box. 5. Then click on the 'Add' button at the top left of the window. 9. Next click on the 'OK' button at the bottom right of the 'Select Users or Groups' dialog box. 10. You should now be back at the 'Security Properties' dialog box where the top box should now contain the 'Internet Guest Account (MyComputer\IUSER_MyComputer)'. 11. Highlight the 'Internet Guest Account (MyComputer\IUSER_MyComputer)' by clicking on it in the top box. 12. Select 'Read' and 'Write' permissions for the account by checking the boxes at the bottom of the window. (you can check all the boxes to make sure that you have no problems with permissions). Possible ErrorsWhen you are attempting to browse a Web page, the following error is displayed: Click here for a solution |
![]() |
Back | ![]() |
Printable Version | ![]() |
Search other topics | ![]() |
Submit a Ticket |