hockeylvr
Technical User
- Nov 26, 2002
- 140
- 0
- 0
Would someone mind looking at my .aspx page and pointing out anything in it that could be keeping my page from being viewed on our intranet web server?
web.config
<configuration>
<system.web>
<appSettings>
<add key="connectionstring" value="Data Source=Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Usawvxx01\materials.com\ToniTest\CostSavings\data\CostSavingsProjects.mdb; User Id=admin; Password="
</appSettings>
<customErrors mode="Off">
</customErrors>
<authentication mode="Windows">
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>
.aspx db connection
<%@ Page Language="VB" Debug="true" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDB" %>
<%@ import Namespace="System.Web.UI" %>
<%@ import Namespace="System.Configuration" %>
<script runat="server">
Sub Page_Load()
Dim connString As String=ConfigurationSettings.AppSettings("connectionstring")
Dim objConn as OleDbConnection
objConn = New OleDbConnection(connString)
Dim objCmd As Data.OleDb.OleDbCommand
Dim objRdr As Data.OleDb.OleDbDataReader
I've placed the web.config in "materials.com", did have it in "ToniTest", still not working.
Still getting a can't make connection error.
I have had no luck connecting to sql db either.
Thanks,
Toni
web.config
<configuration>
<system.web>
<appSettings>
<add key="connectionstring" value="Data Source=Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Usawvxx01\materials.com\ToniTest\CostSavings\data\CostSavingsProjects.mdb; User Id=admin; Password="
</appSettings>
<customErrors mode="Off">
</customErrors>
<authentication mode="Windows">
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>
.aspx db connection
<%@ Page Language="VB" Debug="true" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDB" %>
<%@ import Namespace="System.Web.UI" %>
<%@ import Namespace="System.Configuration" %>
<script runat="server">
Sub Page_Load()
Dim connString As String=ConfigurationSettings.AppSettings("connectionstring")
Dim objConn as OleDbConnection
objConn = New OleDbConnection(connString)
Dim objCmd As Data.OleDb.OleDbCommand
Dim objRdr As Data.OleDb.OleDbDataReader
I've placed the web.config in "materials.com", did have it in "ToniTest", still not working.
Still getting a can't make connection error.
I have had no luck connecting to sql db either.
Thanks,
Toni