Database

Hi all,
I have connected flash with SQL server through ASP.
Now my problem is that the application doesn’t work when I change the database name.
What could be the reason? Any idea?