Re: VS2005: Cannot run the website from IIS (database problem)
- From: "TTT" <no@xxxxx>
- Date: Sun, 8 Oct 2006 20:54:57 +0200
As long as SQL Express is also installed on the machine, then you areI dit it
probably right that it is a access problem (I say that rather than access
rights as there is a prime reason for failure that is not "rights" based).
Check and make sure you have a protocol other than in memory
(configuration tool). That will cure most problems.
In some instances, you also have to turn on SQL Browser. That curesI did it also..
another group.
In some instances, you will also have to add users to SQL Server and giveHow to do it?
rights to the database, as well.
Hi,
I have developed a website from the model "Starter kits Classified".
Well, the application works good, no problem in my development
environment. It uses a SqlServer 2005 express database (using *.MDF
files).
But, when i try to copy it to a IIS website, it dosent work.
- I created a website called "MyApp" under IIS (windows xp pro)
- I copied all the files from my "Visual Studio Express 2005 Web dev" to
the IIS/Default website/MyApp (files in c:\inetpub\wwwroot\MyApp)
- I setup ASP.NET config : ASPNET v2.0, default page = Default.aspx,
Runtime login = ASPNET (without admin rights), Windows integrated
authentification activated.
Results : the login page (login.aspx) works, but it doesnt connect.
It seems that the ASPNET user cannot connect to the Sql server database.
For me it's a mater of access rights to SqlServer 2005 from IIS.
Any ideas to help me please?
Thank you !
.
- References:
- VS2005: Cannot run the website from IIS (database problem)
- From: TTT
- Re: VS2005: Cannot run the website from IIS (database problem)
- From: Cowboy \(Gregory A. Beamer\)
- VS2005: Cannot run the website from IIS (database problem)
- Prev by Date: Re: newbie: my code crashe, NULL value
- Next by Date: MyBase.Load
- Previous by thread: Re: VS2005: Cannot run the website from IIS (database problem)
- Next by thread: asp.net 1.1 vs 2.0....
- Index(es):
Relevant Pages
|