Hi Andrew, thanks for your reply.
I tried your connection string but i got this error
An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
Also i tried this other connection string:
Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Password=mypassword;Initial Catalog=mydb;Data Source=(local)\sqlexpress
which gave me the same error as before
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
I could only solve the problem using the name of the server instead of using "local", like this:
Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Password=mypassword;Initial Catalog=mydb;Data Source=myservername
(I didn't use instance name during the installation of sqlserver)
I don't know if this is an issue on the version of the component i'm using, because as i explained in the previous post, i can connect to sqlexpress through .net classes with this connection string, as i did using sql 2000
Persist Security Info=False;Initial Catalog=mydb;Server=.;User ID=sa;Password=mypassword
Note: I have two connection strings in my web config file, one for .net and other for reports due to the "Provider" required item in the string for C1
Do you have any comments on this?
Regards, Gabriel.