Llevo poco tiempo trabajando con asp pero resulta que en los computadores anteriores se veía muy bien la pagina que solo mostraba dato pero ase poco logre configura en mi PC de mi casa para trabajar en mi proyecto pero ahora me marca errores en la parte de conexión y me sale el siguiente mensaje
Server.MapPath(), ASP 0172 (0x80004005)
El parámetro Path del método MapPath debe ser una ruta de acceso virtual. Se utilizó una ruta de acceso física.
/uno/tablas/registrosofware.asp, línea 13
Si me podrían ayudar los código que uso es:
<html>
<head>
<title>lectura de sofware</title>
</head>
<body>
<h1><div align="center">Lectura de Software</div></h1>
<br>
<br>
<%
Set conectar=Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.RecordSet")
'conectar.open "cobranza_sql"
conectar.open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="& Server.MapPath("C:\Inetpub\wwwroot\cobranza.mdb")
'"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\Inetpub\wwwroot\cobranza.mdb"
sql="Select * from I_registrosofware orden By cod"
set RS =conectar.execute(sql)
%>
<table width="641" border="1" align="center">
<tr>
<th width="100">Codigo</th>
<th width="100">Nombre</th>
<th width="101">Descripcion</th>
<th width="100">Serie Licencia</th>
<th width="100">Compañia</th>
<th width="100">Tipo Software</th>
</tr>
<%
Do While Not RS.Eof
%>
<tr>
<th><%=RS("cod")%></th>
<th><%=RS("nombre")%></th>
<th><%=RS("descripcion")%></th>
<th><%=RS("serielicencia")%></th>
<th><%=RS("compania")%></th>
<th><%=RS("codtiposofware")%></th>
</tr>
<%
RS.MoveNext
Loop
conectar.close
%>
</table>
</body>
</html>
Le agradecería mucho su ayuda