|
Basic Question about ASP.NET -- MegaDeth --
I am a newbie in website development. I used Visual Studio 2005 to develop an ASP.NET website. The website connects to a SQL Server running locally on my machine. The SQL Server is configured with default settings. The website populates a TreeNode control from a SQL database by querying the SQL Server database locally. When I run my application from within Visual Studio (F5/Ctrl+F5), the website runs fine and the TreeNode controls get populated. Then I published the website and hosted the website using IIS. When I run the application from the browser (using http://localhost/ApplicationDir/AppName.aspx ), the website opens but the TreeNode control does not get populated anymore. Nothing happpens when I click on the parent node.Whats happening? Am I doing something silly? Do I need to set permissions on the SQL server to allow remote connections? AFAIK this property is disabled on my SQL Server instance. How, if at all, can I debug this error? Thanks in advance for your comments. |