473,379 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

How to fix error: Login failed for user?

Hi ,
...i am developing web Site in asp.Net.
When i Run Web Site using Visual studio i dont get the error.it works fine ...But When i run WebSite by publishing on IIS .i am getting the following error.
**********
ERROR:
Login failed for user 'TEGASYSIND\TEGADEV3$'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'TEGASYSIND\TEGADEV3$'.
**********
...i have Data Base on Other Computer Names As TEGASYSIND\TEGADEV4.
My Computers Name is TEGASYSIND\TEGADEV3.
Nov 22 '10 #1
1 2280
Frinavale
9,735 Expert Mod 8TB
Is the web server, that you published your website to, on the same network as the computer that you were using to develop the website on?

If not, then you need to specify the IP address of the computer hosting the database instead of using the computer's name. When you use the computer's name, this name is resolved into it's IP address by the network. So, if your web server is on a different network, then the name will not resolve and the computer hosting the database will not be found.

-Frinny
Nov 24 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: DukeNM | last post by:
I have a ms sql database server backup maintainance. I have scheduled for backup daily at 11:00 pm however the backup doesnt take place. after lookin at the logs it shows me.... Login...
3
by: Mr.KisS | last post by:
Hello all, I'm working with Windows XP PRO SP1, ASP.NET v2 (with Visual Web Dev) and, MS SQL 2005 with a database with Windows Authentication mode. I've an aspx page which must send a query to...
0
by: amos hchmon | last post by:
What means this error? I just do a simple fill dataset and data bind to datagrid.
1
by: Javier Gogol | last post by:
error Login failed. Details: crdb_adoplus Plis help me, not display report : ( crystal report - ASP.Net "c#" - SQLServer2000 - VS.Net 2005 ) in browser ... ????
12
by: Michael | last post by:
Please Help me. I've got a .Net 2003 program that attaches to a SQL Server machine and I'm getting the above error when a user tries to log in. The SQL server is setup to use Windows Auth. and I...
0
by: Don | last post by:
When I attempt to access a SQL Server database from my ASP.NET 1.1 application I get the folllowing error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server...
5
by: CFTK | last post by:
we´re having problems to put our Website at IIS: We have achieved it all works using the connectionString with user and password of the superuser (sa), but with IntegratedSecurity we get the...
1
by: NannMaw | last post by:
Hi,good evening all. I am a beginner in web development and SQL server. I got the below error when running the web application on development server of MS visual studio 2005. I guess that...
4
by: Brett | last post by:
I have an ASP.NET 2.0 application that uses Forms Authentication. The startup page contains just a login control, and the site works well on an IIS 6 web server. I am now setting the site up on...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.