|
|
ASP.NET C#
Started by gblanpain at 01-21-2008 9:44 AM. Topic has 4 replies.
 
 
|
|
Sort Posts:
|
|
|
|
01-21-2008, 9:44 AM
|
gblanpain
Joined on 01-22-2008
Posts 1
|
I cant get my website to work on webhost4life!
|
|
|
|
|
I have created a website using asp.net 2.0 and c# with a sql database, which works fine on my local computer.
<br /> <br />
But i just cant get it to work on the webhost4life, when i go to the url "http://gblanpain.mysite4now.net", all i get is this error:
<br /><br />
'Server Error in '/' Application.
<br />
Cannot open database "Skate" requested by the login.
<br />The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. '
<br /><br />
What is going on? why cant i even view the default.aspx page?
<br /><br />
I have uploaded the database to the App_data folder in the root directory, is this right?
<br />
please help me!
|
|
|
|
|
Report
|
|
|
|
02-17-2008, 12:38 AM
|
Rude_R
Joined on 02-17-2008
Posts 1
|
Re: I cant get my website to work on webhost4life!
|
|
|
|
|
You have to Upload The SQL database to the Sql server.......and make a new connection string!
|
|
|
|
|
Report
|
|
|
|
06-08-2008, 7:37 AM
|
bicnet
Joined on 06-08-2008
Posts 3
|
Re: I cant get my website to work on webhost4life!
|
|
|
|
|
That error message means that .NET cannot connect to your database.
If you are hosting your DB on Webhost4LIfe servers, Make sure that your DataBase is correctly hosted on WebHost4Life. Make sure you have the correct UserName and Password, and you are loading the correct Database.
|
|
|
|
|
Report
|
|
|
|
06-08-2008, 7:48 AM
|
admin
Joined on 08-10-2005
Posts 244
|
Re: I cant get my website to work on webhost4life!
|
|
|
|
|
Yes, it's a obvious db connection error. Either you didn't upload your Db to our webhost4life db server or your connection string is wrong. Please check.
|
|
|
|
|
Report
|
|
|
|
10-06-2008, 2:29 AM
|
altair2020
Joined on 10-01-2008
Posts 2
|
Re: I cant get my website to work on webhost4life!
|
|
|
|
|
how do you upload your DB to the website?
I have published my DB through VS2005 and i do not see any way of opening the .SQL script to recreate the DB online.
Is there an easy way to upload your DB?
Thanks,
John
|
|
|
|
|
Report
|
|
|
|
|
Webhost4life Fo... » General Discuss... » ASP.NET C# » Re: I cant get my website to work on webhost4life!
|
|
|
|