Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Trouble with simple ASP page and QuickbooksSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v8 Forum

 New Topic 
 
 Post Reply 
[1]  
 Trouble with simple ASP page and Quickbooks 
 Author   Message 
  Pete 
  
 Group: Members 
 Posts: 17 
 Joined: 2007-01-06 
 Profile
 Posted : 2008-04-05 05:25:26

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:

 

  Go back to the previous page.

 

  More information

 

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 &nbsp;&nbsp;<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

 

 

 

 
i really do need help, this computer stuff is like double dutch  
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-04-07 11:32:43
Suggest you try this using a browser on the Windows 2003 Server first. It looks like you need to logon to the Windows 2003 Server. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to