468,257 Members | 1,452 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,257 developers. It's quick & easy.

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.SqlClient.SqlException: 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 1708
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*********@hotmail.com> wrote in message
news:tS*********************@news3.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.SqlClient.SqlException: 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****************@TK2MSFTNGP09.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*********@hotmail.com> wrote in message
news:tS*********************@news3.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.SqlClient.SqlException: 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*********@hotmail.com> wrote in message
news:c2*********************@news4.tin.it...
Can you tell me how please ?
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%2****************@TK2MSFTNGP09.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*********@hotmail.com> wrote in message
news:tS*********************@news3.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.SqlClient.SqlException: 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by neilphan | last post: by
2 posts views Thread by harris | last post: by
reply views Thread by Yvonne | last post: by
23 posts views Thread by casper christensen | last post: by
13 posts views Thread by Apostle | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.