setting up web application to be available only from inside the do

G

Guest

Hi,

I have created a web application using ASP.NET v1.1. I would like to set
up this web application so that it would be available only inside the domain.
So I copied the web application and put it in one of our servers. When I try
to access the web application, it is working fine. But when I try to access
sql server data from the web application, it is getting access violation. I
am able to use sql server using query analyzer and using same login. But when
i try to access from web, it is giving error Login Failed for user
NTAuthority/Anonymous Login. Am i missing anything? Please let me know.

Thanks,
Sridhar.
 
A

Alvin Bruney [MVP]

seems like your database doesn't allow queries from the account running the
web page, that's the first thing to isolate and address.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 
G

Guest

We have a windows login which we are using for our web application. When I
put the same login details in IIS Server, it is working fine. But if I try to
use it from other server, it is giving that error. I am not knowing what
might be the difference.

Please let me know.

Thanks,
Sridhar.

Alvin Bruney said:
seems like your database doesn't allow queries from the account running the
web page, that's the first thing to isolate and address.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Sridhar said:
Hi,

I have created a web application using ASP.NET v1.1. I would like to set
up this web application so that it would be available only inside the
domain.
So I copied the web application and put it in one of our servers. When I
try
to access the web application, it is working fine. But when I try to
access
sql server data from the web application, it is getting access violation.
I
am able to use sql server using query analyzer and using same login. But
when
i try to access from web, it is giving error Login Failed for user
NTAuthority/Anonymous Login. Am i missing anything? Please let me know.

Thanks,
Sridhar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top