Hi
I had created a project in InterDev. Then I had a new ASP file. In this, after the <body> statement I did this:
<%
Dim con
Dim rs
set con = CreateObject("ADODB.Connection"
con.Open "Provider=SQLOLEDB;" & _
"Data Source = EST40;" & _
"Initial Catalog = XMLTeste;" & _
"User ID = smname;" & _
"Password="
Set rs = con.Execute ("Select * From Colaboradores"
%>
<b><%=rs("ID"%></b>
</body>
.........
When I make "Preview window", I get an "HTTP 500 - Internal server error Internet Explorer" message in the browser and I can´t figure out the reason.
I´m using SQLServer7.0, and I had defined a user in it "smname" which is an administrator in windows2000 system. Interdev ans SQLServer are running on the same machine.
Any help is welcome.
Thank you.
I had created a project in InterDev. Then I had a new ASP file. In this, after the <body> statement I did this:
<%
Dim con
Dim rs
set con = CreateObject("ADODB.Connection"
con.Open "Provider=SQLOLEDB;" & _
"Data Source = EST40;" & _
"Initial Catalog = XMLTeste;" & _
"User ID = smname;" & _
"Password="
Set rs = con.Execute ("Select * From Colaboradores"
%>
<b><%=rs("ID"%></b>
</body>
.........
When I make "Preview window", I get an "HTTP 500 - Internal server error Internet Explorer" message in the browser and I can´t figure out the reason.
I´m using SQLServer7.0, and I had defined a user in it "smname" which is an administrator in windows2000 system. Interdev ans SQLServer are running on the same machine.
Any help is welcome.
Thank you.