Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


ASP.NET front end server with content on back end.

Posted on 2004-04-14
Medium Priority
Last Modified: 2010-04-17
Is it possible to do this?  The two computers are not part of a domain, and have separate SAMs.  I keep getting an error.
Question by:ojfahoum
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 10829048
Sorry ojfahoum if I have picked you up wrong

 but are you talking about
ASP.NET with IIS on one machine with the SQL Server database on the another.

If so I would suggest that your asp.net is using the user that IIS is running under to try and
authenticate against the sql server and this won't work as the sql server doesn't know who you are.

If your connection string is like

Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Data Source=(local);Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=DESOLATE;Use Encryption for Data=False;Tag with column collation when possible=False

      Integrated Security=SSPI;
Then this is your problem.

You should change your connection so it uses SQL Server authentication

Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Northwind;Data Source=(local);Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=DESOLATE;Use Encryption for Data=False;Tag with column collation when possible=False;password=;

If it is not an sql server you are authenticating to then the porblem may be between the two machines.
If this is the case make sure you are running IIS with a username and password that is also valid on
the server machine

Author Comment

ID: 10829085
Actually.  I have IIS 5 (with Net Framework installed) on a front end.  For one of the virtual directories, it gets content from a shared network directory on another server (the aspx files are on another server).  

.asp and HTML files work, but .aspx returns an error.  In the Event Viewer it records this:
"aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account. "
LVL 19

Accepted Solution

Melih SARICA earned 2000 total points
ID: 10830945
ASP_NET user have access to network directory of the ASPx files?

r u sure ur .NET framework working.. Try to use a simple aspx file in ur local IIS folder.. If u ave any errors it means ur Frame work is not wortking correctly. If no errors. User ASP_NET cannot access to aspx files ..

Author Comment

ID: 10838543
Net Framework was not working on the server itself.    Thanks non_zero.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Simple Linear Regression

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question