Windows 2003 (R2) , and QuickBooks 2006, QODBC v8. Ive been trying to follow the help on these forums to enable me to build an intranet site for access to client invoices.
On my dev machine i have QODBC & QuickBooks and am using VS2005 ( vb.net ) to create an ASP website on the win2003 server. Quickbooks and SQL2005 are installed on the server and i have set up the DCOM server. When i create the webpage on my local machine and run it, there are no problems, the data is displayed ( code below ) , however, when i publish it to the intranet site and try to access it through an IE browser i get a 403 error
Error
The website declined to show this webpage
|
HTTP 403
|
|
Most likely causes:
- This website requires you to log in.
|
|
What you can try:
|
|
|
|
This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.
For more information about HTTP errors, see Help.
|
Code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!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" >
<head runat="server">
<title>Test Qbooks Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
10.10.1.131 <br />
<br />
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="ListID" DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="FullName" HeaderText="FullName" SortExpression="FullName" />
<asp:BoundField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
<asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" />
<asp:BoundField DataField="BillAddressAddr1" HeaderText="BillAddressAddr1" SortExpression="BillAddressAddr1" />
<asp:BoundField DataField="BillAddressAddr2" HeaderText="BillAddressAddr2" SortExpression="BillAddressAddr2" />
<asp:BoundField DataField="BillAddressAddr3" HeaderText="BillAddressAddr3" SortExpression="BillAddressAddr3" />
<asp:BoundField DataField="BillAddressAddr4" HeaderText="BillAddressAddr4" SortExpression="BillAddressAddr4" />
<asp:BoundField DataField="BillAddressCity" HeaderText="BillAddressCity" SortExpression="BillAddressCity" />
<asp:BoundField DataField="BillAddressCounty" HeaderText="BillAddressCounty" SortExpression="BillAddressCounty" />
<asp:BoundField DataField="BillAddressPostalCode" HeaderText="BillAddressPostalCode"
SortExpression="BillAddressPostalCode" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:QuickBooks Connection %>"
ProviderName="<%$ ConnectionStrings:QuickBooks Connection.ProviderName %>" SelectCommand="Select * from Customer order by name">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>
Now being new to this i am at a loss as where to look to try and rectify this issue. can anyone point me in the right direction
|