Welcome to Webhost4life Forum Sign in | Join | Faq

ASP.NET C#

Started by gblanpain at 01-21-2008 9:44 AM. Topic has 4 replies.

Print Search
Sort Posts:    
   01-21-2008, 9:44 AM
gblanpain is not online. Last active: 1/22/2008 1:34:53 AM gblanpain

Not Ranked
Joined on 01-22-2008
Posts 1
I cant get my website to work on webhost4life!
Reply Quote
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 is not online. Last active: 2/17/2008 4:35:59 PM Rude_R

Not Ranked
Joined on 02-17-2008
Posts 1
Re: I cant get my website to work on webhost4life!
Reply Quote
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 is not online. Last active: 6/8/2008 10:32:33 PM bicnet

Top 150 Posts
Joined on 06-08-2008
Posts 3
Re: I cant get my website to work on webhost4life!
Reply Quote
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 is not online. Last active: 10/11/2008 9:15:39 AM admin

Top 10 Posts
Joined on 08-10-2005
Posts 244
Re: I cant get my website to work on webhost4life!
Reply Quote
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 is not online. Last active: 10/1/2008 6:53:10 PM altair2020

Top 500 Posts
Joined on 10-01-2008
Posts 2
Re: I cant get my website to work on webhost4life!
Reply Quote
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!

Powered by Community Server, by Telligent Systems