problem connecting to access database in asp.net 2.0

qnd_nz

New Member
hi im trying to get a dataset from an access databaseim using this connection string:\[code\]<connectionStrings> <add name="SiteConnString" connectionString="Data Source=c:\inetpub\vhosts\db\mainDB.mdb" providerName="Microsoft.Jet.OLEDB.4.0" /></connectionStrings>\[/code\]and this is my call to SqlHelper:\[code\]myDataSet = SqlHelper.ExecuteDataset(connString, CommandType.Text, strSQL);\[/code\]and the error im getting is this:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
 
Top