473,766 Members | 2,130 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help Login

Hi
I need some help.

I am developing a Web App in one PC running IIS.
I am trying to connect to to MSDE on another PC,
but it's not working.

This is the message i got
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
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.Sql Client.SqlExcep tion: Login failed for user
'(null)'. Reason: Not associated with a trusted SQL Server connection.
What is wrong ?

Which user i need to add to MSDE on the second PC ?
Which user should I use to connect to MSDE from the Web App ?

Thank you

Nov 18 '05 #1
3 1988
according to the stack trace you don't have a user. how about starting there
by providing a valid user

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Nicola Marchiori" <ma*********@ho tmail.com> wrote in message
news:tS******** *************@n ews3.tin.it...
Hi
I need some help.

I am developing a Web App in one PC running IIS.
I am trying to connect to to MSDE on another PC,
but it's not working.

This is the message i got
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
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.Sql Client.SqlExcep tion: Login failed for
user
'(null)'. Reason: Not associated with a trusted SQL Server connection.
What is wrong ?

Which user i need to add to MSDE on the second PC ?
Which user should I use to connect to MSDE from the Web App ?

Thank you

Nov 18 '05 #2
Can you tell me how please ?
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
according to the stack trace you don't have a user. how about starting there by providing a valid user

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Nicola Marchiori" <ma*********@ho tmail.com> wrote in message
news:tS******** *************@n ews3.tin.it...
Hi
I need some help.

I am developing a Web App in one PC running IIS.
I am trying to connect to to MSDE on another PC,
but it's not working.

This is the message i got
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
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.Sql Client.SqlExcep tion: Login failed for
user
'(null)'. Reason: Not associated with a trusted SQL Server connection.
What is wrong ?

Which user i need to add to MSDE on the second PC ?
Which user should I use to connect to MSDE from the Web App ?

Thank you


Nov 18 '05 #3
where are you making the call into the interface? show the code where you
login and where it authenticates. not the whole file, just this part

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Nicola Marchiori" <ma*********@ho tmail.com> wrote in message
news:c2******** *************@n ews4.tin.it...
Can you tell me how please ?
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
according to the stack trace you don't have a user. how about starting

there
by providing a valid user

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Nicola Marchiori" <ma*********@ho tmail.com> wrote in message
news:tS******** *************@n ews3.tin.it...
> Hi
> I need some help.
>
> I am developing a Web App in one PC running IIS.
> I am trying to connect to to MSDE on another PC,
> but it's not working.
>
> This is the message i got
> Login failed for user '(null)'. Reason: Not associated with a trusted SQL > Server connection.
> 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.Sql Client.SqlExcep tion: Login failed for
> user
> '(null)'. Reason: Not associated with a trusted SQL Server connection.
>
>
> What is wrong ?
>
> Which user i need to add to MSDE on the second PC ?
> Which user should I use to connect to MSDE from the Web App ?
>
> Thank you
>
>
>



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3269
by: neilphan | last post by:
Hi Guys, Please HELP! I'm new to PHP and would like to get your professional help! I"m writing simple and small login app using php session variable. I have 3 php scripts. The first is just a simple php form, login.php, that passes the variables to auth.php.
2
1948
by: harris | last post by:
I am needing some help with a few asp pages and a login script. Let me start by describing my project. I am trying to connect to a database and verify a users login and password, then based on that login information display 3 pages based on their login. On the home page if they are NOT logged in, I need it to display the login box, if they ARE logged in I want it to display Welcome Customer Name from a database called vcust.dbf which...
18
2474
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I need: A system whereby the user only has to register ONCE and he will have automatic entry to ANY page without havinto to RE-LOGIN even if he comes in
0
1682
by: Yvonne | last post by:
Hi! I have a problem and wonder if anyone can help me with that. I am trying to make a community in php/mysql to work but it don't. I hope you can help me even if the community is in swedish. Php an mysql is up and running and it works. Here is the comminity: http://kamrate.se/iwcommunity/default.php
2
2909
by: pv | last post by:
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create additional options in controls regarding groups the user belongs to. If user is from extranet it should be logged in as anonymous and a link to login page...
23
2802
by: casper christensen | last post by:
Hi I run a directory, where programs are listed based on the number of clicks they have recieved. The program with most clicks are placed on top and so on. Now I would like people to be apple to place a link on there site so people can vote for their program, "ad a click". eg someone clicks the link on some page and it counts +1 click on my page. if some one clicks the link below it will count a click on my page.
6
3360
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in the past in other places, and while the help was much appreciated, it seemed everyone just wanted to 'theoretically' explain how to do it, but when I tried to do it myself, I couldn't login. I want to simply pass the email address and password to...
5
1722
eragon
by: eragon | last post by:
I am making a password script, i have most of it done, ill show you, but i hit a brick wall.... lol, I have it so when you log in it takes you to your main page, that works, but when you enter the wrong info, it's supposed to say "Invalid Username or Password" below the login boxes. (Using the document.write command), but to do this, i need to refrence the main script to get the yes or no if they logged in right.... i need help.... im using...
1
1704
by: Tarcetial | last post by:
Im trying to make a personal website with a log in/registration system. I found some help with the log in and now i just need some help with the registration. This is the coding im already using: <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 STRICT//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <HEAD> <link rel="stylesheet" type="text/css" href=file:///c:/html/web2.css /> <SCRIPT LANGUAGE="JavaScript">
13
4175
by: Apostle | last post by:
Hi all, after thinking for sometimes, I thought it will be great opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting the progress and I hope you guys will help me. The code below is what I have so far. Just put two scripts in the same directory and that is! I hope you will help me Thanks! class.php <?php //php login sytem class LoginRegister{ function...
0
9571
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.