J
Jonathan
I'm trying to move a asp.net website to a new site hosted by Godaddy.com.
When I try to browse and aspx page with ADO in it, I get:
Parser Error Message: The current trust level does not allow use of the
'AspCompat' attribute
Source Error:
Line 29: </head>
Line 30:
Line 31: <%@ Page language="VB" Debug="true" aspcompat="True" %>
Godaddy said on the phone they don't allow aspcompat="True". I assume I need
it for the code that says:
sPath = "D:\inetpub\www\myuser\fpdb\db.mdb"
Cnxn = Server.CreateObject("ADODB.Connection")
Cnxn.open("Provider=Microsoft.Jet.OLEDB.4.0;" & "Persist Security
Info=TRUE;" & "Data Source=" & sPath, "Admin", "")
What are the options? Is there another line of code I can add to make it
work somehow?
TIA
When I try to browse and aspx page with ADO in it, I get:
Parser Error Message: The current trust level does not allow use of the
'AspCompat' attribute
Source Error:
Line 29: </head>
Line 30:
Line 31: <%@ Page language="VB" Debug="true" aspcompat="True" %>
Godaddy said on the phone they don't allow aspcompat="True". I assume I need
it for the code that says:
sPath = "D:\inetpub\www\myuser\fpdb\db.mdb"
Cnxn = Server.CreateObject("ADODB.Connection")
Cnxn.open("Provider=Microsoft.Jet.OLEDB.4.0;" & "Persist Security
Info=TRUE;" & "Data Source=" & sPath, "Admin", "")
What are the options? Is there another line of code I can add to make it
work somehow?
TIA