BOS with IIS issue
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1303
Printed Date: 23-Apr-2025 at 9:05pm
Topic: BOS with IIS issue
Posted By: kjohnson
Subject: BOS with IIS issue
Date Posted: 04-Jun-2009 at 7:32am
I'm using VS2005 to develop an application that will run over BOS using http://. I've had the application running over BOS for some time. But now we are preparing to move the BOS and the database to a new system environment. I have done the initial setup to make sure IIS is running. I've also checked the machinename attribute in Web.config. And I've checked the server side connection string several times. Somehow I'm getting the following error:
Unable to login Unable to login GetUser failed during login. Is the connection string correct? Unable to connect to http://<server address>:80/FrontEnd/PersistenceServer.rem. The server or internet connection may be down.
The internet connection is fine, I can bring up TestAsa.aspx just fine from a remote location. I created a quick program to test the connection string locally on the server and it appears to be correct. Unfortunatly, I am not that familiar with IIS or SQL Server, so I do not know if there are any settings that might cause this behavior. Can you provide any help in correcting this?
|
Replies:
Posted By: kimj
Date Posted: 04-Jun-2009 at 8:34am
One thing to check when moving a BOS to IIS is the connection string in the RdbKey. If you're using integrated security then the Windows account running IIS (e.g., Network_Service) will need database privileges, which it won't have by default unless you've granted them. Since the connection string is defined in the server config and reasonably secure, you might want to switch to using SQL security and provide a userid and password.
TestASA.aspx really just tells you that the essentials are working - that the web.config doesn't contain errors and the IdeaBlade configuration was found and could be loaded.
|
|