Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I have hosted a very basic test application on

www.ezitek.somee.com[^]

It just contains a database and reads/writes data from there.

In localhost, it works fine without any errors. But after hosting, when accessed from my browser, it is giving error.
Please visit the site and advise me what to do.

Thanks
Furqan
Posted
Updated 13-Sep-11 5:32am
v2
Comments
Ali Al Omairi(Abu AlHassan) 13-Sep-11 10:46am    
It Seems like some assemblies are missing or some thing.
So, please add the following to web.config just after <system.web>

<customerrors mode="Off" />
Furqan Sehgal 14-Sep-11 5:14am    
I have made the changes to web.config. Now it displays the error. Please check.
Thanks
Ali Al Omairi(Abu AlHassan) 14-Sep-11 5:36am    
the host cannot reach the sql server specified.
did you change the connection string for the host? (you would find it in web.config)
Furqan Sehgal 14-Sep-11 6:12am    
No I did not change any connection strings. I just hosted what I was running on my localhost
Ali Al Omairi(Abu AlHassan) 14-Sep-11 6:39am    
you should change it to connect to the database that is accessible to the server(the host).

1 solution

Hi,

May i Know are you calling database contents in the pageload of the web site
Then go to this link

http://blog.evonet.com.au/post/Setting-up-SQL-Server-2008-for-an-ASPNET-website-on-IIS-70.aspx[^]

View this Site from Step 3: Allowing TCP/IP Connections to SQL Server

This Might helps you to work your website online

Or If there any problem in Installing IIS

goto : www.santoshpabba.blogspot.com and search for installing IIS and also Deploying asp.net web site ...
 
Share this answer
 
Comments
Furqan Sehgal 14-Sep-11 3:46am    
I am very new to all this. Please advise if all computers that need to access my website need to have SQL server installed?
Ali Al Omairi(Abu AlHassan) 14-Sep-11 5:45am    
no, it is not necessary because the server sends response as an html text you just need it on the server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900