The problem I am currently having is in regard to me wanting to add a guest book. As a learning experience I decided to use MS SQL to store the data entries.
Using Visual Web Designer I got this running on my PC. Works like a charm.
Now I want to transfer this to goDaddy.
I created the MS SQL database and made a Guestbook data table.
I transfered my web site over to goDaddy using Xcopy (not compiled) and changed the sql connection string in the Web.config file to match what I found under the Configuation button in the Databases section of my account. I followed that goDaddy support did to the letter. But it doesn't work.
There is something wrong with the Web.config file. (I have other issues as well, but that will come later) Here is what my Web.config file looks like:
Initial Catalog=(-- this section taken from database name --); User ID=(-- sql database user id --);
Password='(-- sql database password --)'"
providerName="System.Data.SqlClient" />
When I open up one of the guest book .aspx pages I get a run time error. The interesting thing is that it doesn't get to the system.web section, because the error I get suggests setting customErrors mode="Off". So it is dying before it reaches that point. Also, when I take the connection string section out, the page opens fine. Of course it cannot connect to the database.
Any help on this would be appreciated.
TIA
Ken Barrett
Ken BarrettPosted Oct 16, 2009, 9:50 AM
After going round and round with goDaddy "support" (a misnomer if there ever was one), and regardless of their claims otherwise - the .NET version they were running on my site was .NET 1.1. I was able to upgrade to 3.5 and all is working fine now.
This ok-ness extends to being able to run standard .aspx.cs code behind files along with external classes without having to compile anything into a dll.
So, if any one here is having problems in this way check and re-check the .NET version level goDaddy is running.
Posted Oct 16, 2009, 9:14 AM
Just Put customErrors mode="Off" u will exactly get what is yr error.
Regards
Vinay
jingePosted Oct 14, 2009, 5:12 AM