Where does LLBLGen connect to the database for getMulti()?

Posts   
 
    
MrMadders
User
Posts: 1
Joined: 29-Jul-2010
# Posted on: 29-Jul-2010 10:20:59   

Hi,

I've had to move a web application from one server to another. However, on the new server, attempting to log in fails with the following error. This log in involves SQL Role manager and LLBLGen to retrieve the user object.


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 NetworkInterfaces, error: 26 - Error Locating Server/Instance Specified)


I've updated the connection string to be correct (tested by creating a SQLDatasource using the same connections string).

Is there somewhere in the LLBLGen classes that may be storing the old connection string? I have an App.Config which I've updated too, although I'm not sure if this is doing anything.

Thanks,

R

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 29-Jul-2010 21:45:06   

Do you manually set the DBUtils.ActualConnectionString property anywhere in your code, or is the connectionstring read from the App.Config file...?

Matt